SAP Knowledge Base Article - Public

2967919 - OData generateNextPersonID function's response number is not incrementing by 1 - SAP SuccessFactors HXM Suite

Symptom

  • You're requesting the next available person IDs through OData to create new employees;
  • You observe frequent large gaps between the numbers generated by each subsequent function call. For instance:

    {

        "d": {

            "GenerateNextPersonIDResponse": {

                "personID""1101680"

            }

        }

    }

    {

        "d": {

            "GenerateNextPersonIDResponse": {

                "personID""1101864"

            }

        }

    }

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 HXM Suite
    • OData API

Cause

Increments larger than 1 are normal and gaps may occur occasionally, as person IDs which were occupied before may become available if users are purged from the system.

Resolution

The generateNextPersonID function is based on the logic from page Generating User IDs from EC guide, which has the following statement:
"There is no guarantee that there will be no skipping of sequence values."

So these gaps may occur, being an expected behavior.

Keywords

user, id, jump, space, interval, new hire, returning, big, request, call, new hire, creation, creating, create , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , Problem

Product

SAP SuccessFactors HCM Suite all versions