Skip to Content

Workflow CREATE CHANGE event issue

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 10, 2016 at 05:42 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 17, 2016 at 09:06 AM

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

    Add comment
    10|10000 characters needed characters exceeded