2015 Apr 14 11:53 AM
Dear Team,
I have seen a lot of transaction where we need to call the WF after creating the Document number. For WF we have function module SWE_CREATE event. How i can specify the Commit work in the standard transaction while calling the WF.
Because SAP never recommended to use Commit work in sap Transaction.
Hi Nishant,
Could you provide me the standard transaction & when you want to trigger the WF?
Regards,
Swaroop.
2015 Apr 14 12:27 PM
Hi Nishant,
Could you provide me the standard transaction & when you want to trigger the WF?
Regards,
Swaroop.
2015 Apr 14 12:36 PM
Hi Swaroop,
It was just an thought, actually i want to clear my concept is there any other way to call the WF in new LUW that will not impact the current LUW.
Thanks and Regards,
Nishant Bansal
2015 Apr 14 1:58 PM
Hey Nishant ,
We can always call out Event creation in update task. Even if you go with Oops , there is a method with a parameter "Update task" so that whenever the database commit is happening , event creation will be done after the document number is generated. This way , you are binding the database commit together in one database LUW with event creation. You never need a new LUW for WF event.
Hope that makes sense.
Thanks
Rakesh
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |