Raising a workflow event with RFC
I have a workflow with different steps. One of these events is a wait event step. Can I continue the workflow by launching this event from an external application through RFC? How woud SAP know that this event I am launching belongs to the workflow that I would like to continue?
Yes, you can raise the event using RFC. You can call FM FM SWE_EVENT_CREATE in the target system or, if it exists in your system, use FM SAP_WAPI_CREATE_EVENT.
When you raise the event, you will provide the object type and key as well as the event name. This will uniquely identify the event and the workflow will react. This is all handled inside the above mentioned Function Modules.
This was first published in December 2006
Join the conversationComment
Share
Comments
Results
Contribute to the conversation