Agent for dialog workitem

Sheth, Neeraja Neeraja.Sheth at fnc.fujitsu.com
Tue Aug 6 19:16:31 EDT 2002


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