Professional Documents
Culture Documents
OpenSAP Cp9 Week 3 Unit 2 SIEM Additional Exercise
OpenSAP Cp9 Week 3 Unit 2 SIEM Additional Exercise
Send SOA message from SAP S/4HANA Cloud to a trading partner as ASC X12 message
As shown in the demo of Week 3 Unit 2, the scenario is to send a Purchase Order Request from an S/4 HANA system
which reaches the SAP Cloud Platform Integration via a SOAP adapter. This message is then processed and
converted into ASC X12 format and sent out to a trading partner via an AS2 adapter. The interfaces and mappings are
generated using the Integration Advisor and imported into the CPI integration flow. The end-to-end scenario is
showcased in the image below.
But the scope of this exercise is to give you hands-on experience in creating MIGs and MAGs using Integration
Advisor. The optional part of the exercise where you consume the artifacts from Integration Advisor in an CPI
integration flow is completely up to you to try it by your own.
Exercise Goals
1. Create a customized interface for the SOA based purchase message structure in form of a Message
Implementation Guideline (MIG)
2. Create a mapping from this customized SOA message structure to the corresponding target message structure,
which is based on ASC X12 850.
3. Generate the runtime artifacts, which are used in SAP Cloud Platform Integration flow
Prerequisites
• SAP Cloud Platform Integration Advisor tenant (refer to System Information page in openSAP)
2
Exercise Steps:
Explanation Screenshot
1. Open Google Chrome (or IE10
Browser)
3. To create your customized
interfaces, you need to go to the
Message Implementation
Guideline section
a. Click on "Message
Implementation Guidelines
(MIGs)"
3
7. In the pop-up window, the first
step is to select the "Type
System"
4
16. Set the business context
categories of your Message
Implementation Guideline
Industry Classification:
Consumer Products
Geo Political: United States
Business Process Role: Buyer
5
24. You'll see the structure of the
Message Implementation
Guideline in "Edit" mode in
where you can select required
elements/codes or deselect the
unrequired elements/codes.
6
31. The group element "Party" is
very generic and must be
semantically precised. This is
possible by qualifier values
coming from the child element
"PartyType". It is now
necessary to select the
appropriate qualifiers.
7
37. You'll see the proposed max
occurrences.
a. Select the max occurrence
"9999"
8
Part 2: Integration Advisor – Create Mapping Guideline
Explanation Screenshot
1. From the main menu, select the
option Mapping Guidelines
(MAGs) to navigate to the area
where we will create a new
mapping
b.
3. Select the source MIG that you
created in the first part of this
exercise "XX – Source - SOA:
Purchase Order Out" or you
can also use the already
prepared source and target
MIG’s.
6. Click on “Create”
c.
9
7. In the "Mapping Guidelines"d.
editor, you'll see the overview
page of the new mapping
guideline.
e.
8. The mapping view shows thea.
customized source and target
structures provided by the
selected source and target
MIGs including the already set
constants at the target side.
10
11. Scroll down at the lower viewc.to
see the proposed mapping
elements with a
confidence indicator
d.
12. For getting the best fit mapping
e.
elements into the Mapping
Guideline
f.
13. Simulate the mapping with test
data by the following steps:
a. Click on button "Simulate"
g.
11
15. Now let us select a mapping
between source element
“PurchaseOrderCreationDate”
and target element “Date
(373)”
h.
i.
18. Now you can click on the
“Mapping Guidelines”
navigation link on the top to go
back to the list of all MAG’s
Part 3: Integration Advisor – Export of Interface (MIG) and Mapping (MAG) Artifacts
Explanation Screenshot
The last section in this exercise will
conclude with the export of the
Mapping artifacts to be consumed
either in SAP Cloud Platform
Integration or SAP Process
Integration.
12
2. Now click on the “…” (three
dots) icon on the right top
corner of the Mapping
Guidelines view.
Optional Step:
Now to consume the exported runtime artifacts in related Integration Flow steps for e.g. validation, mapping and
syntax conversion, please refer to the documentation described in detail with predefined templates at:
https://api.sap.com/package/ICAPrepackagedContent?section=Overview
Additional Resources
A detailed product and feature description of Integration Content Advisor can be found in following blog:
https://blogs.sap.com/2019/03/12/integration-content-advisor-overview-of-components-and-further-reading/
13
Coding Samples
Any software coding or code lines/strings (“Code”) provided in this documentation are only examples and are not intended for use in a production system environment. The Code is only intended to better
explain and visualize the syntax and phrasing rules for certain SAP coding. SAP does not warrant the correctness or completeness of the Code provided herein and SAP shall not be liable for errors or
damages cause by use of the Code, except where such damages were caused by SAP with intent or with gross negligence.
www.sap.com/contactsap
The information contained herein may be changed without prior notice. Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.
National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or wa rranty of any kind, and SAP or its affiliated companies shall not be liable
for errors or omissions with respect to the materials. The only warranties for SAP or SAP affiliate company products and services are those that are set forth in the express warranty statements
accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this docume nt or any related presentation, or to develop or release any functionality
mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/or platform directions and functionality are
all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The information in this document is not a commitment, promise, or legal obligation
to deliver any material, code, or functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are
cautioned not to place undue reliance on these forward-looking statements, and they should not be relied upon in making purchasing decisions.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other
countries. All other product and service names mentioned are the trademarks of their respective companies. See www.sap.com/copyright for additional trademark information and notices.