01-30-2012 10:35 AM
Hi,
i have created a report painter for vendor aging report. got output in drill down format.
i need to show the data in smartform as well. so need to save the report painter output into an internal table. can anyone please help me resolving this.
regards,
sudha.m
01-30-2012 10:55 AM
Hello,
I think you can not directly save report output to internal table, either you can save download into local \ application server before showing report...OR...you can download the file in XLS \ Text format and later use it...
Thanks
01-30-2012 11:11 AM
Hi Sudha
You can use sample below:
DATA: list_tab TYPE TABLE OF ABAPLIST.
SUBMIT NROWS EXPORTING LIST TO MEMORY
AND RETURN VIA SELECTION-SCREEN.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = list_tab
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF sy-subrc = 0.
CALL FUNCTION 'WRITE_LIST'
TABLES
listobject = list_tab.
ENDIF.
Best regards
01-30-2012 12:31 PM
hi,
Thanks for you reply. since the program for report painter is a standard program means generated automatically. i have created only tcode for that. so were can i write this coding. can you please help me.
regards,
sudha
01-30-2012 12:44 PM