Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Trigger point for IW32 save button

Former Member
0 Likes
1,074

Hi All,

I have a requirement as follows:

In IW32, after entering an order number, if we change the user status (activating the user status) and press the SAVE button, a mail needs to be triggered for which user exit or an Enhancement point or a BADI should be triggered soon after the table JCDS is updated with the user status.

I have found a couple of user exits but I am unable to find one soon after the table updation. Another important thing to note is that if the user wants to deactivate the user status (i.e., when the user status is reverted back to the previous status) and saved, then this functionality should not be executed. Kindly help me with the user exit or the enhancment or the BADI where I can implement this functionality.

4 REPLIES 4
Read only

Former Member
0 Likes
890

Hi,

You can use the BADI - WORKORDER_UPDATE, and write your logic in IN_UPDATE method.

Regards,

Satish Kanteti

Read only

0 Likes
890

Hi,

Thanks for the response. But will this BADI get triggered soo after the table JCDS gets updated? Also, how do I stop the functionality if the user status is reverted and saved

Read only

0 Likes
890

Hi,

I couldn't find any BADI that triggered after saving the JCDS table updation. As soon as all the BADI's were executed, JCDS is updated at the end.

You can cross check by putting the break-point in the class CL_EXITHANDLER, method GET_INSTANCE. Here you get the exit names when you save the order. At the completion of each BADI execution, I tried to refresh the entries in JCDS. But no records were inserted.

Few ex. of BADI's that were triggered in the SAVE:

IWO1_ORDER_BADI

NOTIF_EVENT_SAVE

...

Regards,

Satish Kanteti

Read only

0 Likes
890

Yes but there is a BADI NOTIF_COST_CALCULATE after which the JCDS table gets updated. And afterthis BADI, ATP_PUBLISH_RESULTS BADI gets triggered. But we are not allowe to make any change to this BADI.