‎2008 Feb 19 5:04 AM
How to write a call method in SE38 ....... exit handler method is there how we will call that method ...........................
‎2008 Feb 19 6:51 AM
Hi,
Pls refer : http://www.sourceveda.com/page4.htm
‎2008 Feb 19 5:10 AM
Hi,
For the new BAdi from ECC 6.0 onwards you call the BAdi implementation methods as follows:
GET BADI <badi_definition>.
CALL BADI <badi_definition>-<method_name>
EXPORTING .....
IMPORTING .....
Also, the other method is:
Using CL_EXITHANDLER
CALL METHOD cl_exithandler=>get_instance
EXPORTING
exit_name = <BAdi Name>
null_instance_accepted = 'X'
IMPORTING
act_imp_existing = <flag>
CHANGING
instance = <Implementation_instance>
EXCEPTIONS
OTHERS = 0.
CALL METHOD <Implementation_instance>-<method_name>
......
Remember the <Implementation_instance> should reference (TYPE REF TO) the BAdi Class definition.
Cheers,
Aditya
‎2008 Feb 19 5:18 AM
‎2008 Feb 19 6:51 AM
Hi,
Pls refer : http://www.sourceveda.com/page4.htm