Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Do BADIs get triggered while doing BDC in background?

Hello All,

A small doubt. I have an active implementation for BADI DELIVERY_PUBLISH, which gets triggered when I do a Goods Issue. I have put a break point there and it stop at the break point for Goods Issue.

However, when I do a Goods Issue using BDC (in foreground or background), I dont find the breakpoint getting triggered.

Now, I am confused whether the BADI gets triggered at all during a BDC call. Or is it just that the BADI gets triggered but the cursor doesn't stop at the break point? I guess its an elementary doubt.

Kindly help me.

Thank you,

Johnson

Tags:
Former Member
Former Member replied

I would expect the BADI to be executed. The best way to find out is add the following code.

data field.

do.

if not field is initial.

exit.

endif.

enddo.

Then run the program in the background. You should then see this running via SM51, you can then capture it in debug mode and change the value of field to 'X' to come out of the loop.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question