Skip to main content

Configuring Gateway and ODATA Services

The SAP Gateway must be configured to receive and execute OData requests.

Enabling ICM Services

OData operates on the HTTP or HTTPS protocol. Therefore, the Internet Communication Manager (ICM) must enable the corresponding services.

You should set the following SAP prole parameters using Tcode:RZ10

icm/server_port_0 = PROT=HTTP,PORT=<http port>,TIMEOUT=7200,PROCTIMEOUT=7200

icm/server_port_1 = PROT=HTTPS,PORT=<https port>,TIMEOUT=7200,PROCTIMEOUT=7200

 

Activating the SAP Gateway

The following are the steps to activate the SAP Gateway:

  1. Call transaction SPRO and click SAP Reference IMG.

  2. Right-click on node SAP NetWeaver > SAP Gateway > OData Channel > Conguration >Activate or Deactivate SAP Gateway and select Edit Activity from the context menu.

  3. If the message in the dialog reads "SAP Gateway is currently active,” click Cancel. Otherwise, click Activate.

Defining SAP System Alias for Backend System

The below steps help to define an SAP system alias for the backend system in the gateway system:

  1. Call transaction SPRO and click SAP Reference IMG.

  2. Right-click on node SAP NetWeaver >SAP Gateway >OData Channel >Configuration > Connection Settings >SAP Gateway to SAP System >Manage SAP Aliases and select Edit Activity from the context menu.

  3. If the backend SAP system appears in the list, you are done. Otherwise:

  4. Click New Entries.

  5. Specify SAP System Alias, a Description, the RFC Destination (NONE for embedded deployment), the System ID and the Client of the backend SAP system. Check flag Local GW and enter DEFAULT for Software Version.

  6. Click Save (Ctrl+S).

Setting up SAP Gateway in the Backend System

The following steps can be used to set up the SAP gateway in the backend system:

  1. Call transaction SPRO and click SAP Reference IMG.

  2. Right-click on node SAP NetWeaver >SAP Gateway Service Enablement >Backend OData

  3. Channel >SAP Gateway Settings and select Edit Activity from context menu.

  4. If the Gateway system appears in the list, you are done. Otherwise:

  5. Click New Entries.

  6. Specify Destination System, Client, System Alias and RFC Destination.

  7. Click Save (Ctrl+S).

Was this article helpful?

We're sorry to hear that.