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: 

Regarding BADI

Former Member
0 Kudos

Hello All,

I have created a badi "XXX" , now I would like to add a particular code inside the badi to

check whether both the coding and the badi works ?

Please provide the steps to determine this

Kindly help .

Regards ,

Swetha

1 ACCEPTED SOLUTION

former_member598013
Active Contributor
0 Kudos

Hi Shweta,

If you really want to see your coding which is present in the BAdi, Then what you need to do is just to add a Break-Point in your BAdi and check execute the Transaction on which you have implemented the Badi. If the Breakpoint stops there that means your BAdi has Triggered.

IF you want more information regarding BAdi Check out the below links.

How to create custom BADI

http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc

Thanks,

Chidanand

5 REPLIES 5

former_member598013
Active Contributor
0 Kudos

Hi Shweta,

If you really want to see your coding which is present in the BAdi, Then what you need to do is just to add a Break-Point in your BAdi and check execute the Transaction on which you have implemented the Badi. If the Breakpoint stops there that means your BAdi has Triggered.

IF you want more information regarding BAdi Check out the below links.

How to create custom BADI

http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc

Thanks,

Chidanand

Former Member
0 Kudos

Hi Swetha,

You created a Badi in SE18. Now you have to implement that Badi using SE19. Write some code in that implementation using your parameters.

Create a program in SE38.

where required to call the Badi, c

CALL METHOD cl_exithandler=>get_instance

EXPORTING

exit_name = <ur badi>

null_instance_accepted = x

CHANGING

instance = <badi name>.

Then call the another method.

this method is ur badi method. It contains import, export parameters. Pass your data to these parameters. you get the required output.

For testing purpose again...

you change your code in badi implementation. check the your program output.

If you have any doubts plz revert back.

Regards,

Dhanunjaya Reddy

former_member181995
Active Contributor
0 Kudos

Se19>from create inimlementation>classic badi>give you badi implementation name>create>than from interface tab (ABAP code) here you may place your code inside and activate you efforts

soumya_jose3
Active Contributor
0 Kudos

Hi Shweta,

Find the below link.It has the step by step details for creating a BADI.

http://saptechnical.com/Tutorials/ExitsBADIs/ExitsMain.htm

Regards,

Soumya.

Former Member
0 Kudos

thank you all for a quick response