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....
loop at IM_DOCUMENT-ITEM into wa_accit.
lc_nomod = 'X'.
substituted alternative account
if lc_nomod is initial.
append wa_accit_sub to ex_document-item .
The code here is not being triggered, nor is a set break-point. Thanks in advance for any help getting this to work again.