SAP SuccessFactors.com (HCM) and Oracle E – … SuccessFactors.com (HCM) and Oracle E – Business...

9
SAP SuccessFactors.com (HCM) and Oracle E – Business Suite (ERP) Integration SuccessFactors (SFQL) QueryMore Scenario Bristlecone Whitepaper | September 2017 Author: Mr. Ranga Reddy Mekala DISRUPT DIGITIZE SYNERGIZE

Transcript of SAP SuccessFactors.com (HCM) and Oracle E – … SuccessFactors.com (HCM) and Oracle E – Business...

Page 1: SAP SuccessFactors.com (HCM) and Oracle E – … SuccessFactors.com (HCM) and Oracle E – Business Suite (ERP) Integration SuccessFactors (SFQL) QueryMore Scenario Bristlecone Whitepaper

SAP SuccessFactors.com (HCM) and OracleE – Business Suite (ERP) IntegrationSuccessFactors (SFQL) QueryMore ScenarioBristlecone Whitepaper | September 2017Author: Mr. Ranga Reddy Mekala

DISRUPT DIGITIZE SYNERGIZE

Page 2: SAP SuccessFactors.com (HCM) and Oracle E – … SuccessFactors.com (HCM) and Oracle E – Business Suite (ERP) Integration SuccessFactors (SFQL) QueryMore Scenario Bristlecone Whitepaper

2SAP SuccessFactors.com (HCM) and Oracle E – Business Suite (ERP) Integration

Introduction ....................................................................................................................................................... 3About Oracle Integration Cloud Service (ICS) .................................................................................................. 3About SAP Successfactors ................................................................................................................................. 4Integration Implementation Steps .................................................................................................................. 4Conclusion ......................................................................................................................................................... 6About The Author .............................................................................................................................................. 7

Table of Contents

DISRUPT DIGITIZE SYNERGIZE

Page 3: SAP SuccessFactors.com (HCM) and Oracle E – … SuccessFactors.com (HCM) and Oracle E – Business Suite (ERP) Integration SuccessFactors (SFQL) QueryMore Scenario Bristlecone Whitepaper

3SAP SuccessFactors.com (HCM) and Oracle E – Business Suite (ERP) Integration

Abstract

Almost all organization requires Human Capital Management (HCM) to optimize employee employer relationship to improve quality and productivity. Cloud-based HCM is choice of most of company whether be is medium to small size or enterprise. Cloud-based HCM services include talent management, KPI-based workforce analytics, recruitment, employee retention, and benefits.

Oracle Cloud Adapter for SuccessFactors is available on Oracle Integrated Cloud Service (ICS) that help to integrated SuccessFactors seamlessly along with various other category of adapters such as CRM/CX application adapters, ERP application adapters, and on premise application adapters. To know more about Oracle ICS, visit Oracle Help Center.

This white paper introduces how organizations can leverage Oracle Cloud Adapter to exchange information with SuccessFactors. This whitepaper covers integration to SuccessFactors and steps to transfer a bulk number of records (more than 200 records) from SuccessFactors by using Oracle Integration Cloud Service integration PaaS.

Introduction

Introduction of cloud technologies in HCM and human resource management (HRM) has proven to be very successful. Today in a global scenario, the HRM operations are even more dynamic with constant communication between teams and monitoring and updating of data such as Employee, Performance, Talent, and so on. Cloud based ERP solution such as SuccessFactors offer solutions to carry out such operations efficiently and at a fraction of cost.

However, there are limitations that some of the organizations could face to deploy these solutions such as investment of time and money involved and adaptability. Organizations may not have the resources or required expertise to move to cloud in near future and would prefer to integrate with cloud using their existing legacy systems. Some others could have reservations about data privacy and confidentiality.

For such organizations, integrations such as collaborating with Oracle Cloud Service Adapter for SuccessFactors could be the answer for experiencing hassle-free HR cloud environment. It is also imperative to deal with bulk data in HCM space. Tool and knowledge to deal with such integration patterns make cloud adoption more successful and quick return of investment.

About Oracle Integration Cloud Service (ICS)

Oracle Integration Cloud Service (ICS) presents a good option to enable integration between cloud and cloud applications and cloud and on premise systems.

It is a growing ask among the organizations, who are gradually buying some of the cloud applications or strategically moving towards cloud applications, to handle integration challenges which come along with adoption of discrete cloud applications from different providers. SAP SuccessFactors Cloud Application is one of the popular cloud applications; hence, there is a lot of demand of solutions to deal with its integration challenges, particularly with on premise systems like Oracle E-Business Suite (ERP), SAP ECC, and so on.

DISRUPT DIGITIZE SYNERGIZE

https://docs.oracle.com/

Page 4: SAP SuccessFactors.com (HCM) and Oracle E – … SuccessFactors.com (HCM) and Oracle E – Business Suite (ERP) Integration SuccessFactors (SFQL) QueryMore Scenario Bristlecone Whitepaper

4SAP SuccessFactors.com (HCM) and Oracle E – Business Suite (ERP) Integration

About SAP SuccessFactors

SuccessFactors is one of the leading cloud-based human capital management (HCM) software solutions using the Software as a service (SaaS) model. Bristlecone provides ready-to-use pre-built integrations or accelerators (templates) for business process integration with SuccessFactors. Bristlecone simplifies integration between SuccessFactors and other applications like SAP, E-Business Suite, Salesforce, ServiceNow etc. by leveraging Oracle integration cloud service (ICS)

Integration Implementation Steps

Scenario: Fetching (Pulling) 200 or more records from SuccessFactors.

By Default SFQL Query operation retrieves 200 records of any provide query from SuccessFactors. If there are more than 200 records in the SuccessFactors for provided query then SuccessFactors API creates a server-side pagination by using querySessionId and a flag (hasMore) to tell whether SuccessFactors has more records on connected SuccessFactors instance. Therefore to fetch the next set of 200 records server side pagination can be used leveraging queryMore (SFQL) API operation. The queryMore call processes subsequent records in 200-records chunks and returns a querySessionId and hasMore flag as part of its response. To iterate through records in the result set, you generally call queryMore(SFQL) repeatedly until all records in the result set have been processed / fetched or until the hasMore flag is true.

Response: The response returned by SuccessFactors for SFQL operation has the following elements in the structure:

• numResults• hasMore• querySessionId

numResults: The numResults element holds the number of records that have been retrieved from SuccessFactors

hasMore: The hasMore response element holds Boolean value. If its value is ‘true’ then it is indication that there are more records available to be fetched. If it returns as ‘false’ then that means there are no more records available to be fetched from SuccessFactors.

querySessionId: This element is key that holds the unique value to render server side pagination. The querySessionID carries indicator of last record that has been retrieved from SuccessFactors. This variable in the integration gets initialized with empty single quotes ('') to start with before making query operation call.

Next section will explain how to make use of SuccessFactors adapter on ICS to orchestrate above integration scenarios.

Integration orchestration needs to be created to have your 2 application connected. Since in this white paper, focus is on queryMore operation orchestration but this can further extended to integrate SuccessFactors with Oracle E-business Suite or any other application.

To implement queryMore operation on Oracle Integration Cloud Service, following steps are recommened:

1. Login to the Integration Cloud Service (ICS) with your login credentials.

DISRUPT DIGITIZE SYNERGIZE

Page 5: SAP SuccessFactors.com (HCM) and Oracle E – … SuccessFactors.com (HCM) and Oracle E – Business Suite (ERP) Integration SuccessFactors (SFQL) QueryMore Scenario Bristlecone Whitepaper

5SAP SuccessFactors.com (HCM) and Oracle E – Business Suite (ERP) Integration

2. Create SOAP connection. Note: SOAP connection is used considering user might want to pass on bind parameter as input but if it not required then schedule orchestration also can be created and hence SOAP connection will not be required. Scenarios explained below leverages SOAP connection as trigger.

3. Create SuccessFactors connections by providing SuccessFactors URL, company id and credentials to connect to SuucessFactors cloud instance.

4. Create new integration by choosing orchestration pattern.

5. Choose triggers from right hand pane and Drag and drop SOAP connection from triggers on the source side. Press Next button and at the last done button on the SOAP adapter wizard.

6. Drag and drop Assign activity from Actions and create two variables as below: • $hasMore hasMore= ”true” • $querySessionId with empty value

7. Drag and drop While loop activity and specify the condition hasMore =’true' in the While loop. This is ensure that while loop iterate until hasMore flag is true. The moment it is returned false from SuccessFactors, loop ends.

8. Drag and drop SuccessFactors adapter inside the While loop and configure it with the SFQL operation category and query operation:

Note: The query can be a normal or a bind query. • Query : Specify your SFQL query like “Select status from the user” OR • Bind Query : “Select status from the user where status='&status'”

9. Create a mapping between SOAP and SuccessFactors for bind parameters, if there are any, from SOAP input.

• statusInput(SOAP) ----> status (SFSF Adapter)

10. After request mapping is completed, drag and drop one more assign activity next to SuccessFactors inside While loop, and assign the Query More response to the variables which you have created in the first assign activity as shown here:

• $querySessionId -------> nsmpr2:querySessionId (from query Response) • $hasMore---------------> nsmpr2:hasMore (from query Response) This step is to make sure that created variables are always populated with correct values coming from

SuccessFactors. This step should be done with utmost care to avoid infinite loop execution.

11. With above, required steps to get next set of records from SuccessFactors, is complete. This can further be extended to send the record to target system by configuring invoke activity of SAP or Oracle E-Business Suite adapter or any cloud adapter like Salesforce and complete the mapping.

12. Activate the flow. Once flow is activated successfully, endpoint URL can be copy.

13. Now this flow can be executed from SOAPUI or any other tool by using endpoint URL.

14. Check the response received from SuccessFactors. First it will check the condition, and if condition is satisfied it will fetch the records:

• If the hasMore value is ‘true’ then it will enter in to the While loop. • If the hasMore value is ‘false’ then the condition will not be satisfied, and it will exit the While loop.

DISRUPT DIGITIZE SYNERGIZE

Page 6: SAP SuccessFactors.com (HCM) and Oracle E – … SuccessFactors.com (HCM) and Oracle E – Business Suite (ERP) Integration SuccessFactors (SFQL) QueryMore Scenario Bristlecone Whitepaper

6SAP SuccessFactors.com (HCM) and Oracle E – Business Suite (ERP) Integration

This completes the invoking of queryMore operation in SuccessFactors. Further in your orchestration, you can extend as per your business requirement.

The following flow explains the orchestration implementation on Oracle Integration Cloud Service (ICS).

DISRUPT DIGITIZE SYNERGIZE

Conclusion

Employing a cloud solution for HRM needs is multi beneficial with cost effectiveness, scalability, flexibility, and efficiency to name a few. Oracle Integrated Cloud Service adapter has simplified the way for organizations to transform to SuccessFactors cloud ERP without letting go their legacy on premise systems or the cloud systems that they have in place. The integrations are simple, straightforward, and easy to learn. HR Operations using Oracle ICS adapters will also profit from feature enhancements such as queryMore. It is going to make their tasks even simpler and allow them to focus on better talent management and sustenance.

SF SF_ Soap

SF SF_ Soap

VariablesCreation

WhileLoop

Map to SFQL_Query... SFQL_QueryMore AssignQueryMoreRes...

(X)

(X)

Orchestration

Select Reposition Reset

(Editing)

Page 7: SAP SuccessFactors.com (HCM) and Oracle E – … SuccessFactors.com (HCM) and Oracle E – Business Suite (ERP) Integration SuccessFactors (SFQL) QueryMore Scenario Bristlecone Whitepaper

7SAP SuccessFactors.com (HCM) and Oracle E – Business Suite (ERP) Integration

©2017 Bristlecone Ltd. Bristlecone believes the information in this presentation is accurate as of the presentation date. The information is subject to change without notice.Bristlecone acknowledges the proprietary rights of the trademarks and product names of all companies mentioned herein. All Rights Reserved.

Corporate HeadquartersSan Jose10 Almaden Blvd, Suite 600San Jose, CA 95113T (650) 386 4000F (650) 961 2369www.bcone.comPartner

Partner with Bristlecone Managed Services to enhance your business efficiency. Our scalable application support solutions help you realize maximum value from your supply chain execution investments. To set up a discussion with our team, please send your inquiry to [email protected]

DISRUPT DIGITIZE SYNERGIZE

DISRUPT DIGITIZE SYNERGIZE

About the Author

Mr. Ranga Reddy Mekala is an Oracle integration expert working for Bristlecone under Oracle Practice. He is instrumental in developing integration leveraging ICS, SOACS and Oracle SOA on premise with various applications like SuccessFactors, Ariba, SAP, Salesforce, Concur, Sales Cloud, NetSuite and Oracle EBS to name a few. He is also responsible for verifying, supporting and maintaining various adapters being developed by Bristlecone under adapters Factory Project.

Feel free to contact at [email protected] for any question or enquiring more about this integration and many more similar integrations, pre-built integrations and template.

Bristlecone is a strategic development partner for Oracle and has developed many adapters for Oracle, like:• https://docs.oracle.com/en/cloud/paas/integration-cloud-service/icssu/using-successfactors-adapter.pdf• https://docs.oracle.com/en/cloud/paas/integration-cloud-service/icssu/oracle-successfactors-cloud-adapter-use-cases.html

mailto:[email protected]

Page 8: SAP SuccessFactors.com (HCM) and Oracle E – … SuccessFactors.com (HCM) and Oracle E – Business Suite (ERP) Integration SuccessFactors (SFQL) QueryMore Scenario Bristlecone Whitepaper

8SAP SuccessFactors.com (HCM) and Oracle E – Business Suite (ERP) Integration

Bristlecone is a premier Supply Chain Advisory and Analytics SaaS+ firm headquartered in California’s Silicon Valley.We have offices inthe United States,canada,United Kingdom, Germany, Switzerland, Singapore, Malaysia and India. Learn more at www.bcone.com. To set up a discussion with our team, please send your inquiry to [email protected]

©2017 Bristlecone Ltd. Bristlecone believes the information in this presentation is accurate as of the presentation date. The information is subject to change without notice. Bristlecone acknowledges the proprietary rights of the trademarks and product names of all companies mentioned herein. All Rights Reserved.

Page 9: SAP SuccessFactors.com (HCM) and Oracle E – … SuccessFactors.com (HCM) and Oracle E – Business Suite (ERP) Integration SuccessFactors (SFQL) QueryMore Scenario Bristlecone Whitepaper

An ever increasing amount of data is being generated throughout supply chains,which can be used as an advantage.

Irfan KhanCEOBristlecone