Skip to Content
Aug 01, 2008 at 09:18 PM

SUBMIT - Export to Memory



I have a requirement to capture results from a SAP standard ALV report and use the output to fill custom tables.

I have created a ZPORGRAM to use SUBMIT statement with EXPORT TO MEMORY option

and used LIST_FROM_MEMORY and converted to ASCII using LIST_TO_ASCI.

I actually need only the internal table data that the ALV grid is displaying but I got everything that is displayed on the screen including pipe symbols, rows, boxes, headings etc.. I could not really bring the output back to the exact internal table structure in SAP standard program.

Is there any easy way to do this. I heard something about dirty ASSIGN but not sure how to use this. I have the syntax though but it is not returning anything.

ASSIGN ('(SAPLFWTD)acwt_item') TO <ls_acwt_item>.

Your response is highly appreciated.