2012 Sep 01 7:55 AM
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
2012 Sep 01 11:34 AM
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 ?
2012 Sep 01 12:19 PM
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.
2012 Sep 01 12:27 PM
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.
2012 Sep 01 12:34 PM
Could you load 1 screen shot of your implementation and method(call, parameters and source) ?
2012 Sep 01 12:54 PM
rite now I do not have sap access , will be able to load that on monday...
2012 Sep 01 12:57 PM
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.
2012 Sep 03 6:02 AM
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.
2012 Sep 03 6:28 AM
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.
2020 Jul 09 5:49 PM
you need to add your filter value to validation groups in configuration, otherwise it will not trigger.