Sei sulla pagina 1di 31

8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud

ng IaaS (Cloud Integration Gateway) | SAP Blogs

Products
Products Industries
Industries Services and Support
Services Support Training
Training Community
Community Developer
Developer

Partner
Partner About
About

Ask a Question Write a Blog Post

Technical Articles

Ramesh Gulipalli
July 31, 2019 11 minute read

End to End Master data replication from SAP S/4 HANA to


SAP Ariba using IaaS (Cloud Integration Gateway)
Follow RSS feed Like

3 Likes 440 Views 1 Comment

Scenario
This blog post is intended to serve as an end to end, step by step guide on how to replicate the Master data
from S4 HANA to SAP Ariba (Procure to Order business process) through CIG direct connection. We will
take an example of a company code in this case and will only be dealing with an outbound scenario. So there
is no explanation of Cloud Connector as it will come into play for inbound only.

SAP has strategically placed CIG into the integration landscape for ARIBA integration and this blog is
intended to show it by example how simple it is to use CIG (IaaS).

Existing methods of Master Data Integration

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 1/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

Master Data replication from S/4 to Ariba is typically done in the below ways.
1. Batch File transfer
a. ‘.csv” les are uploaded or downloaded via Https
b. Multiple records can be transferred in a single batch
c. Processes can be scheduled
2. SAP Direct Connectivity
a. Direct transfer of master data from SAP to SAP Ariba (discussed in this blog)
3. Web services
a. XML messages over Https
b. Only one record per message
c. A Middle ware application is needed to send/receive messages
d. Mappings are needed
e. Real time le processing
f. More responsibility on the customer to installation, modi cation and maintenance

Steps Involved
The basic steps involved in the end to end master data interface are
1. Con gurations in S4 Hana (SPRO con gurations)
2. Con gurations in Ariba
3. Con gurations in CIG
4. Testing of the scenario

Prerequisites
Below mentioned prerequisites are needed to be able to establish the master data interface successfully
from S4 Hana to SAP Ariba. Please refer to the attached screenshots:

1. CIG add on to be installed on S4 to enable SPRO con gurations and proceed with interface con gurations

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 2/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

2. CIG enablement on ARIBA Realm

3.  Cloud connector not needed for Outbound; only needed for Inbound

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 3/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

4.  Get the partition and variant ID from ARIBA

5.  Download the CIG certi cate from CIG Integration Portal in Resources

6.  Install the CIG certi cate in the Integration Toolkit (ITK) on ARIBA (P2O) and also in S4 Hana
o The certi cate downloaded in the above step has to be installed in the Ariba ITK in integration manager

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 4/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

o The certi cate should also be installed in S/4.

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 5/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

Master Data Integration Architecture

The picture below details the basic integration architecture between S4 Hana and SAP Ariba via CIG. There
is a direct connection for master data.

Depicting the Master Data Integration Architecture

Master Data interface ow for reference

Below gure gives only a reference of the master data interface ow and not an exhaustive list, there are
other ows as well based on the business process involved.

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 6/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

Con gurations in S4 Hana


 

S4 Con gurations in SPRO Tcode


1) Global settings
2) Master Data integration
3) Ariba  and CIG Con guration

1 Global Settings
After logging into S4, go to the Tcode – SPRO -> Navigate to Integration with Other SAP Components ->
SAP Ariba Cloud Integration Gateway -> Ariba Network Integration -> Global Settings

Below are the steps we need to follow for the con gurations sequentially under Global settings:

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 7/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

Figure 4 – Global Settings

1.1 CIG Certi cate Installation in S4 Hana


Navigate to Integration with Other SAP Components -> SAP Ariba Cloud Integration Gateway -> Ariba
Network Integration -> Global Settings
Maintain Certi cates

1.2 Create an RFC Destination


Navigate to Integration with Other SAP Components -> SAP Ariba Cloud Integration Gateway -> Ariba
Network Integration -> Global Settings Create RFC Destination
Use the same P-User which is enabled in CIG (My Con gurations -> Authorizations) for the login and
security tab in the blow step
https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 8/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

1.3 Create a Port


Navigate to Integration with Other SAP Components -> SAP Ariba Cloud Integration Gateway -> Ariba
Network Integration -> Global Settings -> Create Port De nition (i.e. Port type is XML HTTP)
Make sure that the content type is selected as Text/XML and Soap protocol check box is ticked. Click save.

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 9/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

1.4 Create a Logical System

Navigate to Integration with Other SAP Components -> SAP Ariba Cloud Integration Gateway -> Ariba
Network Integration -> Global Settings -> Create Logical System
Prerequisite: Client should be opened and is transportable

1.5 Con gure the receiver Ports

Navigate to Integration with Other SAP Components -> SAP Ariba Cloud Integration Gateway -> Ariba
Network Integration -> Global Settings -> Con gure Receiver Port

1.6 Send SAP S4 Hana information to SAP Ariba CIG

Navigate to Integration with Other SAP Components -> SAP Ariba Cloud Integration Gateway -> Ariba
Network Integration -> Global Settings -> Send SAP Information to SAP Ariba Cloud Integration Gateway ->
https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 10/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

Synchronize SAP Information with SAP Ariba Cloud Integration Gateway

Credentials should be P-User which is enabled in CIG

Once the above step is performed, a connection is established in CIG automatically under the Basic Data
tab

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 11/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

1.7 Con gure the Variant and Partition IDs


Navigate to Integration with Other SAP Components -> SAP Ariba Cloud Integration Gateway -> Ariba
Network Integration -> Global Settings -> Map the Variant and Partition for SAP Ariba solutions (REALM ID’s
for Partition and Variant are to be received from SAP Ariba Cloud APPS team)

2 Master Data integration

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 12/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

2.1 Con gure External Commands for Operating System

Navigate to Integration with Other SAP Components -> SAP Ariba Cloud Integration Gateway -> Master
Data Integration -> General Settings -> Con gure External Commands for Operating System
Note: Based on the Operating system the commands would have to be modi ed

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 13/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

2.2 Con gure Ariba Incremental Extract Event

Navigate to Integration with Other SAP Components -> SAP Ariba Cloud Integration Gateway -> Master
Data Integration -> General Settings -> Con gure Ariba Incremental Extract Event (Click Execute to view the
tables)

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 14/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

2.3 Con gure Ariba Master Data Incremental Field Restrictions

Navigate to Integration with Other SAP Components -> SAP Ariba Cloud Integration Gateway -> Master
Data Integration -> General Settings -> Con gure Ariba Master Data Incremental Field Restrictions

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 15/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

2.4 Con gure Ariba Event Linkages

Navigate to Integration with Other SAP Components -> SAP Ariba Cloud Integration Gateway -> Master
Data Integration -> General Settings -> Con gure Ariba Event Linkages
Prerequisite: Client should be opened

2.5 Maintain parameters for Master Data Integration

a) Cross application
Navigate to Integration with Other SAP Components -> SAP Ariba Cloud Integration Gateway -> Master
Data Integration -> General Settings -> Maintain Parameters -> Cross Application
Prerequisite: The directories should have been created before this step

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 16/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

b) Procurement

Navigate to Integration with Other SAP Components -> SAP Ariba Cloud Integration Gateway -> Master
Data Integration -> General Settings -> Procurement
Note: Based on the customer requirements the parameters might vary

2.6 Maintain Filters


a) Cross application
Navigate to Integration with Other SAP Components -> SAP Ariba Cloud Integration Gateway -> Master
Data Integration -> General Settings -> Maintain Filters -> Cross Application
Note: Based on the customer requirements the parameters might vary (eg: Company_Code_Export from S4
to Ariba)

b) Procurement
Navigate to Integration with Other SAP Components -> SAP Ariba Cloud Integration Gateway -> Master
Data Integration -> General Settings -> Procurement

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 17/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

2.7 Connection parameters

Add all the child and parent realms for procurement

Navigate to Integration with Other SAP Components -> SAP Ariba Cloud Integration Gateway -> Master
Data Integration -> General Settings Connection Parameters for Master Data

2.8 Maintain System ID for Master Data

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 18/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

Navigate to Integration with Other SAP Components -> SAP Ariba Cloud Integration Gateway -> Master
Data Integration -> General Settings -> Maintain System ID for Master Data

2.9 Maintain Date Time Stamp for Master Data

Navigate to Integration with Other SAP Components -> SAP Ariba Cloud Integration Gateway -> Master
Data Integration -> General Settings -> Maintain Date Time Stamp for Master Data

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 19/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

2.10 Maintain Field Map for Master Data and Catalog Upload Request

Even if there are no custom mapping elds, this step has to be performed from the golden client to the client
on which we have to replicate the data
Navigate to Integration with Other SAP Components -> SAP Ariba Cloud Integration Gateway -> Master
Data Integration -> Enhancements -> Maintain Field Map for Master Data and Catalog Upload Request
1. The Change View “Table to maintain mapping of SAP to Buyer elds”: Overview screen appears.
2. Click New Entries in the application toolbar to add new entries.
3. Enter the following details:
4. Solution: Select a solution from the list for which you are mapping the eld.
5. Structure: Add a structure name. For example, ARBCIG_BP_LANG_STR
6. Field SAP: Add the SAP S/4 eld name that you want to map. For example, BUDGETPDTX
7. Field Ariba: Add the Ariba solution eld name to which you want to map. For example, Name
8. Click Save.

2.11 Interface set up for Master Data


This is done for establishing the direct connection from S4 to Ariba
o P user ID needed
o URL host needed
o Path pre x needed

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 20/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

After Execute – result is below

(It means that the web service is activated in SOA manager)

Go to the SOA manager transaction (to check the activated web service; no actions required in SOA
manager as it is already done in the interface setup)

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 21/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

Searching the activated service from Interface setup via SPRO

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 22/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

3.Con guration in Ariba


3.1 Integration Con guration in Ariba
Go to the Integration manager transaction after logging into Ariba.
Select the Web service as we are importing via Web service

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 23/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

3.2 Certi cate installation

Certi cate Installation in ITK in Ariba for authentication and to load the data

3.3 Data de nition

Data De nition table in Ariba – to know the details of the data

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 24/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

All the Ariba elds for company codes master data

Testing
Testing: Executing extraction program from S4 to  Ariba  replication of master data

S4 status:

Go to the Tcode – SE38


Program – ARBCIG_MASTER_DATA_EXPORT

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 25/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

Full load is run the rst time and there on the incremental load can be executed by creating the variant and
scheduling it in the background job.

FPC enables – when we want the data to be replicated to both the parent and child site in Ariba, we have to
enable this. We have to get the site name from SAP Ariba Cloud team.

Populate the details as shown below which we con gured in the above sections.

Click Execute to start replication

File generated in S4 – Archive folder in AL11 – this is to be replicated into SAP Ariba

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 26/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

Go to the Tcode – SRT_MONI – to check the message processing status

CIG Transaction tracker status:it will give the transaction status .

Below entry is displayed in the transaction tracker in CIG

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 27/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

Ariba status:

Login to Ariba integration manager -> Click on data import and export -> Search for the task Import Batch
Data. There will be an entry with the completed transaction.

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 28/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

Go to the details tab; notice that the client type is mentioned a DirectConnect signifying the direct
connection that we established. At the bottom of the page the “CpmpanyCode.csv” le is visible.

Search for the task – Company Code and export the company codes to the local machine to verify.

End result – This is how the “.csv” le exported from Ariba will look like

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 29/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

Alert Moderator

Assigned tags

SAP Ariba Cloud Integration Gateway | Ariba Cloud Integration | SAP Ariba Procurement | SAP Cloud Platform
Integration | SAP Cloud Platform Integration tools |

View more...

Related Blog Posts

 
SAP Integration with SAP ARIBA – Collaborative Supply Chain
By Vijay Vital , Dec 18, 2017
Conclusion
Working with Custom Routing in SAP ARIBA CIG
By Kaustubh P Deshpande , Jul 19, 2019
To conclude, this scenario outlines the ease with which we can replicate the master data from S/4 system to
Supplier
Ariba integration
(parent andvia Cloud
child Integration
site) Gateway
using the & SAPintegration
seamless HCI capabilities of Ariba CIG (using directconnect).
By Vijay Vital , Jan 03, 2018
This also eliminates the use of a middle ware in between S/4 and the target system.

 
Related Questions
Advantages of Using the Direct connectivity
1. CanIntegration
Cloud leverage Gateway
the integration toolkit
(CIG) Error in the customer
in Transcation landscape
Tracker (PartnerID is empty)
2. Minimal system requirements
By Varaprasad Anala , Jun 27, 2019 to install
3. Coordinate timing with the S/4 for full load or incremental load
"Related ID " is not re ecting in ARIBA contract work space which is triggered from from SAP ECC
By Former Member , Oct 15, 2017
 HTTP response '403: Forbidden' when communicating with XXX.com in CIG portal
By Karthick P , Aug 05, 2019

1 Comment

Ganesh Gullipalli

July 31, 2019 at 1:31 pm


Hi Ramesh

Awesome  Techincal article… Thanks for a detail explanation about S4HANA, ARIBA, CIG concepts.

Like (0) Reply Alert Moderator

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 30/31
8/12/2019 End to End Master data replication from SAP S/4 HANA to SAP Ariba using IaaS (Cloud Integration Gateway) | SAP Blogs

Add Comment

Share & Follow

Privacy Terms of Use

Legal Disclosure Copyright

Trademark Cookie Preferences

Sitemap Newsletter

https://blogs.sap.com/2019/07/31/end-to-end-master-data-replication-from-sap-s4-hana-to-sap-ariba-using-iaas-cloud-integration-gateway/ 31/31

Potrebbero piacerti anche