SAP Knowledge Base Article - Public

2951862 - FOLocation/companyFlx not visible to API

Symptom

You wish you understand why the visiblity of FOLocation/companyFlx cannot be changed from sap:visible="false" to sap:visible="true" in your Metadata file or Odata Data Dictionary

Environment

  • BizX
  • SuccessFactors

Reproducing the Issue

  1.  Display FOLocation/companyFlx in OData Data Dictionary
  2.  Visibility "False" cannot be changed

Cause

Expected behaviour, see Resolution

Resolution

  • The companyFlx is based on the one-to-many association from FOLocation to LegalEntity. For one-to-one associations, the corresponding property xxxFlx will be visible and its value will be the external code of the associated record. However, for one-to-many associations, there may be multiple associated records, and the API is not able to display all the external codes in one property, this is why the xxxFlx property based on one-to-many association is hidden.
  • For other entities, e.g. FOPayRange, the association to LegalEntity is one-to-one so companyFlx will be set as a visible property

Keywords

KBA , LOD-SF-INT , Integrations , LOD-SF-INT-ODATA , OData API Framework , How To

Product

SAP SuccessFactors HCM Core all versions