Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Reading table entries via rfc

rainer_hbenthal
Active Contributor
0 Kudos

Hi,

i'm looking for a function module which can read any table and is giving back the content.

something like this:

select * from (table) destination rfcdest.

If there is nothing like this in the standard, is it possible to have the type any in the exporting section of the FM interface?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello

RFC_READ_TABLE

6 REPLIES 6

jrg_wulf
Active Contributor
0 Kudos

HI,

with FM you can pass tables of type any table. But i would not advise to do so, since you open your system widely. Select statements do not support authority-checks, so once this FM is implemented, every transparent table could be read.

so take care of authorisation in your FM before processing the select.

Additionally, the select should have a qualified condition, in order to keep the total amount of transferred data low.

regards

Jörg

GauthamV
Active Contributor
0 Kudos

Use this FM.

RFC_GET_TABLE_ENTRIES

Former Member
0 Kudos

Hello

RFC_READ_TABLE

0 Kudos

Hello friend,

if you need to use this function module to deliver some project to customer, then it is not recommend by SAP, as this function module is marked as "not release to customer" , it is just for internal use and demo and SAP will not provide any support any more for this function module. You need to develop your own function module which is remote enabled.

Best Regards,

Jerry

Former Member
0 Kudos

TABLE_ENTRIES_GET_VIA_RFC

RFC_READ_TABLE

Former Member
0 Kudos

Rainer - before using the above mentioned FMs, look for notes associated with them. Some (maybe all) have restrictions.

Rob