Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8720

Re: how to stop workitem complete or how to keep work item in inbox based on conditions even if it completed

$
0
0

What you are describing is an asynchronous task, meaning, you what it to end when something (values are entered) happens in the system (and raises an event) and not by the user entering/leaving the task.


Define the method as asynchronous (in SWO1) and use a terminating event to end it (in PFTC). This way the workitem will not be completed immediately but only after the event.


Raise the event from your webdynpro screen by calling the SAP_WAPI_CREATE_EVENT function module only after the user entered the relevant values.


Viewing all articles
Browse latest Browse all 8720

Trending Articles