on 09-19-2014 12:21 PM
Hi Gurus,
I need to develop a report which should display data from a standard table in Solution Manager system.
Initially i wanted to create a rfc but I dropped since the table doesn't exist in my development system.
Please share your thoughts on this. Thank you.
So you want to read Solman data from your ECC system, right?
As genric FM like RFC_READ_TABLE don't use the actual structure but map to CHAR 512, you don't need any customer FM. the problem shoulds not be related to RFC, but to creation of an internal table in a system (ECC) using a structure defined in another system (Solman), so not usable in DATA statement of ECC.
So if you don't want to create a similar table/structure in ECC (and maintain it later) you could create a dynamic table, getting information on remote (Solman) structure with a RFC enabled FM like DDIF_FIELDINFO_GET, and creating the local data with cl_abap_structdescr and other RTTS tools as described in many threads.
Regards,
Raymond
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you need to have the table in your dictionary to be able to read it by RFC ? strange requierement
regards
Fred
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Lets assume
I need to read data from xyz table which lies in solman.
Now I create an rfc 'zrfc' (in my dev system) in which I write a select statement on table xyz.
then i will pass the data to table parameter of rfc 't_xyz' (which is of type xyz).
Here i get an error "table xyz doesn't exist".
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.