Enable log of changes in SAP HCM
Enabling the creation of change documents is done through customizing path Personnel Management –> Personnel Management –> Tools -> Review –> Define document modification.
The configuration of this functionality is done in three steps, which we will explain below:
- Definition of relevant infotypes for the record: in this step, we indicate that infotypes are likely managed in the log.
- Defining groups of fields infotype: within each infotype the relevant fields to indicate that recording is the change log. Fields are organized into groups, so that when you make a change to any of the fields in the group, information is saved the value of all fields in the group. In the example, we have created a group in infotype Personal Data 2 fields Name, Surname, ID Tax and Birthplace.
Once configured, the anger recording system modifications made to the relevant infotypes and fields, saving the information in the database. Subsequently, we analyze the changes made using the standard report RPUAUD00. In case you want to program to prepare our own custom reports, we can use the function modules:
- HR_INFOTYPE_LOG_GET_LIST: for the resume.
- HR_INFOTYPE_LOG_GET_DETAIL: for the detail of the modifications.
Using the report RPUAUD00 we can be select by different criteria such as employee infotype, date and user modification, etc.. It is a summary of the changes made by the selection criteria, and the detail information of the fields that have been modified (all belonging to the group, although they have not changed), with their previous values and new values .
From this log, along with the changes, we can analyze the logs that have been created or that have been deleted, which is completely controlled the actions that are performed on the fields and infotypes we have selected.
We use the change log with due caution, as probably not necessary to record all changes in all infotypes, considering the large volume of information that can be recorded so useless. We will focus on those most critical infotypes relevant or more payments.
We could also have set a record release of certain reports in personnel management from custo path Personnel Management –> PersonnelManagement –> Tools -> Review -> Write to log reports releases. Later, with the RPUPROTD report can display this data and delete the logs with RPUPROTU report.
Thanks for your sharing. Can you include screenshot of IMG path on this thread as we can't find aformentioned IMG path through your description? Thanks.
Here's the correct path (for ECC 6.0 ehp4) to configuring the Logged Changes to Infotypes functionality.
IMG->Pers. Mgmt->Pers Admin->Tools->Revision.
Tables T585A, B and C.
Hope this helps.
We are using ECC6 ehp5, the img path should be Personnel Management-> Personnel Administration->Tools->Data Privacy->Logging->Set up Change document->HR Documents: Infotype to be logged.
Hi, now I´m working with ECC6 ehp6, the IMG path is:
Personnel Management->Personnel Administration->Tools->Data Privacy->Logging->Set up change document->HR documents: Infotypes to be logged