Skip to content

Latest commit

 

History

History
153 lines (88 loc) · 5.05 KB

File metadata and controls

153 lines (88 loc) · 5.05 KB

Configuration in SAP ECC

In this section, we will see how we can enable IDoc and integrate SAP ECC with cloud integration.

The ERP used was SAP ECC running ODTFINCC 600 SP11 and SAP_BASIS 753 SP 2.

1. Configure the RFC Destination

To access the SAP Cloud Integration, you need to create and configure an RFC destination.

  1. Login to your SAP ECC system client with an administration user using SAP GUI.

  2. Call Transaction SM59.

  3. Choose Create.

  4. In the Name field, enter S4A_CPI_COST_CENTER.

  5. Choose connection type G.

  6. Choose Create.

  7. Choose Technical Settings.

    1. In the Target Host field, enter CPI tenant URL (Don't add https://).

    2. In the Path Prefix field, enter CPI tenant prefix.

    3. In the Service No. field, enter 443

      ecc

  8. Choose Logon & Security.

    1. Choose Basic Authentication.
    2. In the User field, enter CPI Service Client ID.
    3. In the Password field, enter CPI Service Client Secret.
    4. In the Security Options, choose SSL Active.
    5. In the SSL Certificate, choose Default SSL Client (Standard).

    ecc

  9. Choose Save

  10. If the Connection Test fails, because of missing trust, you have to import certificate of process integration service instance token endpoint and import it into the ECC system through STRUST.

You can follow the step by step guidance on how to import certificate in ECC

2. Define Logical System

The purpose of this activity is to create a logical system for your SAP ERP system

  1. Call Transaction /nBD54.
  2. Switch to the Edit Mode.
  3. In the Log.System field, enter S4ACLNT000. The 000 is the development client and it might vary based on ECC system.
  4. In the Name field, enter description S4A CLNT 000.
  5. In the Log.System field, enter CPI_BR. Please note that it is suggested to use your custom Z namespace like ZCPI_BR.
  6. In the Name field, enter descrtiption CPI BR.
  7. Choose Save.

ecc

3. Create a Distribiution Model

The applications that communicate with each other in your distributed systems are specified in the distribution model. The distribution model consists of separate model views where you can define system-wide message flows.

  1. Call Transaction /nBD64.

  2. Switch to the edit mode.

  3. Choose Create Model view

    1. In the Short Text Field, enter ERP to ECC Cost Center Replication.
    2. In the Technical name, enter ECC_CC_REP.
    3. In the Start Date field, enter current date.
    4. In the End Date field, enter end date.
    5. Choose enter.

    ecc

  4. In the Model View, choose ERP to ECC Cost Center Replication

  5. Choose Add Message Type

    1. In the Sender field, enter S4ACLNT000 The 000 is the development client and it might vary based on ECC system.
    2. In the Reciever field, enter CPI_BR
    3. In the Message Type field, enter ODTF_CCTR
    4. Choose enter

    ecc

  6. Choose Save.

4. Add XML HTTP Port

In this port type, you specify the RFC destination and the content type of the XML messages.

  1. Call Transaction /nWE21

  2. Choose XML HTTP

  3. Choose Create

  4. In the Port field, enter CC_CPI

  5. In the Description field, enter ERP to EC Cost Center Replication

  6. In the Content Type field, choose Application/x-sap.idoc

  7. In the RFC destination field, enter S4A_CPI_COST_CENTER

  8. In the HTTP Version, choose Version 1.0

  9. Enable SOAP Protocol

  10. Choose Save

    ecc

5. Defining a Partner Profile

A partner profile contains parameters that define the electronic interchange of data between systems using the IDoc interface. Only one partner profile is required per Data Hub installation. The partner profile must contain all parameters required by your scenario to replicate data between the SAP ECC and SAP Cloud Integration.

  1. Call Transaction /nWE20.

  2. Choose Partner Type LS.

  3. Choose Create

  4. In the Partner No. field, enter CPI_BR

  5. Choose Post processing permitted agent

  6. In the Ty field, enter US.

  7. In the Agent field, enter your technical user id,

  8. In the Lang field, enter EN

  9. Choose + button of the Outbound parmtrs

  10. In the Message Type field, enter ODTF_CCTR

  11. In the Receiver Port field, enter CC_CPI

  12. In the Basic Type field, enter ODTF_CCTR01

  13. Choose Save

    ecc

  14. In the Message Type field, Double click on ODTF_CCTR

  15. In the Output Mode, choose Pass IDoc Immediately

  16. Choose Save

    ecc