SAP Knowledge Base Article - Public

2836611 - Unable to save conditional association in a custom MDF object - Invalid field Id given in condition

Symptom

When configuring a conditional association in a custom MDF object, customer is receiving an error while trying to save the object definition.

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 HCM Suite
  • Metadata Framework (MDF)

Reproducing the Issue

  1. Navigate to Configure Object Definition;
  2. Open the desired parent object and take action;
  3. Create an association and click on the details button;
  4. In Condition section, insert the field ID and select the value to trigger this condition;
  5. Try to save the object definition and receives the error: Incorrect field Id given in condition.

Cause

The value provided for the field ID is not reflecting a real field from the parent object or other object inside the system.

Resolution

In the field ID of the condition section you should be inserting a valid field name. In the parent object you will see all the fields created, and each of this fields has a field name (normally cust_xxxxxxxx). The correct value for this Field ID should be this Field name of the respective field you want to configure your condition based on.

2019-09-09_15-49-23.png

Keywords

custom, MDF, Object, condition, Incorrect field ID given in condition, field ID, association, associate , KBA , LOD-SF-MDF-OBJ , Object Definition & Field Related Issues , Problem

Product

SAP SuccessFactors HCM suite all versions