Configuring SAP CRM

Context

Configuring the SAP CRM System allows you to establish a connection with the SAP Business Connector.

Procedure

  1. Create a Business Partner (also called as Logical system) in the SAP CRM System using the transaction SALE.

    Access Start of the navigation pathApplication Link Enabling (ALE) Next navigation step Sending and Receiving Systems Next navigation step Logical Systems Next navigation step Define Logical SystemsEnd of the navigation path.

  2. Create an RFC Destination in the SAP CRM System. Use the transaction SM59. Specify the following attributes while creating the RFC destination:

    Field

    Parameter

    RFC Destination

    Enter a case sensitive destination name

    Connection Type

    Select T for TCP/IP connection

    Activation Type

    Registered server program

    Program ID

    Case sensitive name of the listener program in the SAP Business Connector. For more information, see Configuring SAP Business Connector

    Gateway Host and Gateway Service

    These values are filled from the Gateway Host and Gateway Service of SAP Server

  3. Define a logical port in the SAP CRM System. Use transaction WE21. Specify the following attributes while creating the logical port:

    Field

    Parameter

    Port Type

    Transactional RFC

    RFC Destination

    RFC destination created in step 2

  4. Create a partner profile in the SAP CRM System. Use transaction WE20. Specify the following attributes while creating the partner profile:

    Field

    Parameter

    Partner Number

    Logical system created in step 1

    Partner Type

    Enter the default selection LS

    Outbound Parameters

    Message type, for example, CRMXIF_ORDER_SAVE_M

    Receiving Port

    Logical port created in step 3

    Inbound Parameters

    Message type, for example, CRMXIF_ORDER_SAVE_M

    Basic Type

    Basic types are be used without additional coding for data communication. SAP provides functions modules, to enter application data in the basic types. Basic types may be extended with upward-compatibility. For example, CRMXIF_ORDER_SAVE_M01.

  5. Create site and assign subscriptions. Use the transaction SMOEAC. Specify the following attributes while creating the site of type external interfaces for IDocs:

    Field

    Parameter

    EDI Partner Number

    Case sensitive name of partner created in step 4

    Partner Type

    Enter the default selection LS

  6. Specify the following attributes while assigning subscriptions:

    Field

    Parameter

    Subscription Name

    All business transactions

  7. Assign the site with a Bdoc type and interface type. Use the transaction CRMXIF_C1.

    Field

    Parameter

    BDoc type

    BUS_TRANS_MSG

    Interface type

    CRMXIF_ORDER_SAVE