cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow CREATE CHANGE event issue

former_member184495
Active Contributor
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member184495
Active Contributor
0 Kudos

Hi. solved, created a process control step for change event.

anjan_paul
Active Contributor
0 Kudos

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