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: 

BADI Material

Former Member
0 Kudos

Hello,

Can someone give me some good material on BADI.I have no clue as to how an enhancement is searched for in BADI and then implemented.Could someon send some good material over to me.

Regards,

Supriya Manik.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Supriya,

If you wanna search for BADIs, you can follow this method:

Goto SE80 transaction and select the class/interface CL_EXITHANDLER, then you have to select the Get_Instance method and put a break-point in the following call:

call method cl_exithandler=>get_class_name_by_interface

exporting

instance = instance

importing

class_name = class_name

changing

exit_name = exit_name

exceptions

no_reference = 1

no_interface_reference = 2

no_exit_interface = 3

data_incons_in_exit_managem = 4

class_not_implement_interface = 5

others = 6.

the value of exit_name will give you the name of the BADI that is been call from the transaction.

Note: This method will show you every Badi that is being activated since you put the break-point.

Regards,

Eric

Reward points if it was useful

5 REPLIES 5

Former Member
0 Kudos

hi Supriya,

if u send me a test mail to sriyabap@yahoo.co.in i will send you some good documents

here r some more links

http://www.allsaplinks.com/badi.html

And also download this file....

http://www.savefile.com/files.php?fid=8913854

There are other tutorials on this site...

http://sapbrain.com/Tutorials/tuto_download.html

Regards,

SRI

Former Member
0 Kudos

Hi Supriya,

If you wanna search for BADIs, you can follow this method:

Goto SE80 transaction and select the class/interface CL_EXITHANDLER, then you have to select the Get_Instance method and put a break-point in the following call:

call method cl_exithandler=>get_class_name_by_interface

exporting

instance = instance

importing

class_name = class_name

changing

exit_name = exit_name

exceptions

no_reference = 1

no_interface_reference = 2

no_exit_interface = 3

data_incons_in_exit_managem = 4

class_not_implement_interface = 5

others = 6.

the value of exit_name will give you the name of the BADI that is been call from the transaction.

Note: This method will show you every Badi that is being activated since you put the break-point.

Regards,

Eric

Reward points if it was useful