Do BADIs get triggered while doing BDC in background?
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.
I would expect the BADI to be executed. The best way to find out is add the following code.
if not field is initial.
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.