SlideShare a Scribd company logo
1 of 13
SAP INTEGRATION
BY MULE ESB
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
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
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
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
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
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
INTEGRATION FOR SAP IDOCS
DOCUMENTSThe 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
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
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
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
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
13

More Related Content

What's hot

Anypoint platform architecture and components
Anypoint platform architecture and componentsAnypoint platform architecture and components
Anypoint platform architecture and componentsD.Rajesh Kumar
 
Mule anypoint connector dev kit
Mule  anypoint connector dev kitMule  anypoint connector dev kit
Mule anypoint connector dev kitD.Rajesh Kumar
 
Service orchestration and soa
Service orchestration and soaService orchestration and soa
Service orchestration and soaD.Rajesh Kumar
 
Mule for beginners
Mule for beginnersMule for beginners
Mule for beginnersSindhu VL
 
Mule fundamentals
Mule fundamentalsMule fundamentals
Mule fundamentalsSindhu VL
 
Mule Sap Integration
Mule Sap IntegrationMule Sap Integration
Mule Sap IntegrationBui Kiet
 
SOAP Service in Mule Esb
SOAP Service in Mule EsbSOAP Service in Mule Esb
SOAP Service in Mule EsbAnand kalla
 
Mule architecture
Mule architectureMule architecture
Mule architecturePhaniu
 
Mule developing a cloud hub application
Mule developing a cloud hub applicationMule developing a cloud hub application
Mule developing a cloud hub applicationD.Rajesh Kumar
 
Mule Concur Connector
Mule Concur ConnectorMule Concur Connector
Mule Concur ConnectorAnkush Sharma
 
Mule sap connector
Mule sap connectorMule sap connector
Mule sap connectorSon Nguyen
 
Anypoint mq (mulesoft) introduction
Anypoint mq (mulesoft)  introductionAnypoint mq (mulesoft)  introduction
Anypoint mq (mulesoft) introductionKarthik Selvaraj
 
Mule esb made system integration easy
Mule esb made system integration easy Mule esb made system integration easy
Mule esb made system integration easy javeed_mhd
 

What's hot (19)

2. muleesb
2. muleesb2. muleesb
2. muleesb
 
Mule ESB
Mule ESBMule ESB
Mule ESB
 
Anypoint platform architecture and components
Anypoint platform architecture and componentsAnypoint platform architecture and components
Anypoint platform architecture and components
 
Mule anypoint connector dev kit
Mule  anypoint connector dev kitMule  anypoint connector dev kit
Mule anypoint connector dev kit
 
Service orchestration and soa
Service orchestration and soaService orchestration and soa
Service orchestration and soa
 
Mule for beginners
Mule for beginnersMule for beginners
Mule for beginners
 
Mule fundamentals
Mule fundamentalsMule fundamentals
Mule fundamentals
 
Mule Sap Integration
Mule Sap IntegrationMule Sap Integration
Mule Sap Integration
 
SOAP Service in Mule Esb
SOAP Service in Mule EsbSOAP Service in Mule Esb
SOAP Service in Mule Esb
 
Mule anypoint b2 b
Mule  anypoint b2 bMule  anypoint b2 b
Mule anypoint b2 b
 
Mule architecture
Mule architectureMule architecture
Mule architecture
 
Mule developing a cloud hub application
Mule developing a cloud hub applicationMule developing a cloud hub application
Mule developing a cloud hub application
 
Mule Concur Connector
Mule Concur ConnectorMule Concur Connector
Mule Concur Connector
 
Sap
SapSap
Sap
 
Mule in a nutshell
Mule in a nutshellMule in a nutshell
Mule in a nutshell
 
Mule sap connector
Mule sap connectorMule sap connector
Mule sap connector
 
Mule esb
Mule esbMule esb
Mule esb
 
Anypoint mq (mulesoft) introduction
Anypoint mq (mulesoft)  introductionAnypoint mq (mulesoft)  introduction
Anypoint mq (mulesoft) introduction
 
Mule esb made system integration easy
Mule esb made system integration easy Mule esb made system integration easy
Mule esb made system integration easy
 

Viewers also liked

Mule tcat server - deploying applications
Mule tcat server - deploying applicationsMule tcat server - deploying applications
Mule tcat server - deploying applicationsShanky Gupta
 
Mule with velocity
Mule with velocityMule with velocity
Mule with velocityKhan625
 
Mule message structure
Mule message structureMule message structure
Mule message structureShanky Gupta
 
Configuring Anypoint Studio MQ connector
Configuring Anypoint Studio MQ connectorConfiguring Anypoint Studio MQ connector
Configuring Anypoint Studio MQ connectorShanky Gupta
 
Mule tcat server - Server profiles
Mule tcat server - Server profilesMule tcat server - Server profiles
Mule tcat server - Server profilesShanky Gupta
 
Mule agent notifications
Mule agent notificationsMule agent notifications
Mule agent notificationsShanky Gupta
 
Cloud hub scalability and availability
Cloud hub scalability and availabilityCloud hub scalability and availability
Cloud hub scalability and availabilityShanky Gupta
 
MUnit run and wait scope
MUnit run and wait scopeMUnit run and wait scope
MUnit run and wait scopeShanky Gupta
 
MuleSoft CloudHub FAQ
MuleSoft CloudHub FAQMuleSoft CloudHub FAQ
MuleSoft CloudHub FAQShanky Gupta
 
Anypoint access management
Anypoint access management Anypoint access management
Anypoint access management Shanky Gupta
 
Mule management console
Mule management consoleMule management console
Mule management consoleShanky Gupta
 
Rest security in mule
Rest security in muleRest security in mule
Rest security in muleSon Nguyen
 
Using mule with web services
Using mule with web servicesUsing mule with web services
Using mule with web servicesShanky Gupta
 
Mule tcat server - Monitoring applications
Mule tcat server - Monitoring applicationsMule tcat server - Monitoring applications
Mule tcat server - Monitoring applicationsShanky Gupta
 

Viewers also liked (20)

Mule tcat server - deploying applications
Mule tcat server - deploying applicationsMule tcat server - deploying applications
Mule tcat server - deploying applications
 
Cloudhub fabric
Cloudhub fabricCloudhub fabric
Cloudhub fabric
 
Mule with velocity
Mule with velocityMule with velocity
Mule with velocity
 
MUnit matchers
MUnit matchersMUnit matchers
MUnit matchers
 
Mule message structure
Mule message structureMule message structure
Mule message structure
 
Configuring Anypoint Studio MQ connector
Configuring Anypoint Studio MQ connectorConfiguring Anypoint Studio MQ connector
Configuring Anypoint Studio MQ connector
 
Mule tcat server - Server profiles
Mule tcat server - Server profilesMule tcat server - Server profiles
Mule tcat server - Server profiles
 
Mule agent notifications
Mule agent notificationsMule agent notifications
Mule agent notifications
 
Cloud hub scalability and availability
Cloud hub scalability and availabilityCloud hub scalability and availability
Cloud hub scalability and availability
 
MUnit run and wait scope
MUnit run and wait scopeMUnit run and wait scope
MUnit run and wait scope
 
MuleSoft CloudHub FAQ
MuleSoft CloudHub FAQMuleSoft CloudHub FAQ
MuleSoft CloudHub FAQ
 
Anypoint access management
Anypoint access management Anypoint access management
Anypoint access management
 
Mule testing
Mule testingMule testing
Mule testing
 
Mule management console
Mule management consoleMule management console
Mule management console
 
Rest security in mule
Rest security in muleRest security in mule
Rest security in mule
 
Cloudhub and Mule
Cloudhub and MuleCloudhub and Mule
Cloudhub and Mule
 
Mule Security
Mule SecurityMule Security
Mule Security
 
Mule esb mule message
Mule esb   mule messageMule esb   mule message
Mule esb mule message
 
Using mule with web services
Using mule with web servicesUsing mule with web services
Using mule with web services
 
Mule tcat server - Monitoring applications
Mule tcat server - Monitoring applicationsMule tcat server - Monitoring applications
Mule tcat server - Monitoring applications
 

Similar to Mule ESB SAP Integration

Integration with SAP using Mule ESB
Integration with SAP using Mule ESBIntegration with SAP using Mule ESB
Integration with SAP using Mule ESBSanjeet Pandey
 
Integrating SAP and Low-Code Plaforms
Integrating SAP and Low-Code PlaformsIntegrating SAP and Low-Code Plaforms
Integrating SAP and Low-Code PlaformsWarren Eiserman
 
SAP performance testing & engineering courseware v01
SAP performance testing & engineering courseware v01SAP performance testing & engineering courseware v01
SAP performance testing & engineering courseware v01Argos
 
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
 
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
 
Biztalk Server 2006
Biztalk Server 2006Biztalk Server 2006
Biztalk Server 2006ipaciti
 
Sap interface overview
Sap interface overviewSap interface overview
Sap interface overviewgnareshmbacwa
 
SAP Cloud Platform - Integration, Extensibility & Services
SAP Cloud Platform - Integration, Extensibility & ServicesSAP Cloud Platform - Integration, Extensibility & Services
SAP Cloud Platform - Integration, Extensibility & ServicesAndrew Harding
 
A step by-step guide on i doc-ale between two sap servers
A step by-step guide on i doc-ale between two sap serversA step by-step guide on i doc-ale between two sap servers
A step by-step guide on i doc-ale between two sap serverskrishna RK
 
Custom Development of Enterprise Services
Custom Development of Enterprise ServicesCustom Development of Enterprise Services
Custom Development of Enterprise ServicesTobias Trapp
 
Interfacing sap - BDC
Interfacing sap - BDC Interfacing sap - BDC
Interfacing sap - BDC Syam Sasi
 
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 World Tour 2010 B1i Sn88
Sap World Tour 2010  B1i Sn88Sap World Tour 2010  B1i Sn88
Sap World Tour 2010 B1i Sn88Massimo Sala
 

Similar to Mule ESB SAP Integration (20)

Integration with SAP using Mule ESB
Integration with SAP using Mule ESBIntegration with SAP using Mule ESB
Integration with SAP using Mule ESB
 
Integrating SAP and Low-Code Plaforms
Integrating SAP and Low-Code PlaformsIntegrating SAP and Low-Code Plaforms
Integrating SAP and Low-Code Plaforms
 
SAP performance testing & engineering courseware v01
SAP performance testing & engineering courseware v01SAP performance testing & engineering courseware v01
SAP performance testing & engineering courseware v01
 
SAP Connector.
SAP Connector.SAP Connector.
SAP Connector.
 
Sap Integrations
Sap IntegrationsSap Integrations
Sap Integrations
 
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
 
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
 
Biztalk Server 2006
Biztalk Server 2006Biztalk Server 2006
Biztalk Server 2006
 
Sap Downstream web interfaces
Sap Downstream web interfacesSap Downstream web interfaces
Sap Downstream web interfaces
 
Sap
SapSap
Sap
 
Sap interface overview
Sap interface overviewSap interface overview
Sap interface overview
 
SAP Cloud Platform - Integration, Extensibility & Services
SAP Cloud Platform - Integration, Extensibility & ServicesSAP Cloud Platform - Integration, Extensibility & Services
SAP Cloud Platform - Integration, Extensibility & Services
 
A step by-step guide on i doc-ale between two sap servers
A step by-step guide on i doc-ale between two sap serversA step by-step guide on i doc-ale between two sap servers
A step by-step guide on i doc-ale between two sap servers
 
SAP NetWeaver.ppt
SAP NetWeaver.pptSAP NetWeaver.ppt
SAP NetWeaver.ppt
 
Custom Development of Enterprise Services
Custom Development of Enterprise ServicesCustom Development of Enterprise Services
Custom Development of Enterprise Services
 
Interfacing sap - BDC
Interfacing sap - BDC Interfacing sap - BDC
Interfacing sap - BDC
 
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
 
Sap World Tour 2010 B1i Sn88
Sap World Tour 2010  B1i Sn88Sap World Tour 2010  B1i Sn88
Sap World Tour 2010 B1i Sn88
 
Abap for sd consultatnt
Abap for sd consultatntAbap for sd consultatnt
Abap for sd consultatnt
 
SAP Overview
SAP Overview SAP Overview
SAP Overview
 

More from Son Nguyen

Wsdl connector introduction
Wsdl connector introductionWsdl connector introduction
Wsdl connector introductionSon Nguyen
 
Android intergrate with mule
Android intergrate with muleAndroid intergrate with mule
Android intergrate with muleSon Nguyen
 
Mule flow overview
Mule flow overviewMule flow overview
Mule flow overviewSon Nguyen
 
Mule flow and filter
Mule flow and filterMule flow and filter
Mule flow and filterSon Nguyen
 
Handle exceptions in mule
Handle exceptions in muleHandle exceptions in mule
Handle exceptions in muleSon Nguyen
 
Spring security integrate with mule
Spring security integrate with muleSpring security integrate with mule
Spring security integrate with muleSon Nguyen
 
Message processor in mule
Message processor in muleMessage processor in mule
Message processor in muleSon Nguyen
 
Expression language in mule
Expression language in muleExpression language in mule
Expression language in muleSon Nguyen
 
Mule with data weave
Mule with data weaveMule with data weave
Mule with data weaveSon Nguyen
 
Using spring scheduler mule
Using spring scheduler muleUsing spring scheduler mule
Using spring scheduler muleSon Nguyen
 
Composite source in bound and out-bound
Composite source in bound and out-boundComposite source in bound and out-bound
Composite source in bound and out-boundSon Nguyen
 
Batch job processing
Batch job processingBatch job processing
Batch job processingSon Nguyen
 
Using message enricher
Using message enricherUsing message enricher
Using message enricherSon Nguyen
 
Finance connectors with mule
Finance connectors with muleFinance connectors with mule
Finance connectors with muleSon Nguyen
 
Google drive connection
Google drive connectionGoogle drive connection
Google drive connectionSon Nguyen
 
Using properties in mule
Using properties in muleUsing properties in mule
Using properties in muleSon Nguyen
 
Mule integrate with microsoft
Mule integrate with microsoftMule integrate with microsoft
Mule integrate with microsoftSon Nguyen
 
Anypoint connectors
Anypoint connectorsAnypoint connectors
Anypoint connectorsSon Nguyen
 
Mule esb basic introduction
Mule esb basic introductionMule esb basic introduction
Mule esb basic introductionSon Nguyen
 

More from Son Nguyen (20)

Wsdl connector introduction
Wsdl connector introductionWsdl connector introduction
Wsdl connector introduction
 
Android intergrate with mule
Android intergrate with muleAndroid intergrate with mule
Android intergrate with mule
 
Mule flow overview
Mule flow overviewMule flow overview
Mule flow overview
 
Mule flow and filter
Mule flow and filterMule flow and filter
Mule flow and filter
 
Handle exceptions in mule
Handle exceptions in muleHandle exceptions in mule
Handle exceptions in mule
 
Spring security integrate with mule
Spring security integrate with muleSpring security integrate with mule
Spring security integrate with mule
 
Message processor in mule
Message processor in muleMessage processor in mule
Message processor in mule
 
Expression language in mule
Expression language in muleExpression language in mule
Expression language in mule
 
Mule with data weave
Mule with data weaveMule with data weave
Mule with data weave
 
Using spring scheduler mule
Using spring scheduler muleUsing spring scheduler mule
Using spring scheduler mule
 
Composite source in bound and out-bound
Composite source in bound and out-boundComposite source in bound and out-bound
Composite source in bound and out-bound
 
Batch job processing
Batch job processingBatch job processing
Batch job processing
 
Using message enricher
Using message enricherUsing message enricher
Using message enricher
 
Finance connectors with mule
Finance connectors with muleFinance connectors with mule
Finance connectors with mule
 
Google drive connection
Google drive connectionGoogle drive connection
Google drive connection
 
Using properties in mule
Using properties in muleUsing properties in mule
Using properties in mule
 
Mule integrate with microsoft
Mule integrate with microsoftMule integrate with microsoft
Mule integrate with microsoft
 
Jms queue
Jms queueJms queue
Jms queue
 
Anypoint connectors
Anypoint connectorsAnypoint connectors
Anypoint connectors
 
Mule esb basic introduction
Mule esb basic introductionMule esb basic introduction
Mule esb basic introduction
 

Recently uploaded

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 

Recently uploaded (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 

Mule ESB SAP Integration

  • 2. 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. 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. 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. 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. 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. 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. INTEGRATION FOR SAP IDOCS DOCUMENTSThe 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. 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. 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. 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. 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
  • 13. 13

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....