SAP Knowledge Base Article - Public

3762653 - Error: Failed to create / update extensions.ZABC, minimum length of source attribute cannot be more than target

Symptom

Error: Failed to create / update extensions.ZABC, minimum length of source attribute cannot be more than target when trying to add Default Mapping. (Where extensions.ZABC represents the field to which the default mapping needs to be added)

Environment

SAP Sales Cloud and SAP Service Cloud Version 2

Reproducing the Issue

The steps are applicable for default mapping for any entity. Here we take Lead and Account as an example.

  1. Go to Extensibility Administration.
  2. Go to Lead Service.
  3. Search for the custom field ZABC.
  4. Click Edit.
  5. Add Default Mapping to the corresponding field in the Account entity.
  6. Apply > Save.
  7. Observe the error: "Failed to create / update extensions.ZABC, minimum length of source attribute cannot be more than target".

Cause

  • The Target field is set as Required while the Source field is Not Required, which sets different dataMinLength values (Required sets dataMinLength = 1) and causes a mismatch.
  • For default mapping to work, dataType, dataFormat, dataMaxLength, and dataMinLength must be identical between source and target.

Resolution

  1. Open Extensibility Administration and navigate to Target entity (Account as per our example) of the Default mapping.
  2. Go to Field Attributes
  3. Set the corresponding field in the Account entity to Required so that dataMinLength aligns with the Required field from the Lead Entity.

See Also

Keywords

default mapping, minimum length of source attribute cannot be more than target, dataMinLength, required field, extensibility administration, lead, account, attribute mismatch, mapping error, code list, save error, dataType, dataFormat, dataMaxLength, source target alignment , KBA , CEC-CRM-CZM-EXT , Extensibility for SAP Sales/Service Cloud , How To

Product

SAP Sales Cloud and SAP Service Cloud Version 2 1.0