---
title: Data integration with Salesforce and SAP PI/PO using Outbound Messaging.
description: One of the challenges for any Salesforce and SAP PI/PO integration project is getting data from Salesforce back to SAP in reliable and secured way. Salesforce provides different ways like Streaming API, Queries using SOAP API or APEX ca...
image: https://resources.advantco.com/hubfs/Imported_Blog_Media/pic6_675540.jpg
---

# Data integration with Salesforce and SAP PI/PO using Outbound Messaging.

[ Peter Ha ](https://resources.advantco.com/knowledge-base/author/peter-ha)  Apr 1, 2016 8:30:00 AM

**Introduction: **

One of the challenges for any Salesforce and SAP PI/PO integration project is getting data from Salesforce back to SAP in reliable and secured way. Salesforce provides different ways like Streaming API, Queries using SOAP API or APEX callouts. This blog covers one specific option: Outbound Messaging.

**Outbound Messaging: **

Using Outbound messaging, you can define fields within Salesforce for which a notification will be sent to SAP PI/PO when values of these fields are changed. Outbound messaging is part of a workflow rule defined in Salesforce for a specific object.

One important feature of Outboundmessaging is that it guarantees delivery of messages that are not older than 24 hrs. This means that if for some reasons the PI/PO system is temporal inaccessible, Salesforce will retry to deliver the data at later time. However, keep in mind that the data may be out of order when arriving to the PI/PO system.

**Example of Outbound Messaging: **

We will use the Opportunity object as an example on how to setup Outbound messaging on Salesforce side and how to use the Advantco SFDC adapter to listen for messages from Salesforce.

1. Salesforce – Create a new workflow rule

![Data integration with Salesforce and SAP PI/PO using Outbound Messaging.](https://resources.advantco.com/hubfs/Imported_Blog_Media/pic1_675502.jpg)

2. Salesforce – Define a new Outbound message

Create a new Workflow rule for the Opportunity object.

![Data integration with Salesforce and SAP PI/PO using Outbound Messaging.](https://resources.advantco.com/hubfs/Imported_Blog_Media/pic2_675527.jpg)

Create an outbound message and assign it to the workflow rule.

![Data integration with Salesforce and SAP PI/PO using Outbound Messaging.](https://resources.advantco.com/hubfs/Imported_Blog_Media/pic3_675528.jpg)

Workflow with Outbound message action activated.

![Data integration with Salesforce and SAP PI/PO using Outbound Messaging.](https://resources.advantco.com/hubfs/Imported_Blog_Media/pic4_675529.jpg)

3. Salesforce – Download WSDL

![Data integration with Salesforce and SAP PI/PO using Outbound Messaging.](https://resources.advantco.com/hubfs/Imported_Blog_Media/pic5_675539.jpg)

4. SAP PI/PO – Import WSDL and generate the PI/PO OBM Web service deployment file.

![Data integration with Salesforce and SAP PI/PO using Outbound Messaging.](https://resources.advantco.com/hubfs/Imported_Blog_Media/pic6_675540.jpg)

A web service deployment file is created based the Salesforce Outbound message WSDL file.

![Data integration with Salesforce and SAP PI/PO using Outbound Messaging.](https://resources.advantco.com/hubfs/Imported_Blog_Media/pic7_675541.jpg)

5. SAP PI/PO – Deploy and Configure OBM Web service

Deploy and configure the Web service object to listen for incoming notifications from Salesforce.

![Data integration with Salesforce and SAP PI/PO using Outbound Messaging.](https://resources.advantco.com/hubfs/Imported_Blog_Media/pic17_676158.jpg)

6. SAP PI/PO – Import WSDL into ESR to generate message structure

Import the Outbound message WSDL from Salesforce into the ESR to define the source message structure.

![Data integration with Salesforce and SAP PI/PO using Outbound Messaging.](https://resources.advantco.com/hubfs/Imported_Blog_Media/pic9_675546.jpg)

7. SAP PI/PO – Create sender SFDC channel and create OBM mapping

Create new sender SFDC channel of type Salesforce OBM.

![Data integration with Salesforce and SAP PI/PO using Outbound Messaging.](https://resources.advantco.com/hubfs/Imported_Blog_Media/pic10_675547.jpg)

Mapping object Opportunity to the sender OBM channel.

![Data integration with Salesforce and SAP PI/PO using Outbound Messaging.](https://resources.advantco.com/hubfs/Imported_Blog_Media/pic8_675567.jpg)

8. SAP PI/PO – Complete Configuration Scenario

![Data integration with Salesforce and SAP PI/PO using Outbound Messaging.](https://resources.advantco.com/hubfs/Imported_Blog_Media/pic11_675554.jpg)

9. Salesforce – Update Outbound message endpoint

Copy the endpoint of the Web service OpportunityNotificationPort.

![Data integration with Salesforce and SAP PI/PO using Outbound Messaging.](https://resources.advantco.com/hubfs/Imported_Blog_Media/pic12_676116.jpg)

Goto the Outbound Message screen and update the endpoint with the correct endpoint from the PI system.

![Data integration with Salesforce and SAP PI/PO using Outbound Messaging.](https://resources.advantco.com/hubfs/Imported_Blog_Media/pic13_676117.jpg)

10. Salesforce – Test Opportunity update

Create a new Opportunity object to trigger an outbound message.

![Data integration with Salesforce and SAP PI/PO using Outbound Messaging.](https://resources.advantco.com/hubfs/Imported_Blog_Media/pic14_676159.jpg)

11. SAP PI/PO – Check incoming message from Salesforce.

Channel monitor: new message coming into the OBM sender channel

![Data integration with Salesforce and SAP PI/PO using Outbound Messaging.](https://resources.advantco.com/hubfs/Imported_Blog_Media/pic15_676157.jpg)

Payload of the Outbound message as received by PI.

![Data integration with Salesforce and SAP PI/PO using Outbound Messaging.](https://resources.advantco.com/hubfs/Imported_Blog_Media/pic16_676156.jpg)

**Summary:**

Outbound Messaging is a very powerful feature to get almost real-time information from Salesforce to SAP. The Advantco SFDC adapter supports this method of data replication with minimal configuration efforts and without the need to implement specific JAVA codes.

 

[https://store.sap.com/sap/cpa/ui/resources/store/html/SolutionDetails.html?pid=0000013830&catID=&pcntry=US&sap-language=EN&_cp_id=id-1428076572209-0](https://store.sap.com/sap/cpa/ui/resources/store/html/SolutionDetails.html?pid=0000013830&catID=&pcntry=US&sap-language=EN&_cp_id=id-1428076572209-0)

 

 

Please reach out to our sales team at [sales@advantco.com](mailto:sales@advantco.com) if you have any questions.

[Salesforce](https://resources.advantco.com/knowledge-base/tag/salesforce), [Salesforce-PO-CPI](https://resources.advantco.com/knowledge-base/tag/salesforce-po-cpi)

## Read On

[![SFDC Adapter for SAP CPI](https://resources.advantco.com/hs-fs/hubfs/Imported_Blog_Media/Sap-Endorsed-App-Aug-04-2021-02-44-42-76-PM.png?width=352&name=Sap-Endorsed-App-Aug-04-2021-02-44-42-76-PM.png) ](https://resources.advantco.com/knowledge-base/product/adapter/sfdc-hci)

### [SFDC Adapter for SAP CPI](https://resources.advantco.com/knowledge-base/product/adapter/sfdc-hci)

In a competitive landscape, businesses need an edge that will help them succeed. Integrating...

[![](https://resources.advantco.com/hs-fs/hubfs/TOP%205%20Advantages%20of%20Salesforce%20and%20SAP%20Integration.png?width=352&name=TOP%205%20Advantages%20of%20Salesforce%20and%20SAP%20Integration.png) ](https://resources.advantco.com/knowledge-base/10-reasons-to-choose-the-advantco-salesforce-adapter-for-sap-integration-suite)

### [10 Reasons to Choose the Advantco Salesforce Adapter for SAP Integration Suite](https://resources.advantco.com/knowledge-base/10-reasons-to-choose-the-advantco-salesforce-adapter-for-sap-integration-suite)

[![](https://resources.advantco.com/hs-fs/hubfs/TOP%205%20Advantages%20of%20Salesforce%20and%20SAP%20Integration.png?width=352&name=TOP%205%20Advantages%20of%20Salesforce%20and%20SAP%20Integration.png) ](https://resources.advantco.com/knowledge-base/the-top-5-advantages-of-sap-and-salesforce-integration)

### [The Top 5 Advantages of SAP and Salesforce Integration.](https://resources.advantco.com/knowledge-base/the-top-5-advantages-of-sap-and-salesforce-integration)

The primary advantage of integrating SAP and Salesforce is that it centralizes all of the critical...

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Peter Ha",
    "url" : "https://resources.advantco.com/knowledge-base/author/peter-ha"
  },
  "dateModified" : "2022-05-02T19:18:56.572Z",
  "datePublished" : "2016-04-01T12:30:00.000Z",
  "headline" : "Data integration with Salesforce and SAP PI/PO using Outbound Messaging. ",
  "image" : [ "https://resources.advantco.com/hubfs/Imported_Blog_Media/pic6_675540.jpg" ],
  "mainEntityOfPage" : {
    "@id" : "https://resources.advantco.com/knowledge-base/content/data-integration-with-salesforce-and-sap-pipo-using-outbound-messaging",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://resources.advantco.com/hubfs/Advantco%20logo%20AAC%20V1%20Ai%20file%201.png"
    },
    "name" : "Advantco International"
  }
}
```

```json
{
  "@context" : "https://schema.org",
  "@type" : "NewsArticle",
  "author" : [ {
    "@type" : "Person",
    "name" : "Peter Ha",
    "url" : "https://resources.advantco.com/knowledge-base/author/peter-ha"
  } ],
  "dateModified" : "2022-05-02T19:18:56",
  "datePublished" : "2016-04-01T12:30:00",
  "headline" : "Data integration with Salesforce and SAP PI/PO using Outbound Messaging. ",
  "image" : [ "https://f.hubspotusercontent20.net/hubfs/6260070/Imported_Blog_Media/pic6_675540.jpg" ]
}
```

```json
{
  "@context" : "http://schema.org",
  "@type" : "Organization",
  "address" : {
    "@type" : "PostalAddress",
    "addressCountry" : "United States",
    "addressLocality" : "Charlotte",
    "addressRegion" : "NC",
    "postalCode" : "28203",
    "streetAddress" : "1235 East Blvd, Suite E #382 "
  },
  "alternateName" : "advantco",
  "areaServed" : {
    "@type" : "GeoCircle",
    "geoMidpoint" : {
      "@type" : "GeoCoordinates",
      "latitude" : "40.75996223497667",
      "longitude" : "-73.98761007334504"
    },
    "geoRadius" : "150 km"
  },
  "description" : "Feature rich Advantco adapters integrates SAP &amp; Oracle system with top enterprise platforms like Kafka, Salesforce, Azure, and more.",
  "email" : "webadmin@advantco.com",
  "image" : "https://www.advantco.com/hs-fs/hubfs/unnamed%20(2).webp?width=450&height=60&name=unnamed%20(2).webp",
  "logo" : "https://6260070.fs1.hubspotusercontent-na1.net/hubfs/6260070/Advantco%20logo%20AAC%20V1%20Ai%20file%201.png",
  "mainEntityOfPage" : {
    "@id" : "https://resources.advantco.com/knowledge-base/content/data-integration-with-salesforce-and-sap-pipo-using-outbound-messaging",
    "@type" : "WebPage",
    "description" : "One of the challenges for any Salesforce and SAP PI/PO integration project is getting data from Salesforce back to SAP in reliable and secured way. Salesforce provides different ways like Streaming API, Queries using SOAP API or APEX ca..."
  },
  "naics" : "513210",
  "name" : "Advantco International",
  "sameAs" : [ "https://www.linkedin.com/company/advantco-international-llc" ],
  "telephone" : "",
  "url" : "https://www.advantco.com/"
}
```

```json
{
  "@context" : "https://schema.org",
  "@type" : "WebPage",
  "about" : [ {
    "@id" : "https://resources.advantco.com/knowledge-base/content/advantco-pre-packaged-content-solution",
    "@type" : "WebPage"
  }, {
    "@id" : "https://www.advantco.com/sap-hana-sdi-integration-adapters/sap-hana-sdi-salesforce-integration",
    "@type" : "WebPage"
  }, {
    "@id" : "https://resources.advantco.com/knowledge-base/salesforce-integration-common-requirements-and-use-cases",
    "@type" : "WebPage"
  }, {
    "@id" : "https://resources.advantco.com/knowledge-base/the-top-5-advantages-of-sap-and-salesforce-integration",
    "@type" : "WebPage"
  }, {
    "@id" : "https://www.advantco.com/sap-integration-adapters/sap-salesforce-integration",
    "@type" : "WebPage"
  } ],
  "mainEntity" : {
    "@type" : "WebPage"
  },
  "url" : "https://www.advantco.com/sap-integration-adapters/sap-salesforce-integration"
}
```

```json
{
  "@context" : "https://schema.org",
  "@type" : "WebPage",
  "about" : [ {
    "@id" : "https://resources.advantco.com/knowledge-base/receiving-events-from-dynamics-365-crm-using-webhooks",
    "@type" : "WebPage"
  }, {
    "@id" : "https://resources.advantco.com/knowledge-base/content/microsoft-dynamics-crm-adapter-for-sap-process-orchestration-and-sap-integration-suite-now-available-on-sap-store",
    "@type" : "WebPage"
  }, {
    "@id" : "https://resources.advantco.com/knowledge-base/content/adapters-for-sap-hci-integration-with-ms-dynamics-crm-and-rabbitmq",
    "@type" : "WebPage"
  }, {
    "@id" : "https://resources.advantco.com/knowledge-base/content/sap-cloud-platform-integration-enhancing-the-third-party-application-connectivity-with-new-offerings",
    "@type" : "WebPage"
  } ],
  "mainEntity" : {
    "@type" : "WebPage"
  },
  "url" : "https://www.advantco.com/sap-integration-adapters/sap-microsoft-dynamics-integration"
}
```

```json
{
  "@context" : "https://schema.org",
  "@type" : "WebPage",
  "about" : [ {
    "@id" : "https://resources.advantco.com/knowledge-base/content/sap-cloud-platform-integration-enhancing-the-third-party-application-connectivity-with-new-offerings",
    "@type" : "WebPage"
  }, {
    "@id" : "https://resources.advantco.com/knowledge-base/content/using-advantco-aws-adapter-to-integrate-sap-and-aws-business-environments",
    "@type" : "WebPage"
  }, {
    "@id" : "https://resources.advantco.com/knowledge-base/content/integrating-sap-and-aws-business-environments-with-the-advantco-aws-adapter",
    "@type" : "WebPage"
  }, {
    "@id" : "https://resources.advantco.com/knowledge-base/product/adapter/aws",
    "@type" : "WebPage"
  } ],
  "mainEntity" : {
    "@type" : "WebPage"
  },
  "url" : "https://www.advantco.com/sap-integration-adapters/sap-aws-integration"
}
```

```json
{
  "@context" : "https://schema.org",
  "@type" : "WebPage",
  "about" : [ {
    "@id" : "https://resources.advantco.com/knowledge-base/content/google-cloud-platform-adapter-from-advantco-international-now-available-on-sap-store",
    "@type" : "WebPage"
  }, {
    "@id" : "https://resources.advantco.com/knowledge-base/product/adapter/google-cloud-platform-adapter-for-sap-cpi",
    "@type" : "WebPage"
  }, {
    "@id" : "https://resources.advantco.com/knowledge-base/content/advantco-google-cloud-platform-adapter-integrating-sap-with-gcp",
    "@type" : "WebPage"
  }, {
    "@id" : "https://resources.advantco.com/knowledge-base/content/advantco-google-cloud-platform-adapter-integrating-sap-with-gcp",
    "@type" : "WebPage"
  } ],
  "mainEntity" : {
    "@type" : "WebPage"
  },
  "url" : "https://www.advantco.com/sap-integration-adapters/sap-google-cloud-integration"
}
```

```json
{
  "@context" : "https://schema.org",
  "@type" : "WebPage",
  "about" : [ {
    "@id" : "https://resources.advantco.com/knowledge-base/consumer-electronics-retailer-turns-to-advantco-amqp-azure-adapters",
    "@type" : "WebPage"
  }, {
    "@id" : "https://resources.advantco.com/knowledge-base/content/adapters-for-sap-hci-integration-with-ms-dynamics-crm-and-rabbitmq",
    "@type" : "WebPage"
  }, {
    "@id" : "https://resources.advantco.com/knowledge-base/content/integration-with-microsoft-azure-cloud",
    "@type" : "WebPage"
  }, {
    "@id" : "https://resources.advantco.com/knowledge-base/content/using-rabbitmqamqp-broker-for-extreme-high-volume-integration-with-sap-hybris-commerce-solution-with-sap-pipo",
    "@type" : "WebPage"
  } ],
  "mainEntity" : {
    "@type" : "WebPage"
  },
  "url" : "https://www.advantco.com/sap-integration-adapters/sap-azure-integration"
}
```

```json
{
  "@context" : "https://schema.org",
  "@type" : "WebPage",
  "about" : [ {
    "@id" : "https://resources.advantco.com/knowledge-base/lessons-learned-from-kafka-integrations-using-the-advantco-kafka-adapter-for-sap-integration-suite",
    "@type" : "WebPage"
  }, {
    "@id" : "https://resources.advantco.com/knowledge-base/content/kafka-adapter-for-sap-process-orchestration-and-sap-integration-suite-now-available-on-sap-store",
    "@type" : "WebPage"
  }, {
    "@id" : "https://resources.advantco.com/knowledge-base/content/advantco-kafka-adapter-enables-automobile-leader-to-use-big-data",
    "@type" : "WebPage"
  }, {
    "@id" : "https://resources.advantco.com/knowledge-base/content/kafka-adapter-with-avro-serialization-and-schema-registry",
    "@type" : "WebPage"
  } ],
  "mainEntity" : {
    "@type" : "WebPage"
  },
  "url" : "https://www.advantco.com/sap-integration-adapters/sap-kafka-integration"
}
```

```json
{
  "@context" : "https://schema.org",
  "@type" : "WebPage",
  "about" : [ {
    "@id" : "https://www.advantco.com/sap-integration-adapters/sap-salesforce-integration",
    "@type" : "WebPage"
  }, {
    "@id" : "https://www.advantco.com/sap-integration-adapters/sap-microsoft-dynamics-integration",
    "@type" : "WebPage"
  }, {
    "@id" : "https://www.advantco.com/sap-integration-adapters/sap-aws-integration",
    "@type" : "WebPage"
  }, {
    "@id" : "https://www.advantco.com/sap-integration-adapters/sap-google-cloud-integration",
    "@type" : "WebPage"
  }, {
    "@id" : "https://www.advantco.com/sap-integration-adapters/sap-azure-integration",
    "@type" : "WebPage"
  }, {
    "@id" : "https://www.advantco.com/sap-integration-adapters/sap-kafka-integration",
    "@type" : "WebPage"
  } ],
  "mainEntity" : {
    "@type" : "WebPage"
  },
  "url" : "https://www.advantco.com/"
}
```

```json
{
  "@context" : "https://schema.org/",
  "@type" : "BreadcrumbList",
  "itemListElement" : [ {
    "@type" : "ListItem",
    "item" : "https://advantco.com/",
    "name" : "Home",
    "position" : 1
  } ]
}
```

```json
{
  "@context" : "https://schema.org",
  "@type" : "ProfessionalService",
  "areaServed" : {
    "@type" : "GeoShape",
    "address" : {
      "@type" : "PostalAddress",
      "addressCountry" : "US"
    }
  },
  "description" : "Advantco helps organizations update and transform their integration landscapes by migrating to SAP BTP Integration Suite, enabling secure, scalable, cloud-native connectivity across SAP and non-SAP systems.",
  "image" : "https://www.advantco.com/hs-fs/hubfs/1-2.png?width=2000&height=1015&name=1-2.png",
  "logo" : "https://www.advantco.com/hs-fs/hubfs/unnamed%20(2).webp?width=300&height=40&name=unnamed%20(2).webp",
  "name" : "SAP BTP Integration Suite Migration Services",
  "provider" : {
    "@type" : "Organization",
    "contactPoint" : {
      "@type" : "ContactPoint",
      "availableLanguage" : [ "English" ],
      "contactType" : "customer support",
      "url" : "https://www.advantco.com/contact-us"
    },
    "logo" : "https://www.advantco.com/hs-fs/hubfs/unnamed%20(2).webp?width=300&height=40&name=unnamed%20(2).webp",
    "name" : "Advantco",
    "sameAs" : [ "https://www.linkedin.com/company/advantco-international-llc/", "https://x.com/AdvantcoAdapter" ],
    "url" : "https://www.advantco.com"
  },
  "serviceType" : [ "SAP BTP Integration Suite Migration", "Legacy Middleware Migration", "Clean Core & Customization Rationalization", "ABAP & API Development" ],
  "url" : "https://www.advantco.com/sap-btp-integration-suite-migration"
}
```

```json
{
  "@context" : "https://schema.org",
  "@type" : "ProfessionalService",
  "description" : "Advantco offers secure, scalable, and cost-optimized AWS cloud services — from landing zone setup and migration to managed operations and AI/ML solutions.",
  "image" : "https://www.advantco.com/hs-fs/hubfs/4%20(1)-1.png?width=316&height=300&name=4%20(1)-1.png",
  "logo" : "https://www.advantco.com/hs-fs/hubfs/unnamed%20(2).webp?width=300&height=40&name=unnamed%20(2).webp",
  "name" : "AWS Cloud Services",
  "provider" : {
    "@type" : "Organization",
    "contactPoint" : {
      "@type" : "ContactPoint",
      "availableLanguage" : [ "English" ],
      "contactType" : "customer support",
      "url" : "https://www.advantco.com/contact-us"
    },
    "logo" : "https://www.advantco.com/hs-fs/hubfs/unnamed%20(2).webp?width=300&height=40&name=unnamed%20(2).webp",
    "name" : "Advantco",
    "sameAs" : [ "https://www.linkedin.com/company/advantco-international-llc/", "https://x.com/AdvantcoAdapter" ],
    "url" : "https://www.advantco.com"
  },
  "serviceType" : [ "AWS Landing Zone Setup", "AWS Application Migration", "Managed AWS Cloud Operations", "AWS AI/ML Solutions" ],
  "url" : "https://www.advantco.com/aws-cloud-services"
}
```

```json
{
  "@context" : "https://schema.org",
  "@type" : "ProfessionalService",
  "areaServed" : {
    "@type" : "Country",
    "name" : "Worldwide"
  },
  "description" : "Advantco helps organizations harness the full power of Google Cloud by designing, migrating, and managing secure, scalable, and cost-optimized workloads end-to-end.",
  "image" : "https://www.advantco.com/hs-fs/hubfs/4%20(1)-1.png?width=316&height=300&name=4%20(1)-1.png",
  "logo" : "https://www.advantco.com/hs-fs/hubfs/unnamed%20(2).webp?width=300&height=40&name=unnamed%20(2).webp",
  "name" : "Google Cloud Services",
  "provider" : {
    "@type" : "Organization",
    "contactPoint" : {
      "@type" : "ContactPoint",
      "availableLanguage" : [ "English" ],
      "contactType" : "customer support",
      "url" : "https://www.advantco.com/contact-us"
    },
    "logo" : "https://www.advantco.com/hs-fs/hubfs/unnamed%20(2).webp?width=300&height=40&name=unnamed%20(2).webp",
    "name" : "Advantco",
    "sameAs" : [ "https://www.linkedin.com/company/advantco-international-llc/", "https://x.com/AdvantcoAdapter" ],
    "url" : "https://www.advantco.com"
  },
  "serviceType" : [ "Google Cloud Foundation Setup", "Application Migration & Modernization", "Managed Google Cloud Operations", "Data Analytics & AI/ML Solutions" ],
  "url" : "https://www.advantco.com/google-cloud-services"
}
```