Skip to Content

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

To Fetch BDC Calling Program Name in user Exit

a Z program is created in which a BDC runs for cancelling of Inspection lot based on a logic.

Cancellation can also be done manually by standard SAP transaction and to avoid this error messages are written inside the user exit.

But due to these messages, the BDC is also returning error. So, i need to identify the calling program or the driver program in the user exit so that i shall skip the messages when Z program runs.

And hence cancellation can only be then possible through Z program.

SY-BINPT tells me that it is run through batch input.

But i am not able to fetch the calling program or TCODE name.

PLZ HELP!

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question