‎2013 Oct 11 11:56 AM
Hi,
Is there any standard table that can give the names of Userexits and BADI s implemented in a particular program. I found two table ENHINCINX and ENHOBJ in which the details of enhancement spot, implementations and Programs. But i couldn't find a way to get relation between BADI / Exits and Programs. It would be helpful if you share your knowlege in the same.
Thanks and Regards,
Alex
‎2013 Oct 11 6:10 PM
Hi Alex,
There is Standard Transaction that helps u find the BAdI and Exits for Particular Transaction.
That is 'SMOD' .
There U can Give Your Standard Program for Example For 'XD02' the program name is SAPMF02D.
Now Follow these Steps Enter 'SMOD' Trasaction in Command Filed.
Press display here You Will Get USer exits names or Customer Exits names.
These are the Tables having the BADI Names and their Desription.
SXS_ATTR->Exit: Definition side: Attributes for an enhancement
SXS_ATTRT->Exit: Definition side: Attributes, Text table
SXS_FCODE->Exit: Definition side: Component function codes
SXS_FCODET->Exit, definition side: component function codes, text table
SXS_INTER->Exit: Definition side: Interfaces.
SXS_MLCO->Exit: Definition side: Interfaces
Thanks and Regards,
Hiriz..
‎2013 Oct 11 6:41 PM
Dear for enhancement we have two standard Tcode.
SMOD and CMOD.
SMOD : this is used when you want to search some Enhancement for a Screen.
CMOD: THis is used when you want to make create some enhancement.
So for you SMOD is useful. Try to open that and explore it.
You can find more help on Google by Searching " SMOD in ABAP SAP " . We can provide you exact details also. but if we do that then for next enhancement you will start a new thread, so try to explore more in the SMOD so next time you can give reply to someone.
‎2013 Oct 12 6:20 AM
Hi Alex,
In order to find BADIs or exits follow following sequence.
STEPS
1) Goto se24 (Display class cl_exithandler)
2) Double click on the method GET_INSTANCE.
3) Put a break point at line "CALL METHOD cl_exithandler=>get_class_name_by_interfac
4) Execute SAP standard transaction
5) now the debugger will on and Check the values of variable 'exit_name' by pressing F6 OR F7.
6.)You will get a list of badis
7.)to know which badi suits your requirement from the list of BADIs found go to each BADI implementation and keep break point in each BADI and execute your transaction .
for example there are 3 screens in your tcode for which you want to know badi for 2nd screen
then when second screen arrived in your tcode .now automatically debugger ill on and it ill take you to appropriate BADI which is releated to that screen as we already kept breakpoint in that BADI.
Hope it helps you,
Siva
‎2013 Oct 12 10:02 AM
Hi Alex,
Basically we have 3 ways to search for a Exit.
Using Call Customer Function.
Using SMOD and CMOD .
Using SE84, SE24.
And after Finding the exact exit and you can know the table names using where-used list.
Steps using SE24 :-
* Goto SE24
* Display class cl_exithandler
* Double click on the method GET_INSTANCE.
* Put a break point at line "CALL METHOD cl_exithandler=>get_class_name_by_interfac
* Execute any Transaction you want to enhance
* Now the debugger will on and Check the values of variable 'exit_name' by pressing F6 OR F7.
* You will get a list of badis
* To know which badi suits your requirement from the list of BADIs found , Go to each BADI implementation and keep break point in each BADI and execute your transaction .
Thanks,
Uday.