‎2013 Nov 06 5:42 AM
Hi friends,
is there any short way that we can find the enhancements(added custom code using implicit or explicit enhancements) what we added for the standard transaction code using /h debugging. or else do we need to execute each and every step and find this enhancements.
means: when i try to debug the standard tcode using /h it opens a screen in dubugging mode with pai and pbo modules, under this pai, pbo modules there could be lot of modules implemented. but it is taking more time to identify that pirticular enhancement by executing each and every module . what my doubt is is there any way that i can get the error spot simply in this /h debuggin?
Regards,
siva.
‎2013 Nov 06 5:57 AM
Hello Sivaramakrishnan,
I'm not sure what are you looking for. But still I can share one small trick (many ppl know abt this) that can help you to identify the BADIs implemented in the standard transaction.
Go to the transaction SE24
Enter the Object type as "CL_EXITHANDLER" and click on display
There is a method called "GET_INSTANCE" double click on this
Keep Break point in the line no 14
After the above steps execute the standatd transaction in which you want to find the BASI implementations.
Debugger stops at this point every time when it comes across a BADI.
Simply press "F6" then in the field class_name you will get the Implementation class name and in field exit_name you will get the implementation name.
Make a list of these implementation and continue.
Once your standard transaction gets over then you can check these implementations, that will bring you close to the spot where the problem is.
If you are looking for some other information, please let me know, I'm happy to help.
Thanks
Nivash
‎2013 Nov 06 6:35 AM
‎2013 Nov 06 7:04 AM
Hello Sivaramakrishna,
1) You can execute your standard Tcode and find out the Main Program (using System-> Status)
2) got to SE80 and select "Program" and put the Program name and then press "enter" key.
3) You would see all the related techical details of the Program.
4) You would see a folder named " Enhancement Implementations". Under this folder you would get all implicit/Explicit enhancements that have been implemented.
‎2013 Nov 06 7:12 AM
‎2013 Nov 06 7:24 AM
hello sivaramakrishna,
first put the transaction in debugging mode by using '/h'.
in the menu bar their is menu option ' break point'
please find here where you want put the break point.
‎2013 Nov 06 7:42 AM
Hi,
You can find enhancements as said by Nivash for old badi. To find enhancements for new badi Set break point at abap statement Get Badi . Get badi <ref>,here <ref> contains all references to classes which implemented enhancement.
Regards,
Sreenivas.