SAP Knowledge Base Article - Public

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

Symptom

  • How to enable change audit for MDF objects?
  • How is MDF version history field useful in Object Definition?

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)

Cause

If the 'MDF Version History' is not set to 'Complete History', it is not possible to run an audit as this information was not being stored by the system. For more information on this please see Guide: Basic Configurations in Object Definition -MDF Version History

Resolution

The MDF Version History allows you to capture the MDF audit information about added, updated, and deleted field values and records. This type of audit information is captured as change audit and can be viewed in Change Audit Report.

This is important in integrations such as Employee Central Payroll and Employee Central to user management.

Possible values are:
  • No: If this option is selected, or no selection is made, history records aren’t stored for any operation and no audit records are generated.
  • Delete History: If this option is selected, only the audit records from the delete operation of that object type are generated. The data deleted by a full purge import and translatable fields are also included.
  • Complete History: If this option is selected, every update or delete operation generates a copy of the current record and stores it as audit information. The data deleted by a full purge import and translatable fields are also included.

Example:

  • MDF Version History is used to fetch the history from the audit table.
  • There are three options to select from MDF Version History when you open an  MDF object definition.

version history.png

FAQ - Additional Information

Q) Where can I get information on this from the Guide?

 A) Guide:Implementing the Metadata Framework (MDF)                                                                                                                                               

      Chapter: Basic Configurations in Object Definition -MDF Version History

      Guide: Change Audit Admin Guide

Q) Can We use audit information to restore deleted data?

A)

  • Enable MDF version history for the objects you want to capture the audit information. If not enabled, SAP will not be able to provide any audit report through support tickets.( Open an case under the Foundation & Tools category (LOD-SF-MDF))

  • By default, MDF Version History for picklists is set to Complete History, so that you can generate a change audit report for all picklist changes.

Example:

  • Please also note that the system will only begin storing Audit information for Position once the 'MDF Version History' has been enabled.

  • View: 2875676 - How can we audit on Position Data Changes?

  •  Hence, if you have just enabled the 'MDF Version History' you will not be able to retroactively look back at audit data from changes before you enabled it

See Also

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

  • 2875676 - How can we audit on Position Data Changes?

  • 2618848 - Enabling Change Audit Feature

Keywords

MDF Version history, MDF history, Audit, MDF audit, Audit logs, MDF history, MDF change audit, MDF change history data, MDF Configuration data, MDF Version History, Complete History, Delete History, NO, MDF Change History Data , KBA , LOD-SF-MDF , Metadata Framework , LOD-SF-EC-ADM , Admin Tools (EC Core only) , LOD-SF-PLT-AUDR , Request Audit Report (Not Change Audit) , How To

Product

SAP SuccessFactors HCM Core all versions