Application Development and Automation 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: 
Read only

Difference between RFCs

Former Member
0 Likes
1,311

How to make a choice between the following RFC.Which is suited for which scenario.

What is the difference between them?

RFC_READ_TABLE

RFC_GET_TABLE_ENTRIES

TABLE_ENTRIES_GET_VIA_RFC

Please note that I have limited SAP knowledge being a java developer. Hence would appreciate if you explain from this perspective.

Regards,

MNGhosh

1 ACCEPTED SOLUTION
Read only

former_member222860
Active Contributor
0 Likes
1,019

RFC_READ_TABLE is to read the table structure

RFC_READ_TABLE_ENTRIES is to read the records of the table

6 REPLIES 6
Read only

former_member222860
Active Contributor
0 Likes
1,020

RFC_READ_TABLE is to read the table structure

RFC_READ_TABLE_ENTRIES is to read the records of the table

Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
1,019

Hi

RFC_READ_TABLE is used for External access to R/3 tables via RFC.

RFC_GET_TABLE_ENTRIES is used for Read table entries.

TABLE_ENTRIES_GET_VIA_RFC is used for Remote purpose.

Regards,

Sreeram

Read only

Former Member
0 Likes
1,019

Hii,

RFC_READ_TABLE to raed the data from any table with in the landscape for details check the link

http://searchsap.techtarget.com/tip/1,289483,sid21_gci997032,00.html

For RFC_GET_TABLE_ENTRIES is to read the records of the table. This is more generic and you can retrieve subsets as well. But since it is more generic, it has no actual structure

For TABLE_ENTRIES_GET_VIA_RFC it compare table in both systems.Basiaclly the function module is only intended for internal use in the ALE area, and only for reading numerical tables.

for details check the Note 881127 - Dump in function module TABLE_ENTRIES_GET_VIA_RFC

regards,

Archana

Read only

Former Member
0 Likes
1,019

hi again MNGhosh ,

see RFC_READ_TABLE will give you field names as well as option to pass a where clause. (as i told you in previous thread of yours)

but RFC_GET_TABLE_ENTRIES will just give you all the entries. you cant pass any where clause to it

Read only

Former Member
0 Likes
1,019

Hi,

you can go through these folloing links:

check the above threads it may help u.

thanks

Read only

0 Likes
1,019

Thanks ..That was helpful . I went through the suggested links.

One question here is that in one of the responses it was mentioned that RFC_READ_TABLE has a limitation of maximum width of 512 of data.

Does this imply that I the no. of columns it fetches is limited or does it oertain to the amount of data that its fetches?

Or in other words I could not get what is meant by the "maximum width"

Edited by: MNGhosh on Sep 16, 2009 7:47 AM