Last reviewed · Rinexis SAP security team
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.
| Setting | Where | Values |
|---|---|---|
Profile parameter rec/client | System profile, maintained in RZ10; current value visible in RZ11 | OFF (no logging), ALL (all clients), or a comma-separated list of client numbers |
| Log data changes flag | Technical settings of the table in SE13 or SE11; stored as DD09L-PROTOKOLL | Set (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 theSCU3evaluation, can be run inSA38or 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
| Mechanism | Covers | Stored in | Read with |
|---|---|---|---|
| Table logging | Customizing and selected control tables with the log flag set | DBTABLOG | SCU3, RSVTPROT |
| Change documents | Business objects with a change document object, such as vendor, customer, material and purchase order | CDHDR, CDPOS | Application change displays, report RSSCD100 |
| SE16N edit log | Table entries changed in edit mode of SE16N | SE16N_CD_KEY, SE16N_CD_DATA | Display 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.
| Table | Controls |
|---|---|
T000 | Clients and their change settings, also changed through SCC4 |
T001B | Open and closed posting periods |
T001 | Company code settings |
T012, T012K | House banks and bank accounts |
T030 | Automatic account determination |
USR40 | Prohibited passwords |
PRGN_CUST | Role and authorization maintenance settings |
Custom Z tables | Any 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.
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.