SAP Knowledge Base Article - Public

3330107 - "To associate the attachment XXX with ID XXX, please provide the value for field XXX." Error occurs when saving MDF data with attachment

Symptom

"To associate the attachment XXX with ID XXX, please provide the value for field XXX." Error occurs when saving MDF data.

"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

Reproducing the Issue

  1. Go to people profile > MDF portlet or go to manage data to upload attachment for this MDF.
  2. Click "Save" button to save record.
  3. Error displays "To associate the attachment XXX with ID XXX, please provide the value for field XXX." that prevents you to save data.

Cause

This error is due to attachment field has been set from Attachment Field Configuration, and Entity Id is set with a field from the corresponding MDF object, so the Entity Id field becomes a required key value when saving the attachment for this MDF object.

Please make sure the field you set as Entity Id from Attachment Field Configuration has valid value to avoid this error.

Resolution

As attachment field has been configured in Attachment Field Configuration for document categories, please make sure to give value of Entity Id field.

For how to check and configure attachment category, please refer to Configuring Attachment Fields for Document Categories.

See Also

Configuring Attachment Fields for Document Categories

Keywords

MDF, error, attachment, To associate the attachment XXX with ID XXX, please provide the value for field externalName, attachment upload, externalName, metadataframework, Attachment Field Configuration, document categories, manage document, document category , KBA , LOD-SF-MDF-OBJ , Object Definition & Field Related Issues , Problem

Product

SAP SuccessFactors HCM Core all versions