Hi ,
In ECC 6.0 , Im creating custom badi 'zbadi' in se18 . Interface name : zbadi_inf ,
impl class : zbadi_imp,
method name : test ,
variable is var type vbak-vbelnr which is exporting .
In program I m calling this badi
my code is :
class cl_exithandler definition load. "Declaration
data exit type ref to Zbadi_inF. "Interface reference
DATA VAR TYPE MARA-MATNR VALUE 'SUNRISE'.
start-of-selection.
call method cl_exithandler=>get_instance "Factory method call
EXporting "Method
exit_name = u2019ZBADIu2019
changing instance = exit.
write:/'Please click here'.
at line-selection.
write:/ 'Original word: ',VAR.
if not exit is initial.
call method exit->TEST "Add-In call
IMPORTING
VAR = VAR.
endif.
write:/ 'Original word: ',VAR.
The program is giving dump . Please tell me why is it giving dump .Im very new to BADIs .
The excpetion raised is
RAISE data_incons_in_exit_managem.
I have just given a varible var which is exporting parameter in the method test in interface.
I have activated all the interface and implemenations .