Human Capital Management Blog Posts by Members
Gain valuable knowledge and tips on SAP SuccessFactors HCM suite and human capital management market from member blog posts. Share your insights with a post of your own.
cancel
Showing results for 
Search instead for 
Did you mean: 
PB2
Participant
0 Kudos
250

SAP SuccessFactors is a HCM system cloud-based application, which contains employee records.

  • New Hire records
  • Data change/Modified
  • Termination records

Every Organizations use SAP SuccessFactors to manage various aspects.

  • HR operations
  • Recruitment
  • payroll
  • Learning activities and performances

CPI Can connect to SuccessFactors through OData Adapter and SF Adapter.

Connectivity:

  • OData Adapter – OData V2, OData V4
  • SuccessFactors Adapter - OData V2, OData V4, REST, SOAP


OData V2 Configuration:
PB2_0-1745488066841.png

SuccessFactors OData V2 Configuration

PB2_1-1745488593732.png

SuccessFactors SOAP Configuration

PB2_2-1745488640763.png

Querying the SF: We can use the Compound Employee and Employee Central. 
Compound employee Query to fetch all the details from SF and below is the query as an example for specific country.
Query compound employee - (PersonInfo, AddressInfo, employment_information etc).

PB2_3-1745488756405.pngPB2_4-1745488766519.png
Employee central – Sepcific fields from each entity(PerPersonal, EmpJob, EmpEmployment, EmpComp, PayComprecurring)

PB2_5-1745488923328.png

PB2_6-1745488930913.png
Integration Modes :

  • Full load – To fetch complete historical employee records and process to SF system.
  • Delta load – Based on daily changes . Integration will process the change/modified records.

                          -  Lastmodified date field.
                          - Lastmodified date field & resultOptions=allJobChangesPerDay.

Employee record types in SF :

  • Backed dated Records
    - Expression – Fromdate = 1900-01-01
  • Current dated Records
    - Based on the Lastmodified date field / Write variable (which stores the LSRD)
  • Future dated Records
    - Expression  - todate = 9999-01-01

SF to SF - Batch integration
----------------------------------------
Usually, an employee can be created in SF with only Personal information or only Job information etc. as a minimal number of fields. This can be achieved to process with individual APIs. This looks as a partial profile crated in SF.

To avoid this, we have new feature which helps to create the employees at a time with multiple portlets. 

We need to follow specific format to achieve this and Employee profile only creates when batch process is success. 

Processing data as a batch to SF:

  • User details
  • Biographical info
  • Per personal Info
  • Job info
  • Employment Info

 

Request Payload:

Employee records to be followed in the below specific format to as a request payload to SF Receiver adapter. 

PB2_9-1745490745130.png

Batch Process configuration:

 

Resource path – Any resource path can be selected but SF will check only the fields which are processing when we enable the batch processing. Please follow as below. 

PB2_10-1745491794548.png

Response Payload:
Success: Response payload looks as below when its success.

PB2_11-1745492392846.png

Error: Response payload looks as below when its fails.

PB2_12-1745492767890.png

Advantages
----------------
1. Employee profile will only create when batch process is success. So, no partial employee profile will be created.

2. It reduces the performance issues and manual efforts.


Helpful Links:
https://community.sap.com/t5/technology-blogs-by-sap/batch-operation-in-odata-v2-adapter-in-sap-clou...

2649826 - Query Parameters for the CompoundEmployee API Entity

2649816 - CompoundEmployee API Delta Transmission - SAP for Me

Let me know if you see any issues.

All the Best!

 






Labels in this area