ERPClimb logoERPClimb
SAP transaction codeObject/IWFND/TRACESModuleRAP_CDS_ODATA

New to SAP RAP / CDS / OData? Start with the module overview

/IWFND/TRACES — SAP Gateway Performance and Payload Trace

Quick answer

/IWFND/TRACES records request and response timing and payload detail for OData calls passing through the Gateway hub. It is most useful when a service works correctly but is slow, or when you need to see the exact request/response payload without adding client-side tooling like a browser proxy.

This practitioner page covers /IWFND/TRACES, the Gateway hub built-in performance and payload trace. It explains when to reach for it instead of ST05 or a client-side network trace, and what it can reveal that those tools cannot.

Published 17 Nov 2026· 524 words

Purpose

Captures timing breakdowns and, where enabled, full request/response payloads for OData traffic processed by the Gateway hub, without needing access to the calling client.

When it is used

Used when a service is functionally correct but slow, or when the exact payload SAP received or returned needs to be inspected server-side, for example when a third-party or mobile client cannot easily be traced client-side.

How to use it in practice

  • Scope the trace to the specific service, user and time window before activating it.
  • Reproduce the slow or problematic call while the trace is active.
  • Review the timing breakdown to see where time is actually spent.
  • Inspect captured payloads for unexpected size or unexpected field content.
  • Deactivate the trace afterward, payload tracing has real overhead and privacy implications.

Key data objects

Scope the trace tightly using these so you capture the right request and nothing else.

  • Service name, the OData service to trace.
  • User, restrict to the reporting user or test account.
  • Time window, keep it as short as practical.
  • Trace type, timing-only versus full payload capture.

How to prove it in the data

Compare the timing breakdown against ST05 SQL trace results for the same request: if the time is mostly on the database side, the fix is in the backend query; if it is mostly Gateway-side serialization, the fix is in the service model or projection design.

Enable tracing only for the necessary service/user in an approved system and for the shortest useful interval. Reproduce one request, record its URL/method and processing phases, stop tracing promptly and correlate the trace timestamp with /IWFND/ERROR_LOG, /IWBEP/ERROR_LOG and relevant ST05 evidence. Redact bearer credentials and sensitive business data before sharing results. Compare an equivalent successful request to distinguish environment from application changes.

ECC vs S/4HANA

Available wherever the classic Gateway hub component is used. For RAP services exposed directly via CDS/OData V4 without a separate hub, timing analysis may instead rely on ABAP-side trace tools alongside this.

Common pitfalls and how to diagnose them

Gateway tracing is an incident tool, not a permanent observability setting. Full request/response tracing can collect personally identifiable information, access tokens and large application payloads, and unrestricted trace windows can create avoidable performance or storage impact. A frontend timing hotspot may be routing, serialization or backend execution; classifying it as a slow SQL query without a matching backend trace is misleading.

  • Leaving full payload tracing active longer than needed.
  • Tracing too broad a scope and drowning the real request in noise.
  • Reading only Gateway-side timing and missing a backend database bottleneck visible only in ST05.

Whose problem this is

Primary ownership is the RAP/CDS/OData or Gateway team for service-side performance; involve Basis if hub infrastructure itself appears to be the bottleneck.

Source: ERPClimb — https://erpclimb.com/sap-tcodes/iwfnd-tracesERPClimb is an independent platform and is not affiliated with SAP SE. Reference pages are written and reviewed by SAP consultants for learning and troubleshooting.