10-17-2006 10:25 PM
Hi, i want to use this BADI: LE_SHPMNT_EXTENSION form the transaction VT01N, but when i tried to use it on the SE19 it says that the badi LE_SHPMNT_EXTENSION is only for internal use of SAP.
is there another way to use it??
do u know any other badi for the tran. VT01N?
Thanks
10-17-2006 11:10 PM
Hi Fernando,
I Can't See it from <b>SE19</b>, but you can copy it from <b>SE18</b>.
If you wanna search for other BADIs, you can follow this method:
go to SE80 transaction and select the class/interface <b>CL_EXITHANDLER</b>, then you have to select the <b>Get_Instance</b> 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 = <b>exit_name</b>
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
10-18-2006 2:26 AM
Hi Eric, thanks for the answer, i used that method to find the badi LE_SHPMNT_EXTENSION.
Last question: after i copy it from SE18, what's next? it works that way?
Tranks a lot, reward points incoming!
10-18-2006 3:58 PM
Hi Fernando,
You have to read the documentation of the Badi in order to learn how to use it (It doesnt't have documentation in the language in which i'm working right now).
But, I can tell you that you can go to the interface tab and double click on the interface name <b>IF_EX_LE_SHPMNT_EXTENSION</b>, then you are going to be able to see the parameters and the exceptions of each method of the BADI.
Regards,
Eric