Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BADI ecc6 throws dump

Former Member
0 Likes
354

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.

1 REPLY 1
Read only

Former Member
0 Likes
329

i am still stuck can any one help or give some advice.

thanx in advance

regards