Application Development 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: 

Tracing User Exits for Transaction ME22N

Former Member
0 Kudos

I have a problem with the transaction ME22N. When I try to add an additional item for a certain PO, I can't save the changes because there is an error message saying one of the previously created item has to be checked under the 'Returns' field. The problem is this specific item has been marked for deletion or has been deleted. So technically SAP should not check this item before saving changes. So I think there is a customised user exit somewhere that is checking items that have ben deleted. So now I have to trace out this user exit and fix it. I have no idea how to do it. I tried to run a program which lists out user exits based on transaction codes from this link : http://www.sapgenie.com/abap/code/abap26.htm

But through the code only standard SAP user exits are displayed. I don't know how to solve this. Can anyone help me?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

I have tried that. But what I am looking here is for a customized user exit which I am unable to find through this program provided in the link. Is there any way to trace customized user exits for a transaction?

4 REPLIES 4

Former Member
0 Kudos

Hi Canna,

By executing the program provided in the link you will find all the user-exits and there may be some include programs also we can not find them by executing this program the only way to search them is only going through the program.

Former Member
0 Kudos

I have tried that. But what I am looking here is for a customized user exit which I am unable to find through this program provided in the link. Is there any way to trace customized user exits for a transaction?

0 Kudos

For purchasing functions customer enhancements or BADI's can be used to add customer specific logic. Goto transaction SPRO (Customising), select materials management, purchasing and you have two options for 'Develop enhancements in purchasing' and 'Business add-ins in purchasing'. Select the document button and this will provide more documentation.

Most of the customer exits in purchasing using enhancements so a customer project should exist (check transcation CMOD), get the SAP enhancement implemented and select the component which should be a function module. Hope this helps.

0 Kudos

Thanks for the help Colin. I will try it out.