Show TOC

Creating an RFC DestinationLocate this document in the navigation structure

Use

You should have an RFC destination configured from the SAP NetWeaver system to the external server (type G) or the ABAP system (type H) before generating the OData service. Follow the procedure given below to configure an RFC destination for either 'G' or 'H' connection type.

  1. Logon to the SAP NetWeaver system where SAP_GWFND is installed.

  2. Go to transaction SM59.

  3. Choose Create and the enter the following:

    Field

    Description

    RFC Destination

    Enter an RFC destination name. For example, ODATA_RFC.

    Connection Type

    Choose:

    • H for HTTP Connection to ABAP System

    • G for HTTP Connection to External Server

    Description

    Enter a description.

  4. Go to the Technical Settings tab and enter the following:

    Field

    Description

    Target Host

    For Type G - Enter the domain name. For example, in the external OData service, http://services.odata.org/Northwind/Northwind.svc/Information published on non-SAP site, 'services.odata.org' is the target host.

    For Type H - Enter the host IP

    Path Prefix

    Enter any additional directories, if relevant.

  5. If relevant, select the Logon & Security tab and enter the security settings as required.

  6. Save the RFC destination.

Continue with Generating an SAP NetWeaver Gateway Service for OData