SAP Knowledge Base Article - Public

2751110 - Auto Generation of External Code for Benefit Object.

Symptom

A Customer has a requirement to Auto-generate the external code upon creating a new Benefit.

Environment

SuccessFactors Employee Central Global Benefits

Reproducing the Issue

 1. Go to Benefits Admin Overview Page.

2. Create a new Benefit

Resolution

To auto generate the external code for a benefit object you need to create 2 rules.

1. An OnInit Rule that will set the value for the temporary ID of the benefit Object.

2. an OnValidate Rule that will set the value for the external code permanently.

The Image/s below came from a demo instance, any resemblance to a live customer data is purely coincidental.

2751110.jpg

2751110v2.jpg

OnInit Rule:

2751110v3.jpg

OnValidate Rule:

2751110v4.jpg

NOTE: In case you wanted to know more information on how to add a proper "Set" statement to auto generate the code please refer to this KBA: 

2502254 - Auto-generate Incremental External Code on MDF Object.

See Also

2502254 - Auto-generate Incremental External Code on MDF Object.

Keywords

ExternalCode, Benefit. , KBA , LOD-SF-EC-GBF , Global Benefits , Problem

Product

SAP SuccessFactors Employee Central all versions