SlideShare a Scribd company logo
1 of 13
www.sanjeetpandey.com
www.sanjeetpandey.com
Prepared by – Sanjeet Pandey
Integration with SAP using Mule ESB
www.sanjeetpandey.com
Overview
- As one of the most widely used enterprise resource planning solutions on the market, SAP
plays a central role in the most critical business processes for many companies. In order to
fully automate and optimize these business processes, companies need to integrate SAP with
other applications within their organization. This article discusses SAP integration with other
applications like Salesforce, e-POS, e-Commerce SharePoint etc. including uses and benefits,
challenges, and new approaches.
- An alternative approach to point-to-point quick fixes and expensive SOA stacks is integrate
SAP using an (Enterprise Service Bus).
- Mule’s SAP Enterprise Connector provides bidirectional communication and works with
existing SAP technologies such as:
• Intermediate Documents (IDocs)
• Business Application Programming Interfaces (BAPIs)
• SAP Java Connector (JCo)
2
www.sanjeetpandey.com
Mule ESB SAP Connector
- Mule ESB supports SAP integration
through an SAP-certified Java connector.
With the Mule Enterprise Gateway for
SAP, integration between applications
with SAP ECC is faster and easier.
- Mule SAP JCo Connector is a transport
developed to provide bi-directional
connectivity between SAP and other
applications or tools. Using SAP JCo
connector we can easily invoke BAPIs
(Business Application Programming
Interface) and iDocs (Intermediate
Document Interface) in SAP. The SAP JCo
connector is built using SAP Java
Connector libraries provided by SAP.
3
www.sanjeetpandey.com
Mule ESB SAP Connector (Cont ...)
The connector leverages the SAP Java Connector (JCo) libraries, which enable Mule applications
to:
• Send and receive iDocs over tRFC and qRFC
• Transform all SAP objects (JCoFunction & IDocs) both to and from XML
• Execute Business Application Programming Interface (BAPI) functions using all of the
following types of Remote Function Calls (RFC) like sRFC (synchronous RFC), tRFC
(transactional RFC) and qRFC (queued RFC)
• Act as a JCo Server to be called as a BAPI over the following protocols like sRFC, tRFC, qRFC
The SAP connector establishes connection to SAP system using JCO libraries (provided by SAP).
The Connector supports the option to configure SAP connection details, connection pooling
and max limit of active connections. If the connector is used for outbound data from SAP,
then ESB registers the current Mule ESB instance as JCO destination/Gateway Server.
4
www.sanjeetpandey.com
Integration for SAP BAPI function
A simple BAPI performs a single operation,
such as retrieving a list of Product
master data. The adapter supports
simple BAPI calls by representing each
with a single business object schema.
Simple BAPIs can be used for outbound
or inbound processing. You can specify
synchronous RFC processing or
asynchronous transactional RFC (tRFC)
processing when you configure a
module for a simple BAPI. In addition,
for outbound processing, you can
specify asynchronous queued RFC
(qRFC) processing, in which BAPIs are
delivered to a predefined queue on the
SAP server.
5
www.sanjeetpandey.com
Integration for SAP BAPI function (Cont ...)
• In synchronous RFC processing, the SAP server and the adapter must be available
during processing.
• In outbound processing, the message flow sends a request, then waits for a response
from the SAP server.
• In inbound processing, the SAP server sends a request through the adapter to an
endpoint and waits for a response from the adapter.
• In asynchronous tRFC outbound processing, the adapter associates a transaction ID
with the function call to the SAP server. The adapter does not wait for a response from
the SAP server. If the delivery is unsuccessful, the message flow can use the SAP
transaction ID (TID) to make the request again. The TID is a field in your message.
6
www.sanjeetpandey.com
Integration for SAP BAPI function (Cont ...)
• In asynchronous tRFC inbound processing, the adapter does not have to be available
when the SAP server runs the function call. The function call is placed on a list of
functions to be invoked, and the call is attempted until it is successful. To send function
calls from a user-defined outbound queue on the SAP server, you also specify
asynchronous tRFC inbound processing.
• In asynchronous qRFC outbound processing, the process is similar to asynchronous
tRFC outbound processing. A TID is associated with the function call, and the adapter
does not wait for a response from the SAP server. In addition, the BAPIs are delivered
to a predefined queue on the SAP server. By sending BAPIs to the predefined queue,
you can ensure the order in which they are delivered.
7
www.sanjeetpandey.com
Integration for SAP IDocs documents
The IDoc adapter is part of the Integration
Server. Essentially, the IDoc adapter
comprises two parts, namely an adapter
at the Integration Server inbound
channel, and an adapter at the
Integration Server outbound channel.
The metadata for the IDoc types involved is
shared. The adapter at the inbound
channel is located before the Integration
Server pipeline and calls this pipeline.
The adapter at the outbound channel,
however, is called by the pipeline, and
can therefore be regarded as part of the
pipeline.
8
www.sanjeetpandey.com
Integration for SAP IDocs documents (Cont ...)
As part of ESB flow definition, a SAP inbound endpoint was used to receive iDocs from SAP. A new
destination (Program ID) was created in SAP, the iDocs created in SAP were also published to
the new destination.
There are two processes in IDOC processing one is INBOUND PROCESS (IDOC coming to the
system and its handling at various stages) and the other is OUTBOUND PROCESS (IDOC is
send to other system. Outbound data from SAP, in case of Price/VAT data from SAP, ESB
receives iDocs as JCO iDocDocumentList elements. Each iDocDocument contains iDoc
metadata and Segments which internally had the Segment data (Price or VAT information).
ESB can receive multiple iDocs at any time.
Inbound data to SAP, in case of Sales/Return Order from other application to SAP, Mule ESB
converted payload to iDoc XML format using XML-to-iDoc transformer and posted the
request to SAP.
9
www.sanjeetpandey.com
Benefits
When SAP is properly integrated with other applications, companies are able to streamline and
fully automate their business processes. Companies further benefit from SAP integration in
the following ways:
• Increased Business Alignment: The ability to create an integrated agile software
infrastructure for changing business needs
• Better Business Efficiency: The ability to streamline, automate, and enable a better tracking
and visibility to business processes
• Improved Business Visibility: Ability to integrate systems and to aggregate data for a
consistent and accurate view of business as a whole
• Significant cost savings by using low cost Mule ESB Enterprise
10
www.sanjeetpandey.com
Benefits (Cont ...)
• Support for functional and non-functional requirements
• Ability to generate reports in SAP based on regions and evaluate the sale across the world
• Improved customer interactions by automating direct communications
• Elimination of the need for dual data entry, saving time and money
• Fewer data redundancies and errors caused by manual data entry
• Enhanced agility to act on new information quickly
11
www.sanjeetpandey.com
Mule Example
I will be publishing a new PPT to get more details on how the actually end to end flow works with
iDocs and Bapi.
12
www.sanjeetpandey.com 13

More Related Content

What's hot

Mule salesforce integration patterns
Mule salesforce integration patternsMule salesforce integration patterns
Mule salesforce integration patternsD.Rajesh Kumar
 
Mule oracle connectors
Mule  oracle connectorsMule  oracle connectors
Mule oracle connectorsD.Rajesh Kumar
 
Mule human resources connectors
Mule  human resources connectorsMule  human resources connectors
Mule human resources connectorsD.Rajesh Kumar
 
Mule workday-connectors
Mule  workday-connectorsMule  workday-connectors
Mule workday-connectorsD.Rajesh Kumar
 
Mule mule runtime engine
Mule  mule runtime engineMule  mule runtime engine
Mule mule runtime engineD.Rajesh Kumar
 
Mule sap connector
Mule sap connectorMule sap connector
Mule sap connectorSon Nguyen
 
Cloud hub scalability and availability
Cloud hub scalability and availabilityCloud hub scalability and availability
Cloud hub scalability and availabilityShanky Gupta
 
Mule architecture
Mule architectureMule architecture
Mule architecturePhaniu
 
Mule finance connectors
Mule  finance connectorsMule  finance connectors
Mule finance connectorsD.Rajesh Kumar
 
Mule microsoft environment
Mule  microsoft environmentMule  microsoft environment
Mule microsoft environmentcharan teja R
 
Mule esb–api layer
Mule esb–api layerMule esb–api layer
Mule esb–api layercharan teja R
 
Mule cloudhub application
Mule cloudhub applicationMule cloudhub application
Mule cloudhub applicationD.Rajesh Kumar
 
Mulesoft Solutions for SOA
Mulesoft Solutions for SOAMulesoft Solutions for SOA
Mulesoft Solutions for SOAkumar gaurav
 
Mule anypoint workday-connectors
Mule  anypoint workday-connectorsMule  anypoint workday-connectors
Mule anypoint workday-connectorscharan teja R
 

What's hot (19)

Mule salesforce integration patterns
Mule salesforce integration patternsMule salesforce integration patterns
Mule salesforce integration patterns
 
Mule oracle connectors
Mule  oracle connectorsMule  oracle connectors
Mule oracle connectors
 
Mule human resources connectors
Mule  human resources connectorsMule  human resources connectors
Mule human resources connectors
 
Mule workday-connectors
Mule  workday-connectorsMule  workday-connectors
Mule workday-connectors
 
Mule soa
Mule soaMule soa
Mule soa
 
Mule mule runtime engine
Mule  mule runtime engineMule  mule runtime engine
Mule mule runtime engine
 
Mule architecture
Mule architectureMule architecture
Mule architecture
 
Mule sap connector
Mule sap connectorMule sap connector
Mule sap connector
 
Cloud hub scalability and availability
Cloud hub scalability and availabilityCloud hub scalability and availability
Cloud hub scalability and availability
 
Mule architecture
Mule architectureMule architecture
Mule architecture
 
Mule esb api layer
Mule esb api layerMule esb api layer
Mule esb api layer
 
Mule finance connectors
Mule  finance connectorsMule  finance connectors
Mule finance connectors
 
Mule microsoft
Mule  microsoftMule  microsoft
Mule microsoft
 
Mule microsoft environment
Mule  microsoft environmentMule  microsoft environment
Mule microsoft environment
 
Mule esb–api layer
Mule esb–api layerMule esb–api layer
Mule esb–api layer
 
Anypoint data gateway
Anypoint data gatewayAnypoint data gateway
Anypoint data gateway
 
Mule cloudhub application
Mule cloudhub applicationMule cloudhub application
Mule cloudhub application
 
Mulesoft Solutions for SOA
Mulesoft Solutions for SOAMulesoft Solutions for SOA
Mulesoft Solutions for SOA
 
Mule anypoint workday-connectors
Mule  anypoint workday-connectorsMule  anypoint workday-connectors
Mule anypoint workday-connectors
 

Similar to Integration with SAP using Mule ESB

Features of Mule SAP Connector
Features of Mule SAP ConnectorFeatures of Mule SAP Connector
Features of Mule SAP ConnectorSanjeet Pandey
 
Sap integration by mule esb
Sap integration by mule esbSap integration by mule esb
Sap integration by mule esbSon Nguyen
 
SAP performance testing & engineering courseware v01
SAP performance testing & engineering courseware v01SAP performance testing & engineering courseware v01
SAP performance testing & engineering courseware v01Argos
 
Integrating SAP and Low-Code Plaforms
Integrating SAP and Low-Code PlaformsIntegrating SAP and Low-Code Plaforms
Integrating SAP and Low-Code PlaformsWarren Eiserman
 
MuleSoft London Community October 2017 - Hybrid and SAP Integration
MuleSoft London Community October 2017 - Hybrid and SAP IntegrationMuleSoft London Community October 2017 - Hybrid and SAP Integration
MuleSoft London Community October 2017 - Hybrid and SAP IntegrationPace Integration
 
SAP Tips and Tricks for Automation Developers from ABAP Developer
SAP Tips and Tricks for Automation Developers from ABAP DeveloperSAP Tips and Tricks for Automation Developers from ABAP Developer
SAP Tips and Tricks for Automation Developers from ABAP DeveloperTomaszGaczynski
 
SAP - Mayank Sharma 11+ years
SAP - Mayank Sharma 11+ yearsSAP - Mayank Sharma 11+ years
SAP - Mayank Sharma 11+ yearsMayank Sharma
 
Docslide.net how ale-and-idocs-affect-sap-in-house-cash-configuration
Docslide.net how ale-and-idocs-affect-sap-in-house-cash-configurationDocslide.net how ale-and-idocs-affect-sap-in-house-cash-configuration
Docslide.net how ale-and-idocs-affect-sap-in-house-cash-configurationShailendra Surana
 
REST - What's It All About? (SAP TechEd 2012, CD110)
REST - What's It All About? (SAP TechEd 2012, CD110)REST - What's It All About? (SAP TechEd 2012, CD110)
REST - What's It All About? (SAP TechEd 2012, CD110)Sascha Wenninger
 
Sap Business One
Sap Business OneSap Business One
Sap Business OneRavi Jain
 
Di api di server b1 ws
Di api di server b1 wsDi api di server b1 ws
Di api di server b1 wsAbhishek Sur
 
What Are The Elements Of The SAP Integration Suite?
What Are The Elements Of The SAP Integration Suite?What Are The Elements Of The SAP Integration Suite?
What Are The Elements Of The SAP Integration Suite?Vizio Consulting
 
Interfacing sap - BDC
Interfacing sap - BDC Interfacing sap - BDC
Interfacing sap - BDC Syam Sasi
 

Similar to Integration with SAP using Mule ESB (20)

Features of Mule SAP Connector
Features of Mule SAP ConnectorFeatures of Mule SAP Connector
Features of Mule SAP Connector
 
Sap integration by mule esb
Sap integration by mule esbSap integration by mule esb
Sap integration by mule esb
 
Sap Integrations
Sap IntegrationsSap Integrations
Sap Integrations
 
SAP performance testing & engineering courseware v01
SAP performance testing & engineering courseware v01SAP performance testing & engineering courseware v01
SAP performance testing & engineering courseware v01
 
Integrating SAP and Low-Code Plaforms
Integrating SAP and Low-Code PlaformsIntegrating SAP and Low-Code Plaforms
Integrating SAP and Low-Code Plaforms
 
MuleSoft London Community October 2017 - Hybrid and SAP Integration
MuleSoft London Community October 2017 - Hybrid and SAP IntegrationMuleSoft London Community October 2017 - Hybrid and SAP Integration
MuleSoft London Community October 2017 - Hybrid and SAP Integration
 
Sap
SapSap
Sap
 
SAP Tips and Tricks for Automation Developers from ABAP Developer
SAP Tips and Tricks for Automation Developers from ABAP DeveloperSAP Tips and Tricks for Automation Developers from ABAP Developer
SAP Tips and Tricks for Automation Developers from ABAP Developer
 
Karandeep singh 27.5
Karandeep singh 27.5Karandeep singh 27.5
Karandeep singh 27.5
 
Sap Downstream web interfaces
Sap Downstream web interfacesSap Downstream web interfaces
Sap Downstream web interfaces
 
SAP - Mayank Sharma 11+ years
SAP - Mayank Sharma 11+ yearsSAP - Mayank Sharma 11+ years
SAP - Mayank Sharma 11+ years
 
Rabbani
RabbaniRabbani
Rabbani
 
Sap
SapSap
Sap
 
Docslide.net how ale-and-idocs-affect-sap-in-house-cash-configuration
Docslide.net how ale-and-idocs-affect-sap-in-house-cash-configurationDocslide.net how ale-and-idocs-affect-sap-in-house-cash-configuration
Docslide.net how ale-and-idocs-affect-sap-in-house-cash-configuration
 
REST - What's It All About? (SAP TechEd 2012, CD110)
REST - What's It All About? (SAP TechEd 2012, CD110)REST - What's It All About? (SAP TechEd 2012, CD110)
REST - What's It All About? (SAP TechEd 2012, CD110)
 
SAP Connector.
SAP Connector.SAP Connector.
SAP Connector.
 
Sap Business One
Sap Business OneSap Business One
Sap Business One
 
Di api di server b1 ws
Di api di server b1 wsDi api di server b1 ws
Di api di server b1 ws
 
What Are The Elements Of The SAP Integration Suite?
What Are The Elements Of The SAP Integration Suite?What Are The Elements Of The SAP Integration Suite?
What Are The Elements Of The SAP Integration Suite?
 
Interfacing sap - BDC
Interfacing sap - BDC Interfacing sap - BDC
Interfacing sap - BDC
 

More from Sanjeet Pandey

Mule api gateway overview
Mule api gateway overviewMule api gateway overview
Mule api gateway overviewSanjeet Pandey
 
Integrate facebook using mule esb
Integrate facebook using mule esbIntegrate facebook using mule esb
Integrate facebook using mule esbSanjeet Pandey
 
Integration of linked in using mule esb
Integration of linked in using mule esbIntegration of linked in using mule esb
Integration of linked in using mule esbSanjeet Pandey
 
Create folder in microsoft office 365 share point using mule esb
Create folder in microsoft office 365 share point using mule esbCreate folder in microsoft office 365 share point using mule esb
Create folder in microsoft office 365 share point using mule esbSanjeet Pandey
 
Create Account in Salesforce using Mule ESB
Create Account in Salesforce using Mule ESBCreate Account in Salesforce using Mule ESB
Create Account in Salesforce using Mule ESBSanjeet Pandey
 
Get Data from Microsoft CRM using Mule ESB
Get Data from Microsoft CRM using Mule ESBGet Data from Microsoft CRM using Mule ESB
Get Data from Microsoft CRM using Mule ESBSanjeet Pandey
 
Best way to deploy mule application
Best way to deploy mule applicationBest way to deploy mule application
Best way to deploy mule applicationSanjeet Pandey
 
Get Queue List from Microsoft Azure using Mule ESB
Get Queue List from Microsoft Azure using Mule ESBGet Queue List from Microsoft Azure using Mule ESB
Get Queue List from Microsoft Azure using Mule ESBSanjeet Pandey
 
Query Operation in Microsoft SharePoint using Mule ESB
Query Operation in Microsoft SharePoint using Mule ESBQuery Operation in Microsoft SharePoint using Mule ESB
Query Operation in Microsoft SharePoint using Mule ESBSanjeet Pandey
 
Integration with Salesforce using Mule ESB
Integration with Salesforce using Mule ESBIntegration with Salesforce using Mule ESB
Integration with Salesforce using Mule ESBSanjeet Pandey
 
Deployment of Mule ESB Application using MMC
Deployment of Mule ESB Application using MMCDeployment of Mule ESB Application using MMC
Deployment of Mule ESB Application using MMCSanjeet Pandey
 
Integration with CMIS using Mule ESB
Integration with CMIS using Mule ESBIntegration with CMIS using Mule ESB
Integration with CMIS using Mule ESBSanjeet Pandey
 
Integration with Microsoft SharePoint using Mule ESB
Integration with Microsoft SharePoint using Mule ESBIntegration with Microsoft SharePoint using Mule ESB
Integration with Microsoft SharePoint using Mule ESBSanjeet Pandey
 
Integration with Sercice-Now using Mule ESB
Integration with Sercice-Now using Mule ESBIntegration with Sercice-Now using Mule ESB
Integration with Sercice-Now using Mule ESBSanjeet Pandey
 
Integration with Microsoft Azure using Mule ESB
Integration with Microsoft Azure using Mule ESBIntegration with Microsoft Azure using Mule ESB
Integration with Microsoft Azure using Mule ESBSanjeet Pandey
 
Mule MMC Integration with LDAP
Mule MMC Integration with LDAPMule MMC Integration with LDAP
Mule MMC Integration with LDAPSanjeet Pandey
 
Integration with Microsoft CRM using Mule ESB
Integration with Microsoft CRM using Mule ESBIntegration with Microsoft CRM using Mule ESB
Integration with Microsoft CRM using Mule ESBSanjeet Pandey
 
Mule with salesforce push topic notification copy
Mule with salesforce push topic notification   copyMule with salesforce push topic notification   copy
Mule with salesforce push topic notification copySanjeet Pandey
 

More from Sanjeet Pandey (18)

Mule api gateway overview
Mule api gateway overviewMule api gateway overview
Mule api gateway overview
 
Integrate facebook using mule esb
Integrate facebook using mule esbIntegrate facebook using mule esb
Integrate facebook using mule esb
 
Integration of linked in using mule esb
Integration of linked in using mule esbIntegration of linked in using mule esb
Integration of linked in using mule esb
 
Create folder in microsoft office 365 share point using mule esb
Create folder in microsoft office 365 share point using mule esbCreate folder in microsoft office 365 share point using mule esb
Create folder in microsoft office 365 share point using mule esb
 
Create Account in Salesforce using Mule ESB
Create Account in Salesforce using Mule ESBCreate Account in Salesforce using Mule ESB
Create Account in Salesforce using Mule ESB
 
Get Data from Microsoft CRM using Mule ESB
Get Data from Microsoft CRM using Mule ESBGet Data from Microsoft CRM using Mule ESB
Get Data from Microsoft CRM using Mule ESB
 
Best way to deploy mule application
Best way to deploy mule applicationBest way to deploy mule application
Best way to deploy mule application
 
Get Queue List from Microsoft Azure using Mule ESB
Get Queue List from Microsoft Azure using Mule ESBGet Queue List from Microsoft Azure using Mule ESB
Get Queue List from Microsoft Azure using Mule ESB
 
Query Operation in Microsoft SharePoint using Mule ESB
Query Operation in Microsoft SharePoint using Mule ESBQuery Operation in Microsoft SharePoint using Mule ESB
Query Operation in Microsoft SharePoint using Mule ESB
 
Integration with Salesforce using Mule ESB
Integration with Salesforce using Mule ESBIntegration with Salesforce using Mule ESB
Integration with Salesforce using Mule ESB
 
Deployment of Mule ESB Application using MMC
Deployment of Mule ESB Application using MMCDeployment of Mule ESB Application using MMC
Deployment of Mule ESB Application using MMC
 
Integration with CMIS using Mule ESB
Integration with CMIS using Mule ESBIntegration with CMIS using Mule ESB
Integration with CMIS using Mule ESB
 
Integration with Microsoft SharePoint using Mule ESB
Integration with Microsoft SharePoint using Mule ESBIntegration with Microsoft SharePoint using Mule ESB
Integration with Microsoft SharePoint using Mule ESB
 
Integration with Sercice-Now using Mule ESB
Integration with Sercice-Now using Mule ESBIntegration with Sercice-Now using Mule ESB
Integration with Sercice-Now using Mule ESB
 
Integration with Microsoft Azure using Mule ESB
Integration with Microsoft Azure using Mule ESBIntegration with Microsoft Azure using Mule ESB
Integration with Microsoft Azure using Mule ESB
 
Mule MMC Integration with LDAP
Mule MMC Integration with LDAPMule MMC Integration with LDAP
Mule MMC Integration with LDAP
 
Integration with Microsoft CRM using Mule ESB
Integration with Microsoft CRM using Mule ESBIntegration with Microsoft CRM using Mule ESB
Integration with Microsoft CRM using Mule ESB
 
Mule with salesforce push topic notification copy
Mule with salesforce push topic notification   copyMule with salesforce push topic notification   copy
Mule with salesforce push topic notification copy
 

Recently uploaded

What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 

Recently uploaded (20)

What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 

Integration with SAP using Mule ESB

  • 1. www.sanjeetpandey.com www.sanjeetpandey.com Prepared by – Sanjeet Pandey Integration with SAP using Mule ESB
  • 2. www.sanjeetpandey.com Overview - As one of the most widely used enterprise resource planning solutions on the market, SAP plays a central role in the most critical business processes for many companies. In order to fully automate and optimize these business processes, companies need to integrate SAP with other applications within their organization. This article discusses SAP integration with other applications like Salesforce, e-POS, e-Commerce SharePoint etc. including uses and benefits, challenges, and new approaches. - An alternative approach to point-to-point quick fixes and expensive SOA stacks is integrate SAP using an (Enterprise Service Bus). - Mule’s SAP Enterprise Connector provides bidirectional communication and works with existing SAP technologies such as: • Intermediate Documents (IDocs) • Business Application Programming Interfaces (BAPIs) • SAP Java Connector (JCo) 2
  • 3. www.sanjeetpandey.com Mule ESB SAP Connector - Mule ESB supports SAP integration through an SAP-certified Java connector. With the Mule Enterprise Gateway for SAP, integration between applications with SAP ECC is faster and easier. - Mule SAP JCo Connector is a transport developed to provide bi-directional connectivity between SAP and other applications or tools. Using SAP JCo connector we can easily invoke BAPIs (Business Application Programming Interface) and iDocs (Intermediate Document Interface) in SAP. The SAP JCo connector is built using SAP Java Connector libraries provided by SAP. 3
  • 4. www.sanjeetpandey.com Mule ESB SAP Connector (Cont ...) The connector leverages the SAP Java Connector (JCo) libraries, which enable Mule applications to: • Send and receive iDocs over tRFC and qRFC • Transform all SAP objects (JCoFunction & IDocs) both to and from XML • Execute Business Application Programming Interface (BAPI) functions using all of the following types of Remote Function Calls (RFC) like sRFC (synchronous RFC), tRFC (transactional RFC) and qRFC (queued RFC) • Act as a JCo Server to be called as a BAPI over the following protocols like sRFC, tRFC, qRFC The SAP connector establishes connection to SAP system using JCO libraries (provided by SAP). The Connector supports the option to configure SAP connection details, connection pooling and max limit of active connections. If the connector is used for outbound data from SAP, then ESB registers the current Mule ESB instance as JCO destination/Gateway Server. 4
  • 5. www.sanjeetpandey.com Integration for SAP BAPI function A simple BAPI performs a single operation, such as retrieving a list of Product master data. The adapter supports simple BAPI calls by representing each with a single business object schema. Simple BAPIs can be used for outbound or inbound processing. You can specify synchronous RFC processing or asynchronous transactional RFC (tRFC) processing when you configure a module for a simple BAPI. In addition, for outbound processing, you can specify asynchronous queued RFC (qRFC) processing, in which BAPIs are delivered to a predefined queue on the SAP server. 5
  • 6. www.sanjeetpandey.com Integration for SAP BAPI function (Cont ...) • In synchronous RFC processing, the SAP server and the adapter must be available during processing. • In outbound processing, the message flow sends a request, then waits for a response from the SAP server. • In inbound processing, the SAP server sends a request through the adapter to an endpoint and waits for a response from the adapter. • In asynchronous tRFC outbound processing, the adapter associates a transaction ID with the function call to the SAP server. The adapter does not wait for a response from the SAP server. If the delivery is unsuccessful, the message flow can use the SAP transaction ID (TID) to make the request again. The TID is a field in your message. 6
  • 7. www.sanjeetpandey.com Integration for SAP BAPI function (Cont ...) • In asynchronous tRFC inbound processing, the adapter does not have to be available when the SAP server runs the function call. The function call is placed on a list of functions to be invoked, and the call is attempted until it is successful. To send function calls from a user-defined outbound queue on the SAP server, you also specify asynchronous tRFC inbound processing. • In asynchronous qRFC outbound processing, the process is similar to asynchronous tRFC outbound processing. A TID is associated with the function call, and the adapter does not wait for a response from the SAP server. In addition, the BAPIs are delivered to a predefined queue on the SAP server. By sending BAPIs to the predefined queue, you can ensure the order in which they are delivered. 7
  • 8. www.sanjeetpandey.com Integration for SAP IDocs documents The IDoc adapter is part of the Integration Server. Essentially, the IDoc adapter comprises two parts, namely an adapter at the Integration Server inbound channel, and an adapter at the Integration Server outbound channel. The metadata for the IDoc types involved is shared. The adapter at the inbound channel is located before the Integration Server pipeline and calls this pipeline. The adapter at the outbound channel, however, is called by the pipeline, and can therefore be regarded as part of the pipeline. 8
  • 9. www.sanjeetpandey.com Integration for SAP IDocs documents (Cont ...) As part of ESB flow definition, a SAP inbound endpoint was used to receive iDocs from SAP. A new destination (Program ID) was created in SAP, the iDocs created in SAP were also published to the new destination. There are two processes in IDOC processing one is INBOUND PROCESS (IDOC coming to the system and its handling at various stages) and the other is OUTBOUND PROCESS (IDOC is send to other system. Outbound data from SAP, in case of Price/VAT data from SAP, ESB receives iDocs as JCO iDocDocumentList elements. Each iDocDocument contains iDoc metadata and Segments which internally had the Segment data (Price or VAT information). ESB can receive multiple iDocs at any time. Inbound data to SAP, in case of Sales/Return Order from other application to SAP, Mule ESB converted payload to iDoc XML format using XML-to-iDoc transformer and posted the request to SAP. 9
  • 10. www.sanjeetpandey.com Benefits When SAP is properly integrated with other applications, companies are able to streamline and fully automate their business processes. Companies further benefit from SAP integration in the following ways: • Increased Business Alignment: The ability to create an integrated agile software infrastructure for changing business needs • Better Business Efficiency: The ability to streamline, automate, and enable a better tracking and visibility to business processes • Improved Business Visibility: Ability to integrate systems and to aggregate data for a consistent and accurate view of business as a whole • Significant cost savings by using low cost Mule ESB Enterprise 10
  • 11. www.sanjeetpandey.com Benefits (Cont ...) • Support for functional and non-functional requirements • Ability to generate reports in SAP based on regions and evaluate the sale across the world • Improved customer interactions by automating direct communications • Elimination of the need for dual data entry, saving time and money • Fewer data redundancies and errors caused by manual data entry • Enhanced agility to act on new information quickly 11
  • 12. www.sanjeetpandey.com Mule Example I will be publishing a new PPT to get more details on how the actually end to end flow works with iDocs and Bapi. 12

Editor's Notes

  1. Follow Do's and Do Not'sCommon Profile PicFollow Company and Geography:HydAdd followers from peers and WW, MuleSoftHave a Note about yourselfAsk Questions in live BrightTalk Webinars using #tweetsTweet/Retweet Articles on Mule. WW blog, G+ and Forum Links Follow WW and Mulesoft....
  2. Follow Do's and Do Not'sCommon Profile PicFollow Company and Geography:HydAdd followers from peers and WW, MuleSoftHave a Note about yourselfAsk Questions in live BrightTalk Webinars using #tweetsTweet/Retweet Articles on Mule. WW blog, G+ and Forum Links Follow WW and Mulesoft....
  3. Follow Do's and Do Not'sCommon Profile PicFollow Company and Geography:HydAdd followers from peers and WW, MuleSoftHave a Note about yourselfAsk Questions in live BrightTalk Webinars using #tweetsTweet/Retweet Articles on Mule. WW blog, G+ and Forum Links Follow WW and Mulesoft....