Skip to content
  • Blog
  • Docs
  • Documentation
  • Imprint
SKYVVA Integration App – Documentation
SKYVVA Integration App - Documentation
  • Documentation
  • Zurück zur Webseite
  • Back to website
SKYVVA Integration App – Documentation
SKYVVA Integration App - Documentation
Popular Search how tohow to useagenthowdatarestformulacustomstorebatch

SAP PI/PO Adapter

Tutorials (Lightning)

Agent Old Administration Guide

SAP Release Notes

Agent Release Notes

Agent - New Administration Guide

SAP CPI Adapter

SKYVVA Administration Guide (Lightning)

SKYVVA Release Notes

SAP/ERP | S4/HANA (Latest Version) Adapter

  • 1. Pre-Requisite
    • 1.1 Pre-Requisite
    • 1.2. Import/Deploy ABAP Transport In SAP
    • 1.3. Certificate for Secured Communications
    • 1.4. Setup Connection SAP SALESFORCE
    • 1.5 Activation of Skyvva service in SAP
    • 1.6 Create Connection Destination & SAP Adapter in Salesforce
    • 1.7 Activation of the “rfc” service service in SAP
  • 2. Create Metadata provider
    • 2.1. How to Create Metadata provider in Salesforce (Direct SAP->SF)
    • 2.2. How to Create Metadata provider in Salesforce Using AGENT
  • 3. IDOC Configuration
    • 3.1. IDOC Configuration in SAP
    • 3.2. IDOC Configuration in SALESFORCE (Direct SAP Connection)
    • 3.3. IDOC Configuration in SALESFORCE (Using AGENT)
  • 4. SAP to Salesforce (Using SAP Control Board)
    • 4.1 How to send data using IDoc?
    • 4.2 How to send data using BAPI, FM?
    • 4.3. How to use Batch mode?
    • 4.4 How to use Bulk mode?
    • 4.5 How to use Auto-Switch mode?
    • 4.6 How to use Salesforce Bulk mode?
  • 5. SAP to Salesforce (Using AGENT Control Board)
    • 5.1 How to send data using IDoc?
    • 5.2 How to send data using BAPI, FM?
    • 5.3. How to use Batch mode?
    • 5.4 How to use SFDC Bulk mode?
    • 5.5 How to use AUTO-SWITCH mode?
    • 5.6 How to use Salesforce Bulk mode?
  • 6. Salesforce to SAP(Using SAP Control Board)
    • 6.1 How to Call IDoc From Salesforce
    • 6.2 How to call S/4 HANA IDOC from Salesforce
    • 6.3 How to Call SAP ERP BAPI/FM From Salesforce
    • 6.4 How to call S/4 HANA BAPI from Salesforce
    • 6.5 How to call SAP REST API using Skyvva REST Adapter?
    • 6.6 How to call SAP SOAP API using Skyvva SOAP Adapter?
  • 7. Salesforce to SAP(Using Agent Control Board)
    • 7.1 How to Call SAP ERP IDoc From Salesforce
    • 7.2 HOW TO CALL SAP S/4 HANA IDOC FROM SALESFORCE
    • 7.3 How to Call SAP ERP BAPI/FM From Salesforce
    • 7.4 HOW TO CALL SAP S/4 HANA BAPI FROM SALESFORCE
    • 7.5 HOW TO CALL SAP REST API USING SKYVVA REST ADAPTER?
    • 7.6 How to call SAP SOAP API using Skyvva SOAP Adapter?
  • How to develop inbound interface using FM/RFC/Report with the multi-itab adapter synchronously?
    • 13. How to develop inbound interface using FM/RFC/Report with the multi-itab adapter synchronously?
    • a. Direct SAP to SALESFORCE
    • b. Using AGENT
  • DEBMAS IDOC Sending from SAP -> SF
    • 14. DEBMAS IDOC Sending from SAP -> SF
    • a. Direct SAP to SALESFORCE
    • b. Using Agent
  • ORDRSP IDOC Sending from SAP -> SF
    • 15. ORDRSP IDOC Sending from SAP -> SF
    • a. Direct SAP to SALESFORCE
    • b. Using Agent
  • DESADV IDOC Sending from SAP -> SF
    • 16. DESADV IDOC Sending from SAP -> SF
    • a. Direct SAP to SALESFORCE
    • b. Using Agent
  • INVOIC IDOC Sending from SAP -> SF
    • 17. INVOIC IDOC Sending from SAP -> SF
    • a. Direct SAP to SALESFORCE
    • b. Using Agent
  • Generic Use of Multit-Tab
    • 8. Generic Use of Multit-Tab
  • Inbound Interface using Bulk Mode
    • 2. HOW TO DEVELOP INBOUND INTERFACE USING Bulk Mode (SAP Control Board)
    • 1. HOW TO DEVELOP INBOUND INTERFACE USING BULK MODE (AGENT CONTROL BOARD)
  • Inbound Interface using Batch Mode
    • 1. HOW TO DEVELOP INBOUND INTERFACE USING Batch MODE (AGENT CONTROL BOARD)
    • 2. HOW TO DEVELOP INBOUND INTERFACE USING BATCH MODE (SAP CONTROL BOARD)

SAP-ERP (Old Version) Adapter

Mule Adapter

Migration from SAP-PO SOAP Skyvva connector to REST connector module

View Categories
  • Home
  • Documentation
  • SAP/ERP | S4/HANA (Latest Version) Adapter
  • INVOIC IDOC Sending from SAP -> SF

b. Using Agent

This unit describes:-
How to send IDOC data from SAP to salesforce Using Agent?

Introduction:- #

This document describe how to create an integration between SAP and salesforce using V3 adapter Using Agent .
When talking about inbound interface in this document the direction SAP to Salesforce  . Interface will be called from sap to Salesforce. The development of an interface involved steps to be done in Salesforce . This document does not describe the work at SAP-Backend e.g. developing business logic in SAP-Backend with ABAP.
SKYVVA integrations connect Salesforce to your backend systems(SAP), whether by referencing through a call, or replicating the data into Salesforce. While SKYVVA provides a rich suite of pre-built integrations for SAP->Salesforce  process integration, the SKYVVA Integration App gives you the ability to quickly and easily create your own integrations. The SAP integrations support S/4HANA in addition to SAP ECC, and we can also integrate with other systems via REST, SOAP, and OData web services.
Prerequisite

  • SKYVVA package installed at SAP side
  • SKYVVA package installed at Salesforce side
  • check the skyvva service active or not in SAP using Tcode SICF (For More Details See in Chapter (4.a))
  • Configure standard IDOC.

The development of an interface involved set of steps to be done in SAP and SALESFORCE

  1. Configuring the IDOC, port and partner Profile in SAP ( For More Details See in Chapter 5)
  2. Create the Integration
  3. Create SAP Connection Destination And Create Adapter (For More Details See in Chapter (4.b))
  4. Create Metadata Provider and Create Repository (For More Details See in Chapter 10)
  5. Create the message type using Import SAP Metadata ( For More Details See in Chapter 10)
  6. Creating an inbound interface:
  7. Configuration SAP IDOC  in SALESFORCE (For More Details See in Chapter 7)
  8. Send IDOC data on create & change

 

  1. Configuring the IDOC, port and partner Profile in SAP 

    Use #

To send the outbound IDocs, you must first define a port and a partner profile. All  interfaces can use the same port and the same partner profile.
In partner profile we define the system which are going to communicate between themselves and send data, here we give (SALESFORCE) as logical name which are going to be partners in data communication. We set it using WE20.
Port is a medium through which we send the data it connect one system with the system in other end its unique, depend on the scenario we use diff ports, according to our scenario we will have Port type (ABAP-PI) .we select the ports we set port using WE21. Without defining a port we can’t communicate with other system it’s the linker b/w the 2 system

Procedure #

For the port definition use (WE21), you can use the port type (ABAP-PI). processing in the SAP system is started with a synchronous RFC and the Function module Name will be /SKYVVA/IDOC2REST_ADAPTER_V3.
Below is the WE21 screenshots

 
2. Create the Integration
Goto the integration tab and Create the Integration in salesforce as below

3. Create SAP Connection Destination And Create Adapter 
a. Create Connection Destination
Go to Integration details tab and then select AGENT Control Board

Provide the details for connection details as shown below and click on continue button
Note : Always select Type: “AGENT SAP ERP”

Here we need to provide the agent connection details as below
Host Url: http://xxxx.com
Port: 16xxx
Username: xxxx
Password: ******
Provide the details of Agent as shown
Once we provide the details we need to ping the agent Connection. Then we can see the pop-up as below

Now we have to provide the salesforce details as shown below.
Consumer Key and Consumer Secret we can get from the connected App.

Click on Ping Connection of Salesforce to check if its connected successfully.

b. Create Adapter
To create adapter goto integration->agent control board then select adapter tab and click on new button and fill the details as
below.

Here we need to provide the sap details as below
Name      : Any meaning full name
Type      : Always “Agent SAP ERP” for agent
Host Url  : http://xxxx.com
Direction : Inbound/outbound
Port      : 16xxx (sap port)
Username  : xxxx(sap user id)
Password  : ******(sap user id pass)
Authentication  : always (basic)
SAPID     : ID7 (Sap system id )
Client    : (sap client )
Is Https  : select if using
Object format : Idoc, BAPI, Table
Logical name  : any unique name
Connection destination : select one create for agent

 
Click on ping connection for test adapter is working or not
4. Create Metadata Provider and Create Repository 
To create metadata provider click on tab metadata provider then click on New button and  give the metadata name then Save as shown below screenshot

 
After save metadata below screen will come, Now click on New button to create repositories as shown below

Give the repository name and select object format type :(”SAP IDOC,SAP BAPI, SAP Table/view) and save as shown below

After save the Repository below screen will come , now click on button “Import SAP metadata”

Select the below details from list as per your requirement then click on retrieve button as shown below

 
 
It will display all the object from sap which you have selected above, now you can search you object name here as shown below
5. Create the message type using Import SAP Metadata 
Select your object name from list and click on create message type .

Once you click on Create Message Type it will create message type in salesforce as shown below

Now use this message type in Interface .
6.Creating an inbound interface:
Provide the Name, sObject type, Description, Processing mode, Status, Metadata provider, Repository, Message type, adapter  as shown in the screenshots below

Save the interface once provide all the necessary details. Now again open the interface and assign inbound adapter as below

For inbound interface we have to do mapping, click on open mapping in interface and do mapping as shown below

 
7. Configuration SAP IDOC  in SALESFORCE 
IDOC Configuration in SALESFORCE using AGENT
Now Go to Integration details tab and then select AGENT Control Board

Select “AGENT SAP ERP” Destination created previously then click on SAP IDOC Configuration Tab as shown below.

 
Now select the interface you have created for IDOC and configure IDOC routing details as shown below


Now you can configure IDOC routing details as shown below


Once the IDOC assignment is done now you can go to sap create idoc and its send to salesforce  . we can see message in salesforce massage monitor
8. Send IDOC data on create & change
Once the IDOC assignment is done now you can go to sap create idoc and its send to salesforce  . we can see message in salesforce massage monitor

Share This Article :

  • Facebook
  • X
  • LinkedIn
View Categories
  • Home
  • Documentation
  • SAP/ERP | S4/HANA (Latest Version) Adapter
  • DESADV IDOC Sending from SAP -> SF

b. Using Agent

This unit describes:-
How to send IDOC data from SAP to salesforce Using Agent?

Introduction:- #

This document describe how to create an integration between SAP and salesforce using V3 adapter Using Agent .
When talking about inbound interface in this document the direction SAP to Salesforce  . Interface will be called from sap to Salesforce. The development of an interface involved steps to be done in Salesforce . This document does not describe the work at SAP-Backend e.g. developing business logic in SAP-Backend with ABAP.
SKYVVA integrations connect Salesforce to your backend systems(SAP), whether by referencing through a call, or replicating the data into Salesforce. While SKYVVA provides a rich suite of pre-built integrations for SAP->Salesforce  process integration, the SKYVVA Integration App gives you the ability to quickly and easily create your own integrations. The SAP integrations support S/4HANA in addition to SAP ECC, and we can also integrate with other systems via REST, SOAP, and OData web services.
Prerequisite

  • SKYVVA package installed at SAP side
  • SKYVVA package installed at Salesforce side
  • check the skyvva service active or not in SAP using Tcode SICF (For More Details See in Chapter (4.a))
  • Configure standard IDOC.

The development of an interface involved set of steps to be done in SAP and SALESFORCE

  1. Configuring the IDOC, port and partner Profile in SAP ( For More Details See in Chapter 5)
  2. Create the Integration
  3. Create SAP Connection Destination And Create Adapter (For More Details See in Chapter (4.b))
  4. Create Metadata Provider and Create Repository (For More Details See in Chapter 10)
  5. Create the message type using Import SAP Metadata ( For More Details See in Chapter 10)
  6. Creating an inbound interface:
  7. Configuration SAP IDOC  in SALESFORCE (For More Details See in Chapter 7)
  8. Send IDOC data on create & change

 

  1. Configuring the IDOC, port and partner Profile in SAP 

    Use #

To send the outbound IDocs, you must first define a port and a partner profile. All  interfaces can use the same port and the same partner profile.
In partner profile we define the system which are going to communicate between themselves and send data, here we give (SALESFORCE) as logical name which are going to be partners in data communication. We set it using WE20.
Port is a medium through which we send the data it connect one system with the system in other end its unique, depend on the scenario we use diff ports, according to our scenario we will have Port type (ABAP-PI) .we select the ports we set port using WE21. Without defining a port we can’t communicate with other system it’s the linker b/w the 2 system

Procedure #

For the port definition use (WE21), you can use the port type (ABAP-PI). processing in the SAP system is started with a synchronous RFC and the Function module Name will be /SKYVVA/IDOC2REST_ADAPTER_V3.
Below is the WE21 screenshots

 
2. Create the Integration
Goto the integration tab and Create the Integration in salesforce as below

3. Create SAP Connection Destination And Create Adapter 
a. Create Connection Destination
Go to Integration details tab and then select AGENT Control Board

Provide the details for connection details as shown below and click on continue button
Note : Always select Type: “AGENT SAP ERP”

Here we need to provide the agent connection details as below
Host Url: http://xxxx.com
Port: 16xxx
Username: xxxx
Password: ******
Provide the details of Agent as shown
Once we provide the details we need to ping the agent Connection. Then we can see the pop-up as below

Now we have to provide the salesforce details as shown below.
Consumer Key and Consumer Secret we can get from the connected App.

Click on Ping Connection of Salesforce to check if its connected successfully.

b. Create Adapter
To create adapter goto integration->agent control board then select adapter tab and click on new button and fill the details as
below.

Here we need to provide the sap details as below
Name      : Any meaning full name
Type      : Always “Agent SAP ERP” for agent
Host Url  : http://xxxx.com
Direction : Inbound/outbound
Port      : 16xxx (sap port)
Username  : xxxx(sap user id)
Password  : ******(sap user id pass)
Authentication  : always (basic)
SAPID     : ID7 (Sap system id )
Client    : (sap client )
Is Https  : select if using
Object format : Idoc, BAPI, Table
Logical name  : any unique name
Connection destination : select one create for agent

 
Click on ping connection for test adapter is working or not
4. Create Metadata Provider and Create Repository 
To create metadata provider click on tab metadata provider then click on New button and  give the metadata name then Save as shown below screenshot

 
After save metadata below screen will come, Now click on New button to create repositories as shown below

Give the repository name and select object format type :(”SAP IDOC,SAP BAPI, SAP Table/view) and save as shown below

After save the Repository below screen will come , now click on button “Import SAP metadata”

Select the below details from list as per your requirement then click on retrieve button as shown below

 
 
It will display all the object from sap which you have selected above, now you can search you object name here as shown below
5. Create the message type using Import SAP Metadata 
Select your object name from list and click on create message type .

Once you click on Create Message Type it will create message type in salesforce as shown below

Now use this message type in Interface .
6.Creating an inbound interface:
Provide the Name, sObject type, Description, Processing mode, Status, Metadata provider, Repository, Message type, adapter  as shown in the screenshots below

Save the interface once provide all the necessary details. Now again open the interface and assign inbound adapter as below

For inbound interface we have to do mapping, click on open mapping in interface and do mapping as shown below

 
7. Configuration SAP IDOC  in SALESFORCE 
IDOC Configuration in SALESFORCE using AGENT
Now Go to Integration details tab and then select AGENT Control Board

Select “AGENT SAP ERP” Destination created previously then click on SAP IDOC Configuration Tab as shown below.

 
Now select the interface you have created for IDOC and configure IDOC routing details as shown below


Now you can configure IDOC routing details as shown below


Once the IDOC assignment is done now you can go to sap create idoc and its send to salesforce  . we can see message in salesforce massage monitor
8. Send IDOC data on create & change
Once the IDOC assignment is done now you can go to sap create idoc and its send to salesforce  . we can see message in salesforce massage monitor

Share This Article :

  • Facebook
  • X
  • LinkedIn
View Categories
  • Home
  • Documentation
  • SAP/ERP | S4/HANA (Latest Version) Adapter
  • DEBMAS IDOC Sending from SAP -> SF

b. Using Agent

This unit describes:-
How to send IDOC data from SAP to salesforce Using Agent?

Introduction:- #

This document describe how to create an integration between SAP and salesforce using V3 adapter Using Agent .
When talking about inbound interface in this document the direction SAP to Salesforce  . Interface will be called from sap to Salesforce. The development of an interface involved steps to be done in Salesforce . This document does not describe the work at SAP-Backend e.g. developing business logic in SAP-Backend with ABAP.
SKYVVA integrations connect Salesforce to your backend systems(SAP), whether by referencing through a call, or replicating the data into Salesforce. While SKYVVA provides a rich suite of pre-built integrations for SAP->Salesforce  process integration, the SKYVVA Integration App gives you the ability to quickly and easily create your own integrations. The SAP integrations support S/4HANA in addition to SAP ECC, and we can also integrate with other systems via REST, SOAP, and OData web services.
Prerequisite

  • SKYVVA package installed at SAP side
  • SKYVVA package installed at Salesforce side
  • check the skyvva service active or not in SAP using Tcode SICF (For More Details See in Chapter (4.a))
  • Configure standard IDOC.

The development of an interface involved set of steps to be done in SAP and SALESFORCE

  1. Configuring the IDOC, port and partner Profile in SAP ( For More Details See in Chapter 5)
  2. Create the Integration
  3. Create SAP Connection Destination And Create Adapter (For More Details See in Chapter (4.b))
  4. Create Metadata Provider and Create Repository (For More Details See in Chapter 10)
  5. Create the message type using Import SAP Metadata ( For More Details See in Chapter 10)
  6. Creating an inbound interface:
  7. Configuration SAP IDOC  in SALESFORCE (For More Details See in Chapter 7)
  8. Send IDOC data on create & change

 

  1. Configuring the IDOC, port and partner Profile in SAP 

    Use #

To send the outbound IDocs, you must first define a port and a partner profile. All  interfaces can use the same port and the same partner profile.
In partner profile we define the system which are going to communicate between themselves and send data, here we give (SALESFORCE) as logical name which are going to be partners in data communication. We set it using WE20.
Port is a medium through which we send the data it connect one system with the system in other end its unique, depend on the scenario we use diff ports, according to our scenario we will have Port type (ABAP-PI) .we select the ports we set port using WE21. Without defining a port we can’t communicate with other system it’s the linker b/w the 2 system

Procedure #

For the port definition use (WE21), you can use the port type (ABAP-PI). processing in the SAP system is started with a synchronous RFC and the Function module Name will be /SKYVVA/IDOC2REST_ADAPTER_V3.
Below is the WE21 screenshots

 
2. Create the Integration
Goto the integration tab and Create the Integration in salesforce as below

3. Create SAP Connection Destination And Create Adapter 
a. Create Connection Destination
Go to Integration details tab and then select AGENT Control Board

Provide the details for connection details as shown below and click on continue button
Note : Always select Type: “AGENT SAP ERP”

Here we need to provide the agent connection details as below
Host Url: http://xxxx.com
Port: 16xxx
Username: xxxx
Password: ******
Provide the details of Agent as shown
Once we provide the details we need to ping the agent Connection. Then we can see the pop-up as below

Now we have to provide the salesforce details as shown below.
Consumer Key and Consumer Secret we can get from the connected App.

Click on Ping Connection of Salesforce to check if its connected successfully.

b. Create Adapter
To create adapter goto integration->agent control board then select adapter tab and click on new button and fill the details as
below.

Here we need to provide the sap details as below
Name      : Any meaning full name
Type      : Always “Agent SAP ERP” for agent
Host Url  : http://xxxx.com
Direction : Inbound/outbound
Port      : 16xxx (sap port)
Username  : xxxx(sap user id)
Password  : ******(sap user id pass)
Authentication  : always (basic)
SAPID     : ID7 (Sap system id )
Client    : (sap client )
Is Https  : select if using
Object format : Idoc, BAPI, Table
Logical name  : any unique name
Connection destination : select one create for agent

 
Click on ping connection for test adapter is working or not
4. Create Metadata Provider and Create Repository 
To create metadata provider click on tab metadata provider then click on New button and  give the metadata name then Save as shown below screenshot

 
After save metadata below screen will come, Now click on New button to create repositories as shown below

Give the repository name and select object format type :(”SAP IDOC,SAP BAPI, SAP Table/view) and save as shown below

After save the Repository below screen will come , now click on button “Import SAP metadata”

Select the below details from list as per your requirement then click on retrieve button as shown below

 
 
It will display all the object from sap which you have selected above, now you can search you object name here as shown below
5. Create the message type using Import SAP Metadata 
Select your object name from list and click on create message type .

Once you click on Create Message Type it will create message type in salesforce as shown below

Now use this message type in Interface .
6.Creating an inbound interface:
Provide the Name, sObject type, Description, Processing mode, Status, Metadata provider, Repository, Message type, adapter  as shown in the screenshots below

Save the interface once provide all the necessary details. Now again open the interface and assign inbound adapter as below

For inbound interface we have to do mapping, click on open mapping in interface and do mapping as shown below

 
7. Configuration SAP IDOC  in SALESFORCE 
IDOC Configuration in SALESFORCE using AGENT
Now Go to Integration details tab and then select AGENT Control Board

Select “AGENT SAP ERP” Destination created previously then click on SAP IDOC Configuration Tab as shown below.

 
Now select the interface you have created for IDOC and configure IDOC routing details as shown below


Now you can configure IDOC routing details as shown below


Once the IDOC assignment is done now you can go to sap create idoc and its send to salesforce  . we can see message in salesforce massage monitor
8. Send IDOC data on create & change
Once the IDOC assignment is done now you can go to sap create idoc and its send to salesforce  . we can see message in salesforce massage monitor

Share This Article :

  • Facebook
  • X
  • LinkedIn
View Categories
  • Home
  • Documentation
  • SAP/ERP | S4/HANA (Latest Version) Adapter
  • ORDRSP IDOC Sending from SAP -> SF

b. Using Agent

This unit describes:-
How to send IDOC data from SAP to salesforce Using Agent?

Introduction:- #

This document describe how to create an integration between SAP and salesforce using V3 adapter Using Agent .
When talking about inbound interface in this document the direction SAP to Salesforce  . Interface will be called from sap to Salesforce. The development of an interface involved steps to be done in Salesforce . This document does not describe the work at SAP-Backend e.g. developing business logic in SAP-Backend with ABAP.
SKYVVA integrations connect Salesforce to your backend systems(SAP), whether by referencing through a call, or replicating the data into Salesforce. While SKYVVA provides a rich suite of pre-built integrations for SAP->Salesforce  process integration, the SKYVVA Integration App gives you the ability to quickly and easily create your own integrations. The SAP integrations support S/4HANA in addition to SAP ECC, and we can also integrate with other systems via REST, SOAP, and OData web services.
Prerequisite

  • SKYVVA package installed at SAP side
  • SKYVVA package installed at Salesforce side
  • check the skyvva service active or not in SAP using Tcode SICF (For More Details See in Chapter (4.a))
  • Configure standard IDOC.

The development of an interface involved set of steps to be done in SAP and SALESFORCE

  1. Configuring the IDOC, port and partner Profile in SAP ( For More Details See in Chapter 5)
  2. Create the Integration
  3. Create SAP Connection Destination And Create Adapter (For More Details See in Chapter (4.b))
  4. Create Metadata Provider and Create Repository (For More Details See in Chapter 10)
  5. Create the message type using Import SAP Metadata ( For More Details See in Chapter 10)
  6. Creating an inbound interface:
  7. Configuration SAP IDOC  in SALESFORCE (For More Details See in Chapter 7)
  8. Send IDOC data on create & change

 

  1. Configuring the IDOC, port and partner Profile in SAP 

    Use #

To send the outbound IDocs, you must first define a port and a partner profile. All  interfaces can use the same port and the same partner profile.
In partner profile we define the system which are going to communicate between themselves and send data, here we give (SALESFORCE) as logical name which are going to be partners in data communication. We set it using WE20.
Port is a medium through which we send the data it connect one system with the system in other end its unique, depend on the scenario we use diff ports, according to our scenario we will have Port type (ABAP-PI) .we select the ports we set port using WE21. Without defining a port we can’t communicate with other system it’s the linker b/w the 2 system

Procedure #

For the port definition use (WE21), you can use the port type (ABAP-PI). processing in the SAP system is started with a synchronous RFC and the Function module Name will be /SKYVVA/IDOC2REST_ADAPTER_V3.
Below is the WE21 screenshots

 
2. Create the Integration
Goto the integration tab and Create the Integration in salesforce as below

3. Create SAP Connection Destination And Create Adapter 
a. Create Connection Destination
Go to Integration details tab and then select AGENT Control Board

Provide the details for connection details as shown below and click on continue button
Note : Always select Type: “AGENT SAP ERP”

Here we need to provide the agent connection details as below
Host Url: http://xxxx.com
Port: 16xxx
Username: xxxx
Password: ******
Provide the details of Agent as shown
Once we provide the details we need to ping the agent Connection. Then we can see the pop-up as below

Now we have to provide the salesforce details as shown below.
Consumer Key and Consumer Secret we can get from the connected App.

Click on Ping Connection of Salesforce to check if its connected successfully.

b. Create Adapter
To create adapter goto integration->agent control board then select adapter tab and click on new button and fill the details as
below.

Here we need to provide the sap details as below
Name      : Any meaning full name
Type      : Always “Agent SAP ERP” for agent
Host Url  : http://xxxx.com
Direction : Inbound/outbound
Port      : 16xxx (sap port)
Username  : xxxx(sap user id)
Password  : ******(sap user id pass)
Authentication  : always (basic)
SAPID     : ID7 (Sap system id )
Client    : (sap client )
Is Https  : select if using
Object format : Idoc, BAPI, Table
Logical name  : any unique name
Connection destination : select one create for agent

 
Click on ping connection for test adapter is working or not
4. Create Metadata Provider and Create Repository 
To create metadata provider click on tab metadata provider then click on New button and  give the metadata name then Save as shown below screenshot

 
After save metadata below screen will come, Now click on New button to create repositories as shown below

Give the repository name and select object format type :(”SAP IDOC,SAP BAPI, SAP Table/view) and save as shown below

After save the Repository below screen will come , now click on button “Import SAP metadata”

Select the below details from list as per your requirement then click on retrieve button as shown below

 
 
It will display all the object from sap which you have selected above, now you can search you object name here as shown below
5. Create the message type using Import SAP Metadata 
Select your object name from list and click on create message type .

Once you click on Create Message Type it will create message type in salesforce as shown below

Now use this message type in Interface .
6.Creating an inbound interface:
Provide the Name, sObject type, Description, Processing mode, Status, Metadata provider, Repository, Message type, adapter  as shown in the screenshots below

Save the interface once provide all the necessary details. Now again open the interface and assign inbound adapter as below

For inbound interface we have to do mapping, click on open mapping in interface and do mapping as shown below

 
7. Configuration SAP IDOC  in SALESFORCE 
IDOC Configuration in SALESFORCE using AGENT
Now Go to Integration details tab and then select AGENT Control Board

Select “AGENT SAP ERP” Destination created previously then click on SAP IDOC Configuration Tab as shown below.

 
Now select the interface you have created for IDOC and configure IDOC routing details as shown below


Now you can configure IDOC routing details as shown below


Once the IDOC assignment is done now you can go to sap create idoc and its send to salesforce  . we can see message in salesforce massage monitor
8. Send IDOC data on create & change
Once the IDOC assignment is done now you can go to sap create idoc and its send to salesforce  . we can see message in salesforce massage monitor

Share This Article :

  • Facebook
  • X
  • LinkedIn
View Categories
  • Home
  • Documentation
  • SAP/ERP | S4/HANA (Latest Version) Adapter
  • How to develop inbound interface using FM/RFC/Report with the multi-itab adapter synchronously?

b. Using AGENT

This unit describes:-
How to send sap data to salesforce through Agent  (In synchronous mode) using Multitab

Introduction:- #

This document describes how data can be transferred to SFDC within your own Programs. The MultiItabAdapter allows you to transfer data of different RFC/BAPI or Structures(DDIC), which you have filled before in your own FM/Report, within one SKYVVA FM Call. The routing to the different Salesforce Objects is implemented with workflow in Skyvva-IntegrationSuite on SFDC.
When talking about inbound interface in this document the direction SAP to Salesforce  . Interface will be called from sap to Salesforce. The development of an interface involved steps to be done in Salesforce . This document does not describe the work at SAP-Backend e.g. developing business logic in SAP-Backend with ABAP.
SKYVVA integrations connect Salesforce to your backend systems(SAP), whether by referencing through a call, or replicating the data into Salesforce. While SKYVVA provides a rich suite of pre-built integrations for SAP->Salesforce  process integration, the SKYVVA Integration App gives you the ability to quickly and easily create your own integrations. The SAP integrations support S/4HANA in addition to SAP ECC, and we can also integrate with other systems via REST, SOAP, and OData web services.
Prerequisite

  • SKYVVA package installed at SAP side
  • SKYVVA package installed at Salesforce side
  • check the skyvva service active or not in SAP using Tcode SICF (For More Details See in Chapter (4.a))
  • Develop function module with importing and exporting parameter.

The development of an interface involved set of steps to be done in SAP and SALESFORCE

  1. Develop function module with importing and exporting parameter. ( For More Details See in Chapter 8)
  2. Create the Integration
  3. Create SAP Connection Destination And Create Adapter (For More Details See in Chapter (4.b))
  4. Create Metadata Provider and Create Repository (For More Details See in Chapter 10)
  5. Create the message type using Import SAP Metadata ( For More Details See in Chapter 10)
  6. Creating an inbound interface
  7. Send SAP data using FM/Report

 
1. Develop function module with importing and exporting parameter.
  1. SAP Implementation Part
  1.1 Prerequisites
Please use repository based typing instead of program-internal types for the RFC/BAPI definition and Structure definition (DDIC). Otherwise the Adapter will have problems at runtime.
1.2 Implement a sender module for the transfer of Internal Tables (ITAB)
In this example a SenderModule : ZV3_MULTI_ITAB_DEMO has been implemented .
This Module is also used in salesforce for metadata provider in salesforce to create message type in salesforce on the Interface-definition of this module.

in the importing Parameter “IM_DEBITOR_NO” has data need to send  salesforce and the exporting parameter “EX_DEBITOR_DETAILS” has field or structure coming data back from salesforce in that format.

Here you can see an example for call skyvva interface in a synchronous mode and process the response. #


The importing Parameters
1. im_integration is the mandatory parameter in which we pass salesforce integration Id
2. im_iinterface is the mandatory parameter in which we pass salesforce interface Id.
3. im_endpoint is the mandatory parameter in which we pass salesforce endpoint name in endpoint we have maintain salesforce login details .
4. im_resp_param_name is the optional parameter in which we pass response param name which is exporting parameter of skyvva calling FM (Multi-tab).
5. im_req_param_name is the mandatory parameter in which we pass request param name which is importing parameter of skyvva calling FM .
6. im_req_data is the mandatory parameter in which we pass request data internal table which is importing parameter of skyvva calling FM
The Exporting Parameter
1. EX_RETURN is the parameter which return error/success message .
2. IM_SF_RESPONSE is the parameter which return the response from salesforce which is the exporting parameter of calling skyvva FM.
Example Code :
“Selecting function config data for multi-tab
SELECT SINGLE * FROM /skyvva/multitab INTO @DATA(ls_func_config)
WHERE funcname = ‘ZV3_MULTI_ITAB_DEMO’.
“calling skyvva multi-tab function module to send data to salesforce
CALL FUNCTION ‘/SKYVVA/MULTI_ITAB_ADAPTER_V3’
EXPORTING
im_integration_id            = ls_func_config–integrationid  ” Salesforce integration id
im_iinterface_id             = ls_func_config–interfaceid    ” Salesforce interface id
im_endpoint                  = ls_func_config–endpointid     ” Salesforce connection name
im_resp_structure_param_name = ‘ZTT_KNA1’  ” Reponse(exporting)parameter table type
im_req_structure_param_name  = ‘ZTT_KUNNR’ ” Request(importing) parameter table type
it_req_data                  = im_debitor_no ” bussinus data need to send to salesforce
IMPORTING
ex_sf_response_data          = ex_debitor_details. “Data retriving from salesforce
Remark: the importing/exporting structure must be used in salesforce as message type.
For call skyvva interface in a Asynchronous mode do not pass the response parameter “im_req_param_name” and exporting response parameter “IM_SF_RESPONSE” in skyvva Multi-tab FM.
2. Create the Integration
Goto the integration tab and Create the Integration in salesforce as below

3. Create SAP Connection Destination And Create Adapter 
Once you have save the integration below screen will display, Here we are selecting AGENT Control Board.
a. Create Connection Destination
Go to Integration details tab and then select AGENT Control Board

Provide the details for connection details as shown below and click on continue button
Note : Always select Type: “AGENT SAP ERP”

Here we need to provide the agent connection details as below
Host Url: http://xxxx.com
Port: 16xxx
Username: xxxx
Password: ******
Provide the details of Agent as shown
Once we provide the details we need to ping the agent Connection. Then we can see the pop-up as below

Now we have to provide the salesforce details as shown below.
Consumer Key and Consumer Secret we can get from the connected App.

Click on Ping Connection of Salesforce to check if its connected successfully.

b. Create Adapter
To create adapter goto integration->agent control board then select adapter tab and click on new button and fill the details as
below.

Here we need to provide the sap details as below
Name      : Any meaning full name
Type      : Always “Agent SAP ERP” for agent
Host Url  : http://xxxx.com
Direction : Inbound/outbound
Port      : 16xxx (sap port)
Username  : xxxx(sap user id)
Password  : ******(sap user id pass)
Authentication  : always (basic)
SAPID     : ID7 (Sap system id )
Client    : (sap client )
Is Https  : select if using
Object format : Idoc, BAPI, Table
Logical name  : any unique name
Connection destination : select one create for agent

 
 
 
 
 
Click on ping connection for test adapter is working or not
********
 
Click on ping connection for test adapter is working or not then save the adapter
4. Create Metadata Provider and Create Repository 
To create metadata provider click on tab metadata provider then click on New button and  give the metadata name then Save as shown below screenshot

 
After save metadata below screen will come, Now click on New button to create repositories as shown below

Give the repository name and select object format type :(”SAP IDOC,SAP BAPI, SAP Table/view) and save as shown below

After save the Repository below screen will come , now click on button “Import SAP metadata”

Select the below details from list as per your requirement then click on retrieve button as shown below
 

It will display all the object from sap which you have selected above, now you can search you object name here as shown below
5. Create the message type using Import SAP Metadata 
Select your object name from list and click on create message type .

 
Once you click on Create Message Type it will create message type in salesforce as shown below
 

Now use this message type in Interface .
6.Creating an inbound interface:
Provide the Name, sObject type, Description, Processing mode, Status, Metadata provider, Repository, Message type, adapter  as shown in the screenshots below

 
Save the interface once provide all the necessary details. Now again open the interface and assign inbound adapter as below

For inbound interface we have to do mapping, click on open mapping in interface and do mapping as shown below

Save the interface once provide all the necessary details.
7. Send SAP data using FM/Report
 
Once the save the interface, now you can go to sap  and run/call the custom function module/report in order to send sap data into salesforce.
In our case we are using below function module to send data in synchronous mode.

 
 
 
We can also see the message in salesforce side in message monitor

Share This Article :

  • Facebook
  • X
  • LinkedIn
a. Direct SAP to SALESFORCE13. How to develop inbound interface using FM/RFC/Report with the multi-itab adapter synchronously?
Table of Contents
  • Introduction:-
  •     Use
  • Procedure

Copyright © 2026 | Apsara Consulting GmbH | All rights reserved

  • Imprint
  • Zurück zur Apsara Webseite
  • Back to Apsara website