Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

2.1. Set Up the Inbound Connectivity to SAP SuccessFactors With Technical User

MinchoVelev edited this page Sep 19, 2019 · 5 revisions

Overview

To enable the Employee Onboarding application to consume events defined in the SAP SuccessFactors system, you first need to allow the Employee Onboarding application to consume the SAP SuccessFactors HCM Suite OData API without a logged in user. This is needed, because in the previous scenario, the the requests were made on behalf of the logged in onboarding administrator and now the events will be processed in the background without a logged in user. To do that, you create a service instance of the SAP SuccessFactors Extensibility service using the api-access service plan this time with a technical user.

Steps

1. Create a service instance to consume the SAP SuccessFactors HCM Suite OData APIs with a technical user using the Cloud Foundry command line interface (cf CLI).

  1. In Eclipse IDE, open sfOAuthTechUser.json located in the root folder of the employee-onboarding project.

  2. Change the value of the systemName property to studentXXX where the XXX is the same index you used in the previous steps.

    Note: Make sure you keep the quotes.

  3. Save the file.

  4. In cf CLI, execute:

cf create-service sap-successfactors-extensibility api-access SFOAuthTechUser -c sfOAuthTechUser.json

Result: You have created an SAP SuccessFactors Extensibility service instance and have bound it to the Employee Onboarding application.


Next