Show TOC

Configurations on SAP Gateway for SAP ERPLocate this document in the navigation structure

This section provides information on the general configurations to be carried out on the SAP Gateway system.

Creating Role Templates

See the section Role Templates for ERP Scenarios for information on creating role templates for all the SAP ERP scenarios supported by SAP Gateway.

Manage RFC Destinations
  1. In transaction SPRO open the SAP Reference IMG and navigate to: Start of the navigation path SAP NetWeaver  Next navigation step SAP Gateway  Next navigation step OData Channel Next navigation step Configuration  Next navigation step  Connection Settings  Next navigation step SAP Gateway to SAP System  Next navigation step Manage RFC Destinations End of the navigation path and click the Activity icon.

  2. Choose Create and enter the following values:

    Field

    Description

    RFC Destination

    Enter a name for the RFC destination. Example, BKDCNT200

    Connection type

    Choose the option, 3 (Connection to ABAP System)

    Description

    RFC destination for SAP system

Manage SAP System Aliases
  1. In transaction SPRO open the SAP Reference IMG and navigate to: Start of the navigation path SAP NetWeaver  Next navigation step SAP Gateway  Next navigation step OData Channel Next navigation step Configuration  Next navigation step  Connection Settings  Next navigation step SAP Gateway to SAP System  Next navigation step Manage SAP System Aliases  End of the navigation path and click the Activity icon.

  2. Choose New Entries.

  3. Enter the following details for the system alias:

    Field

    Description

    SAP System Alias

    Name of the system alias.

    Description

    Descriptive text for the system alias.

    Local SAP GW

    Leave unchecked if the SAP ERP system is not on the same system as the SAP Gateway system.

    RFC Destination

    Specify the RFC destination defined for your SAP system, for example, BKDCNT200.

    WS Provider

    Leave it blank.

    Software Version

    Enter Default.

  4. Save your settings.

Assign SAP System Aliases to OData Service
  1. In transaction SPRO open the SAP Reference IMG and navigate to: Start of the navigation path SAP NetWeaver  Next navigation step SAP Gateway  Next navigation step Former Development Next navigation step OData Channel Development without IW_BEP Next navigation step  Registration  Next navigation step Assign SAP System Aliases to OData Service  End of the navigation path and click the Activity icon.

  2. Choose the option with service document identifier (check the table below) and select Copy as:

    SAP ERP Element

    Service Document Identifier

    Employee

    /IWCNT/SG_EMPLOYEE_0001

    Material

    /IWCNT/SG_MATERIAL_0001

    Bill of Material (BOM)

    /IWCNT/SG_BOM_0001

    ERP Document

    /IWCNT/SG_DOCUMENT_0001

    Sales Documents

    /IWCNT/SG_ERPSALES_0001

    Customer

    /IWCNT/SG_CUSTOMER_0001

Activating the Service
  1. Go to transaction SICF.

  2. In the Service Name field, enter:

    SAP ERP Element

    Service Name

    Employee

    Employee

    Material

    Material

    Bill of Material (BOM)

    Billofmaterial

    ERP Document

    Document

    Sales Documents

    ERPSALES

    Customer

    CUSTOMER

  3. Choose Execute.

  4. In the Maintain service window, under Virtual Host/Services section, select the last node and right click.

  5. Choose the option Activate Service.