cancel
Showing results for 
Search instead for 
Did you mean: 

badi

Former Member
0 Kudos

Hi i have created a badi name ZBADIS , I tried to use that in a program to instnatiate that badi i used following call but i am getting dump

exception DATA_INCONS_IN_EXIT_MANAGEM is coming in dump analysis ,, what is reason do i need to change badi defination in se 18 if yes where should i perform change

as I know method cl_exithandler=>get_instance is standard one ther should be some modification to be done at badi defination pls let me know where change the defination

DATA: lb_derivation TYPE REF TO ZINTERFACE

call method cl_exithandler=>get_instance

exporting

exit_name = 'ZBADIS'

null_instance_accepted = 'X'

changing

instance = lb_derivation .

Accepted Solutions (0)

Answers (1)

Answers (1)

raymond_giuseppi
Active Contributor
0 Kudos

Your program may look like

* In TOP
CLASS cl_exithandler DEFINITION LOAD. "declaration
DATA exit TYPE REF TO if_ex_businessaddin. "interface reference
* Start of the program
CALL METHOD cl_exithandler=>get_instance "factory method call
      CHANGING instance = exit.
* In the main program
CALL METHOD exit->methode "add-in call
     CHANGING parameter = word.

Also look at [Business Add-Ins|http://help.sap.com/saphelp_47x200/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/frameset.htm]

Regards