SAP Knowledge Base Article - Preview

3019445 - Assigning New Hire Employee IDs: issues with generateNextPersonId


You wish to use OData API to automatically generate userIds. Example of a potential business case:
Your API is currently using the same ID as employees that are pending in a workflow causing the records to collide, thus need the API to pull the next consecutive number that is already taken by an existing employee or an employee that is pending approval in a workflow

You are exploring the possibility of using generateNextPersonID, but notice it is not working as expected, i.e., the number generated is not following the expected sequence or rule



  • SAP SuccessFactors HXM Suite
  • SAP SuccessFactors OData API


SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HXM Suite all versions


ECT-137666, generateNextPersonID, API, OData, new hire, employee ID , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-EC , Employee Central , LOD-SF-EC-HIR , Hire & Rehire Wizards , LOD-SF-INT , Integrations , LOD-SF-INT-EC , Employee Central SFAPI & OData Entities , Known Error

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.