Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Change log

Bema
Active Participant
0 Kudos
491

Hi,

Is there any difference between the programs RSTBHIST ( Table history) and RSVTPROT(Evaluation of log changes)?

regards,

Beena

1 ACCEPTED SOLUTION

Former Member
0 Kudos
188

Hi

Goto Se38enter program, display

GOTO-> Documentation

for both programs and you will clearly know the difference

<b>Reward points for useful Answers</b>

Regards

Anji

2 REPLIES 2

Former Member
0 Kudos
189

Hi

Goto Se38enter program, display

GOTO-> Documentation

for both programs and you will clearly know the difference

<b>Reward points for useful Answers</b>

Regards

Anji

former_member196280
Active Contributor
0 Kudos
188

RSTBHIST

Description

You can record changes to table contents in the SAP System.

For each change to a table entry, a change document is written in the table log database. The change document contains information such as time of the change and name of the user who made the change.

Using the service functions, you can generate a list of all the change documents of the current day or a chosen time period.

Furthermore you can display a list of all the tables, for which change documents are written (i.e. all tables with history administration).

The administration of the table log database is supported by various functions:

Determining the number of change documents in the table log database

It is possible to select by time period and by table.

Deletion of the oldest change documents from the table log database

Enter a key date.

You can select by table. Be careful: After deletion, the change documents are no longer available.

Archiving of the oldest change documents

Before deletion from the table log database, the change documents are archived in a sequential file.

Creation of change documents

Change documents are written for a table if:

the table has the technical setting Logging

the function Write change documents is active in your system

To find out whether a table has the feature Logging, either choose the service function Tables with history administration or perform the following functions beginning with the main menu:

Tools -> CASE -> Development -> Data Dictionary -> Display -> <tabe name> Display -> Goto -> Techn. setting

The function Write change documents is controlled via the profile paramter rec/client. The following is possible:

rec/client = OFF --> Function inactive

rec/client = ALL --> Function active

rec/client = <md1>,... --> Function active for chosen clients

Comparison of current status with history

For tables with change logging, it is possible to perform a comparison of the current status with the contents of the table at an earlier time.

The table contents at both times are compared. Various field contents are highlighted.

You can switch the display from vertical split (objects alongside one another) to horizontal split (objects below one another).

RSVTPROT Evaluation of change logs

Rgds,

SaiRam