Is your Workforce Safe? See how we are helping during the COVID-19 Crisis Click for more details
Connected Warehouse Worker Webinar by
Innovapptive and iOS Platform on July 14, 2020 Register Now
The Connected Worker Panel Discussion by
Innovapptive and IQPC on July 27-29, 2020 Register Now
4 Minutes Read

SuccessFactors (SFSF) Extension with HANA Cloud Platform

Whitepaper: Connected Worker Strategies to Embrace Social Distancing in the COVID-19 Era - Challenges and Opportunities
Download Now

We all understand that road map for partners, consulting companies and developers should be on par with SAP’s road map. During the early days of mobility, we started with SUP 2.0, then moved on to SMP 2.3, and later had a major release on SMP 3.0 and now HANA Cloud Platform (HCP). We did build many apps on SUP with Mobile Business Objects (MBOs) and then had to modify and rewrite the code base as per the new SMP 3.0 version with oData structure. Few announcements, which made developers happy was the usage of common SDK for SMP and HCP.

Some of our apps are related to Employee Self Service (ESS) and Manager Self Service (MSS), herein we have to plan the road map that is in sync with SAP; we see that SAP Human Capital Management (HCM) is already making a shift to SuccessFactors (SFSF) to manage most of the data on the Cloud servers (I had the opportunity to work on SuccessFactors integration with HANA Cloud integration using SFSF adaptors. In this context, I invite you to take a look at my previous blog on data exchange process). Now, the challenge is to migrate on premise SAP HCM mobile apps running on SMP to the cloud solutions. With this requirement, we call this scenario as SFSF extension with HCP.

To begin with, I have started working on an existing Innovapptive’s mEmployee app which talks to SAP via Gateway and SMP/HCP (an employee self-service application) that has the functionality of Employee Profile, People Search, Time Sheet, Leave Request and so on.

To get started, I started to explore SFSF and standard oData APIs, which are required for our business scenarios.

In this blog, I am also going to show the step by step process about how to configure SFSF standard oData APIs with HCP and how to read and update data to SFSF via REST client.

Pre-Requisites

  • SuccessFactors Admin Access
  • HCP
  • Advanced RESTClient in Chrome

I would like to consider Employee Personal Profile details from SFSF to be displayed on to a mobile device. To do so, follow the below outlined steps.

1. In the My Employee File screen, the details as depicted in the following screen shot are displayed.

Picture1

Figure 1

In this screen, you can view the personal profile of an employee with information such as personal, contacts, dependents, etc. As you are aware, SFSF has standard oData APIs defined for most of these details which are displayed here.

2. To search these APIs, click Home and then click Admin Center.
3. In the displayed Search box, type oData API Data Dictionary to display the entire list of APIs in the screen (as depicted in the following screen shot) such                                                                                                                                    as:

  •   oDATA API entities
  • Complex type name
  •  Function import

4. In the oData API Entities screen, expand the searched User entity to display the Property Name and all the possible operations on this entity.

Picture2

Figure 2

Now, try to access this entity from the oData URL. The new base URL for SFSF is as follows:

https://apisalesdemo8.successfactors.com/odata/v2/

Click on this URL to navigate to the required entity with oData query formats. For illustration purposes, I have used the following URL:

https://apisalesdemo8.successfactors.com/odata/v2/User?$filter=userId%20eq%20%27admin3%27&$format=json

The following data is displayed, which needs to be updated. Here, as an example, I intend to update the cell phone number (marked yellow)

Picture3

Figure 3

Testing oData APIs on REST Client

5. You can test with Advanced REST client with the following details for Get (Refer below screen shot).

Picture4

Figure 4

6. For post operations, use the following code (as displayed in the screen shot).

Picture5

Figure 5

Configure HCPms (HANA Cloud Platform Mobile Services)

7. Once you finish your basic testing, retrieve the HCP configurations.
8. Navigate to HCP and register a new application

Picture6

Figure 6

9. Enter the backend URL and other details as depicted in the below screen shot.

Picture7

Figure 7

10. Once you configure, try to ping the server.

Picture8

Figure 8

Test HCPms Application ID with Advanced REST client

1. Register the get the APP CID

Picture9

Figure 9

Payload:

<?xml version="1.0" encoding="utf-8"?>

<entry xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"

xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">

<content type="application/xml">

<m:properties>

<d:DeviceType>iPhone</d:DeviceType>

</m:properties>

</content>

</entry>

2. For GET Request, click the following URL.
https://hcpms-s0015412706trial.hanatrial.ondemand.com:443/com.sfsf.xxxxx/User('admin3')

Picture10

Figure 10

3. For POST request, click the following URL:

https://hcpms-s0015412706trial.hanatrial.ondemand.com:443/com.sfsf.xxxxx/User('admin3')

Payload:
{
"__metadata": {
"uri": "User(userId='admin3')"
},
"cellPhone": "9986926681",
"status": "t",
"username": "admin3"
}

Picture11

Figure 11

4. Refresh your SFSF My Employee File screen to view the updated cell phone number.

Picture12

Figure 12

Testing with iOS Native Application

As I had mentioned before, we are still working on the application development. I am using this User ID for testing purposes only. I will be updating the Cell Phone Number from the iOS native application. Phone number is a dummy number, please do not try to call on that .

The following are the screen shots with appropriate procedures.

1. The data is displayed in the SFSF: My Employee File screen.

Picture13

Figure 13

2. The Login screen on the mobile device is displayed as follows:

Picture14

Figure 14

Picture15

Figure 15

3. The data gets updated successfully from this mobile app and the same gets reflected in the SFSF.

Picture16

Figure 16

Personal experience on managing data

My personal experience while developing a mobile application and testing in SFSF was a little pain, wherein for every change on the mobile device, I had to change as a different user with the help of proxy login. The best way to test whether your data is getting updated or not during the post/put operations is testing via Microsoft Excel.

To test via Microsoft Excel

1. Open a new excel Document.
2. From the menu, click Data tab ->From other Sources and then click From oData Data Feed.

Picture17

Figure 17

3. Type the base URL and login details as follows:

Picture18

Figure 18

Base URL : https://apisalesdemo8.successfactors.com/odata/v2/

4. In the Select Tables screen, click to select the tables you require and then click Next.

Picture19

Figure 19

5. In the Save Data Connection File and Finish screen, click Finish. All data gets displayed in the excel spreadsheet.

Picture20

Figure 20

Picture21

Figure 21

Tip: A simple Ctrl + F can make life easy.

I hope you have had got a fair knowledge of how to configure SFSF standard oData APIs and HCP including reading and posting data to SFSF via the REST client. With this integration, we hope to take the Innovapptive’s mEmployee’s user experience to new heights, providing a seamless transactional experience pertaining to processing of all HR activities including payroll, hiring,performance management and on-boarding

Request a Demo

If you would like a demo of Innovapptive's portfolio of Native or Web based mobile solutions for SFSF, please click on the link. Alternatively, if you would like to discuss with an Innovapptive solution expert, you can reach out to us by emailing us at sales@innovapptive.com or you can reach a sales representative at (713) 275-1804.

Using Guided Work Instructions to Prevent Tribal Knowledge Loss at Industrial Plants
The Great Crew Change is upon us. If you haven’t heard of this phenomenon yet, you soon will. It’s going to have a tremendous impact on your plant’s...
Read More
Scare Off Ghost Assets & Improve Your Financial Statements through End-to-End Fixed Asset Tracking
Baby Boomers and Gen Xers will remember the cartoon character Casper. Casper was a ghost. But he was different from other ghouls and spooks. Casper...
Read More
8 Evaluation Criteria to Help You Select a Best-in-Class Connected Worker Solution
You’ve decided to join the digital transformation revolution and are now examining a Connected Worker Solution for your industrial facility....
Read More
5 Warehouse Best Practices to Mitigate COVID-19 Risks & Workplace Safety
The current COVID-19 pandemic has highlighted the importance of supply chains in our everyday lives in a dramatic way. Under normal circumstances...
Read More
Connected Worker Risk Assessments to Optimize Your Plant’s MRO Program
No one needs to tell you that maintaining your facilities’ production units, lines and equipment costs a lot of money. And it’s probably not news to...
Read More
A Connected Worker Solution for the Life Sciences Industry
The COVID-19 health emergency is a double-edged sword for the life sciences industry, which is playing a vital role in fighting the pandemic....
Read More
Dynamic Regulatory Forms to Empower the Food & Beverage Industry’s Connected Worker Strategy
Four out of five Americans today live in an urban center, according to the U.S. Census Bureau. Few of these urban residents raise or process their...
Read More
Indian Disaster Shows Restarting Plants after a COVID-19 Lockdown Requires Connected Worker Solutions
On May 7, 2020, India woke up to the news of poisonous gas leaking from a polymers plant in the southeastern city of Vizag. Toxic fumes leaking from...
Read More
Using a Connected Worker Platform to Improve Social Distancing Protocols
It’s not an exaggeration to refer to world history as pre-COVID-19 and post-COVID-19. It’s certainly worth remembering how this pandemic originated,...
Read More