‎2013 Apr 29 2:17 PM
Hi All,
I am working on badi.
Can anybody suggest me how to find method which is appropriate in a badi.
Thanks.
‎2013 Apr 29 2:22 PM
‎2013 Apr 29 3:36 PM
Hi,
In most of the cases the method name itself is self explanatory. If the name doesn't make any sense, then you can check the Short description of the method. Even the parameters of the method will give you a hint if you can use it or not. If none of these things helps you then you can go through the documentation provided for the BADI where they would have explained about the use of each and every method in BADI.
Pleas revert in case of any queries.
Best Regards,
Praveenkumar T
‎2013 Apr 30 3:01 AM
Hi,
There is no thumb rule in identifying method which will suit the requirement. In most of the cases, method name will itself give you a clear hint of the purpose. For Eg. words like CHECK, BEFORE*some action name, AFTER*some action name, PROCESS, ON_SAVE, etc.
You can refer to the documentation to narrow down/make sure that the method is meant for achieving you requirement. Lastly, you can refer to the parameter list and check if the fields/tables that you are looking to process or manipulate are available in the method or not. It might happen that BADI and Method name suits your requirement and is triggering at the required spot, but doesnt contain the table-field that you want to change/check/manipulate or compare.
I hope this simplifies your doubt. Revert if still not clear.
Regards,
Deepak.