AW: Create workflow and start first workitem

Werner Kößl werner.koessl at hirschvogel.de
Fri Oct 17 08:51:36 EDT 2003


Hi Heinz, Mike & Tomasz,
 
thanks for your quick responses!
 
i forgot that the user context is lost because of the event!
But now i will use one of your solutions to achieve it:
- SAP_WAPI_START_WORKFLOW.
- or read SWWWIHEAD.
 
Regards,
Werner.
 
 
 
-----Urspr|ngliche Nachricht-----
Von: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]Im Auftrag von
Schmidinger, Heinz (Unaxis IT BZ)
Gesendet: Freitag, 17. Oktober 2003 14:29
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: AW: Create workflow and start first workitem
 
 
Hi Werner,
 
the WI-Id you find in table SWWWIHEAD.
 
WI_ID = instanz of TS you are looking for.,
WI_CHCKWI = created WF-Instanz
WI_RH_TASK = task (TS..) you are looking for
 
Gruss
 
Heinz
 
 
-----Urspr|ngliche Nachricht-----
Von: Werner Kv_l [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