10-20-2016 3:35 PM - edited 01-21-2024 9:56 PM
Hi,
I have a user-exit for VA01 and VA02.
Say I create a Credit Memo SO, this user-exit will auto-block and set FAKSK field, on Saving.
My WF has to trigger whenever CREATE and CHANGE happens for CreditMemo SO.
So I have put both events in the same WF.
On CREATE my WF triggers, after approval it removes entry in FAKSK field and WF is complete.
Problem here is the moment it WF after approval, removes the entry, SAP triggers the CHANGE event, which in turn is again triggering another instance of my WF.
How do I stop the second instance which it triggers due to the CHANGE happening in my CREATE-WF.
Thanks,
Aditya V
Hi. solved, created a process control step for change event.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Then use Check FM in the Event linkage and check is there any active wrkflow innstace running or not with fm
SAP_WAPI_WORKITEMS_TO_OBJECT. If active instance is there call exception
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.