SlideShare une entreprise Scribd logo
1  sur  30
Sample payloads for SAP
Integration via Azure Logic Apps
David Burg
November 2019
©Microsoft Corporation
Azure
Starting with the basic
Azure Logic Apps SAP Connector
Integration solution in the Azure hybrid cloud
https://azure.microsoft.com/en-
us/services/logic-apps/
REST-native, serverless, codeless, massively
scalable, several hundred connectors,
enterprise grade service.
Introduction to the connector for SAP
https://docs.microsoft.com/en-us/azure/logic-
apps/logic-apps-using-sap-connector
All the requests-responses are XML. Logic App
has native XML support and to Json
conversion
https://docs.microsoft.com/en-us/azure/logic-
apps/workflow-definition-language-functions-
reference#manipulation-functions-json--xml
©Microsoft Corporation
Azure
3 types of possible communication with SAP
RFC BAPI IDOC
Remote Function Call – SAP’s standard
interface to communicate between systems
https://en.wikipedia.org/wiki/Remote_Function
_Call
Business API – higher level access, manipulate
business objects via functions (API)
maintaining data consistency
https://en.wikipedia.org/wiki/Business_Applicat
ion_Programming_Interface
Intermediate Document – SAP’s format for
business transactions, e.g. purchase, invoice,
shipment, etc.
https://en.wikipedia.org/wiki/IDoc
Optional XML prolog
This is optional and the SAP Connector will work with or without it.
The SAP .NET Connector library on which the connector is built is Unicode native. Do send XML
documents encoded with UTF-8.
Read more about the prolog here:
https://www.w3schools.com/xml/xml_syntax.asp
RFCs
Hello world RFC call
RFC name
Namespace for all RFCs.
This example uses default
namespace (xmlns=…). You can
also assign and use namespace
aliases (xmlns:aliasXyz=…).
Simple input parameter
RFC with table parameter
This test RFC and its group of test RFCs
are available out of the box in any SAP
system.
The table parameter name
(TCPICDAT).
This specific row type contains a
single field named LINE. Table line
types may contain n fields.
The table line type is ABAPTEXT.
This element repeats for each row
in the table.
Table with anonymous field
This line type structure contains a single
anonymous field (i.e. the field has no
name assigned).
Character for hex code 002F is
reserved in SAP field name and
used here as escape character.
Note that complex types are
declared under separate
namespace. This new XML
namespace declaration set a
new default for the current
node and all its child elements.
Namespaces prefixes sample
All prefixes can be declared at once or any
amount of prefix may be declared as
attribute to any node.
‘RFC’ namespace is used for the
root and parameters of basic
type.
Note that complex types are
declared under separate
namespace ‘RFC types’.
Full samples as files (double click file to open)
BAPIs
Get list of Banks
<GETLIST
xmlns="http://Microsoft.LobServices.Sap/2007/03/Ba
pi/BUS1011/">
<BANK_CTRY>US</BANK_CTRY>
<MAX_ROWS>10</MAX_ROWS>
</GETLIST>
The BAPI method ‘Get list’.
When an object is selected in the designer,
the set of available methods is provided as
simple drop-down in the Logic App
designer.
The business object for bank (BUS1011).
The Call BAPI API on SAP connector
provides a searchable list in the Azure
Logic Apps Designer. Typing ‘bank’
keyword will filter to all business object
types for bank including this BUS1011.
Limits the number of items in the response
Create a Bank object
<CREATE
xmlns="http://Microsoft.LobServices.Sap/2007/03/Ba
pi/BUS1011/">
<BANK_ADDRESS>
<BANK_NAME
xmlns="http://Microsoft.LobServices.Sap/2007/03/Ty
pes/Rfc/">VERIZON BANK</BANK_NAME>
<REGION
xmlns="http://Microsoft.LobServices.Sap/2007/03/Ty
pes/Rfc/"></REGION>
<STREET
xmlns="http://Microsoft.LobServices.Sap/2007/03/Ty
pes/Rfc/">15</STREET>
<CITY
xmlns="http://Microsoft.LobServices.Sap/2007/03/Ty
pes/Rfc/">JODHPUR</CITY>
</BANK_ADDRESS>
<BANK_CTRY>US</BANK_CTRY>
<BANK_KEY>{0}</BANK_KEY>
</CREATE>
Create method
Same business object
Beware per system configured SAP
validation rule(s). For instance, the
key may have to be an ABA bank
identifier in the USA.
Get Bank details
<GETDETAIL
xmlns="http://Microsoft.LobServices.Sap/2007/03/Ba
pi/BUS1011/">
<BANKCOUNTRY>US</BANKCOUNTRY>
<BANKKEY>{0}</BANKKEY>
</GETDETAIL>
Update this key to a value
existing in your test SAP system.
Full sample as files (double click file to open)
IDOCs
Plain SAP IDOC XML
©Microsoft Corporation
Azure
Plain SAP IDOC XML
Generating the schema
Use SAP Logon GUI application and T-Code WE-60 to access
SAP Documentation and generate per IDOC type / per IDOC
extension XML schema (XSD file)
Usage
This format and payload is generic to SAP. Find explanation of
each field built-in SAP dialog and in SAP documentation as
well as many online public resources.
Full sample as files (double click file to open)
With ‘BizTalk’-style
namespaces
©Microsoft Corporation
Azure
‘BizTalk’s’ SAP IDOC XML (and Flat
File)
Generating the schema
Use Azure Logic Apps SAP Connector built-in schema
generation action and generate per IDOC type / per IDOC
extension XML schema (XSD file)
Usage
This format and payload is most convenient if you are
migrating from BizTalk. Learn more in BizTalk Server’s public
documentation at:
https://docs.microsoft.com/en-us/biztalk/adapters-and-
accelerators/adapter-sap/send-idocs-to-sap-using-biztalk-
server
Flat-file IDOC in XML message is also supported in Azure
Logic App SAP Connector.
Root node, namespaces declarations
http://schemas.microsoft.com/2003/10/Serialization/
http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/
Find detailed explanation about the IDOC URI in this blog post:
https://www.linkedin.com/pulse/logic-app-sap-connector-idoc-support-going-under-hood-david-burg/
The idocData node can be repeated to form a batch of IDOCs to send in a single call.
IDOC Data element
One Control Record
N Data Records
Control Record sample
SAP Official doc for the control record:
- click here -
Data Record plain Segments
Data Record segment name
This sample is using SAP’s format for dates.
Strong typed documents can use native XML types,
e.g.
9999-12-31
23:59:59
More at
https://www.w3schools.com/xml/schema_dtypes_date.
asp
Data Record Group Segments
Group parent node
N child nodes
Optional IDOC transport ID for tRFC
Last Data Record segment node
closing
IDOC Data node closing
GUID will form the tRFC TID for
duplicate transport detection.
This node can be omitted.
Recommend to set the tRFC TID
instead via connector API
parameter, see:
https://docs.microsoft.com/en-
us/connectors/sap/#send-idoc
Full samples as file (double click file to open)
©Microsoft Corporation
Azure
Resources
Free Azure Account Author’s blog
https://azure.microsoft.com/en-us/free/
Find this deck and more posts about Azure,
Logic Apps, SAP, XML, Json at my blog:
https://www.linkedin.com/in/daviburg/detail/re
cent-activity/posts/
© Copyright Microsoft Corporation. All rights reserved.

Contenu connexe

Tendances

Moving to Databricks & Delta
Moving to Databricks & DeltaMoving to Databricks & Delta
Moving to Databricks & DeltaDatabricks
 
AWS Webcast - Implementing SAP Solutions on the AWS Cloud
AWS Webcast - Implementing SAP Solutions on the AWS CloudAWS Webcast - Implementing SAP Solutions on the AWS Cloud
AWS Webcast - Implementing SAP Solutions on the AWS CloudAmazon Web Services
 
Get Savvy with Snowflake
Get Savvy with SnowflakeGet Savvy with Snowflake
Get Savvy with SnowflakeMatillion
 
Pipelines and Data Flows: Introduction to Data Integration in Azure Synapse A...
Pipelines and Data Flows: Introduction to Data Integration in Azure Synapse A...Pipelines and Data Flows: Introduction to Data Integration in Azure Synapse A...
Pipelines and Data Flows: Introduction to Data Integration in Azure Synapse A...Cathrine Wilhelmsen
 
SAP S4HANA Migration Cockpit.pdf
SAP S4HANA Migration Cockpit.pdfSAP S4HANA Migration Cockpit.pdf
SAP S4HANA Migration Cockpit.pdfKrishnaAkula4
 
Strata sf - Amundsen presentation
Strata sf - Amundsen presentationStrata sf - Amundsen presentation
Strata sf - Amundsen presentationTao Feng
 
MLOps by Sasha Rosenbaum
MLOps by Sasha RosenbaumMLOps by Sasha Rosenbaum
MLOps by Sasha RosenbaumSasha Rosenbaum
 
Time to Talk about Data Mesh
Time to Talk about Data MeshTime to Talk about Data Mesh
Time to Talk about Data MeshLibbySchulze
 
SAP Cloud Platform Integration Services – L1 Deck
SAP Cloud Platform Integration Services – L1 DeckSAP Cloud Platform Integration Services – L1 Deck
SAP Cloud Platform Integration Services – L1 DeckSAP Cloud Platform
 
Azure Data Factory for Azure Data Week
Azure Data Factory for Azure Data WeekAzure Data Factory for Azure Data Week
Azure Data Factory for Azure Data WeekMark Kromer
 
Azure Data Factory v2
Azure Data Factory v2Azure Data Factory v2
Azure Data Factory v2inovex GmbH
 
Modern Data Flow
Modern Data FlowModern Data Flow
Modern Data Flowconfluent
 
Azure Data Lake Intro (SQLBits 2016)
Azure Data Lake Intro (SQLBits 2016)Azure Data Lake Intro (SQLBits 2016)
Azure Data Lake Intro (SQLBits 2016)Michael Rys
 
Databricks Platform.pptx
Databricks Platform.pptxDatabricks Platform.pptx
Databricks Platform.pptxAlex Ivy
 
Data Migration Tools for the MOVE to SAP S_4HANA - Comparison_ MC _ RDM _ LSM...
Data Migration Tools for the MOVE to SAP S_4HANA - Comparison_ MC _ RDM _ LSM...Data Migration Tools for the MOVE to SAP S_4HANA - Comparison_ MC _ RDM _ LSM...
Data Migration Tools for the MOVE to SAP S_4HANA - Comparison_ MC _ RDM _ LSM...SreeGe1
 
Architect’s Open-Source Guide for a Data Mesh Architecture
Architect’s Open-Source Guide for a Data Mesh ArchitectureArchitect’s Open-Source Guide for a Data Mesh Architecture
Architect’s Open-Source Guide for a Data Mesh ArchitectureDatabricks
 

Tendances (20)

Moving to Databricks & Delta
Moving to Databricks & DeltaMoving to Databricks & Delta
Moving to Databricks & Delta
 
Architecting a datalake
Architecting a datalakeArchitecting a datalake
Architecting a datalake
 
AWS Webcast - Implementing SAP Solutions on the AWS Cloud
AWS Webcast - Implementing SAP Solutions on the AWS CloudAWS Webcast - Implementing SAP Solutions on the AWS Cloud
AWS Webcast - Implementing SAP Solutions on the AWS Cloud
 
Get Savvy with Snowflake
Get Savvy with SnowflakeGet Savvy with Snowflake
Get Savvy with Snowflake
 
Pipelines and Data Flows: Introduction to Data Integration in Azure Synapse A...
Pipelines and Data Flows: Introduction to Data Integration in Azure Synapse A...Pipelines and Data Flows: Introduction to Data Integration in Azure Synapse A...
Pipelines and Data Flows: Introduction to Data Integration in Azure Synapse A...
 
S4HANA Migration Overview
S4HANA Migration OverviewS4HANA Migration Overview
S4HANA Migration Overview
 
SAP S4HANA Migration Cockpit.pdf
SAP S4HANA Migration Cockpit.pdfSAP S4HANA Migration Cockpit.pdf
SAP S4HANA Migration Cockpit.pdf
 
Strata sf - Amundsen presentation
Strata sf - Amundsen presentationStrata sf - Amundsen presentation
Strata sf - Amundsen presentation
 
MLOps by Sasha Rosenbaum
MLOps by Sasha RosenbaumMLOps by Sasha Rosenbaum
MLOps by Sasha Rosenbaum
 
Time to Talk about Data Mesh
Time to Talk about Data MeshTime to Talk about Data Mesh
Time to Talk about Data Mesh
 
SAP Cloud Platform Integration Services – L1 Deck
SAP Cloud Platform Integration Services – L1 DeckSAP Cloud Platform Integration Services – L1 Deck
SAP Cloud Platform Integration Services – L1 Deck
 
Azure Data Factory for Azure Data Week
Azure Data Factory for Azure Data WeekAzure Data Factory for Azure Data Week
Azure Data Factory for Azure Data Week
 
Azure Data Factory v2
Azure Data Factory v2Azure Data Factory v2
Azure Data Factory v2
 
Modern Data Flow
Modern Data FlowModern Data Flow
Modern Data Flow
 
Sap Cloud Migration
Sap Cloud MigrationSap Cloud Migration
Sap Cloud Migration
 
Azure Data Lake Intro (SQLBits 2016)
Azure Data Lake Intro (SQLBits 2016)Azure Data Lake Intro (SQLBits 2016)
Azure Data Lake Intro (SQLBits 2016)
 
Databricks Platform.pptx
Databricks Platform.pptxDatabricks Platform.pptx
Databricks Platform.pptx
 
Data Migration Tools for the MOVE to SAP S_4HANA - Comparison_ MC _ RDM _ LSM...
Data Migration Tools for the MOVE to SAP S_4HANA - Comparison_ MC _ RDM _ LSM...Data Migration Tools for the MOVE to SAP S_4HANA - Comparison_ MC _ RDM _ LSM...
Data Migration Tools for the MOVE to SAP S_4HANA - Comparison_ MC _ RDM _ LSM...
 
Azure Data Factory v2
Azure Data Factory v2Azure Data Factory v2
Azure Data Factory v2
 
Architect’s Open-Source Guide for a Data Mesh Architecture
Architect’s Open-Source Guide for a Data Mesh ArchitectureArchitect’s Open-Source Guide for a Data Mesh Architecture
Architect’s Open-Source Guide for a Data Mesh Architecture
 

Similaire à SAP integration sample payloads for Azure Logic Apps

Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data SheetBiz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheetkaushiksin
 
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data SheetBiz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheetkaushiksin
 
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data SheetBiz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheetkaushiksin
 
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data SheetBiz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheetkaushiksin
 
Biztalk Server 2006
Biztalk Server 2006Biztalk Server 2006
Biztalk Server 2006ipaciti
 
MOSS 2007 Deployment Fundamentals -Part2
MOSS 2007 Deployment Fundamentals -Part2MOSS 2007 Deployment Fundamentals -Part2
MOSS 2007 Deployment Fundamentals -Part2Information Technology
 
Solutions for bi-directional integration between Oracle RDBMS and Apache Kafka
Solutions for bi-directional integration between Oracle RDBMS and Apache KafkaSolutions for bi-directional integration between Oracle RDBMS and Apache Kafka
Solutions for bi-directional integration between Oracle RDBMS and Apache KafkaGuido Schmutz
 
The Story of How an Oracle Classic Stronghold successfully embraced SOA (ODTU...
The Story of How an Oracle Classic Stronghold successfully embraced SOA (ODTU...The Story of How an Oracle Classic Stronghold successfully embraced SOA (ODTU...
The Story of How an Oracle Classic Stronghold successfully embraced SOA (ODTU...Lucas Jellema
 
Pivoting Spring XD to Spring Cloud Data Flow with Sabby Anandan
Pivoting Spring XD to Spring Cloud Data Flow with Sabby AnandanPivoting Spring XD to Spring Cloud Data Flow with Sabby Anandan
Pivoting Spring XD to Spring Cloud Data Flow with Sabby AnandanPivotalOpenSourceHub
 
Serverless by Example: Building a Real-Time Chat System
Serverless by Example: Building a Real-Time Chat SystemServerless by Example: Building a Real-Time Chat System
Serverless by Example: Building a Real-Time Chat SystemAmazon Web Services
 
Building social and RESTful frameworks
Building social and RESTful frameworksBuilding social and RESTful frameworks
Building social and RESTful frameworksbrendonschwartz
 
The Story of How an Oracle Classic Stronghold successfully embraced SOA
The Story of How an Oracle Classic Stronghold successfully embraced SOAThe Story of How an Oracle Classic Stronghold successfully embraced SOA
The Story of How an Oracle Classic Stronghold successfully embraced SOALucas Jellema
 
Deep dive into the native multi model database ArangoDB
Deep dive into the native multi model database ArangoDBDeep dive into the native multi model database ArangoDB
Deep dive into the native multi model database ArangoDBArangoDB Database
 
Introducing SOA and Oracle SOA Suite 11g for Database Professionals
Introducing SOA and Oracle SOA Suite 11g for Database ProfessionalsIntroducing SOA and Oracle SOA Suite 11g for Database Professionals
Introducing SOA and Oracle SOA Suite 11g for Database ProfessionalsLucas Jellema
 
Introduction To Adobe Flex And Semantic Resources
Introduction To Adobe Flex And Semantic ResourcesIntroduction To Adobe Flex And Semantic Resources
Introduction To Adobe Flex And Semantic Resourceskeith_sutton100
 
Onion Architecture with S#arp
Onion Architecture with S#arpOnion Architecture with S#arp
Onion Architecture with S#arpGary Pedretti
 

Similaire à SAP integration sample payloads for Azure Logic Apps (20)

Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data SheetBiz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
 
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data SheetBiz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
 
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data SheetBiz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
 
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data SheetBiz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
Biz Talk Adapter Pack 2 0 Oracle Ebs Adapter Data Sheet
 
Biztalk Server 2006
Biztalk Server 2006Biztalk Server 2006
Biztalk Server 2006
 
MOSS 2007 Deployment Fundamentals -Part2
MOSS 2007 Deployment Fundamentals -Part2MOSS 2007 Deployment Fundamentals -Part2
MOSS 2007 Deployment Fundamentals -Part2
 
Mashups
MashupsMashups
Mashups
 
Solutions for bi-directional integration between Oracle RDBMS and Apache Kafka
Solutions for bi-directional integration between Oracle RDBMS and Apache KafkaSolutions for bi-directional integration between Oracle RDBMS and Apache Kafka
Solutions for bi-directional integration between Oracle RDBMS and Apache Kafka
 
The Story of How an Oracle Classic Stronghold successfully embraced SOA (ODTU...
The Story of How an Oracle Classic Stronghold successfully embraced SOA (ODTU...The Story of How an Oracle Classic Stronghold successfully embraced SOA (ODTU...
The Story of How an Oracle Classic Stronghold successfully embraced SOA (ODTU...
 
Pivoting Spring XD to Spring Cloud Data Flow with Sabby Anandan
Pivoting Spring XD to Spring Cloud Data Flow with Sabby AnandanPivoting Spring XD to Spring Cloud Data Flow with Sabby Anandan
Pivoting Spring XD to Spring Cloud Data Flow with Sabby Anandan
 
Project seminar
Project seminarProject seminar
Project seminar
 
Serverless by Example: Building a Real-Time Chat System
Serverless by Example: Building a Real-Time Chat SystemServerless by Example: Building a Real-Time Chat System
Serverless by Example: Building a Real-Time Chat System
 
Building social and RESTful frameworks
Building social and RESTful frameworksBuilding social and RESTful frameworks
Building social and RESTful frameworks
 
The Story of How an Oracle Classic Stronghold successfully embraced SOA
The Story of How an Oracle Classic Stronghold successfully embraced SOAThe Story of How an Oracle Classic Stronghold successfully embraced SOA
The Story of How an Oracle Classic Stronghold successfully embraced SOA
 
CouchDB
CouchDBCouchDB
CouchDB
 
Deep dive into the native multi model database ArangoDB
Deep dive into the native multi model database ArangoDBDeep dive into the native multi model database ArangoDB
Deep dive into the native multi model database ArangoDB
 
Visual studio
Visual studioVisual studio
Visual studio
 
Introducing SOA and Oracle SOA Suite 11g for Database Professionals
Introducing SOA and Oracle SOA Suite 11g for Database ProfessionalsIntroducing SOA and Oracle SOA Suite 11g for Database Professionals
Introducing SOA and Oracle SOA Suite 11g for Database Professionals
 
Introduction To Adobe Flex And Semantic Resources
Introduction To Adobe Flex And Semantic ResourcesIntroduction To Adobe Flex And Semantic Resources
Introduction To Adobe Flex And Semantic Resources
 
Onion Architecture with S#arp
Onion Architecture with S#arpOnion Architecture with S#arp
Onion Architecture with S#arp
 

Dernier

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 

Dernier (20)

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 

SAP integration sample payloads for Azure Logic Apps

  • 1. Sample payloads for SAP Integration via Azure Logic Apps David Burg November 2019
  • 2. ©Microsoft Corporation Azure Starting with the basic Azure Logic Apps SAP Connector Integration solution in the Azure hybrid cloud https://azure.microsoft.com/en- us/services/logic-apps/ REST-native, serverless, codeless, massively scalable, several hundred connectors, enterprise grade service. Introduction to the connector for SAP https://docs.microsoft.com/en-us/azure/logic- apps/logic-apps-using-sap-connector All the requests-responses are XML. Logic App has native XML support and to Json conversion https://docs.microsoft.com/en-us/azure/logic- apps/workflow-definition-language-functions- reference#manipulation-functions-json--xml
  • 3. ©Microsoft Corporation Azure 3 types of possible communication with SAP RFC BAPI IDOC Remote Function Call – SAP’s standard interface to communicate between systems https://en.wikipedia.org/wiki/Remote_Function _Call Business API – higher level access, manipulate business objects via functions (API) maintaining data consistency https://en.wikipedia.org/wiki/Business_Applicat ion_Programming_Interface Intermediate Document – SAP’s format for business transactions, e.g. purchase, invoice, shipment, etc. https://en.wikipedia.org/wiki/IDoc
  • 4. Optional XML prolog This is optional and the SAP Connector will work with or without it. The SAP .NET Connector library on which the connector is built is Unicode native. Do send XML documents encoded with UTF-8. Read more about the prolog here: https://www.w3schools.com/xml/xml_syntax.asp
  • 6. Hello world RFC call RFC name Namespace for all RFCs. This example uses default namespace (xmlns=…). You can also assign and use namespace aliases (xmlns:aliasXyz=…). Simple input parameter
  • 7. RFC with table parameter This test RFC and its group of test RFCs are available out of the box in any SAP system. The table parameter name (TCPICDAT). This specific row type contains a single field named LINE. Table line types may contain n fields. The table line type is ABAPTEXT. This element repeats for each row in the table.
  • 8. Table with anonymous field This line type structure contains a single anonymous field (i.e. the field has no name assigned). Character for hex code 002F is reserved in SAP field name and used here as escape character. Note that complex types are declared under separate namespace. This new XML namespace declaration set a new default for the current node and all its child elements.
  • 9. Namespaces prefixes sample All prefixes can be declared at once or any amount of prefix may be declared as attribute to any node. ‘RFC’ namespace is used for the root and parameters of basic type. Note that complex types are declared under separate namespace ‘RFC types’.
  • 10. Full samples as files (double click file to open)
  • 11. BAPIs
  • 12. Get list of Banks <GETLIST xmlns="http://Microsoft.LobServices.Sap/2007/03/Ba pi/BUS1011/"> <BANK_CTRY>US</BANK_CTRY> <MAX_ROWS>10</MAX_ROWS> </GETLIST> The BAPI method ‘Get list’. When an object is selected in the designer, the set of available methods is provided as simple drop-down in the Logic App designer. The business object for bank (BUS1011). The Call BAPI API on SAP connector provides a searchable list in the Azure Logic Apps Designer. Typing ‘bank’ keyword will filter to all business object types for bank including this BUS1011. Limits the number of items in the response
  • 13. Create a Bank object <CREATE xmlns="http://Microsoft.LobServices.Sap/2007/03/Ba pi/BUS1011/"> <BANK_ADDRESS> <BANK_NAME xmlns="http://Microsoft.LobServices.Sap/2007/03/Ty pes/Rfc/">VERIZON BANK</BANK_NAME> <REGION xmlns="http://Microsoft.LobServices.Sap/2007/03/Ty pes/Rfc/"></REGION> <STREET xmlns="http://Microsoft.LobServices.Sap/2007/03/Ty pes/Rfc/">15</STREET> <CITY xmlns="http://Microsoft.LobServices.Sap/2007/03/Ty pes/Rfc/">JODHPUR</CITY> </BANK_ADDRESS> <BANK_CTRY>US</BANK_CTRY> <BANK_KEY>{0}</BANK_KEY> </CREATE> Create method Same business object Beware per system configured SAP validation rule(s). For instance, the key may have to be an ABA bank identifier in the USA.
  • 15. Full sample as files (double click file to open)
  • 16. IDOCs
  • 18. ©Microsoft Corporation Azure Plain SAP IDOC XML Generating the schema Use SAP Logon GUI application and T-Code WE-60 to access SAP Documentation and generate per IDOC type / per IDOC extension XML schema (XSD file) Usage This format and payload is generic to SAP. Find explanation of each field built-in SAP dialog and in SAP documentation as well as many online public resources.
  • 19. Full sample as files (double click file to open)
  • 21. ©Microsoft Corporation Azure ‘BizTalk’s’ SAP IDOC XML (and Flat File) Generating the schema Use Azure Logic Apps SAP Connector built-in schema generation action and generate per IDOC type / per IDOC extension XML schema (XSD file) Usage This format and payload is most convenient if you are migrating from BizTalk. Learn more in BizTalk Server’s public documentation at: https://docs.microsoft.com/en-us/biztalk/adapters-and- accelerators/adapter-sap/send-idocs-to-sap-using-biztalk- server Flat-file IDOC in XML message is also supported in Azure Logic App SAP Connector.
  • 22. Root node, namespaces declarations http://schemas.microsoft.com/2003/10/Serialization/ http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/ Find detailed explanation about the IDOC URI in this blog post: https://www.linkedin.com/pulse/logic-app-sap-connector-idoc-support-going-under-hood-david-burg/ The idocData node can be repeated to form a batch of IDOCs to send in a single call.
  • 23. IDOC Data element One Control Record N Data Records
  • 24. Control Record sample SAP Official doc for the control record: - click here -
  • 25. Data Record plain Segments Data Record segment name This sample is using SAP’s format for dates. Strong typed documents can use native XML types, e.g. 9999-12-31 23:59:59 More at https://www.w3schools.com/xml/schema_dtypes_date. asp
  • 26. Data Record Group Segments Group parent node N child nodes
  • 27. Optional IDOC transport ID for tRFC Last Data Record segment node closing IDOC Data node closing GUID will form the tRFC TID for duplicate transport detection. This node can be omitted. Recommend to set the tRFC TID instead via connector API parameter, see: https://docs.microsoft.com/en- us/connectors/sap/#send-idoc
  • 28. Full samples as file (double click file to open)
  • 29. ©Microsoft Corporation Azure Resources Free Azure Account Author’s blog https://azure.microsoft.com/en-us/free/ Find this deck and more posts about Azure, Logic Apps, SAP, XML, Json at my blog: https://www.linkedin.com/in/daviburg/detail/re cent-activity/posts/
  • 30. © Copyright Microsoft Corporation. All rights reserved.