While the BDC is running, I'd like to from within the transaction that is being called (determine if the transaction was called from a BDC and then) conditionally break out of the BDC. Is this possible? I know in foreground you can type /BEND, but no variation of this works from within the ABAP coding. I also tried the many different formats of the LEAVE command, but none of them work for exiting the BDC either. If you have a possible workaround, also this will be pretty useful. Thank you.