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
  • 5. SAP to Salesforce (Using AGENT Control Board)

5.1 How to send data using IDoc?

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
5.6 How to use Salesforce Bulk mode?5.2 How to send data using BAPI, FM?
Table of Contents
  • Introduction:-
  •     Use
  • Procedure

Copyright © 2026 | Apsara Consulting GmbH | All rights reserved

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