SAP Knowledge Base Article - Public

2411437 - Sequence of Pay Components in document generated

Symptom

An employee has multiple paycomponents,

For example, under employment information compensation portlet the payComp are shown in below sequence for this sample employee:

Capture.JPG

 

 

If we generate a document which has mapping for payComponent, the payComponents shown in document is random and do not follow sequence as maintained in employment information page:

Capture.JPG

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 Employee Central: Document Generation

Reproducing the Issue

Configure Document mapping and generate document. Notice that the sequence of payComponents generated in document is random

Document template mapping:

Capture.JPG

 

Document template:

Capture.JPG

Cause

As confirmed with Product engineering, this is an expected behavior and we cannot control how the payComponents are put to document every time it is generated

There is no code designed to determine and execute the sequence as per employment information page.

PS: Similarly, for an MDF object having multiple child records on same date, there is no order by clause on the child MDF records, they are fetched in random order.

Resolution

This is an expected behavior. For any changes, do request for enhancement as mentioned in KBA-2090228

FAQ - Additional Information

Q) Where can I get information on this from the Guide?

A) Guide - Chapter -Non-Recurring Pay Component Imports

 In the Incremental Load mode, if the sequence number field,

  • <allow-import>=false: user_id + pay_date + pay_comp_code is the business key.
  • <allow-import>=true: user_id + sequence_number (when the sequence number is enabled) is the business key.

A) Guide - Chapter -Non-Recurring Pay Component Data Fields

 This field sequence-number is required for importing data. If you enable this field, the allow import property is defaulted to True.

The non-recurring pay component import is currently supported by Centralized services only if Enable Centralized Services for Non-Recurring Pay Component Information (Applicable only for data imports from UI and API) is enabled on the Company System and Logo Settings page.

NOTE: In Pay component recurring, sequence number appears even if it is not enabled during import.

Chapter:

See Also

  • 2741295 - Sequence Number Field In Compensation Information or PayComponentNonRecurring

  • 2562533 - Pay Component Ordering in the UI (Recurring)
  • 3263819 - Order of Pay Components - One-Time Payments
  • 2413486 - Correct or Update Compensation Information record via Import in Full Purge mode 
  • 2494885 - Correct or Update Pay Component Recurring or Pay Component Non Recurring Information record via Import in Full Purge mode 
  • 2489526 - Correct or Update Job Relationships Information record via Import in Full Purge mode 
  • 2317955 - Correct or Remove Job Information record via Import in Full Purge mode 
  • 2092850 - How to make changes to Employee Data on mass via Import - Employee Central
  • 3263819 - Order of Pay Components - One-Time Payments
  • 2270326 - How to configure which Pay Components should be displayed in payComponentNonRecurring and payComponentRecurring portlets
  • 3666901 - Inconsistent Sorting of Pay Components in Compensation View and History UI in SAP SuccessFactors Employee Central
  • 3263849 - Employee Central - Compensation Information
  • 3525104 - Non-Recurring Pay Components Overwriting Previous Records - Employee Central
  • 3042505 -  Pay Component Non Recurring Or Spot Bonus Field Visibility Behaviour in UI and BCUI

Keywords

Document generation, Document template mapping, Letter template, sequence of paycomponents, pay components, pay comp, order, sequence, MDF, child, document. , KBA , LOD-SF-EC-DOC , Document Generation , LOD-SF-EC , Employee Central , LOD-SF-EC-CMP , Compensation Information & One-Time Bonus , Product Enhancement

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Core all versions