SAP Knowledge Base Article - Public

3734750 - Company field missing from EmpGlobalAssignment and OData Dictionary despite being enabled in GlobalAssignmentInfo

Symptom

Field 'company' is enabled for globalAssignmentInfo in Manage Business Configuration. However, when querying through Integration Center, 'company' field is missing from the entity EmpGlobalAssignment. When checking OData Dictionary, 'company' also doesn't exist under EmpGlobalAssignment.

Environment

  • SAP SuccessFactors Platform
    • OData API Framework

Reproducing the Issue

  1. Enable the field company under globalAssignmentInfo in Manage Business Configuration.
  2. Query EmpGlobalAssignment via Integration Center or OData API and observe that the company is not returned.
  3. Open the OData API Data Dictionary and verify that the company is not listed under EmpGlobalAssignment.

Cause

The company field in global assignment is a transient field that is not stored in the database and is intended for UI display only, so it is not exposed in the EmpGlobalAssignment OData entity.

Resolution

  1. Retrieve the company value from the employment/job information instead of EmpGlobalAssignment.
  2. Query the EmpJob entity by expanding the relevant employment and job info navigations (for example, expand employmentNav and jobInfoNav) and select the company field from EmpJob.
  3. Adjust Integration Center jobs or OData queries to source company from EmpJob via these navigations rather than from EmpGlobalAssignment.

See Also

SAP Note 2709438 - Country specific EmpJob API Entities is not visible in API dictionary

Keywords

empglobalassignment, company field, global assignment, odata api, integration center, manage business configuration, globalassignmentinfo, transient field, field missing, not visible, odata dictionary, empjob, employmentnav, jobinfonav, company value , KBA , LOD-SF-INT-ODATA , OData API Framework , Problem

Product

SAP SuccessFactors HCM Core 2605 ; SAP SuccessFactors HCM Suite all versions ; SAP SuccessFactors Platform all versions