‎2010 Jan 04 5:43 AM
Hi Experts,
I want to get Badi implementation class name and interface name by passing badi implementation name.
Is there any function module to find out??
Thanks and regards,
Venkat.
‎2010 Jan 04 5:59 AM
Hi,
Pass the implementation name to table SXC_CLASS. You will get interface and implementation class names.
Thanks,
Vinod.
‎2010 Jan 04 5:46 AM
‎2010 Jan 04 5:59 AM
Hi,
Pass the implementation name to table SXC_CLASS. You will get interface and implementation class names.
Thanks,
Vinod.
‎2010 Jan 04 6:05 AM
‎2010 Jan 04 6:01 AM
Hi Venkat,
First call the method CL_EXITHANDLER=>GET_INSTANCE by passing the BADI definition name in the EXIT_NAME parameter. Whatever you get back in the INSTANCE parameter --- just pass it through the INSTANCE parameter of CL_EXITHANDLER=>GET_CLASS_NAME_BY_INTERFACE method and you will get back implementation class name in the parameter CLASS_NAME.
For reference on how to use these methods, see the where used list for these methods which are most commonly used in all the standard SAP programs where BADI is called.
Cheers
Suresh