Skip to Content
Technical Articles

Integration of SAP UI5/FIORI apps with SAP SuccessFactor

Hi All,

This blog post is regarding integrating the SAP UI5/FIORI app with SAP SuccessFactors. I was working on a project where some custom application was needed to achieve a task which was not possible by SuccessFactors alone. The solution was to make a custom UI5 app and deploy it as a tile within SuccessFactors with navigation to external URL which will make this task possible. I have gone through lots of blogs to accomplish this. But unfortunately, there is no complete blog to achieve this task. Somehow, I was able to complete this task. I will take you through the steps involve in achieving this task.

 

Introduction: 

SuccessFactors come with API Centre which has OData API Data Dictionary  where you will find the entities of all the SuccessFactors modules. My requirement was to use the RCM Module of SuccessFactors and use JobApplication, JobRequistion & OfferLetter  entities in my read & insert operation.

Prerequisites:

  • SAP Cloud Platform account with SAP WEB IDE
  • SAP SuccessFactors API Centre Access
  • Provision to create/update data in SuccessFactors from OData API

API%20Centre

API Centre

 

Steps:

Step1: Add details of your SuccessFactors system in SCP destinations as below

 

                SCP%20Destinations

SCP Destinations

 

 

Note: User field in destinations has to be in the form of User@CompanyID

 

Step2: Get all the required Integration permissions in SuccessFactors Admin Centre

Permissions%20in%20Admin%20Centre

Permissions in Admin Centre

Step3: Get the required entities from OData API Data Dictionary and Check which operations are supported for that particular entity Eg. Query, Insert, Merge, Replace, Upsert, Delete.

 

OData%20API%20Data%20Dictionary

OData API Data Dictionary

 

Step4:  Add below code in controller of UI5 app  for Query (Read) operation.

 

Step5:  Add below code in controller of UI5 app for Insert (POST) Operation

Insert%28POST%29%20operation

Insert(POST) operation

Note: Pass all the mandatory (sap: required) values in the payload, otherwise you will get an error. You can check which fields are mandatory in sap: required column in OData API Data Dictionary. Likewise, you can perform all the operations also like Upsert, Merge, Delete etc.

Step6: Deploy your application to SAP Cloud Platform and copy the app URL generated and create a custom Tile on SuccessFactors using Manage Home Page option and Paste app URL in navigation tab

ManageHome%20Page%20in%20SuccessFactors

ManageHome Page in SuccessFactors

Click%20on%20Add%20Custom%20Tile

Click on Add Custom Tile

Paste%20your%20URL%20in%20Navigation%20tab

Paste your URL in Navigation tab

Save your changes !!

Note: You can check error logs in OData API Audit Logs in API Centre, if you face any issue while performing any operation.

I hope this blog post will be useful for the developers trying to integrate SuccessFactors with UI5/FIORI apps. Please provide your valuable feedback if you find this blog post helpful.

 

Regards

Jayesh Kulkarni

 

 

 

 

 

1 Comment
You must be Logged on to comment or reply to a post.
  • Dear Jayesh,

    thx a lot for your post. I was a bit wondering, why you used SAP WEB IDE & SAP SuccessFactors API Centre Access.

    Can the same be achieved via SAP Business Application Studio & SAP API Business Hub?

    Thx,

    Dominik