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.

However, if they are occurring too frequently, it may be an indication that you are using the legacy SYSCONFIG mechanism to generate the next person ID.

Resolution

  1. Navigate to Admin Center-> Company Settings -> Company System and Logo Settings and select the 'Enable Database Sequence to generate next Employee Id' checkbox;
  2. You may refer to this page from the Employee Central Master handbook for more information.

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 HXM Suite all versions