Agent for dialog workitem
Zmudzin,Tomasz,VEVEY,GL-DS/DM
Tomasz.Zmudzin at nestle.com
Wed Aug 7 01:11:21 EDT 2002
... or even easier -- in step 2 specify the agent as "Container" for
APPROVERLG.
Kind regards,
Tomasz
-----Original Message-----
From: Sheth, Neeraja [mailto:Neeraja.Sheth at fnc.fujitsu.com]
Sent: Wednesday, August 07, 2002 1: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 = 'US'.
ACTOR_TAB-OBJID = 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=signup
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