We have 1 SAP std program and 1 Z program for asset allocation.We need to combine these report.I need the data of SAP report in Z report. These is one table ITAB_DATA in SAP report which contains all data for display ALV.I want this data in my Z program.
I have written the following code.
submit RAGITT_ALV01 via selection-screen
USING SELECTION-SET 'TEST17247'
exporting list to memory
if sy-subrc = 0.
CALL FUNCTION 'LIST_FROM_MEMORY'
LISTOBJECT = t_listobject
NOT_FOUND = 1
OTHERS = 2
I also tried
FM CALL FUNCTION 'SAVE_LIST'
FM CALL FUNCTION 'WRITE_LIST'
But these all FM contains data in different format.
Can anyone suggest