Use the method LOG_BAPI_RETURN of class /IWFND/CL_LOGGER or /IWBEP/CL_COS_LOGGER to log messages returned in the BAPI return structure of an RFC.
Parameter Name |
Parameter Type |
Optional |
Data Type |
Def. Value |
---|---|---|---|---|
IS_OBJECT_KEY |
importing |
X |
/IWFND/S_COR_ID |
ID of the object whose processing caused the errors |
IT_BAPI_MESSAGES |
importing |
BAPIRET2_T |
Table of BAPIRET2 messages |
|
IV_AGENT |
importing |
/IWFND/SUP_IW_AGENT |
SAP Gateway agent or component |