Ansicht
Dokumentation

DATAFEED_RFC - Define RFC Destination

DATAFEED_RFC - Define RFC Destination

ABAP Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

In this step, you define all the logical links between the external partner program of the datafeed provider and your SAP system. These logical links are called RFC destinations.

You have to have installed the external partner program (e.g. Dow Jones Rate Feed Engine for system) before you can begin customizing the technical settings. You must be able to access the computer upon which the external partner program runs from the SAP system by means of TCP/IP (network link is set up). You also have to install an SAP gateway for your SAP system on this computer. The SAP gateway (UNIX process gwrd) can either be installed as a standalone component or as part of a dialog instance. Read the installation guidelines for further details about this.

For Customizing you require the following information:

  • The host name upon which the external partner program runs.
  • The path and name of the external partner program (if necessary, ask your datafeed provider).
  • The host upon which the SAP gateway runs.
  • The name of the gateway service (sapgwXX; XX stands for the SAP system number of your live system).
  • Does the external partner program support synchronous and transactional (asynchronous) links? If so, you have to set up at least two logical links (in this case, ask your datafeed provider).
  • Likewise, if you require backup links, these also need to be defined. The datafeed then activates a backup link if the main link breaks down. Choose a different host for the backup link. Do not choose the one the SAP gateway runs on.

Create a new RFC destination via "Create":

  1. Enter the name of the RFC destination.
  2. Choose "T" as the connection type: start an external program via TCP/IP.
  3. Press RETURN.
  4. Describe your RFC destination (body text).
  5. Choose the pushbutton "Explicit host" and enter the program path and name of the external partner program.
  6. Choose Destination -> Gateway options and enter the gateway host and gateway service.
  7. For transactional (asynchronous) links you have to maintain the TRFC options (this does not apply to synchronous links). Choose Destination -> TRFC options and enter the number of connection attempts to be made and the time between each attempt [mins].
  8. Save your entries.

Set up a synchronous and transactional RFC destination for one datafeed provider:

  • Synchronous example:
  1. Destination:,,,,RFC_DATAFEED_SYNC
  2. Connection type:,,T
  3. Program:,,,,,,/usr/aws/bin/rfc_datafeed_sync
  4. Target host:,,,,xx1.your-domain
  5. Description:,,,,Synchronous datafeed link: Dow Jones Rate Feed Engine for System
  6. Gateway:,,,,,,xx1.your-domain
  7. Gateway service:,,sapgw00
  • Asynchronous example:
  1. Destination:,,,,RFC_DATAFEED_ASYNC
  2. Connection type:,,T
  3. Program:,,,,,,/usr/aws/bin/rfc_datafeed_async
  4. Target host:,,,,xx1.your-domain
  5. Description:,,,,Transactional datafeed link: Dow Jones Rate Feed Engine for System
  6. Gateway:,,,,,,xx1.your-domain
  7. Gateway service:,,sapgw00
  8. TRFC options:,,No. of connection attempts 60, Pause: 1 minute.

When you set up backup links you have to set up two more RFC destinations. Make sure that you address a different SAP gateway, for example computer xx2.your-domain. It is also recommended that you install the external partner program on computer xx2.your-domain to protect your data in the event of a breakdown.

You configure the backup links as follows:

  • Synchronous example:
  1. Destination:,,,,RFC_DATAFEED_SYNC_BUP
  2. Connection type:,,T
  3. Program:,,,,,,/usr/aws/bin/rfc_datafeed_sync
  4. Target host:,,,,xx2.your-domain
  5. Description:,,,,Synchronous datafeed link: Dow Jones Rate Feed Engine for system backup link
  6. Gateway:,,,,,,xx2.your-domain
  7. Gateway service:,,sapgw00
  • Asynchronous example:
  1. Destination:,,,,RFC_DATAFEED_ASYNC_BUP
  2. Connection type:,,T
  3. Program:,,,,,,/usr/aws/bin/rfc_datafeed_async
  4. Target host:,,,,xx2.your-domain
  5. Description:,,,,Transactional datafeed link: Dow Jones Rate Feed Engine for system backup link
  6. Gateway:,,,,,,xx2.your-domain
  7. Gateway service:,,sapgw00
  8. TRFC options:,,No. of connection attempts 60, Pause: 1 minute.

How many links do you have to define per datafeed?

  • Only synchronous requests, no backup link: 1 RFC destination
  • Only synchronous requests, backup link: 2 RFC destinations
  • Synchr/asynchr. requests, no backup link: 2 RFC destinations
  • Synchr/asynchr. requests, backup links: 4 RFC destinations





BAL_S_LOG - Application Log: Log header data   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 5698 Date: 20240523 Time: 155715     sap01-206 ( 68 ms )