Human Capital Management Blog Posts by Members
Explore blogs from customers or SAP partners to gain best practices and fresh insights to succeed.
cancel
Showing results for 
Search instead for 
Did you mean: 
RishabhGupta19881
Participant
1,409

Problem Statement:
The client requires a yearly cap to be implemented for the One-Time Pay Component, ensuring that the total amount per calendar year does not exceed $6,000 and each occurrence does not exceed $1,500. This cap may vary depending on the country.

There is no standard way to handle it in SAP SuccessFactors. We can put validation on each occurrence of Pay Component amount but not on yearly cap. I developed a custom solution using custom MDF object and CPI iFlow to meet the requirement.

How this requirement can be achieved:

This requirement can be achieved in 4 steps.

Create a Custom MDF Object to Store Yearly Cap per Country:

  • Since the yearly cap can differ across countries, a custom MDF object should be created to store the yearly cap for each country.
  • This custom MDF object should be created using “Configure Object Definition”.

Create a CPI iFlow:

  • Develop a CPI iFlow to update values from the Non-Recurring Pay Component Portlet to the custom MDF object as mentioned in step 3.

Create a Custom MDF Object for Sum of Approved Non-Recurring Pay Component Amounts for an employee:

  • Create another custom MDF object to store the sum of approved Non-Recurring Pay Component amounts for the Pay Component in a calendar year for each employee.

Create a Business Rule to Validate Yearly Cap:

  • Develop a business rule to validate the yearly cap whenever a Non-Recurring Pay Component entry is maintained for employees.

 

Create a custom MDF object to store yearly cap per country: Yearly cap can be different for different countries hence a custom MDF object is created to store yearly cap for countries.
Custom MDF Object should be created using “Configure Object Definition”.

 

 

Create a custom MDF object to store yearly cap per country:

RishabhGupta198_0-1742567729802.png

 

 

RishabhGupta198_1-1742567729805.png

 


Sample entry where Maximum Limit Per Instance for Impulsive Pay refers each time, one-time payment amount cannot be more than this for USA employees.
Maximum Limit Per Calendar Year for Impulsive Pay refers yearly cap for one-time payment amount.

RishabhGupta198_2-1742567729806.png

Create a custom MDF object to store sum of approved Pay Component Amount in a calendar Year for employees:

 

RishabhGupta198_3-1742567729811.png

 

 

RishabhGupta198_4-1742567729815.png

 

 

Sample entry where field details are as given below:

Key: It is unique combination USERID_Year (to distinguish between each calendar year cumulation entry for the employee)

Employee: User ID of employee
Pay Component: Pay Component
Calendar Year: Calendar Year
Count of Impulsive Pay in a Calendar Year: Number of instances, the pay component is paid in a calendar year to the employee
Sum of Impulsive Pay Amounts in a Calendar Year: Sum of the pay component amount paid in a calendar year to the employee



RishabhGupta198_5-1742567729817.png

 

 

Non Recurring Pay Component (One Time Payments) Portlet entry for an employee

RishabhGupta198_6-1742567729821.png

 

 

RishabhGupta198_7-1742567729823.png

 



There is a CPI iFlow to map value from Non Recurring Pay Component (One Time Payments) Portlet to Custom MDF Object Impulsive Pay Cumulation. Job is scheduled to run on daily basis to update custom MDF entries (Frequency can be changed based upon client requirement).

RishabhGupta198_8-1742567729825.png

 

 

RishabhGupta198_9-1742567729829.png

 

 

Note : In place of CPI iFlow, I created Integration centre job to update Custom MDF Object Impulsive Pay Cumulation but certain scenarios are not working on IC job (cumulation was not correct for back dated entries).

There are business rules to validate per instance pay component limit and yearly cap for pay component.


Per Instance Limit validation Rule

RishabhGupta198_10-1742567729834.png

 

RishabhGupta198_11-1742567729837.png

 

 

RishabhGupta198_12-1742567729839.png

 

 

 

Yearly Cap Validation Business Rule

 

RishabhGupta198_13-1742567729843.png

 

RishabhGupta198_14-1742567729852.png

 

 

RishabhGupta198_15-1742567729855.png

 

RishabhGupta198_16-1742567729858.png

 

 

Conclusion

Thank you for reading this blog. It is my first blog, your feedback, questions, and suggestions are always welcome. We’d love to hear about your experiences, custom requirements, or any insights you have, so please feel free to share them in the comments section below. Happy Learning 😊

1 Comment