SAP Knowledge Base Article - Public

2552502 - PersonID generation with prefix 0

Symptom

How to generate person ID with prefix 0?

Environment

Employee Central - New Hire

Resolution

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()

2552502-1.jpg

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:

2552502-2.JPG

Keywords

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

Product

SAP SuccessFactors HCM Core all versions