Documentation on "RFC_READ_TABLE"

Question:
Can anyone plz give me any detailed documentation on "RFC_READ_TABLE".
I wanna use it in VB.
Please Help !
_________________
By -
Ur Adminiz-tr@it0r
Answer:
Hi,
I don't know any documentation about this function but here is an example of how I could use it in ABAP/4 :
To store the USR01 table contents from a remote system :
rfcdest : is the logical destination (see transaction SM59), data type is LIKE rfcdoc-rfcdest.
t_usr01 : internal table, same structure than the standard table USR01.
PERFORM Get-remote-table
TABLES t_usr01
USING rfcdest 'USR01'.
LOOP at t_usr01.
WRITE : / t_usr01-bname.
ENDLOOP.
FORM Get-remote-table
TABLES
fp_table
USING
fp_dest
fp_tabname.
DATA :
line LIKE line,
fv_options LIKE rfc_db_opt OCCURS 10 WITH HEADER LINE,
fv_fields LIKE rfc_db_fld OCCURS 10 WITH HEADER LINE.
CLEAR line.
CLEAR : fv_options, fv_fields, fp_table.
REFRESH : fv_options, fv_fields, fp_table.
PERFORM f01_status-line-msg USING fp_dest.
CALL FUNCTION 'RFC_READ_TABLE' DESTINATION fp_dest
EXPORTING
query_table = fp_tabname
TABLES
options = fv_options
fields = fv_fields
data = fp_table
EXCEPTIONS
table_not_available = 1
table_without_data = 2
option_not_valid = 3
field_not_valid = 4
not_authorized = 5
data_buffer_exceeded = 6
OTHERS = 7 .
ENDFORM.
Answer:
what is ur exact requirement?
_________________
regards
venkat
Answer:
what is ur exact requirement?
And in addidion to this question:
Are you aware of the security impacts if you call fm 'RFC_READ_TABLE'?

More Articles:

How can i fetch row data from stored procedure?
sending data to spool?
Sales order: Additional Data B?
I_APPL_EVENTS not seeming to work?
LDB vs Select?
Which forum for GUIxt queries? & Need help with BADIs ba?