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: 

How to check BAdI usage (where-used)?

phoenixming0912
Product and Topic Expert
Product and Topic Expert
0 Kudos
441

Hi all,

Filter-based BAdIs are called by a filter value parameter.

I think use where-used list of BAdI definition just hits all implement method calls, but I have to check the specific filter value one by one. Is there a better way to do that?

Regards,
Eric

1 ACCEPTED SOLUTION

turkaj
Active Participant
346

Hi Eric,

If I understand correctly, you want to know when the BAdI is called with a specific filter value.

If this is the case, you can search for the call using transaction CODE_SCANNER or report RS_ABAP_SOURCE_SCAN. It is best to specify in which package(s) you want to search.

In the field "Search string 1" you can enter your BAdI method and in the field "Search string 2" you can enter your filter value. The search result should show all BAdI calls with the filter value.

I would try this.

Kind regards
Jim

4 REPLIES 4

Sandra_Rossi
Active Contributor
0 Kudos
346

Just an intellectual check. The implementations/classes should have a name very close to the filter value.

phoenixming0912
Product and Topic Expert
Product and Topic Expert
346

Hi Rossi,

I am not talking about implementation class, I mean the classes/programs that call this BAdI with the specific filter value.

turkaj
Active Participant
347

Hi Eric,

If I understand correctly, you want to know when the BAdI is called with a specific filter value.

If this is the case, you can search for the call using transaction CODE_SCANNER or report RS_ABAP_SOURCE_SCAN. It is best to specify in which package(s) you want to search.

In the field "Search string 1" you can enter your BAdI method and in the field "Search string 2" you can enter your filter value. The search result should show all BAdI calls with the filter value.

I would try this.

Kind regards
Jim

phoenixming0912
Product and Topic Expert
Product and Topic Expert
0 Kudos
346

Thanks for the help!