I have the following situation:
I run an interface from legacy system to sap , this interface performs a goods receipt using : BAPI_GOODSMVT_CREATE . I need to put in the user exit: ZXMBC02 an environment variable to know I'm running the BAPI , these variables do not work me :
sy- TCODE EQ ' MB01 ' OR
sy- TCODE EQ ' MIGO ' OR
sy- CPROG EQ ' RS_TESTFRAME_CALL '
Thanks for the help