08-22-2007 9:20 AM
Hi Gurus,
I am new to BADI.i am workin on support project and i got a requirement
on BADI for validation.Can any one help me from where i have to execute
the present programme and on which transacction i have to look the programme
and do modifications..can any one provide me the notes regarding BADI.points will be rewarded for every reply.
Thanks in advance.
Regards,
Ashok kumar.
08-22-2007 10:38 AM
Hi Ashok,
I could not understand your requirement though its seems you need to incorporate some kind of validation on some standard transaction. For this you not only can use badi but customer exits too. you can look for badis n exits in program by searching for
'Call customer function'
'call method cl_exithandler->get_instance'
'call badi'
'get badi'
statements.
and whatever options are available would be listed . you can search for these statement at run time too by creating a break-point on alll these statements in runtime .
Check these links for further information.
/people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
/people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
https://www.sdn.sap.com/irj/sdn/forums
regards,
Vikas
<b>Always reward points to helpful suggestions.</b>
08-22-2007 10:38 AM
Hi Ashok,
I could not understand your requirement though its seems you need to incorporate some kind of validation on some standard transaction. For this you not only can use badi but customer exits too. you can look for badis n exits in program by searching for
'Call customer function'
'call method cl_exithandler->get_instance'
'call badi'
'get badi'
statements.
and whatever options are available would be listed . you can search for these statement at run time too by creating a break-point on alll these statements in runtime .
Check these links for further information.
/people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
/people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
https://www.sdn.sap.com/irj/sdn/forums
regards,
Vikas
<b>Always reward points to helpful suggestions.</b>
08-22-2007 11:12 AM
Hello Ashok,
if you have the name of the BADI implementation currently used-->please try SE19 and enter BADI name and Click on display...if you put break point in the lines of code you can trace the process as to where it is being called....
If you have the BADI definition then --> go to SE18 and enter the name and click on display
By viewing the BADi itself youcan understand what all fields are being inputted and which all modified.
you can try the following links for information
http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
http://help.sap.com/saphelp_nw04/helpdata/en/5f/071eed117c11d5b37d0050dadef62b/content.htm
The following link from SDN gives more info
Reward if helpful
All the best
Regards
Byju