2552502 - PersonID generation with prefix 0

SAP Knowledge Base Articles - public

2552502 - PersonID generation with prefix 0


How to generate person ID with prefix 0?


Employee Central - New Hire


Here in this sample rule, the requirement is to have 5 characters in personID like P000*, P00** (where * is a number available in sequence's current value)

Create a rule using functions as below:

  • Format Number()
  • Get Next Value()


We cannot use concatenate() function as we will not be able to fetch sequence value if we use concatenate. Hence use Format Number() and concatenate the desired format + sequence number.


While framing SET condition use text and value:



Person ID with prefix 0 concatenate 0 personID generation , KBA , person id with prefix 0 , personid generation , LOD-SF-EC-PER , Person Information , LOD-SF-EC , Employee Central , LOD-SF-EC-MDF , MDF & EC2MDF Migration , How To


SAP SuccessFactors HCM Core all versions