SAP Knowledge Base Article - Public

2838699 - Error when trying to create a record for a custom MDF Object - ???Saving of 1 [MDF Object] throwed a Exception???

Symptom

When trying to create a record for a custom MDF object, the system is throwing the following error: ???Saving of 1 [MDF Object] throwed a Exception???

Environment

  • SAP SuccessFactors HCM Suite
  • Metadata Framework (MDF)

Reproducing the Issue

  1. Access Manage Data;
  2. In the Create New dropdown, select the custom MDF object;
  3. Insert the data and try to save;
  4. Receive the error.

Cause

The external code of the custom MDF object or any of its child objects is set as a non-unique data type.

Resolution

The external code needs to be set as a type which will grant the uniqueness of each record of that object.

If you select, for example, Picklist as the data type, there will be a limitation in the number of records that can be created, because it will not be possible to have two records with the same picklist value selected as the external code.

Keywords

Saving, Exception, ???Saving, Exception???, External Code, Error, create, record, mdf, custom MDF, object , KBA , LOD-SF-MDF , Metadata Framework , Problem

Product

SAP SuccessFactors HXM Suite all versions