on 05-25-2017 12:12 PM
Hi all,
We have a requirement to trigger workflow is created/changed.We are creating material using BAPI BAPI_MATERIAL_SAVEREPLICA
Change document and event linkage are configured in SWEC and SWE2 and the workflow is working fine if material is created/changed from MM01/MM02.
But the BAPI is creating multiple change documents and so multiple workflow instances are being created .
The FM SAP_WAPI_WORKITEMS_TO_OBJECT used in Check FM is not returning anything ,so the events are triggered almost simultaneously.
We tried implementing the solution provided by Florin in the below blog ,it is behaving erratically .Many times it is not deleting all the required instances.
https://blogs.sap.com/2013/05/05/the-super-singleton-concept-for-workflow-instances-3-step-approach/ .
Also is there any way to prevent the workflow trigger instead of deleting the workflow instance after it is triggered?
Thanks
Suman Kalyan
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.