Application Development 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: 

Required help on BADI

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/the%2bnew%2benhancement%2bframework%2band%2b...

/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>

2 REPLIES 2

Former Member
0 Kudos

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.

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/the%2bnew%2benhancement%2bframework%2band%2b...

/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>

Former Member
0 Kudos

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