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

Selecting method from BADI

Former Member
0 Likes
500

Hi All,

I am working on badi.

Can anybody suggest me how to find method which is appropriate in a badi.

Thanks.

3 REPLIES 3
Read only

RaymondGiuseppi
Active Contributor
0 Likes
478

Reading BAdI and its interface/methods documentation, as well as BAdI method name containing words like check, process, before save, after save/post) and the like.

Regarsd,

Raymond

Read only

Former Member
0 Likes
478

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

Read only

Former Member
0 Likes
478

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.