cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow trigger

Former Member
0 Kudos

HI All

What about calling workflow using SAP_WAPI_CREATE_EVENT for all scenarios from an enhancement/Badi/customer exit instead of hassling with BO/events/SWEC?

Even for workflow for Material change/create/delete we can use an enhancement instead using BO BUS1001006 and event CREATE?

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

ronen_weisz
Active Contributor
0 Kudos

as said SAP_WAPI_CREATE_EVENT call in BADI/user exit/enhancement is a  valid option. it's simply sometimes easier to use change documents / status changes and other workflow customizing options to raise events since you don't need to find a BADI or a user exit and most objects have change documents or other options. And you have the option to limit the triggering to specific field / status changes.

Former Member
0 Kudos

SAP_WAPI_CREATE_EVENT call in BADI/user exit/enhancement is a totally valid option. A lot of times it is much simpler than using change documents (SWEC) etc. and you will have a better control over things than with SWEC. You might have also some additional logic in your code (don't trigger the event always or deliver some additional data to the workflow through even paremeter, etc.).

Kind regards,

Karri