Q

Raising a workflow event with RFC

In this expert response, Alon Raskin teaches how to raise an event with RFC in a workflow.

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

Dig deeper on SAP workflow development

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close