Symptom
How to fetch Pending for approval records of BenefitEmployeeClaim ODATA Entity.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
- SAP SuccessFactors HCM suite
- OData
Resolution
-
Kindly use the below filter in your query to fetch only the records of BenefitEmployeeClaim which are pending for approval
$expand=wfRequestNav&recordStatus=pending
2. For example run the below query
3. Response received will have pending for approval records of BenefitEmployeeClaim:
Also, if you want to fetch the records of BenefitEmployeeClaim which are pending for approval for a specific Employee you can trigger the below API query:
https://<API-Server>/odata/v2/BenefitEmployeeClaim('XXXXXX')?$format=JSON&recordStatus=pending
In the above API query in the place of "XXXXXX" you need to pass the "id" of the BenefitEmployeeClaim of the specific employee.
Triggering above API query will return the details of the specific employee having pending for approval records of BenefitEmployeeClaim entity.
See Also
Keywords
recordStatus=pending, pending records, BenefitEmployeeClaim, ODATA, Specific Employee, pending , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , How To