Symptom
Query of SFOData.PerEmergencyContacts using primaryFlag='Y' filter returns record whose primaryFlag is set N.
The response is suspected to be incorrect/inconsistent.
Image/data in this SeeKBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Sample Case :
1. Query : use filter > primaryFlag eq 'Y'
https://<API_URL>/odata/v2/PerEmergencyContacts?$select=name,personIdExternal,relationship,createdBy,createdDateTime,createdOn,lastModifiedBy,lastModifiedDateTime,lastModifiedOn,phone,primaryFlag,personNav/personIdExternal,relationshipNav/id&$expand=personNav,relationshipNav&$filter=primaryFlag eq 'Y'&$format=json
2. Response :
Read more...
Environment
SAP Successfactors HXM Suite
Product
Keywords
SFOData.PerEmergencyContacts, PerEmergencyContacts , primaryFlag, business key, secondPhone, inconsistent filter primaryFlag , KBA , LOD-SF-INT-EC , Employee Central SFAPI & OData Entities , LOD-SF-INT , Integrations , LOD-SF-INT-ODATA , OData API Framework , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.