Skip to content
Learn · SAP access risk

SAP table logging: rec/client, SCU3 and DBTABLOG

How SAP table change logging works, how to switch it on and read it in SCU3, and which tables auditors expect logged.

Last reviewed · Rinexis SAP security team

Definition

SAP table logging is the ABAP system's record of changes to selected database tables, mainly customizing tables. It needs two settings: profile parameter rec/client switched on for the client, and the Log data changes flag in the table's technical settings. Changes are written to table DBTABLOG and read with transaction SCU3.

What table logging is for

Customizing tables decide how SAP behaves: which company codes exist, which posting periods are open, how the payment program selects banks, which accounts a posting hits. A change to one of these can alter financial results without any business document being posted, so auditors want to know who changed it, when, and what the old and new values were.

Table logging provides that record. It is separate from change documents, which cover business objects such as vendors and materials, and from the Security Audit Log, which records activity such as logons and transaction starts but not field values.

Switching it on: rec/client and the log flag

Logging happens only when both conditions are true for a change.

The two settings that control table logging.
SettingWhereValues
Profile parameter rec/clientSystem profile, maintained in RZ10; current value visible in RZ11OFF (no logging), ALL (all clients), or a comma-separated list of client numbers
Log data changes flagTechnical settings of the table in SE13 or SE11; stored as DD09L-PROTOKOLLSet (X) or not set for each table

Set rec/client identically in the default profile so every application server logs the same way. Cross-client tables are logged whenever rec/client is not OFF. To list which tables carry the flag, display DD09L in SE16 with PROTOKOLL = X.

Changing rec/client is itself a significant change and should go through change management, with the Security Audit Log capturing who did it. A production system with rec/client = OFF is a standard audit finding.

Where the log lives and how to read it

Each logged change writes a record to table DBTABLOG with the table name, key, user, date, time, transaction or program, and the old and new values. The raw table is not readable on its own, so use the evaluation tools.

  • SCU3 (Table History): select tables or customizing objects, a date range and optionally a user, then display changes by field with old and new values.
  • Report RSVTPROT, the program behind the SCU3 evaluation, can be run in SA38 or scheduled in the background for large date ranges.
  • Filter by user to review what a firefighter or administrator changed during a session, alongside the firefighter log.

Viewing logs needs S_TCODE for SCU3 plus display authorization for the tables concerned through S_TABU_DIS or S_TABU_NAM, so reviewers do not need change access to read history.

Changes imported by transport

rec/client covers changes made directly in the client. Customizing normally reaches production by transport, and those imports are logged only if the transport parameter RECCLIENT is set in the transport profile, maintained in STMS. It takes the same kind of values: OFF, ALL or a list of clients.

With RECCLIENT on, SCU3 shows the field-level effect of each imported customizing request, which complements the request history in the transport system. Without it, the only evidence of what an import changed is the transport request content itself.

Table logging vs change documents

Which mechanism records which kind of change.
MechanismCoversStored inRead with
Table loggingCustomizing and selected control tables with the log flag setDBTABLOGSCU3, RSVTPROT
Change documentsBusiness objects with a change document object, such as vendor, customer, material and purchase orderCDHDR, CDPOSApplication change displays, report RSSCD100
SE16N edit logTable entries changed in edit mode of SE16NSE16N_CD_KEY, SE16N_CD_DATADisplay of those two tables

Master and transactional data should be traced through change documents, not table logging. Logging high-volume application tables fills DBTABLOG quickly, slows updates and duplicates what change documents already record.

Which tables to log

SAP sets the log flag on many delivered customizing tables, but the flag can be changed and custom Z tables are not logged unless someone sets it. Confirm the flag on the tables that matter to your controls rather than assuming it.

Examples of tables auditors commonly expect to be logged.
TableControls
T000Clients and their change settings, also changed through SCC4
T001BOpen and closed posting periods
T001Company code settings
T012, T012KHouse banks and bank accounts
T030Automatic account determination
USR40Prohibited passwords
PRGN_CUSTRole and authorization maintenance settings
Custom Z tablesAny custom table that drives pricing, approvals, tolerances or interface behavior

Plan for volume. Agree a retention period with audit, archive old entries with archiving object BC_DBLOGS or delete them with report RSTBPDEL, and restrict both to administrators, because deleting logs destroys audit evidence.

Using table logs as audit evidence

In an ITGC audit, table logging supports the change management and access controls. Typical tests: confirm rec/client and RECCLIENT are active in production, sample key tables for the log flag, and use SCU3 to find direct changes made in production outside a transport, then match each to an approved change.

Direct customizing changes in production should be rare, because the client should be closed in SCC4. Changes appearing in SCU3 during a period when the client was opened point to the risk of opening the client for changes and developing in the same system.

Frequently asked questions

What does rec/client do in SAP?

rec/client is the profile parameter that switches table change logging on or off per client. OFF disables logging, ALL logs every client, and a comma-separated list of client numbers logs only those clients. Only tables with the Log data changes flag in their technical settings are recorded.

Where are SAP table change logs stored?

Changes to logged tables are written to table DBTABLOG, with the changed table and key, the user, date and time, and the old and new values. The records are read through transaction SCU3 or report RSVTPROT rather than displayed directly.

How do I check whether a table is logged?

Open the table's technical settings in SE11 or SE13 and look at the Log data changes flag, or display table DD09L and check field PROTOKOLL for the table. Logging also requires rec/client to be active for the client.

Are transported customizing changes logged?

Only if the transport parameter RECCLIENT is set for the target client in the transport profile. rec/client alone covers changes made directly in the system, not changes imported by transport.

Should I log master data tables such as vendor tables?

Usually not. Master and transactional data are covered by change documents in CDHDR and CDPOS, which are designed for that volume. Logging those tables adds large volumes to DBTABLOG and slows updates without adding much evidence.

How Rinexis handles this

The ITGC Audit Control module runs SAP ITGC audits end to end: scoping controls such as table logging and change management, collecting PBC evidence like parameter values and SCU3 extracts, testing the controls and recording five-element findings in versioned reports.

Our audit readiness and governance controls services help teams decide which tables to log, set retention, and build a repeatable review of direct production changes before the auditors arrive.

See your own SAP access risk, not a textbook example

Talk to an SAP security specialist about your roles, ruleset and audit timeline, or explore the platform modules that analyse and fix access risk.