Skip to Content
0
Former Member
Nov 29, 2006 at 04:28 AM

BADI ecc6 throws dump

25 Views

Dear All,

We are getting a dump while calling a badi through our Z program.

We have created a Enhancement spot through SE18 -> z_es_spot

where I have defined badi definition as Z_BADI_DEF and interface as

ZIF_EX_LE_SHP_TAB_CUST_ITEM.

I have defined a method as ADD there.

After that we have created a enhancement implemention through Se19 ->Z_ENHANCE_IMP

there we have given badi implementation as ZTEST_BADI_IMPL and implementing class is ZIMPL_CL.

Afterwards I have created a program through Se38 ->zbadi.

class cl_exithandler definition load.

data: var2 type ref to ZIF_EX_LE_SHP_TAB_CUST_ITEM.


CALL METHOD var2->add
    .

when the program call the method ADD it throws a dump as Access via 'NULL' object reference not possible.

Any help will be appreciated.