Skip to Content
0

Connect SuccessFactors LMS using SAP Cloud Platform

Jul 06, 2017 at 06:55 AM

575

avatar image
Former Member

Hi all,

I am new with SuccessFactors, especially LMS. I'm trying to use SAP Cloud Platform to connect to SF LMS but I am not sure which adapter I should use. I could connect to get the access token, but now I'm stuck at trying to use the API for query.

Has anyone tried connecting to SF LMS using SAP Cloud Platform? Please share with me your experiences and do advise whether is it possible to connect SF LMS using SCP? I've tried searching high and low in Google but I can't find anything.

Thank you!

Regards,

Sher Lynn

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Manju Venkatesh
Jul 06, 2017 at 07:17 PM
2

Hello,

if understanding your question correctly, your trying to develop extension application on SAP Cloud platform by consuming OData service from SFSF LMS module. if that's the case then you need to define destination on SAP Cloud Platform to establish outbound connection to SFSF instance. Once destination is defined you can access OData service from WEB IDE to build UI5 based applications.

Sample destination is provided below :-

Replace parameters value with your own.

Description=SuccessFactors Core OData APIType=HTTPAuthentication=BasicAuthenticationName=sap_hcmcloud_core_odataProxyType=Internete.g URL=

https://apisalesdemoX.successfactors.ccom/odata/v2/

User=<SAP ID User - P/S user typically>

Note: user id should be specified as sfuser@SFSFcompanyid where

SFSFcompanyid is company id of your SFSF instance.

Additional Properties:

TrustAll = true

WebIDEEnabled = true

WebIDESystem = sap_hcmcloud_core_odata

WebIDEUsage = odata_abap,dev_abap,ui5_execute_abap

For complete list of SFSF API Endpoint URLs :

https://help.sap.com/viewer/d599f15995d348a1b45ba5603e2aba9b/PRODUCTION/en-US/03e1fc3791684367a6a76a614a2916de.html

check this blog on SFSF extension -> https://blogs.sap.com/2016/05/31/how-to-configure-a-successfactors-extension-application-the-easy-way/

Hope this helps.

Regards

Manju

Share
10 |10000 characters needed characters left characters exceeded
Gayathri Narayana
Jul 06, 2017 at 06:03 PM
1

Hi Sher,

I understand your question is pertaining to connecting LMS with other applications using the SAP Cloud Platform Integration?.

If that's correct, you could look at some of the standard integration content we have in the API hub published by SAP to get more insight into the connectivity options you could use.

https://cloudintegration.hana.ondemand.com/#/shell/discover/contentpackage/SAPSuccessFactorsLearningandSAPERPFinancialsIntegration?section=ARTIFACTS

Hope this helps,

Gayathri

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Gayathri,

Thank you for sharing! I've checked the standard integration content that you shared and I tried to configure my integration content's connection as the way the standard integration content's connection configuration was done but I can't get it to work too. This is the error screenshot I got when I try to access whereby I have changed the <SuccessFactors_LMS_Tenant> value to my LMS tenant value :

org.apache.camel.RuntimeCamelException: Error invoking read with {configurableDestinationManager=com.sap.it.rt.adapter.odata.destination.HCIDestinationManagerImplV4@4d6e0337, resourcePath=FinancialTransactions, serviceUri=https://<SuccessFactors_LMS_Tenant>/learning/odatav4/public/admin/financialtransactions/v1, getAllPages=true, queryParams={filter=criteria/maxPageSize ge '1'}, requestHeaders={Accept=application/json;odata.metadata=minimal}, isMappedXml=true}: null, cause: java.lang.NumberFormatException: null

Please advise.

Thank you.

Regards,

Sher Lynn

0