Skip to Content
Author's profile photo Rashmi Joshi

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 –

Msg Flow.png

1. Pre-requisites –

System

Task

SAP ERP

>= ERP 6.0 EHP0 SP 15(SAP_APPL);
SAP BASIS 7.0 SP 18 (SAP_BASIS)

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

           PP.png

     b. Create Port WE21

            /wp-content/uploads/2016/01/port_876958.png

     c. RFC Destination to point PI System –

For Dual Stack, we need to create Type 3 RFC Destination –/wp-content/uploads/2016/01/rfc_876961.png

For Single stack, we need to create Type T RFC Destination –/wp-content/uploads/2016/01/rfc2_878018.png

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 –

             PIRFC.png

For single stack create it in NWA (http://<HOST>:<PORT>/nwa)detination in NWA.png

     c. Create port in IDX1 for type 3 RFC

                          IDX1.png


    d. Resource Adapter (InboundRA) Configuration for IDOC_AAE (http://<HOST>:<PORT>/nwa –> InboundRA)

Provide the below properties –

InboundRA.png

     e. Receiver Communication Channel –

                        cc rx.png

             


4. Configuration in SAP C4C System –


     a. Login to SAP C4C system and select Business configuration to activate SAP ERP Integration in Scoping

                       /wp-content/uploads/2016/01/scoping_876977.png

               Click on All Projects, Edit Project Scope and click Next

                       /wp-content/uploads/2016/01/editproj_876978.png

              Under Communication and Information Exchange à Integration with External Application and Solutions, select Integration with SAP ERP (and others that are necessary for particular project)

                            Q.png

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.

                       com sys.png

                          com sys 2.png

 

          Enter the ERP details and then activate. Save and close.

                           com sys 3.png

                        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


                 com aggre.png

                         Fill all the required details and click next –

                    new com arr.png

               Select the appropriate communication agreement and click on next –

              comm aggre.PNG

              Provide the credentials –

             /wp-content/uploads/2016/01/creden_877028.png

          We can provide the password and download the certificate after clicking the Edit Credentials Button

                  /wp-content/uploads/2016/01/certi_877029.png

5. Testing –


For testing purpose, we put the file in AL11 of PI system with dummy values.

SAP C4C Monitoring –

            C4C Moni.png

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

Assigned Tags

      8 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Excellent blog !!

      Author's profile photo Rashmi Joshi
      Rashmi Joshi
      Blog Post Author

      Thanks Varun....

      Author's profile photo suratharajan sundarraj
      suratharajan sundarraj

      Nice Work !! Really helpful !!

      Author's profile photo Former Member
      Former Member
      Author's profile photo Avineesh Khare
      Avineesh Khare

      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.

      1. What should be version level of SAP PI to support this integration? Are there any specific components which needs to be installed on SAP PI to enable the connect with SAP Hybris Cloud for Customer? What configurations needs to be maintained in PI to enable sender/receiver communication with C4C.
      2. What configurations needs to be maintain in C4C to establish the communication with SAP PI?
      3. What configurations needs to be maintianed on SAP S/4HANA on-Premise for establishing communication with SAP PI? Is there any specific component which needs to be installed/enabled on S/4HANA on Premise for integrating with SAP Cloud for Customer.

      Thanks in advance.

      Regards

      Avineesh Khar

      Author's profile photo Srinivas Bhimavarapu
      Srinivas Bhimavarapu

      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

       

      Author's profile photo Former Member
      Former Member

      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

      Author's profile photo Rashmi Joshi
      Rashmi Joshi
      Blog Post Author

      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