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

User exit not executed in BAPI

0 Likes
1,625

Hi all,

I've implemented user exit EXIT_SAPMIWO0_020 - Checks before notification save. The user exit works just fine for transactions IW21\22 but the problem is that this user exit does not executed when I create the notification through BAPI_ALM_NOTIF_CREATE. Is there any way to make it trigger the user exit also in the BAPI?

Thanks in advanced,

Eitan.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
916

Hi ,

Its not sure that the User Exit you have used should be called while processing through BAPI.

Try using this link,

http://www.sap-img.com/ab038.htm

You will find around 6 User Exits for IW21/IW22.

Try keeping break points at all these exits and process the Notification through the BAPI.

If it stops at any point, implement your checks at this point and your problem will be solved.

Please let me know if its resolved.

Thanks & Regards,

Amit Linge.

2 REPLIES 2
Read only

Former Member
0 Likes
917

Hi ,

Its not sure that the User Exit you have used should be called while processing through BAPI.

Try using this link,

http://www.sap-img.com/ab038.htm

You will find around 6 User Exits for IW21/IW22.

Try keeping break points at all these exits and process the Notification through the BAPI.

If it stops at any point, implement your checks at this point and your problem will be solved.

Please let me know if its resolved.

Thanks & Regards,

Amit Linge.

Read only

Former Member
0 Likes
916

Hi

User exit would be coded in the one of the screen logic of IW21 transaction(or program) , so obviously this is not accessible in BAPI.

I think you could use explicit enhancements( if there is any ) in your BAPI and call the function module with this logic from there, but then field names and some of validations might not be a direct mapping which should be taken care.

Regards,

Pawan