Wednesday, May 7, 2008

Select a table between two clients using RFC Function

1. Create RFC Destination

  • Technical Settings
    Connection Type : 3 Abap Connection
    Target Host : cpidev03
    IP Address : xxxxxxxxx
  • Logon & Security
    Input target Client, user dan password, or u can choose using Current User
  • Test Connection using Connection Test

2. SE37 - Function TABLE_ENTRIES_GET_VIA_RFC RFC
Target sys : input the RFC Destination


You can use WHERE clause in this field :


The result :

The Structure stored in NAMETAB

The Records stored in TABENTRY
1 record will be store in 1 string, so u need to offset them by their structure.



No comments: