Do you know a way to place the output of a report or screen into an internal table? Better yet let me rephrase the question: Is there a way capture report output into one internal table?
Use SUBMIT ... EXPORTING LIST TO MEMORY (help on SUBMIT, addition 7, in 4.6C). It saves the output of a report into memory. Use the function modules LIST_FROM_MEMORY, WRITE_LIST and DISPLAY_LIST.
Dig Deeper on SAP ABAP
Related Q&A from Matthew Billingham
An SAP user is trying to run a report in an SAP ALV Grid online and wants to know how to get the data in the report to appear along with the header. Continue Reading
An SAP user needs to transfer customer purchase order spreadsheet data to SAP VA01 to create a new sales order. Continue Reading
A SearchSAP.com reader wants to know if it's possible to write an SAP ABAP program that will read source code and then create an SAP ABAP function ... Continue Reading