Show TOC Start of Content Area

Function documentation Logging  Locate the document in its SAP Library structure


Using the logging flag you can define whether changes to the data records of a table are logged. If you switch on the logging, each change to an existing data record (with UPDATE, DELETE) by the user or application program is recorded in the database in a log table (DBTABPRT).In the following figure you can see how logging works.

This graphic is explained in the accompanying text


To switch on logging, the SAP system must be started with a profile containing parameter rec/client. This parameter defines whether all clients or only selected clients are logged.

The parameter can have the following values:




rec/client = ALL

The system logs all clients.

rec/client = 000[,...]

The system logs the specified clients.

rec/client = OFF

The system does not log any clients.


If logging is switched on, it slows down accesses that change the table. First of all, a record must be written in the log table for each change. Secondly, a number of users access this log table in parallel. This can cause lock situations even though the users are working with different application tables.

Logging is independent of the update.

You can see the existing logs using the Table History (transaction code SCU3).



End of Content Area