SAP Knowledge Base Article - Public

3844258 - How to establish the connection between SuccessFactors and MDI to run the standard Business Scenarios

Symptom

This KBA will explain what configurations need to be done in SuccessFactors side in order to connect it to your MDI tenant. Specifically, this will cover the step D mentioned in page Master Data Replication: Setup Instructions for SAP SuccessFactors Employee Central | SAP Help Portal ("D" Line - Setup in Receiving/Sending System).

So, it's assumed that you have already created the destinations in BTP (""C" Line - Configure Business Data Orchestration" from that page).

Environment

  • SAP SuccessFactors HCM Suite
  • MDI

Resolution

Service Key Values from BTP

The first step is to collect some specific values from the Service Key that was created in BTP for the MDI instance. Follow these steps:

  1. In your BTP subaccount, go to Services > Instances and Subscriptions.
  2. Under "Instances", click on the "Master Data Integration" under "sap-integration" Plan - a key must have been created for it under "Credentials" column.



  3. Under "Service Keys", click on the key to view its content.



  4. Now, keep notes of the values of the following fields - you'll use them later:
    1. clientid
    2. clientsecret
    3. url
    4. uri

OAuth Connection in Security Center

Now let's create the OAuth connection to MDI in SuccessFactors' Security Center. It's the content of the page Configuring OAuth for SAP Master Data Integration that will guide on this, but you can follow the steps below which have a few more insights:

  1. In SuccessFactors, open the Security Center tool.
  2. Select "OAuth Configurations" tile.
  3. Create a new entry by clicking on "Add" button.
  4. Populate the fields with the values below:
    • Configuration Name: it can be any name.
    • OAuth Type: OAuth 2.0
    • Grant Type: Client_Credentials.
    • Client ID: this is the "clientid" from the Service Key reviewed previously in BTP.
    • Client Secret: the "clientsecret" value from the BTP Service Key.
    • Token URL: this is the "url" obtained in the Service Key + "/oauth/token" appended at the end. Example: https://sf-integrations-subacount.authentication.eu12.hana.ondemand.com/oauth/token
    • Token Method: POST
    • Add a new row under "Custom Header Parameters" with the values:
      • Key: Content-type
      • Value: application/x-www-form-urlencoded
  5. Save the changes.

Enable the Business Scenario

Now let's finally enable the job in SuccessFactors side responsible for this integration.

First, identify the scenario you want to enable. The available scenarios are classified as "Inbound" (SuccessFactors receives data from MDI) and "Outbound" (SuccessFactors sends data to MDI). They are listed in the pages below:

These pages above also explain what steps you need to follow next. They will be covered below with a few more insights:

  1. In SuccessFactors, open the "Business Scenarios" tool.
  2. Search the scenario you want to enable and set it to "ON" in the Active column:

  3. Click on the pencil icon to edit it and open the "Source Settings" tab (or "Destination Settings" if it's an outbound job).
  4. Populate the fields below:
    • REST API URL: the "uri" value obtained previously in the BTP Service Key.
    • Authentication Type: OAuth.
    • OAuth Configurations: Select the OAuth entry created previously in Security Center.
  5. In "Scheduling" tab you'll be able to define at which frequency this job will run.
    • When setting a new schedule, always remember to click on the "Set Schedule" button at the bottom so it can take effect.
  6. Save the changes.

This is enough for the connection between SuccessFactors and MDI to be established.

You can also setup filters under "Filter and Sort" tab if you want to send just a few specific records to check in your testings. This can be done in SuccessFactors side for outbound scenarios, but for inbound scenarios the filter needs to be set in MDI side.

If you click on "Run Now" button, the scenario will run based on the filters set.

Configuration Object in SuccessFactors

Most Business Scenarios include dedicated configuration objects in SuccessFactors. These objects have parameters that determine how data is sent or received during integration.

Once the connection is established, the configuration objects can be used to adapt data behavior within the limits defined by each object.

The available configuration options for each scenario are documented in the "Configuring the Integration Object..." subsections of the corresponding Business Scenario page on the SAP Help Portal. For example, for Cost Center scenario it's described in the page: Configuring the Integration Object : Cost Center

Keywords

mdi, one mdi, business scenario, business scenarios, workforce, cost center, btp, oauth, Service Keys, successfactors , KBA , LOD-SF-INT-MDI , OneMDI Business Scenarios , How To

Product

SAP SuccessFactors HCM Suite all versions