Archive
Setting up Payroll Processing with SAP SuccessFact…

Setting up Payroll Processing with SAP SuccessFact…

2024-11-28 Introduction: This blog is describe will describe the technical setup that must be carry out to enable the integration of SAP SuccessFactors Emplo

Introduction:

This blog is describe will describe the technical setup that must be carry out to enable the integration of SAP SuccessFactors Employee Central Payroll with SAP s/4hana . In the first part , the step that should be carry out in S/4HANA will be describe , and the second part will describe the step in ECP .

 

The document is is used during this setup is :
https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/2c158dc83732454cb8830b3010e2c322/42228068f0434d1799a …

 

s/4hana :
Step ( 1 ):

This step is usually carried out by the functional consultant.

Tcode: sale> Idoc Interface / Application Link Enabling (ALE) > Modelling and Implementing Business Process > Global Organizational Units > Cross-System Company Codes

Double click on ( Cross – System Company Codes )

Setting up Payroll Processing with SAP SuccessFact…

choose ( New Entities ) and write the global CoCde for your company in this example it is be will be GLCC01

save and go back , then double – click on ( assign cross – System Company Code to Chart of Accounts )

Setting up Payroll Processing with SAP SuccessFact…

Add the Target ChtAccts next to the Global CoCde

Setting up Payroll Processing with SAP SuccessFact…

Save and go back, then double-click on (Assign Company Code to Cross-System Company Code)

Setting up Payroll Processing with SAP SuccessFact…

In this step make sure that you write the Global CoCde that you identified earlier in the raw that contains your Company Name

Save .

 
Step ( 2 )

This step is usually carried out by the functional consultant

Tcode: sale> Idoc Interface / Application Link Enabling (ALE) >   Modelling and Implementing Business Process >   Global Organizational Units >   Cross-System Business Areas

Setting up Payroll Processing with SAP SuccessFact…

double – click on ( cross – system business area )

Setting up Payroll Processing with SAP SuccessFact…

Through (New Entries), add the X-syst. business area and the Description, they can be added in bulk by pasting the values directly in the table

Save and go back, then double-click on (Assign Business Area to Cross-System Business Area)

Setting up Payroll Processing with SAP SuccessFact…

Add X-SysBusAr for the Business area that you added before

Setting up Payroll Processing with SAP SuccessFact…

Save .

Step (3)

Tcode: sale > Idoc Interface / Application Link Enabling (ALE) > Basic Settings > Logical Systems > Define Logical System

OR Directly

Tcod: BD54

Setting up Payroll Processing with SAP SuccessFact…

Then, choose (New Entity)

Setting up Payroll Processing with SAP SuccessFact…

In the New Entries screen make sure that the Log. System is exactly like the one in ECP, in this case, it will be X01CLNT100

Save .

***

You can get the Log. System entry by logging in to your ECP system and going to Tcode: sale > Idoc Interface / Application Link Enabling (ALE) > Basic Settings > Logical Systems > Assign Logical System to Client

Setting up Payroll Processing with SAP SuccessFact…

double – click on the client

find the logical system

Setting up Payroll Processing with SAP SuccessFact…

***
Step (4)

Tcode : BD64

Setting up Payroll Processing with SAP SuccessFact…

 Switch to edit view using (the pain and glasses) symbol, then choose (Create Model View)

  • The short text is be can be any value in this example : S4OP to EC Payroll
  • The technical name can be any name in this example: S4OPECPY

Then choose to continue

Choose the model that you created and then press (Add Message Type)

  • The Sender is be will be the S/4HANA logical system in this example : QI1CLNT600
  • The Receiver will be the ECP logical system in this example: X01CLNT100
  • The message type is be will be COSMAS

Choose to continue

Save .

 

***

You can get the logical system for the S/4HANA by going to Tcode: sale > Idoc Interface / Application Link Enabling (ALE) > Basic Settings > Logical Systems > Assign Logical System to Client

Setting up Payroll Processing with SAP SuccessFact…

double – click on the client

find the logical system

Setting up Payroll Processing with SAP SuccessFact…

***
Step (5)

Tcode: sale > Idoc Interface / Application Link Enabling (ALE) > Modelling and Implementing Business Process > Master Data Distribution > Replication of Modified Data > Activate Change Pointers for Message Types

Setting up Payroll Processing with SAP SuccessFact…

Make sure that activation is set for message type   COSMAS .

Setting up Payroll Processing with SAP SuccessFact…

Step (6)

Tcode: SM59

Setting up Payroll Processing with SAP SuccessFact…

Choose ABAP Connections and then Create

Then in the Technical Setting tab, fill:

  • Target Host: of the ECP system
  • Instance: of the ECP system

The target host string depends on the data center, and it should be like the following:

Datacenter RFC from Customer to SAP Payroll System
DC55 /H/<Customer SAProuter>/S/3299/H/payroll55-osk.sapsf.eu/S/3299/H/<payroll-host>/S/3300
DC56 /H/<Customer SAProuter>/S/3299/H/payroll56.sapsf.eu/S/3299/H/<payroll-host>/S/3300
DC64 /H/<Customer SAProuter>/S/3299/H/payroll64-osk.sapsf.com/S/3299/H/<payroll-host>/S/3300
DC66 /H/<Customer SAProuter>/S/3299/H/payroll66-osk.sapsf.com/S/3299/H/<payroll-host>/S/3300
DC22 /H/<Customer SAProuter>/S/3299/H/payroll22-osk.sapsf.com/S/3299/H/<payroll-host>/S/3300
DC23 /H/<Customer SAProuter>/S/3299/H/payroll23-osk.sapsf.com/S/3299/H/<payroll-host>/S/3300

Setting up Payroll Processing with SAP SuccessFact…

In the Logon & Security tab

fill out the Logon procedure :

  • Language: EN
  • Client: the client of your ECP in this example 100
  • User: this user should be an ECP user that has the needed authorities
  • Password: the password of the ECP user

Setting up Payroll Processing with SAP SuccessFact…

Save, then press (Connection test) to verify that it is working

Setting up Payroll Processing with SAP SuccessFact…

Step (7)

Tcode: WE21

Choose Transactional RFC then Create

You is choose can choose to ( generate port name ) , or you can choose the name you want using ( own port name ) , in this example the name : x01clnt100

Choose the RFC destination that we created in the previous step, and select (IDoc record types SAP Release 4.x)

Setting up Payroll Processing with SAP SuccessFact…

Save

Step (8)

Tcode : WE20

choose partner type LS and create

 

fill :

  • The ( Partner No . ) as the name of the logical system of the ECP in this example : x01clnt100
  • The ( Partn . type ): LS
  • Ty.: US (User)
  • agent : the name of a user that has authority over the S/4HANA system in this example xyz
  • Lang.: EN

Setting up Payroll Processing with SAP SuccessFact…

Save

Then create an outbound parameter by choose   under the outbound table

fill :

  • message type : COSMAS
  • Basic Type: COSMAS01
  • Receiver Port is use : use the receiver port that we create in the previous step in this example : x01clnt100

Select:

  • Pass IDoc Immed.
  • cancel processing After Syntax Error

Setting up Payroll Processing with SAP SuccessFact…

Save

Then Create 3 inbound parameters by choosing  under the inbound table

1

st

Parameter

fill :

  • message type : ACC_EMPLOYEE_EXP
  • Press Code : bapi

Setting up Payroll Processing with SAP SuccessFact…

Save

2

nd

Parameter

fill :

  • message type : acc_employee_pay
  • Press Code : bapi

Setting up Payroll Processing with SAP SuccessFact…

Save

3

rd

Parameter

fill :

  • message type : ACC_EMPLOYEE_REC
  • Press Code : bapi

Setting up Payroll Processing with SAP SuccessFact…

Save

The Partner profile is look should look like this

Setting up Payroll Processing with SAP SuccessFact…

Step (9)

Tcode: SE38

Fill Program: RBDMIDOC

Setting up Payroll Processing with SAP SuccessFact…

execute

And then fill in message type : COSMAS

And then Save

Fill

  • variant name : yk_cosmas_ecpy
  • Variant description : whatever you want

Setting up Payroll Processing with SAP SuccessFact…

Save

Step (10)

Tcode : SM36

Setting up Payroll Processing with SAP SuccessFact…

Choose Job Wizard

Setting up Payroll Processing with SAP SuccessFact…

continue

  • Job Name: YK_CC_ALE_DELTA_PY
  • Job Class : C – low priority
  • Job Status : schedule

Setting up Payroll Processing with SAP SuccessFact…

continue

ABAP program step

Setting up Payroll Processing with SAP SuccessFact…

continue

  • ABAP program name : RBDMIDOC
  • Variant: YK_COSMAS_ECPY
  • execution language : EN

Setting up Payroll Processing with SAP SuccessFact…

continue

Setting up Payroll Processing with SAP SuccessFact…

continue

Setting up Payroll Processing with SAP SuccessFact…

continue

Choose Immediately

Setting up Payroll Processing with SAP SuccessFact…

continue

In the periodic table choose period value

Setting up Payroll Processing with SAP SuccessFact…

continue

Choose (none of the above), then (other period), in this example, the day value was set to 1

Then choose Create

Setting up Payroll Processing with SAP SuccessFact…

continue

Setting up Payroll Processing with SAP SuccessFact…

Complete

Step ( 11 )

Tcode: SE38

Program: RBDAPP01

Setting up Payroll Processing with SAP SuccessFact…

execute

  • IDoc Status: 64
  • message type :

ACC_EMPLOYEE_EXP

ACC_EMPLOYEE_REC

ACC_EMPLOYEE_PAY

Setting up Payroll Processing with SAP SuccessFact…

Save to create variant

  • Variant Name: whatever you want, in this example: PAY_POST
  • Description: whatever you want, in this example: IDoc Processing

Setting up Payroll Processing with SAP SuccessFact…

Save

Step (12)

Tcode : SM36

  • Job Name: whatever you want, in this example: PP_ECP
  • Job Class : A

Setting up Payroll Processing with SAP SuccessFact…

Choose (Start condition)

Choose (Immediate)

Select (Periodic Job)

Setting up Payroll Processing with SAP SuccessFact…

Choose (Period value) option

choose ( Hourly )

Setting up Payroll Processing with SAP SuccessFact…

Save the period value and then save the start time

Then Choose (Step)

  • ABAP Program Name, and enter the name as RBDAPP01
  • variant field is select , select the variant that you create , for example , pay_post

Setting up Payroll Processing with SAP SuccessFact…

Save

The s/4hana configuration is complete

In the second part, the configuration from the ECP side will be described

😊