Use the method LOG_BAPI_RETURN of class /IWFND/CL_LOGGER to log messages returned in the BAPI return structure of an RFC.
Note that for the backend system (where software component IW_BEP is deployed) a corresponding class exists called /IWBEP/CL_COS_LOGGER for OData Channel development.
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 |