SAP Knowledge Base Article - Public

3757940 - OData V4 Errors Not Fully Displayed in AIF Monitor

Symptom

  • OData errors are not being transferred or displayed correctly in the AIF Monitor.
  • The OData response body in the Gateway contains meaningful error details; however, the AIF Monitor shows only a single, incomplete message.
  • Additional error messages required for troubleshooting are omitted. In some cases, the first message may appear with unfilled placeholders or missing message variables.

Environment

  • Product: SAP S/4HANA Cloud Public Edition
  • Gateway Framework, OData v4

Reproducing the Issue

  1. Check the OData response body in the Gateway (for example, inspect the service response).
  2. Open the AIF Monitor and review the corresponding error entry.
  3. Compare the detailed errors present in the OData response body with those shown in the AIF Monitor and observe that only a single, incomplete message is displayed.

Cause

For OData v4, detailed messages contained in the framework’s message container (rendered in the response under error.details) are not written to the Gateway error log. Since AIF reads from the Gateway error log, only the main exception message is available in AIF. This is by design.

Resolution

  1. Please note that for OData V4, additional details contained in error.details are not persisted in the Gateway error log and are therefore not visible in AIF by design.
  2. If full visibility of all OData V4 error details in AIF is required, please submit an enhancement request via the SAP Influence Portal:Submit enhancement request. Provide a clear description of the expected behavior and its business impact to help prioritize the request.

See Also

Keywords

odata v4, aif monitor, gateway error log, /iwfnd/error_log, error.details, message container, incomplete error message, missing error details, odata error logging, monitoring, formatting placeholders, aif error display, odata response body, log propagation, by design limitation , KBA , OPU-GW-V4 , Gateway Framework, OData v4 , Product Enhancement

Product

SAP S/4HANA Cloud Public Edition all versions