‎2009 Oct 20 3:10 PM
Hi ,
Iam calling one report and returning one internal table data from the called program.By using the FMs 'List_from_memory' and 'List_to_ascii' Iam returning the list to ascii format.
Then now could you please let me know as how can I convert the same to internal table format.
‎2009 Oct 20 3:14 PM
‎2009 Oct 20 3:18 PM
in the FM you get the data in RFCRECORD.. right?
that is RAW (1000).
you can use that you access part by part using
gv_var0(10) or gv_var10(50) to access part by part
‎2009 Oct 20 3:25 PM
Hi,
Iam returning back from called program exporting list to memory.so now using FM 'list_to_ascii' thereby passing the list.
So now how can I capture the data to internal table which is having the same format of the table retreived from called program
‎2009 Oct 20 3:38 PM
loop at the table that you got from the list.(using list_to_memory)
then in this loop pass one by one field to the internal tables(reqd format)'s work area like gs_it-f1 = gs_list-RFCRECORD+0(10)
then append it to the internal table you need.
‎2009 Oct 20 3:53 PM
Hi
I don't believe it's possible to do it: u need to convert the format from ASCII table by yourself
Max
‎2009 Oct 20 4:06 PM
‎2009 Oct 20 4:09 PM