Application Development 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: 

custom badi short dump error

Former Member
0 Kudos
83

i m new to badi i m trying to create custom badi while defination n implementation is done so far all good bt while testing the badi using report i m getting short dump ..

CALL METHOD cl_exithandler=>get_instance

EXPORTING

exit_name = 'zkna1_kunnr_badi_def'

null_instance_accepted = 'X'

  • IMPORTING

  • ACT_IMP_EXISTING =

CHANGING

instance = l_badi_instance

IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

*

-


> CALL METHOD l_badi_instance->get_name

EXPORTING

kunnr = p_kunnr

IMPORTING

kna1 = kna1.

i called this l_badi_instance manually .. pls help thsnks in advance

1 REPLY 1

Former Member
0 Kudos
45

Hello...

just try with this

cl_exithandler---

EXIT_NAME = con_badi_prov

if u give the exit name with in inverted commas give in caps letters

remove the inverted comma.

Thanks,

santhosh