How to find User Exit for any T. Code
Bellow are the steps to find the user exit for any T. Code:
Process 1:
Step 1: Go to T. Code: SE93. Enter the T. Code for which you want to search User Exit.
In our scenario we will take CO11N.
Step 2: Hit Display:
Step 3: Take the Package: CORU. Now go to T. Code: SMOD.
Step 4: Press F4 in enhancement.
Step 5: Press the button information system and then enter the package name in the pop-up screen (Repository Info System: Find Exits)
Step 6: Press enter and you will get a list User Exit with description.
so, this is how User Exits cab be found for any T. Code.
Process 2:
Alternatively:
Step 1: Go to T. Code: CO11N (same as above example)
Step 2: Select the “systems” in the menu bar. Choose “status.”
Step 3: Double click the field Transaction: CO11N, you will get the below screen from where pick the Package.
Step 4: After you have got the package name follow the same in Step 3 to Step 6 mentioned in the Process 1.
Thanks & Regards,
Alok Tiwari
Good document.Thanks for sharing.
Thank you Dharma... 🙂
Google -> <transaction name> user exit.
Tons of information already out there with all the details on SCN and other web sites. By the way, this will not work for the SD user exits and this will not find BADIs or enhancement spots that are the only options in some cases. Also there is no guarantee that user exit will even belong to the same package.
Dear Jelena,
Thanks, may be you are correct but this is the way to find the user for most of the t. codes. in the same way there is a way to find BADIs and enchancements also. Anyhow we are going to test the user exit before implementing.
Regards,
Alok
Nice article, thank you.
However I have an example where I can't find the link:
Transaction SUCOMP has an Enhancement SZRS0003 (I know this Enhancement belongs to SUCOMP because when I program BREAK-POINT. in the exit EXIT_SAPLSZAR_001 of the enhancement I go through the breakpoint when I change a field of a company address (Trx SUCOMP) and press enter.
However, when I follow the article above, I don't find SZRS0003 for package SUSR (linked to trx SUCOMP, see SE93), but I only find SUSR0001 in transaction SMOD.
Looking further I see that SZRS0003 belongs to package SZRS, however, this package is not linked to the transaction SUCOMP (SE93).
What's wrong here?
Regards,
Rens
Exactly. What's wrong is that this is not the best way to search for the user exits.
There is so much content already available on finding the user exits etc. This is just from the top of the list (Google search):
http://wiki.sdn.sap.com/wiki/display/ABAP/Ways+to+find+a+userexit
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0041d4e6-1e43-2e10-0db4-9386abe98fe6?quicklink=index&overridelayout=true
http://wiki.sdn.sap.com/wiki/display/Snippets/Find+User-exits,+BADIs,+BTEs,+Etc+by+TCode+or+Program
I wouldn't want to discourage anyone from sharing but before creating a blog on any subject please do some search and make sure it hasn't been already covered.
Thanks Jelena.
However, I have tried all url's listed in your post (and others!) and I can't seem to find the link between enhancement SZRS0003 and user exit SUCOMP.
Rens, these links were just to illustrate how much content is already available there on the same subject as this blog. I believe my approach by simply using Google search is still the best. For instance, if you google SUCOMP -> BADI, the top link will be a PDF document on SCN that describes in detail how to implement the user exit you've mentioned. I'd recommend googling all combinations of 'user exit', 'BADI' and 'enhancement' since different transactions may have different options.
The approach suggested by this blog is very limited. This particular user exit you've mentioned actually pertains to the address function ADDR_REGIONAL_DATA_CHECK, not to this specific transaction (address functionality is "global" across several modules). That's why many known methods of finding user exits would fail to find it.
The document listed on top of google is actually the document I used to implement my first BADI and the reason why I posted my question in this forum. 🙂
The author explains how to implement a BADI in SZRS0003 for TRX SUCOMP but he doesn't explain how he finds SZRS0003. My curiosity brought me here, but my question (how can I find SZRS0003 when I know SUCOMP?) is still unanswered. However you pointed out that SUCOMP uses ADDR_REGIONAL_DATA_CHECK, which belongs to another package, so now I know why the method above doesn't work. Thank you Jelena
Good one ! will be useful for beginers!!
Actually it is very good Alok & very helpful too.
Keep posting such documents we will always like.
Very helpful!
Dear Alok,
Well done ! thanks for sharing it
dear alok,
you have done a fabulous job...keep going......
Dear Alok,
Very informative. Thanks.
Hi Alok ,
Its a good document to share .For a Functional guys , it will be useful .Thank you very much for sharing .
Jelene : There are plenty of threads , blogs , documents available on User Exit as you said .Its a min job to find them from Google search .Yet , if a person put those stuff in well structured manner which are useful , then I think Alok did a awesome job .Recognitions are the greatest self motivation !!
Regards
JH
Nice work Alok
Keep posting more such docs.. as this kind of stuff is always helpful for boomers.
Cheers 😉
Pradyp
Hi Alok,
Its useful & helpful..really appreciating the same work.
Thanks
shailendra
Hi,
Yes really helpful document.
Thanks for sharing
I don't mean to be rude but your blog talks about Customer Exit, not User Exit. The title is a little misleading, but a fantastic blog for Customer Exits.
Dear Coder X,
I think Alok has shared very good and useful article regarding exits, if have different opinion then share the article in the way Alok has explained. which will be useful for all.
Dear Viv,
The sap note 381348 gives some good information about userexit, customer exit and routines. I hope that will clarify the point I was trying to make.
Thanks for sharing Alok!
thanq so much
Buddy,
we are functional consultants, no access to SMOD & CMOD, is there a table?
thanks
Arvind Leo Pereira
Hi Pereira.
You can access by tables MODSAP and MODSAPA.
BR
Hi- Enter your tcode in here to get the exit info.
https://sapsharks.com/user-exit-finder-for-any-tcode/