cancel
Showing results for 
Search instead for 
Did you mean: 

Maintenance Orders

Former Member
0 Kudos

Hi,

I am using a subtype for BUS2038. The user creates an order through IW25 and event CREATED gets triggered. Then the user puts the order INPROCESS through IW22 and the event INPROCESS gets triggered. But the problem is event CREATED gets triggered again the moment the user clicks save in IW22. How to avoid that? The event CREATED should be triggered only in IW25.

Thanks,

Kalpana

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Thanks for the reply. Can you please guide me how to skip the triggering of the workflow. For example, if I give a FM in the check FM option in SWETYPV, how to stop the flow if it is triggered from transactions other than IW25?

Thanks,

Kalpana

former_member186746
Active Contributor
0 Kudos

Hi,

you can use FM SWB_CHECK_FB_START_COND_EVAL as a basis to make your own.

Basically, if a raise occurs in this FM, it won't trigger the Workfloe.

also read this link:

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/c5/e4af8b453d11d189430000e829fbbd/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/c5/e4af8b453d11d189430000e829fbbd/frameset.htm</a>

Kind regards, Rob Dielemans

Answers (1)

Answers (1)

former_member186746
Active Contributor
0 Kudos

hi Kalpana,

you can prevent the triggering of the workflow, via transaction SWB_CON, or with a check function module in SWETYPV.

I think your requirement can't be solved via SWB_COND, so you should create a FM for SWETYPV.

Kind regards, Rob Dielemans