Application Development 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: 

Function module to see if BADI is activated

OttoGold
Active Contributor
0 Kudos

Hello, ladies and gentlemen,

I have some dependencies in my development and I would like to check if everything is on or off at the same time. Just to make it nicer for the user.

To be able to code those dependencies in ABAP I need to check if some BADI implementations are activated. Can anybody suggest a function module for that? SELECT? class representation?

That would be awesome.

Thank you,

cheers Otto

1 ACCEPTED SOLUTION

former_member209703
Active Contributor
0 Kudos

Hi

As far as I know you have that information in SXC_ATTR DB Table.

Edit: I just found the ENH_BADI_IMG_IMPL_IS_ACTIVE FM. Sure it gives you that information.

Regards

2 REPLIES 2

former_member209703
Active Contributor
0 Kudos

Hi

As far as I know you have that information in SXC_ATTR DB Table.

Edit: I just found the ENH_BADI_IMG_IMPL_IS_ACTIVE FM. Sure it gives you that information.

Regards

Rodrigo-Giner
Active Contributor
0 Kudos

U can check it with the table SXC_ATTR.

IMP_NAME = Implementation name of the BADI

There is a field called ACTIVE that tells u if a implementation is active or not.

Greetings