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

Problem in Implementing Filter BADI

Karan_Chopra_
Active Participant
0 Likes
2,428

Hi Experts ,

           I have a problem in Implementing Standard BADI  OIJ_NOMIT_VALIDATION , this one is a Filter BADI , with Filter type OIJ_NOMITEM_CHCK . i created a implementation ZOIJ_NOMIT_VALIDATION with filter ZOIJ_NOMIT and write code in method VALIDATE . But this is not triggered. Any additional configuration needed for this ?

<removed by moderator>

Message was edited by: Thomas Zloch

9 REPLIES 9
Read only

former_member189905
Participant
0 Likes
1,909

Hi,

is that you have activated your development : method and implementation ?

Have you defined a filter value under the filter section ?

Have you added as parameter this filter value when you

call the method Validate ?

Read only

Former Member
0 Likes
1,909

Hi

Check whether you have to activated both method and implementation.

keep a break point in method and see whether badi is triggered or not.

Read only

0 Likes
1,909

I have activated both method and implementation,

during creation of implemention its asks for implementation name, filter name

In filter attributes it asks for filter name and description , i did that and activated.

Added the break pint but still badi is not getting trigged.

Although when I check instance of cl_exithandlet main badi definition is coming as exit name.

Just want to know when adding the filter in attribute and its desciption, do we need to do anything else other than normal Badis.

Read only

0 Likes
1,909

Could you load 1 screen shot of your implementation and method(call, parameters and source) ?

Read only

0 Likes
1,909

rite now I do not have sap access , will be able to load that on monday...

Read only

0 Likes
1,909

Hi,

Tcode in which u specified value didnt satisty the filter value specified in BADI

Remove filter type and keep break -point , it triggers.

because your filter type will validate the execution of your BADI.

ex :  suppose ur filter BAdi is based on comp code

       2000 company code is value in your tcode

       1000 comp code filter value in BADI

in this case badi does nt trigger for 2000 comp code.

Read only

0 Likes
1,909

How can I remove the filter when I remove it gives error "please specify filter value".

Please find the screen shot of the implementation. this is not getting triggered although instance is showing the Badi name being triggered.

Read only

0 Likes
1,909

Hi,

I am not sure about your problem, but u can try like this

after filter depend check press F4 on filter type and give proper value like this

>>>

Other wise

On the properties tab click the 'Plus' button at the bottom of the (sub)screen for adding filter values....

Regards

Gourav.

Read only

0 Likes
1,909

you need to add your filter value to validation groups in configuration, otherwise it will not trigger.