Skip to Content
-1
Former Member
May 22, 2018 at 06:34 AM

Submit an ALV tree report

622 Views

Hello Group,

The problem is that I call an ALV tree report output ( using cl_gui_alv_tree) from my program with a SUBMIT sentence. The output of the report should not be displayed but it should return to the called report to send it as an attachment by email. I have tried with this :

SUBMIT (pi_report-id_report)
USING SELECTION-SET pi_report-varianteEXPORTING LIST TO MEMORY AND RETURN.

CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = lt_abap_list[]EXCEPTIONS
not_found= 1
OTHERS= 2.

But ‘lt_abap_list[]’is empty.

Thanx in advance.