SAP Knowledge Base Article - Public

2790859 - MDF - How to generate Change Audit Log Report for Metadata Framework Configuration and Data Changes.

Symptom

  • How to generate Change Audit Log Report for Metadata Framework Configuration?
  • How to generate Change Audit Log Report for Metadata Framework Data Changes?
  • Non-effective dated MDF objects (effective dating= 'None') not appearing in the drop down when trying to generate change audit report.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

  • SAP SuccessFactors HXM Suite
  • Metadata Framework (MDF)

Resolution

Starting from b1905, administrators now have an option to generate a change audit log report for Metadata Framework configuration and data changes.

Pre-requisites:

  • Permission should be enabled to generate the change audit reports.
  • Please follow the steps on Setting Up Change Audit before performing the instructions provided below.
  • MDF support changes audit for all MDF objects as long as MDF version history is turned on.
  • Create Business data Report works only for object 

1. Where MDF version is set to complete history
2. The object does not have the LSDP configuration
3. The object is not a configuration object like Object Configuration or LSDP Configuration for objects and so on.

How to Generate the Report?

There are two reports for Metadata Framework Configuration and Data Change. These are:

  • Audit for MDF configuration objects
  • Audit for MDF Data

Audit for MDF configuration objects

1. Ensure that you have completed the steps on how to setup the change audit feature. Please refer to the second point under Pre-requisites section above.

2. Once done, navigate to Admin Center > Change Audit Reports > Create Configuration Data Report  and select "MDF Configuration Data" tile if you wish to generate audit for MDF Configuration Objects.

MDF Configuration Data.png

3. You will see the "Create Configuration Reports" pop-up as shown below. Please fill out the necessary fields to submit an audit report request.

  • Change by Person - User who made the changes
  • Configuration Type - Choose among the available options (Legislative Sensitive Data Configuration, Object Definition, Object Configuration, Attachment Field Configuration)
  • Object Type - Enter code of Object Type. For multiple object types, please use COMMA to separate the values 
  • Time Range - Enter the time range of maximum 7 days per report submission

NOTE: Should you wish to setup a recurring change audit report, please refer to KBA 2789153.

Create Configuration Reports - MDF Data.png

4. Once done, you click "SUBMIT" and navigate to Access Reports tab under Change Audit Reports page to view the generated report.

How to Read the Report?

Field

Description

Context 1 Key Indicates the field names of external name and external code of root object.
Context 1 Value Values of external name and external code of root object.
Context 2 Key Indicates the field names of external name and external code of first-level child object concatenated with child object type. This field is not used, if it is not applicable.
Context 2 Value Values of external name and external code of first-level child object. The values are not used, if it is not applicable.
Context 3 Key Indicates the field names of external name and external code of second-level child object concatenated with child object type. This field is not used, if it is not applicable.
Context 3 Value Values of external name and external code of second-level child object. The values are not used, if it is not applicable.
Context 4 Key Indicates the field names of external name and external code of third level child object concatenated with child object type. This field is not used, if it is not applicable.
Context 4 Value Values of external name and external code of third level child object. This field is not used, if it is not applicable.
Field Name The name of the field that was changed. If it is a field of a child object, field name is concatenated with the association name between the child object and its parent object.
Old Value Old value of the field before the change.
New Value New value of the field after the change.

 

Audit for MDF Data

1. Navigate to Admin Center > Change Audit Reports > Create Business Data Report and select "MDF Change History Data" tile if you wish to generate audit for MDF Configuration Objects.

Create Business Data Report.png

 

2. You will see "Create Business Data Report" pop-up below.

  • Change by Person - User who made the changes
  • Object Type - Select desired Object Type from the drop down menu.
  • External Code - Enter code of External Code for the object type selected. For multiple object types, please use COMMA to separate the values 
  • Time Range -  Enter the time range of maximum 7 days per report submission

NOTE: Should you wish to setup a recurring change audit report, please refer to KBA 2789153.

Create Business Data Report.png

3. Once done, you click "SUBMIT" and navigate to Access Reports tab under Change Audit Reports page to view the generated report.

1911 Feature Update

Starting b1911, you may now search and select multiple external codes using a search icon provided in the external code field. Previously, you had to remember and manually enter specific external codes to generate these MDF audit reports. This sometimes led to inconsistent and erroneous reports since the field is case-sensitive.

How to Read the Report?

Field

Description

Context 1 Key Indicates the field names of external name and external code of root object.
Context 1 Value Values of external name and external code of root object.
Context 2 Key Indicates the field names of external name and external code of current child object concatenated with child object type. This field is not used, if current object is the root object.
Context 2 Value Values of external name and external code of current child object. The values are not used, if current object is root object.
Field Name The name of the field that was changed. If it is a field of a child object, field name is concatenated with the association name between the child object and its parent object.
Old Value Old value of the field before the change.
New Value New value of the field after the change.

NOTE:

If Non-effective dated MDF objects (effective dating= 'None') not appearing in the drop down when trying to generate change audit report, then it could be because of following two reasons:

1) MDF version history not enabled. (Check 2603939)
2) They have the LSPD configuration present.

In cases where the LSPD configuration is present for an object ( means the object is GDPR relevant) ==> GDPR change audit report based on LSPD configuration needs to be run. Use "Create Personal Data Report" for GDPR relevant object since the objects with LSPD configuration will not appear in the drop down under "Create Business Data Report"

See Also

SAP Help Portal - Setting Up Change Audit

2603939 - How to enable Change Audit for MDF objects? Version History on Object definition page.

2789153 - How to automatically schedule, view and access reports during the Generation of Change Audit reports

2744431 - How to Create Change Audit Reports and What Reports are Available.

Keywords

MDF Change Audit, MDF Change History Data, MDF Configuration Data, Audit report, MDF, Change History, MDF Audit, MDF history audit, version history , KBA , LOD-SF-MDF-OBJ , Object Definition & Field Related Issues , LOD-SF-PLT-AUDR , Request Audit Report (Not Change Audit) , Product Enhancement

Product

SAP SuccessFactors HXM Suite all versions