SAP transaction codeObjectRSRTModuleBW_ANALYTICS

RSRT — BEx Query Monitor for Testing and Debugging

RSRT is the BW query monitor transaction used to execute a query directly on the server, bypassing the reporting frontend, so that generated SQL, cache behavior, aggregate usage, and OLAP runtime settings can be inspected. It is the primary tool for isolating whether a reporting problem originates in the query itself or in the frontend rendering it.

This page covers RSRT, the transaction consultants use to run a BW query in isolation from BEx Analyzer, Analysis for Office, or a Fiori analytical app. It focuses on the debug execution options, where the results diverge from frontend output, and the order in which cache, aggregate, and authorization issues should be ruled out.

Reviewed by an ERPClimb SAP consultant on 15 Sept 2026· 1,149 words

Purpose

RSRT executes a BW query directly against the OLAP engine without going through any presentation layer. It exposes technical execution details that no frontend shows: the generated SQL statement, whether the OLAP cache was hit, which aggregate (if any) served the request, variable screen behavior, and formula/exception evaluation. The structural fact behind most confusion is that RSRT has its own execution context, controlled through the 'Execute + Debug' option, which can override or ignore frontend personalization, workbook settings, and portal variants. A query that looks broken in Analysis for Office can run perfectly in RSRT, and that gap is diagnostic information in itself, not a contradiction to be explained away.

When it is used

RSRT sits between data load monitoring and the reporting frontend in the troubleshooting chain. It is reached for when a query returns wrong numbers, times out, or behaves inconsistently between users, and the question is whether the fault lies in the query definition, the InfoProvider data, or the tool displaying it. It is not used to build or design a query, and it is not a substitute for a Fiori analytical app or Analysis for Office when the issue is purely a frontend formatting or navigation problem. Consultants typically move to RSRT after ruling out that the underlying InfoProvider has the expected data, and before escalating to the query designer to change variable defaults or filters.

How to use it in practice

  • Enter the technical name of the query (not the description) in the initial screen.
  • Choose 'Execute' for a plain run, or 'Execute + Debug' to open the debug options popup.
  • In the debug popup, select the checks needed: display SQL statement, display statistics data, display aggregates found, do not use cache, display authorization check.
  • Pick an output variant such as HTML, ALV list, or a technical grid depending on what needs inspecting.
  • Run the query and read the generated SQL and cache/aggregate flags before looking at the actual result set.
  • Repeat with 'do not use cache' toggled to separate a data problem from a stale cache problem.

Key data objects

  • RSZCOMPDIR - directory of reusable query components, holding the technical name to object ID mapping RSRT resolves at entry.
  • RSRREPDIR - directory of reporting components, used to determine whether the query variant is active and released for execution.
  • BW statistics tables (the RSDDSTAT family) - runtime records written when statistics collection is switched on, capturing execution time, records transferred, and whether an aggregate or the OLAP cache was used.
  • OLAP cache storage - not a single flat table exposed for direct SE16 browsing, but the object RSRT reports against when the 'use cache' debug flag is checked.

How to prove it in the data

Turn on BW statistics for the query before testing (this is a query property, not an RSRT setting), run the query once in RSRT with cache enabled and once with 'do not use cache' checked, then browse the relevant BW statistics table in SE16 filtered by the query's technical name and execution timestamp. Compare the runtime and records-transferred fields between the two runs; a large gap points to a cache or aggregate effect rather than a data problem. If an aggregate was used, the debug output in RSRT itself names the aggregate ID directly, which is faster than searching the statistics table for it.

ECC vs S/4HANA

RSRT continues to work the same way on S/4HANA and BW/4HANA for classic BW queries built on InfoProviders or CompositeProviders. It does not apply to native CDS-based analytical queries or embedded analytics content consumed directly through Fiori apps, since those bypass the BW OLAP engine entirely; those are tested through CDS-level tools instead. Where a BW query still sits underneath a Fiori analytical app as its data source, RSRT remains the right tool to isolate query-side problems before touching the app layer.

Common pitfalls and how to diagnose them

  • Frontend versus RSRT mismatch: a query that fails or returns different numbers in Analysis for Office but works in RSRT usually means the discrepancy is in frontend variable defaults, workbook personalization, or a stale local view, not the query logic. Confirm by checking which variant and variable values RSRT actually used against what the frontend passed.
  • Stale cache masking a data change: a load has run successfully but the reported numbers do not move. Rerun in RSRT with the cache explicitly disabled before assuming the extraction or transformation failed; if the disabled-cache run shows correct numbers, the fix is a cache reset, not a data reload.
  • Aggregate silently not used: query performance suddenly degrades after being fast for months. Check the 'aggregates found' debug output in RSRT; if none is listed, the aggregate may have been deactivated, is out of sync with the InfoProvider, or the query's characteristic combination no longer matches an active aggregate.
  • False negative on authorization testing: running RSRT as a dialog user with broad authorization can hide an authorization object problem that only appears for the actual end user. Explicitly check the authorization debug option and, where possible, test with the end user's authorization context rather than assuming RSRT's default run reflects production access.
  • Query technical name not found: the query is inactive, was created in a different InfoArea than expected, or exists only in the development system and was never transported. Confirm the query is active and assigned before spending time on cache or SQL analysis.

Whose problem this is

This is functional BW/BI consultant territory in the first instance; RSRT is a diagnostic tool for someone who understands query design, aggregates, and OLAP caching. A good handover to Basis (for cache infrastructure or memory issues) or to an ABAP developer (for exit variables or custom formula logic) should include the query technical name, the exact debug options used, the generated SQL, and whether the problem reproduces with the cache disabled.

Related SAP objects

Reviewed pages this object connects to in the ERPClimb knowledge graph.

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