SAP Knowledge Base Article - Public

2876809 - Unable to change external code type in a Custom MDF Object


When trying to update the type of the external code of a Custom MDF Object, definition I am receiving the error: As there is existing data for external code field its data type cannot be changed.

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


  • SAP SuccessFactors HXM Suite
  • Metadata Framework (MDF)

Reproducing the Issue

  1. Go to Admin Center > Configure Object Definition;
  2. Select the object definition you want to change;
  3. Click to Take Action > Make Correction;
  4. Change the external code field type to another one;
  5. Click to Save;
  6. See the error:



A record of this object definition was already created using the current external code type, so is not possible to change the definition while this record exists.


To be able to change the external code type, all the current records that are created for the Custom MDF Object need to be removed. To see all these records that exist, you need to navigate to:

  1. Admin Center > Manage Data;
  2. In the first dropdown, select the custom MDF object;
  3. Once selected the object, the second dropdown will show all the records;
  4. Access each record and click on Take Action > Permanently Delete Entry.


After removing all the records, you can try to change the external code type again.


MDF, custom, Object, external code, change, type, external code type, As there is existing data for external code field its data type cannot be changed , KBA , LOD-SF-MDF , Metadata Framework , Problem


SAP SuccessFactors HXM Suite all versions