1. Home
  2. Dokumente
  3. SAP CPI Adapter
  4. 3. How to create an inbound interface using integrateBatch Apex URL with SKYVVA CPI Salesforce Adapter

3. How to create an inbound interface using integrateBatch Apex URL with SKYVVA CPI Salesforce Adapter

This document describes how to create an inbound interface using integrateBatch – Apex URL with SKYVVA CPI Salesforce adapter. And also, document briefs the implementation of SAP CPI and Salesforce interfaces which includes the testing as well.

In this case considering Account as an object API at Salesforce end and message will be triggered from POSTMAN client tool to Salesforce using SAP CPI as middleware.

What is IntegrateBatch Apex URL?

integratebatch data processing is an efficient way of processing high volumes of data, where a group of transactions is collected over a period of time. Data is collected, entered, processed and then the batch results are produced. In this case integrateBatch Apex Url is used in Skyvva CPI Salesforce adapter to process the data in batches.

This is use is similar to the integrate Apex Url, however there are some changes in Skyvva CPI Salesforce adapter.

Salesforce Interface Development

Create an Interface under Integration in Salesforce, in this example creating Interface name as “Account_CPI_integrateBatch”

Below are the necessary parameters need to provide while creating the interface.

After providing the above parameters in the Salesforce interface, save it.

SAP CPI Development

Create the package in SAP CPI in Design and add the integration flow.

Example:

Integration Package:      Apsara Salesforce Adapter Testing

Integration Flow:            Apsara Account Interface to Salesforce_integrateBatch_Demo32

SAP CPI receives the request message from POSTMAN/SOAPUI in json format. Since this use case is defining the capabilities of the SKYVVA SAP CPI Salesforce adapter, simple integration flow is defined with required channel parameters.

Please find below integration flow:

 

On sender side, choose the sender adapter “HTTPS” and provide the channel parameters details as below including with the CPI endpoint URL.

 

On receiver side, choose the receiver adapter “Salesforce” Skyvva adapter and provide the channel parameters as below.

Where the Login Url, User Credential details (deployed in CPI keystore), Client Id and Client Secret shared from the Salesforce system.

For Skyvva section below are parameters need to define for integrateBatch.

Bulk API section is not needed since we are not using the bulk mode in this use case.

Once all the above channel parameters are defined save the integration flow and deploy.

Go to CPI > Monitoring > Manage Integration Content to get the endpoint URL of CPI integration flow.

 

CPI Endpoint URL:

https://{{TenantId}}-iflmap.hcisbp.eu1.hana.ondemand.com/http/skyvva/Account/CPI/ReceiverChannel/IntegrateBatch/32Demo

Fandest du diesen Artikel hilfreich? Ja Nein

Wie können wir helfen?