Converting the data back to table using SAP FM RFC_READ_TABLE
I want to know how I can read a table using RFC_REAL_TABLE and then converted back. Below is my code:
DATA: lt_options LIKE TABLE OF rfc_db_opt,
lt_fields LIKE TABLE OF rfc_db_fld,
lt_data LIKE TABLE OF tab512,
lt_entries type table of DPR_PHA_TYPE.
CALL FUNCTION 'RFC_READ_TABLE'
DESTINATION 'Y58CLNT800'
EXPORTING
query_table = 'DPR_PHA_TYPE'
TABLES
options = lt_options
fields = lt_fields
data = lt_data.
BREAK-POINT.