Human Capital Management Blogs by SAP
Get insider info on HCM solutions for core HR and payroll, time and attendance, talent management, employee experience management, and more in this SAP blog.
cancel
Showing results for 
Search instead for 
Did you mean: 
sufiyanadaf
Product and Topic Expert
Product and Topic Expert

Automate Recurring Deduction Creation

Hi All,

This blog summarises how to automatically create recurring deduction portlet record when employee’s job information changes.

 Requirement:

Automatically creating recurring deduction record in recurring deduction portlet when employee’s employee group changes in job information.

 Product Limitation:

Integration Center job doesn’t support UPSERT operation on RecurringDeductionItem object.

Reference - https://userapps.support.sap.com/sap/support/knowledge/en/2751130

Solution:

Step1: Create CSV Output Integration (Recurring Deduction-Recurring Items) file.

Step2: Export the file to SFTP folder.

Step3: Import file from SFTP to EC using MDF Data Import (FTP) provisioning job

 

Let’s see this in detail.

Step1: Create CSV Output Integration (Recurring Deduction-Recurring Items) file.

What should the export file look like?

It should have the same format as the import file for Recurring Deductions-Recurring Items. A reference template, available for download under Import and Export Data, can be used to guide this process. Here is a depiction of what the file looks like with two headers as shown below.

sufiyanadaf_0-1708159385111.png

Proceed to the Integration Center and establish an EDI file output integration.

sufiyanadaf_1-1708159385116.png

sufiyanadaf_2-1708159385119.png

Select 'job information' as the starting entity because our goal is to create a recurring deduction record every time there is a change in job information.

sufiyanadaf_3-1708159385121.png

Add the necessary headers and fields in accordance with the above template.

sufiyanadaf_4-1708159385126.png

Edit calculation for pay component.

sufiyanadaf_5-1708159385131.png

If employee Group= US01, then add record for pay component 4001 in Recurring Deduction portlet.

Similarly, we can add multiple If/Then conditions based on requirement.

sufiyanadaf_6-1708159385136.png

Add the filters as needed.

Output looks like this. And this file is ready to be exported to SFTP.

sufiyanadaf_7-1708159385143.png

Step2: Export the file to SFTP folder.

Add destination settings for SFTP

sufiyanadaf_8-1708159385146.png

Step3: Import file from SFTP to EC using MDF Data Import (FTP) provisioning job

To do this Create provisioning job of type MDF Data Import (FTP)

sufiyanadaf_9-1708159385155.png

 

TESTING:

It's time to test now.

Let’s hire employee with employee group= US01

sufiyanadaf_10-1708159385165.png

Run the Integration Center job.

sufiyanadaf_11-1708159385168.png

File received in SFTP folder.

sufiyanadaf_12-1708159385172.png

Run provisioning job. Job will process file from SFTP folder & imports data to recurring deduction portlet.

sufiyanadaf_13-1708159385175.png

In conclusion, the logic detailed above allows us to achieve some of requirements from customers to automate recurring deductions and one-time payment portlet records. Would like to hear suggestions on how this logic can be used further, or any other strategic input to achieve similar requirements.