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

How to find Badi implementation class & Interface

Former Member
0 Likes
8,387

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.

1 ACCEPTED SOLUTION
Read only

vinod_vemuru2
Active Contributor
3,711

Hi,

Pass the implementation name to table SXC_CLASS. You will get interface and implementation class names.

Thanks,

Vinod.

4 REPLIES 4
Read only

kiran_k8
Active Contributor
0 Likes
3,711

Venkat,

Check the table BADI_IMPL.

K.Kiran.

Read only

vinod_vemuru2
Active Contributor
3,712

Hi,

Pass the implementation name to table SXC_CLASS. You will get interface and implementation class names.

Thanks,

Vinod.

Read only

0 Likes
3,711

Thank you very much for your kind help Vinod

Read only

SureshRa
Active Participant
0 Likes
3,711

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