2356063 - Compensation - Company field coming from Employee Central is showing blank or code instead of the label.

SAP Knowledge Base Article - Public

2356063 - Compensation - Company field coming from Employee Central is showing blank or code instead of the label.

Symptom

When mapping the Country field in Design Worksheet to jobInfo.country-of-company the forms are not displaying the country or are displaying the country code isntead of the label.

Environment

Compensation

Cause

country-of-company is a virtual field in jobInfo. It is not saved in the emp_job_info_t table in the DataBase so it cannot retrieve values for the forms.

If this field is showing the code, it is caused because this field is always treated as a picklist in the Employee Central Application Programming Interface, no matter what is configured in data model. This field will be populated from jobInfo.company.country, which is an external code instead of picklist option id.

Resolution

It will be necessary to map the Country field in Compensation to jobInfo.company.country instead of jobInfo.country-of-company

Additional information on how to display the label of a field instead of code.

- If the field is a GO field, we can map it to GO.name to get the name. Usually business-unit is defined as a GO field. Company is defined as Legal Entity and it is also a GO field.

- If the field is a FO field, we can map it to FO.name to get the name. Usually location is defined as a FO field.

So you should try with company.name / location.name / business-unit.name instead of **.label

- If the field is a MDF picklist field, we can map it to picklist.label.defaultValue to get the label.

Keywords

KBA , LOD-SF-CMP , Compensation Management , Problem

Product

SAP SuccessFactors HCM Suite all versions