Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Trigger a custom workflow from external system thru BAPI

Former Member
0 Likes
635

Hi Friends,

I am trying to trigger a custom Workflow using BAPI from external system for Intra country transfer/.

Can you please suggest how do I do that .

Many Thanks.

Regards,

Rajesh

3 REPLIES 3
Read only

Former Member
0 Likes
558

I came to know that SWE_EVENT_CREATE can help me.I am not getting the link between event and workflow.

Please help me guys.

Regards,

Rajesh

Read only

0 Likes
558

Start transaction SWETYPV and you will see the linkage between event and workflow.

In transaction SWUD you can simulate events to see whether the workflow starts without any errors.

In transaction SWELS you can start an event trace to see which events have been raised. Later on you can review this log using transaction SWEL.

Read only

0 Likes
558

As an alternative you could start the workflow directly - without an event. From external systems this could be done via SAP_WAPI_START_WORKFLOW. From within the SAP system use SWW_WI_START_SIMPLE or SWW_WI_START.