Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPIs

Former Member
0 Likes
308

Hi guys.

I need to know which BAPI is called when traansaction fp50 is enterd and which BAPI is called when transaction fpcg is called?

Thank you guys in advance

will

1 REPLY 1
Read only

Former Member
0 Likes
260

Do you mean BAdI?

  • Go to transaction SE80 in a client where you can experiment with the transaction that you are interested in.

  • Go to class CL_EXITHANDLER. [Select Class / Interface from the drop-down, and put CL_EXITHANDLER for the class.]

  • Go to method get_instance. [Press RETURN to ensure that the contents of the Object Name frame are for CL_EXITHANDLER. Expand the Methods node. Double-click on GET_INSTANCE.]

  • Insert a breakpoint just after the call to the method cl_exithandler=>get_class_name_by_interface.

  • Use the transaction in which you are BAdI-hunting.

  • Examine the contents of the field exit_name whenever the processing stops at the breakpoint. I have found a case where exit_name was an unknown field. Then class_name gave a good clue to the name of the BAdI.