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

BADI - Filter Values

Former Member
0 Likes
496

Hi Gurus,

In BADIs, we can set a filter value and trigger our respective implementations based on that filter values ( this is handled by the system itself ....... )

But, can we have MORE than ONE filter values DEFINED in our CUSTOM BADI DEFENITION ( 'Z' BADI ) ?

For example..... the corresponding implementation of a BADI would only be triggered for a 'combination' of filter values ( say a particular material number AND company code ..... )

Eagerly waiting for your suggestions ....

Regards

Anshul

2 REPLIES 2
Read only

Former Member
0 Likes
378

Hi Anshul,

BADI is for transaction not for filtering purpose.

You cannot stop BADI from trigggering on perticular combination.

But you can do one thing that, Put you logic on the basis of your condition.

i.e.

IF <matnr> = 'xyz' AND <bukrs> = '123'.

Your code.

endif.

Regards,

Swarup

Read only

Former Member
0 Likes
378

hi Anshul,

In badis the main advantage is that reusability i.e we can defiene one tiem and we can implement it many times so if we whie defining we will give filter type so , we have to give filter type only once for a particular badi,

but implementaion can be done many times,

hope its clear to you,

reward points if usefull,

Thanks,

Kalyan.