10-07-2008 5:18 AM
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
10-07-2008 5:44 AM
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
10-07-2008 5:44 AM
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
10-07-2008 5:52 AM
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
10-07-2008 5:54 AM
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
10-07-2008 6:04 AM
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.
10-07-2008 6:07 AM