Integrate SAP PI with SAP Cloud For Customer
Hi SAPiense,
SAP customers have made large investments in on-premise Sales and Distribution application capabilities. The SAP SD module continues to be viable in the corporate system landscape, but many customers want to enable a fresh and intuitive user experience, increased functionality, and faster delivery of new functionality. The hybrid integration scenario is a great enabler of application delivery via the cloud, because it allows the customer to preserve the investment already made in the on-premise SAP SD module. By the utilization of iFlow solution content delivered by SAP PI, a bridge between the on-premise SAP SD module and the SAP Cloud for Customer system is established, thus allowing the customer to take advantage of the strengths of both.
This document details the steps required to enable communication between an SAP Cloud for Customer(C4C) and the on-premise SAP ECC system, using SAP PI as the on-premise middleware layer.
Message Flow –
1. Pre-requisites –
System |
Task |
|
SAP ERP |
>= ERP 6.0 EHP0 SP 15(SAP_APPL); |
|
Install C4C add-on CODERINT 600 (COD_ERP_INT 6.00) |
||
SAP PI |
>= SAP PI 7.11 |
Note – SAP has delivered standard contents for C4C integration which can be consumed via SAP Cloud Cust ERP Integr 2.0 SWC.
2. Background Configuration in ERP System –
a. Create Partner Profile WE20
b. Create Port WE21
c. RFC Destination to point PI System –
For Dual Stack, we need to create Type 3 RFC Destination –
For Single stack, we need to create Type T RFC Destination –
3. Background Configuration in SAP PI System –
a. Create Technical and Business System in SLD for ECC system
b. RFC Destination to point to ECC System –
For single stack create it in NWA (http://<HOST>:<PORT>/nwa)
c. Create port in IDX1 for type 3 RFC
d. Resource Adapter (InboundRA) Configuration for IDOC_AAE (http://<HOST>:<PORT>/nwa –> InboundRA)
Provide the below properties –
e. Receiver Communication Channel –
4. Configuration in SAP C4C System –
a. Login to SAP C4C system and select Business configuration to activate SAP ERP Integration in Scoping
Click on All Projects, Edit Project Scope and click Next
Under Communication and Information Exchange à Integration with External Application and Solutions, select Integration with SAP ERP (and others that are necessary for particular project)
Click Next and select the following scenarios:
- Do you want to replicate accounts and contacts from your cloud solution to your SAP ERP solution?
- Do you want to replicate accounts and contacts from your SAP ERP application to your cloud solution?
- Do you use your SAP ERP system to calculate prices for opportunity items in your cloud solution?
b. Setup Communication System
We need to create a communication system with details of PI host and business name of ECC system. Path –> Administrator tab –> Communication Systems tab and Create a new communication system.
Enter the ERP details and then activate. Save and close.
Once the communication system is active, we need to create a communication arrangement as per the requirements of the objects.
c. Communication Arrangement Configuration
Login to SAP C4C system and Select Administrator –> Communication Agreement
Fill all the required details and click next –
Select the appropriate communication agreement and click on next –
Provide the credentials –
We can provide the password and download the certificate after clicking the Edit Credentials Button
5. Testing –
For testing purpose, we put the file in AL11 of PI system with dummy values.
SAP C4C Monitoring –
As we can see from the above screen shot PI was able to successfully ping the SAP C4C web service.
Important check points –
1. Make sure all the required objects certificates and root certificates are deployed on PI server
2. Take the necessary action with the help of networking team in case of firewall
3. After below two steps are been taken care, ping the communication channel to check the status in connectivity between PI and C4C
Thanks & Regards,
Rashmi Joshi
Excellent blog !!
Thanks Varun....
Nice Work !! Really helpful !!
Demo: SAP Cloud for Customer Integration with SAP ERP - Nice demo
Hi Rashmi
We are implementing SAP Hybris Cloud for Customer with scenario where we are integrating SAP Hybris Cloud For Customer 1608 with SAP S/4HANA 1511 On-Premise Via SAP PI. Have below queries regarding establishing the system communication for the integration scenario to be enabled. Will appreciate your help if you can direct me so some relevant documents or videos where I can find the relevant information for the below queries.
Thanks in advance.
Regards
Avineesh Khar
Hi Avineesh,
Just came across this post . I hope the below link helps.
https://help.sap.com/saphelp_sapcloudforcustomer/en/SAP_ERP/index.html#548a488a20464c0aa08f969424ad23b9.html
Thanks
Srini
Hi Rashmi,
Thanks for the Nice blog. Wanted to find with respect to SAP PO single stack for integrating SAP C4C with SAP CRM/ECC using standard content do we need to maintain routing conditions in interface determination ?If so where can I find all the routing conditions to be included. Do you know how the structure of C4C needs to be enhanced in SAP PO for customizations ?Do we need to request C4C for XSD/WSDL ?
If you can let me know few of the details it helps.
Thanks and Regards,
Rajesh Naidu
Hi Rajesh,
Not sure what you meant by "where can I find all the routing conditions to be included", could you please elaborate more on this?
It was wsdl file...
BR,
Rashmi