Integrate SAP SuccessFactors and SuccessFactors Learning seamlessly with SAP Build Work Zone

Estimated read time 8 min read

Hello Everyone,

I’m sharing this blog after extensive effort, research, and hands-on analysis. I hope it helps anyone looking to integrate SAP SuccessFactors and SuccessFactors Learning (LMS) while leveraging a custom domain through SAP Build Work Zone.

 

Requirement

When accessing the SAP SuccessFactors system, SAP provides a standard URL like:

https://hcm22.sapsf.com/login?company=<company name>

The SF Home page will look like as below:

 

 

After logging in, users are directed to the SuccessFactors dashboard as above. From there, navigating to the Learning Management System (LMS) opens another SAP-hosted URL:

https://<company name>.lms.hr.cloud.sap/learning/user/deeplink.do?fromSF=Y&linkId=HOME_PAGE

 

Challenge

Both URLs use SAP’s default hostnames. However, based on client requirements, access should be through a custom domain, such as:

https://hrhub.abcservices.abc.com

 

Solution Overview

To achieve this, we integrate SAP SuccessFactors with SAP Build Work Zone, where the Custom Domain Service is already configured.

For a detailed, end-to-end guide on Custom Domain Service, refer to my other blog:
https://community.sap.com/t5/technology-blog-posts-by-members/custom-domain-service-in-sap-btp-build-work-zone-standard-edition/ba-p/14314511

 

Note: This setup uses SAP Build Work Zone – Standard Edition, but the same approach also works with the Advanced Edition.

 

Analysis & Implementation Steps

After thorough analysis, the following approach worked successfully:

Step 1: Create Destination in SAP BTP

Create a destination in the BTP subaccount pointing to the SuccessFactors system:

Destination Name: hrhub

 

Step 2: Configure Work Zone Content

In SAP Build Work Zone, create:

A local application which will be having the destination as “hrhub” and the App UI Technology will be Dynamic URL and Relative Path to App will be /sf/home

here, we can also add one more app which we can show in the work zone and access the above app by following:

 

Page: Below will be the page where we added the App

Space: Add the page in the space:

 

Role: Add the space and app in the role so it will be visible to user:

 

 

Step 3: Assign Roles

Assign the role to the Work Zone site

 

Assign the role to users in the BTP subaccount

 

Step 4: Access via Custom Domain

You can now access SuccessFactors directly using the custom domain:

https://hrhub.abcservices.abc.com/site/workzone-std-prd?sap-ushell-config=headerless#sf-display

 

As per the above Screen shot, the SF Home page is opening through work zone URL and Dashboard is similar which we have seen when accessing directly through SF.

Now we can access the LMS by clicking on tile “View My Learning” or from the top Menu “Learning”

In the above URL, it is not changing the URL when accessing the LMS, the URL is remaining same as custom domain url which show the customer host instead of SAP Standard URL.

Common Issue & Fix

Issue

While navigating between SuccessFactors and LMS, you may encounter the following browser error:

SecurityError: Failed to read a named property ‘document’ from ‘Window’:
Blocked a frame with origin “https://<company name>-dev.lms.hr.cloud.sap”
from accessing a cross-origin frame.

Refused to display ‘https://<company name>-dev.lms.hr.cloud.sap/’
in a frame because it set ‘X-Frame-Options’ to ‘sameorigin’.

The above error will come first time when accessing the LMS, if we refresh the page then this error might go. In our case this error was coming when accessing first time and after refresh the page it was not coming. Below is the error screen shot:

 

 

Resolution of the above Error:

Apply the following SAP Note in LMS:

SAP Note 2169861
“Learning Plan Internet Explorer error ‘This content cannot be displayed in a frame’ or blank page in Chrome or Firefox”

Configuration Change in LMS Side

Navigate to:

System Admin > Configuration > System Configuration > WEB_SECURITY

Set the following property:

clickjackingProtection.enabled=false

⚠️Important: Disabling clickjacking protection should be evaluated carefully based on your organization’s security policies.

 

Summary

This guide outlines the key steps to integrate SAP SuccessFactors and SuccessFactors Learning with SAP Build Work Zone using a custom domain. This approach enhances user experience by providing a seamless and branded access point while maintaining centralized navigation.

I hope this helps streamline your implementation and reduces dependency on standard SAP URLs.

If you have any questions or run into issues, feel free to reach out.

Regards,
Rohit Gera

 

​ Hello Everyone,I’m sharing this blog after extensive effort, research, and hands-on analysis. I hope it helps anyone looking to integrate SAP SuccessFactors and SuccessFactors Learning (LMS) while leveraging a custom domain through SAP Build Work Zone. RequirementWhen accessing the SAP SuccessFactors system, SAP provides a standard URL like:https://hcm22.sapsf.com/login?company=<company name>The SF Home page will look like as below:  After logging in, users are directed to the SuccessFactors dashboard as above. From there, navigating to the Learning Management System (LMS) opens another SAP-hosted URL:https://<company name>.lms.hr.cloud.sap/learning/user/deeplink.do?fromSF=Y&linkId=HOME_PAGE ChallengeBoth URLs use SAP’s default hostnames. However, based on client requirements, access should be through a custom domain, such as:https://hrhub.abcservices.abc.com Solution OverviewTo achieve this, we integrate SAP SuccessFactors with SAP Build Work Zone, where the Custom Domain Service is already configured.For a detailed, end-to-end guide on Custom Domain Service, refer to my other blog:https://community.sap.com/t5/technology-blog-posts-by-members/custom-domain-service-in-sap-btp-build-work-zone-standard-edition/ba-p/14314511 Note: This setup uses SAP Build Work Zone – Standard Edition, but the same approach also works with the Advanced Edition. Analysis & Implementation StepsAfter thorough analysis, the following approach worked successfully:Step 1: Create Destination in SAP BTPCreate a destination in the BTP subaccount pointing to the SuccessFactors system:Destination Name: hrhub Step 2: Configure Work Zone ContentIn SAP Build Work Zone, create:A local application which will be having the destination as “hrhub” and the App UI Technology will be Dynamic URL and Relative Path to App will be /sf/homehere, we can also add one more app which we can show in the work zone and access the above app by following: Page: Below will be the page where we added the AppSpace: Add the page in the space: Role: Add the space and app in the role so it will be visible to user:  Step 3: Assign RolesAssign the role to the Work Zone site Assign the role to users in the BTP subaccount Step 4: Access via Custom DomainYou can now access SuccessFactors directly using the custom domain:https://hrhub.abcservices.abc.com/site/workzone-std-prd?sap-ushell-config=headerless#sf-display As per the above Screen shot, the SF Home page is opening through work zone URL and Dashboard is similar which we have seen when accessing directly through SF.Now we can access the LMS by clicking on tile “View My Learning” or from the top Menu “Learning”In the above URL, it is not changing the URL when accessing the LMS, the URL is remaining same as custom domain url which show the customer host instead of SAP Standard URL.Common Issue & FixIssueWhile navigating between SuccessFactors and LMS, you may encounter the following browser error:SecurityError: Failed to read a named property ‘document’ from ‘Window’:
Blocked a frame with origin “https://<company name>-dev.lms.hr.cloud.sap”
from accessing a cross-origin frame.

Refused to display ‘https://<company name>-dev.lms.hr.cloud.sap/’
in a frame because it set ‘X-Frame-Options’ to ‘sameorigin’.The above error will come first time when accessing the LMS, if we refresh the page then this error might go. In our case this error was coming when accessing first time and after refresh the page it was not coming. Below is the error screen shot:  Resolution of the above Error:Apply the following SAP Note in LMS:SAP Note 2169861 –”Learning Plan Internet Explorer error ‘This content cannot be displayed in a frame’ or blank page in Chrome or Firefox”Configuration Change in LMS SideNavigate to:System Admin > Configuration > System Configuration > WEB_SECURITYSet the following property:clickjackingProtection.enabled=false⚠️Important: Disabling clickjacking protection should be evaluated carefully based on your organization’s security policies. SummaryThis guide outlines the key steps to integrate SAP SuccessFactors and SuccessFactors Learning with SAP Build Work Zone using a custom domain. This approach enhances user experience by providing a seamless and branded access point while maintaining centralized navigation.I hope this helps streamline your implementation and reduces dependency on standard SAP URLs.If you have any questions or run into issues, feel free to reach out.Regards,Rohit Gera   Read More Technology Blog Posts by Members articles 

#SAP

#SAPTechnologyblog

You May Also Like

More From Author