Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Save report painter output into internal table

Former Member
0 Kudos

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

4 REPLIES 4

krishnendu_laha
Active Contributor
0 Kudos

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

former_member214857
Contributor
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

submit the generated program name