SAP Knowledge Base Article - Public

2181998 - How to import MDF Object/Rule via ZIP file using Full Purge mode

Symptom

Currently if you export (for example) a Business Rule the data will be provided in a ZIP file with the rule definition and all dependencies in several *.csv files. When you want to import this data back into the instance, or a different instance, the import will always handle this as an Incremental import (there is not UI option to specify Full Purge when using ZIP import).

You can use this option as a work-around instead of using the Instance Sync feature if you encounter an issue with the Instance Sync.

Environment

Employee Central 2.0 / Metadata Framework

Cause

The ZIP will always import in Incremental mode, as there is no UI option for Full Purge

Resolution

In this example we will export all MDF Business Rules and then import them in Full Purge mode using the ZIP import

1) Login to the instance
2) Navigate to Admin Tools page and select “Import and Export Data”
3) Export all Business Rules from the instance - Select "Export Data" from the "Select the action to perform" menu and then select the Generic Object - Rule. Include Dependencies = Yes and Select all Data records = Yes (if you choose NO, you can specify a rule instead if you do not need to do this for all rules). Then click Export
4) Navigate to Admin Tools > Monitor Job and download the export
5) Open the ZIP file and find the file called "import.properties", copy it to your desktop and open this file in Windows Notepad
6) Find the text "INCREMENTAL" and change it to "FULLPURGE"and then save the file and copy it back into the ZIP archive
7) Login to the instance again
8) Navigate to Admin Tools page and select “Import and Export Data”
9) Select "Import Data" and choose the ZIP file option, browse for the ZIP file and import it.
10) Check the import progress status via Admin Tools > Monitor Job and confirm the job imported successfully

By default, the "import.properties" file is set to Incremental import -:

encoding=UTF-8
#purgeType should be one of 'incremental' or 'fullPurge'
purgeType=INCREMENTAL
rootFileName=Rule.csv

This can be changed to Full Purge import -:

encoding=UTF-8
#purgeType should be one of 'incremental' or 'fullPurge'
purgeType=FULLPURGE
rootFileName=Rule.csv

Keywords

Metadata Framework Employee Central MDF Rules Imports Objects migration migrate test dev , KBA , LOD-SF-EC-ADM , Admin Tools (EC Core only) , LOD-SF-EC-EDP , Import Employee Data (EC Core only) , LOD-SF-EC-FOO , Foundation Objects (Organisation, Pay and Job Structures) , How To

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Core all versions