‎2009 Sep 16 5:03 AM
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
‎2009 Sep 16 5:31 AM
RFC_READ_TABLE is to read the table structure
RFC_READ_TABLE_ENTRIES is to read the records of the table
‎2009 Sep 16 5:31 AM
RFC_READ_TABLE is to read the table structure
RFC_READ_TABLE_ENTRIES is to read the records of the table
‎2009 Sep 16 6:02 AM
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
‎2009 Sep 16 6:05 AM
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
‎2009 Sep 16 6:30 AM
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
‎2009 Sep 16 6:35 AM
‎2009 Sep 16 6:47 AM
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