SAP Knowledge Base Article - Preview

3843418 - orderby in "status" field of User API is resulting in all possible status returning in results - OData API

Symptom

You configured the orderby parameter in "status" field of the User API through Integration Center, or through a direct API call. Examples:

  • OData API:
    • odata/v2/User?$select=status,userId&$orderby=status
  • Integration Center:

And when doing so, records with all possible status values (such as "active_external_suite" and "inactive") are being returned, even though you don't have any direct filters on the status field.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


Read more...

Environment

  • SAP SuccessFactors HCM Suite
    • OData API
    • Integration Center

Keywords

orderby, advanced sorting, sort, integration center, odata api, blank, null, missing, $filter, filter, , KBA , 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.