‎2006 Nov 29 4:28 AM
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.
‎2006 Dec 05 12:39 PM
i am still stuck can any one help or give some advice.
thanx in advance
regards