SAP Knowledge Base Article - Public

2754114 - Unknown response status: Field with ID {} label {} is required. Please provide a value.

Symptom

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

Prequisite: You changed one field for background element from Not Required to Required.

When you add a new record for that background element, even you have added the value for required field, still the error pops up.

2019-02-14_10-44-12_2.png

Environment

SAP SuccessFactors - Employee Profile

Reproducing the Issue

1.There are a few records already exsiting for that background element, and as Issue Date is not required perviously, they are leaving blank in UI.

2019-02-14_10-44-29_2.png

2.Then you changed the Issue Date from Not Requried to Required from XML or BCUI.

2019-02-14_10-40-36_2.png

3.when you add a new record for the background element with fulfilled value for Issue Date, still error pops up as the screenshot displayed at the beginning: Unknown response status: Field with ID {} label {} is required. Please provide a value.

Cause

This is the expected behavior at present.

In database, we have a table which is called ‘OrderPos’, this is system-generated number which refers to the respective record(As we know we can have multiple records in background. In our sample screenshot, we have 4 records).

When you delete records in UI or import records for background element, ‘OrderPos’ will not be re-ordered. Instead, if you add/edit records from UI side, ‘OrderPos’ will be re-ordered(It will validate whether the records are in numeric order, like 1,2,3,4... ).

Take below example:

We have already got 2 reocrds a and b in one background element.

At this time point, we change one field from Not Requried to Required. and try to add a c record.

Since this is added from UI side,  'OrderPos' will be re-ordered, hence it is looking for  'OrderPos' as 1, 2,3...and valide all the records. In this way, all the records required field will be validated.

In our case, a and b records could be the 'OrderPos'=1 or 2 which means they are created as the very first and second records and never have been deleted or been inserted a new record in between. Then no error will be thrown out.

But also there is a possbility that the very first and second records have been deleted and they are newly created ones, which means their  'OrderPos' are not 1, 2 anymore.

In this way, when c record is added, since a and b's 'OrderPos' is not in a numeric order, all the records are validated for the required fields which cause the error coming out.

Resolution

Please input the required fields for all the records if error pops up.

This is the expected behavior now.

Keywords

background element, employee profile, Manage Business Configuration , KBA , LOD-SF-EP-BGD , Background Jobs , Problem

Product

SAP SuccessFactors HXM Core all versions