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 call a badi implementaion from report program

palash_mazumder
Participant
0 Kudos
376

Hi ABAP Guru,

I have ZBADI_FALLBACK_DEF new badi created by me and there two implementation ZBADI_FALLBACK_IMP and ZBADI_FALLBACK_IMP1

Now I am calling this badi from report program

DATA:

   W_HANDLE TYPE REF TO ZBADI_FALLBACK_DEF.

 

* GET BADI - for getting objects..................

GET BADI W_HANDLE.

* CALL BADI - for calling interface methods.

CALL BADI W_HANDLE->ADD.

This is fine,,,

But I want to call only one implementaion ZBADI_FALLBACK_IMP.But here two implementaion is called.Please help....

1 REPLY 1

Former Member
0 Kudos
69

Hi Palash,

Then you create filter BADI  and  use filter in implementation.

While getting BADI reference use filter


GET BADI W_HANDLE FILTERS

Thanks & Regards,

Arun