How To Get Work Items at Your Outlook Inbox Using SWNCONFIG
How To Get Work Items at Your Outlook Inbox Using SWNCONFIG
Saujanya ibe
Business Card Print
Posted on Dec. 19, 2006 03:19 AM in Beginner, Business Process Permal
Management ink
URL: http://help.sap.com/saphelp_erp2005vp/helpdata/en/
d5/581ee8d56f1247bf34cfcd66d16d81/content.htm
The frequent question that comes to my mind once I start with workflows is :
These are the common things which keep me puzzling? But what is the procedure to do
the configuration? How can we achieve it?
a)A simple text that informs the user about work items that require processing.
b)A descriptive text that includes links that enable the user to either display or execute a
work item directly, or to display the workflow inbox in the Web browser.
c)A descriptive text that includes executable attachments for displaying or executing a
work item directly, or for displaying the workflow inbox.
Purpose :
Usually, Processors (or agents) of a process step receive the corresponding work items
in their universal work list (UWL) within the Portal.
As an alternative to this, the system can send e-mail with link to the work item.
The recipients can then execute the work item from the e-mails. This makes sense, for
example, for users for whom no universal work list has been configured in the Portal or
for users who seldom call up their UWL.
Configuration :
Note : Maintain the corresponding views of the view cluster with appropriate entries
before you proceed with configuration
View cluster : SWN_CONFIG .Click on the first tab Business Scenario.
1. Select Workflow as the category. Here each category is linked to a handler. This
handler is a class which is used for workflow notifications (usually,
cl_swn_scenario_workflow)
2. Maintain the entries for handlers like user handler, notification handler and message
handler. You can as well set the priority for notifications.
These options are available for configuring the user address (like default user or basic
user), for handling the notifications etc depending on the category.
3. Then the message template can be defined as plain text or html and email or sms. The
message can also configured such that it is one per notification etc.
4. Under subscription data, enter the delivery type,recipient type and the handler etc as
shown in the screen shot below :
Enter * for the recipient address for the Subscription Basic Data and enter Internal SAP
User for the recipient type. Under the associated Subscription Settings for the parameter
SHOW_ACTION_EXECUTE_AS, enter the value LINK1 or LINK2 to enable the
recipient of the e-mail to execute the work item from the e-mail.
5. Then define the Filter Basic Data, include the workflow tasks that basically all
persons involved in the process can receive, regardless of their role. Specify these tasks
in the Filter Settings for the parameter TASK.
6. When configuring the entries under Schedule Selection, include the filters that you
set up.
7. Under general settings ,for the parameter :WD_HOST, for example : enter the link
inorder to open the workitem using a webdynpro application
the portnumber of the portal can also be found using the function module :
' TH_GET_VIRT_HOST_DATA ',
protocol = 0
virt_idx = 0
IMPORTING
hostname = ls_hostname
port = ls_port.
8.You can define the sender address for notifications in the General Settings view
(parameter SENDER_ADRESS_INT). If you do not enter the sender address in the
general settings, you must define a sender address for the user who executes the report
SWN_SELSEN.
Advantage :
Compared to the administration web page, this function has additional options
concerning in particular the configuration of programmed enhancements, for example.
Finally the way of customizing is really easy and offers various options to
configure .Just try this out.