Human Capital Management Blogs by SAP
Get insider info on SAP SuccessFactors HCM suite 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: 
prasi55
Product and Topic Expert
Product and Topic Expert
2,534
You can use the integration of SAP’s Public Sector Management (PSM), Funds and Grants Management Solution with SAP SuccessFactors to use public sector financing objects such as funds, grants, functional area, funds center, and the budget period within SAP SuccessFactors Employee Central.

This integration helps you to allocate multiple costs and distribute them for employees and positions in various business processes such as standard employment, global assignment, and concurrent employment. Additionally, the integration also supports real-time derivation and validation of assignments from SAP S/4HANA Cloud and SAP S/4HANA On-Premise financials to SAP SuccessFactors Employee Central out of the box. Thus, if you have an SAP S/4HANA Cloud or SAP S/4HANA On Premise solution, you can use this integration along with real-time derivation and validation of assignments to SAP SuccessFactors Employee Central out of the box.

If you want to integrate your SAP ERP Business Financials solution with SAP SuccessFactors Employee Central, you can build a custom integration and use the validation and derivation services in SAP SuccessFactors Employee Central connected to the SAP ERP Business Financials solution.

Let’s first understand the architecture for derivation and validation.

Current architecture for validation and derivation



Architecture for validation and derivation


SAP SuccessFactors Employee Central triggers a synchronous API call to an OData Service on the SAP S/4HANA Public Sector Management system to derive and validate the account assignments provided by the user for an employee.


Cloud Platform Integration (CPI) and Cloud Connector are used as middleware for integration between SAP SuccessFactors Employee Central and the S/4HANA on-premise system.

How to set up custom integration with SAP ERP Business Suite


To set up custom integration with SAP ERP Business Suite, you must perform the following steps:

  • Create OData for derivation and validation in SAP ERP Business Suite

  • Create Integration Flow to connect to OData in SAP ERP Business Suite

  • Update the destination settings based on the new CPI


 

Step 1: Create OData for derivation and validation in SAP ERP Business Suite


SAP delivers a standard OData at SAP S/4 HANA Cloud Edition and On Premise for derivation and validation of Public Sector Management account assignment elements.

For more information, see the following:

This OData can be created as a wrapper of BAPI 'BAPI_ACCSERV_CHECKACCASSIGNMT' in the customer project for SAP ERP Business Suite by following the same request-response structure. Note that the request parameter names must be the same as those in the SAP standard service. This is necessary to ensure that the mapping in CPI and consuming applications remains consistent.

Request:
{
  "headerId": "default",
  "check_codingblock_request_set": [
    {
  "id": "default",
  "itemNumber":"1",
  "fmArea":"",
  "fund":"17G1100",
  "grant": "",
  "functionalArea":"",
  "budgetPeriod":"",
  "fundCenter":"",
  "costCenter":"17301101",
  "companyCode":"1730",
  "date":"2020-03-16"
    }
  ],
  "check_codingblock_response_set":[
    ]
}

 

Response:
{

"headerId":"default",

"check_codingblock_response_set":[

{

                        "errorMessages": null,

                        "id": "default",

                        "itemNumber": "0001",

                        "date": "2020-03-16",

                        "companyCode": "1730",

                        "costCenter": "17301101",

                        "fmArea": "A000",

                        "fund": "17G1100",

                        "grant": "NRG",

                        "functionalArea": "1000",

                        "budgetPeriod": "2020",

                        "fundCenter": null

}

]

 

 

Step 2: Create Integration Flow to connect to OData in SAP ERP Business Suite


SAP provides an integration flow that acts as middleware for the interaction between SAP SuccessFactors Employee Central and SAP S/4HANA On Premise.

You can copy the provided integration flow and change the address to point to the OData created in Step 1.

To use the integration flow:

  1. Open the package for the integration flow in SAP Business Technology Platform Integration.

  2. To copy the Integration Flow, click the Copy action.



Copy the integration flow




  1. To specify the name of the integration flow and the package in which you want to save it, click Copy, and edit the Name and Package fields.



Specify the name and package for the integration flow




  1. Change the address of the HTTP connection in the integration flow to point to the OData created in Step 1. To do this, click the HTTP connection option between Request Reply 5 and SAP ERP, and open the Connection tab.



Change the address of the HTTP connection




  1. Click Externalize.

  2. Delete the key parameter specified for the Address (highlighted in red in the following figure) and hit the Tab key to provide the complete address of OData including the host name and port. The host and port are of the cloud connector and the remaining path of the OData path (highlighted with blue in the following figure).



Provide the OData address




  1. Repeat Steps 1 to 6 for the second HTTP connection between Request Reply 6 and SAP_ERP.

  2. Save and deploy the integration flow created above.


For details on how to configure the cloud connector and integration flow, see the Integrating SAP SuccessFactors Employee Central with SAP Public Sector Management Funds and Grants M... guide.

 

Step 3: Update the destination settings based on the new CPI


For details on how to update the destination settings based on the new CPI, see the Configuring Destinations for Derivation and Validation in Integration Center topic in the Integrating SAP SuccessFactors Employee Central with SAP Public Sector Management Funds and Grants M... guide.

 

To summarize, you can integrate your SAP ERP Business Financials solution with SAP SuccessFactors Employee Central by building a custom integration. This allows you to use the validation and derivation services in SAP SuccessFactors Employee Central connected to the SAP ERP Business Financials solution.

Thank you for reading. I request you to share your feedback by leaving a comment.
5 Comments