‎2006 Sep 22 3:00 PM
Hi All!
Can someone tell me step by step how to put a button on a standard transaction (FK02) using an Exit???
Thanks!
Regards
Alejandro.
‎2006 Sep 22 3:03 PM
‎2006 Sep 22 3:07 PM
Hi Ale,
u go for BADI instead of userexit.
How to find out badi.
goto tcode->SE24,give class name as CL_EXITHANDLER,then choose then in the properties tab click on GET_INSTANCE,and put break point at
CALL METHOD cl_exithandler=>get_class_name_by_interface.
now run ur tcode.U will find the badi's.
Regards,
Nagaraj
‎2006 Sep 22 3:08 PM
Hello,
Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
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.
Regs,
Venkat
‎2006 Sep 22 3:32 PM
Hi!
I really don't klnow how to put a button, I already have the BADI's name (VENDOR_ADD_DATA) but I don't know how to apply it beacuse I've never used one.
Can somebody tell me how to use it?
I want to insert a button on the standard transaction FK02
Thanks!
Alejandro.