on 10-30-2014 6:06 PM
Hi all,
We are using the standard function modul 'rfc_read_table' in PI , to get data of the table using an RCF call . The table that we want to get its data, has the same name in SRM, ECC, and BI.
CALL FUNCTION 'RFC_READ_TABLE'
DESTINATION ????
EXPORTING
query_table = 'Z_TABLE'
* DELIMITER = ' '
* NO_DATA = ' '
* ROWSKIPS = 0
* ROWCOUNT = 0
TABLES
* OPTIONS =
* FIELDS =
data = wt_data.
The question is , how could we determine the destination ( is it ECC or Bi or SRM ) ??
Cordialy
i supose that you are using an abap mapping, and you are in SAP PI stack abap.
In this case u should call it
call function 'RFC_READ_TABLE' DESTINATION 'RFC_ECC'
where RFC_ECC is an entry at SM59 as a type 3.
after that, you should call again the function as mentioned but for BI and after for SRM.
You should have three different RFCs, one for each system,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thak you for your quiq response.
Ok .I will create the 3 entries in sm59. so in this case, only the correct rfc call ( Ecc, or SRM or BI ) will make my table wt_data full?
Other question , now I am in dev envirenemnt so the entry destination will be different from each envirenmemnt, ( dev, intgration, production)
For exemple for ecc : RFC_ECC_DEV, or RFC_ECC_INT, RFC_ECC_PROD
Thank you
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.