2008 Apr 25 12:53 PM
how can we find out a user-exit for an praticular T-code?
give me brief explanation on user-exits and badi?
kiran J
points would be given to right answers
2008 Apr 25 12:56 PM
2008 Apr 25 12:59 PM
Hi,
Below can follow the below steps to find the badi:
1) Goto se24 (Display class cl_exithandler)
2) Double click on the method GET_INSTANCE.
3) Put a break point at Line no.25 (CASE sy-subrc).
Now
4) Execute SAP standard transaction
5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
7) This way you will find all the BADIs called on click of any button in any transaction.
Refer
https://forums.sdn.sap.com/click.jspa?searchID=11168051&messageID=3739078
https://forums.sdn.sap.com/click.jspa?searchID=11168141&messageID=5269827
Regards
Kiran Sure
2008 Apr 25 1:04 PM
hi,
Execute the the below program in the given link to find all the active user exits for a specified TCODE ...
http://www.sap-img.com/ab038.htm
Regards,
Santosh
2008 Apr 25 2:42 PM
Hi Kiran,
First goto Transaction Code. Now goto Menu path System--->Status. Now u get a screen System:status . Here Double click on the Transaction Field in SAP data Box. Now u get a screen Display Dialog Transaction. In that note down the Package Name.
Now goto SMOD Transaction Code and click F4 on the Enhancement field. Now u will get a pop up Input Help Personnel Value List. Here Click on Information system push button. Now u get Repository info system: Find Exit pou-up. Here give the package name which is noted down from the transaction and press enter. Now u get the list of the available Exits in that package.
U can also find in SE80. In Repository Object, select the package in the Drop down and give the Package name in the below field and click enter. Now u can see all the objects belonging to that Package. In these Objects u can find the Enhancement Folder. Under this u will have all the exits and BAdIs.
BADI
Business add-ins are enhancements to the standard version of the system. They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software.
Please refer this link for BAdIs
http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/eb/3e7cf4940e11d295df0000e82de14a/frameset.htm
User Exits
User exits (Function module exits) are exits developed by SAP. The exit is implementerd as a call to a functionmodule. The code for the function module is writeen by the developer. You are not writing the code directly in the function module, but in the include that is implemented in the function module.
Please Refer this Link
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
Customer Exits
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
User Exit and Customer Exits
http://www.sap-img.com/abap/what-is-user-exits.htm
reward if helpful
raam
2008 Apr 28 12:58 PM