on 05-09-2014 8:44 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.