Agent for dialog workitem
Sheth, Neeraja
Neeraja.Sheth at fnc.fujitsu.com
Wed Aug 7 14:22:00 EDT 2002
Thanks, S=F8ren and Jocelyn. Wouldn't have occurred to me to change =
anything
till you pointed it out.
Regards
Neeraja
-----Original Message-----
From: Dart, Jocelyn [mailto:jocelyn.dart at sap.com]=20
Sent: Wednesday, August 07, 2002 2:38 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Agent for dialog workitem
Hi Neeraja/Mark,
You can do that in a much simpler fashion - i.e. you do NOT need a =
role.
Just do the following:
1. Create a workflow container element, e.g. LASTAGENT, based on =
database
field WFSYST-AGENT.
2. In the first step, in the Task -> Workflow section of the binding, =
use
the SHOW LINES button to see all possible elements of the task. Bind
the "Actual Agent" (also appears as "Actually Processed by" depending =
on
version) to your workflow container element LASTAGENT.
3. In the following step, in the agent assignment use the EXPRESSION =
option
to assign LASTAGENT as the agent for the second step.
And that's it.
Regards,
Jocelyn Dart
Consultant (SRM, EBP, Workflow)
and co-author of the book
"Practical Workflow for SAP"
SAP Australia
jocelyn.dart at sap.com
+61 412 390 267
+61 2 9935 4880
-----Original Message-----
From: Sheth, Neeraja [mailto:Neeraja.Sheth at fnc.fujitsu.com]
Sent: Wednesday, 7 August 2002 9:17 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Agent for dialog workitem
1. In the binding for the first task of the workflow, read in the =
Actual
Agent of the first task into workflow container into a container =
element -
say APPROVERLG.
2. Create a role that takes SAP logon as input and populates ACTOR_TAB =
as
per below. In the binding of the second task of the workflow that uses =
this
role, APPROVERLG is read from the workflow container.
FUNCTION Z_PASS_USER_LOGON_TO_ROLE.
*"----------------------------------------------------------------------=
*"*"Local interface:
*" TABLES
*" ACTOR_TAB STRUCTURE SWHACTOR
*" AC_CONTAINER STRUCTURE SWCONT
*" EXCEPTIONS
*" NOBODY_FOUND
*"----------------------------------------------------------------------=
TABLES: ZMFG_LEAVE.
SWC_GET_ELEMENT AC_CONTAINER 'APPROVERLG' APPROVERLG.
ACTOR_TAB-OTYPE =3D 'US'.
ACTOR_TAB-OBJID =3D APPROVERLG.
APPEND ACTOR_TAB.
ENDFUNCTION.
-----Original Message-----
From: mark narra [mailto:mark_narra at mail.com]
Sent: Tuesday, August 06, 2002 6:02 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Agent for dialog workitem
Folks,
Lets say I have two dialog tasks, and second task is sent to the =
executing
agent of the previous task. In other words, how do I get the executing =
agent
for last dialog WI.
Thanks for your help.
Regards,
-Mark.
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=3Dsignup
Get 4 DVDs for $.49 cents! plus shipping & processing. Click to join.
http://adfarm.mediaplex.com/ad/ck/990-1736-3566-59
More information about the SAP-WUG
mailing list