‎2006 Oct 13 7:06 AM
hi friends,
i have few doubts in BADI plz explain me
1.i have implemented badi while saving its asking me specify filter value [what to specify here]i specified its default filter value
2.in coding in method i copied standard example code when i did syntax check its throwing me error type 'T_RANGE' is
unknown.in types i specified this variable its giving me 'Enter Type Fully'
thanks in advance
soorya
‎2006 Oct 13 7:29 AM
Hi Soorya,
1. You have to enter the values for that filter Type just below where you check the filter-Depentend check box (Before that u have to enter value in Filter Type).
And this will add FLT_VAL importing parameter to ur methods when u call instance of them in calling program.
IF the FLT_VAL value matches (with the value that u entered earlier) then only this BADI will get triggered otherwise not.
2.The Syntax Check that u are making should be in Import parameter of the Method otherwise it will through the same error.
Please Do reply in case of further Help.
Regards,
Ranjit Thakur.
Please Mark The Helpful Answer.
Message was edited by: Ranjit Thakur
‎2006 Oct 13 8:09 AM
hi ranjit,
my badi is filter type in default
plz explain me in detail how to enter filter value
and how to do syntax check for import
thanks in advance
soorya
‎2006 Oct 13 9:57 AM
Hi Soorya,
can u tell me the BADI Name and in which method u want to do the syntax check ?
Regards,
Ranjit Thakur.
Please Mark The Helpful Answer.
‎2006 Oct 13 10:15 AM
hi ranjit,
my BADI IS --WOSCR_CBL
Method--- IF_EX_WOSCR_CBL~GL_POSTINGS_SELECT
[GL_POSTINGS_SELECT]
i copied the standard coding for my Zbadi method and while checking syntax check i get the error
regards,
soorya
‎2006 Oct 13 1:25 PM
Hi Soorya,
I have gone through the BADI,
1. While Implementing, It will not allow you to go to next screen till u enter the filter value and short Description. It is giving search help for the filter value.
2.Check Import Parameters of Method GL_POSTINGS_SELECT
whether they contain the values which u are checking.
If not then int will definately show u error.
Please Send me Validation which u want to do, so that i can try with the same.
Regards,
Ranjit Thakur.
Please Mark The Helpful Answer.
‎2006 Oct 13 10:40 AM
Hi soorya,
Be carefull with Badi contained filters.
Some standard implementations are made by SAP with differents filters of the definition.
So if you code a specific implementation with existing filters, search if you don't have a standard implementation to use.
You can also try to fill "*" in value of filter.
regards
Sebastien