Agent for dialog workitem

Søren Skjødt sosk at astongroup.com
Wed Aug 7 05:40:39 EDT 2002


There is an even easier way;
you don't have to create a new role, simply set the=20
agent type of the second step to 'expression'
and select the container element eg. APPROVERLG.
 
BR
S=F8ren
 
-----Original Message-----
From: Sheth, Neeraja [mailto:Neeraja.Sheth at fnc.fujitsu.com]
Sent: 07 August 2002 01:17
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