Skip to Content
0
Former Member
May 05, 2009 at 02:59 PM

classic badi implementation zac_document not being called

275 Views

For classic BADI AC_DOCUMENT I had prior and currently have an implementation ZAC_DOCUMENT.

I had this working but now it is not working and I am unable to determine why not. I deleted the implementation and recreated it with SE18.

If I view the implementation in change mode of transaction SE19, I see on the attributes tab that the implementation is activated. On the interface tab it says....

interface name IF_EX_AC_DOCUMENT

name of implementing class ZCL_IM_AC_DOCUMENT

I double click on method CHANGE_AFTER_CHECK to see my code which passes syntax check... I'll abbreviate....

method IF_EX_AC_DOCUMENT~CHANGE_AFTER_CHECK.

data:

....

loop at IM_DOCUMENT-ITEM into wa_accit.

lc_nomod = 'X'.

  • substituted alternative account

if ....

if lc_nomod is initial.

append wa_accit_sub to ex_document-item .

endif.

endloop.

endmethod.

The code here is not being triggered, nor is a set break-point. Thanks in advance for any help getting this to work again.