SAP ABAP IMG Activity DATAFEED_RFC (Define RFC Destination)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   TR (Application Component) Treasury
     FTDF (Package) Treasury: Datafeed TR-TM-TM-TO-DF
IMG Activity
ID DATAFEED_RFC Define RFC Destination  
Transaction Code S_ALR_87007843   IMG Activity: DATAFEED_RFC 
Created on 19981222    
Customizing Attributes DATAFEED_RFC   Define RFC Destination 
Customizing Activity DATAFEED_RFC   Define RFC Destination 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name DATAFEED_RFC    

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.

Requirements

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.

Activities

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.

Example

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.

Further notes

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

Business Attributes
ASAP Roadmap ID 255   Create Interfaces 
Mandatory / Optional 1   Mandatory activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG DATAFEED_RFC 0 HLA0009209 O I070004705  
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
IMGDUMMY D - Dummy object SM59 TR_DF01 RFC Destinations (Display/Maintain) 
History
Last changed by/on SAP  20121126 
SAP Release Created in