AW: Create workflow and start first workitem

Schmidinger, Heinz (Unaxis IT BZ) heinz.schmidinger at unaxis.com
Fri Oct 17 08:28:37 EDT 2003


Hi Werner,
 
the WI-Id you find in table SWWWIHEAD.=20
 
WI_ID =3D instanz of TS you are looking for.,
WI_CHCKWI =3D created WF-Instanz
WI_RH_TASK =3D task (TS..) you are looking for =20
 
Gruss
 
Heinz
 
 
-----Urspr=FCngliche Nachricht-----
Von: Werner K=F6=DFl [mailto:werner.koessl at hirschvogel.de]
Gesendet am: Freitag, 17. Oktober 2003 14:14
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: Create workflow and start first workitem
 
Hi all,
 
i programmed a report and used FM SWE_EVENT_CREATE to start a workflow.
The workflow starts without a problem.
But i do not achieve that the first workitem is executed right after =
the
start of the workflow.
I tried FM SAP_WAPI_EXECUTE_WORKITEM, but i am missing the ID of this
workitem
Is there a chance to get the ID of the workitem of a workflow?
Or is there another possibility to execute the first workitem, so that =
users
do not have to call their business workplace first?
 
Thanks and nice weekend!
Werner.
 


More information about the SAP-WUG mailing list