Skip to Content
0
Former Member
Oct 16, 2006 at 10:43 AM

Use of SUBMIT to retrive data from std SAP program

177 Views

Hi .

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

and return.

if sy-subrc = 0.

CALL FUNCTION 'LIST_FROM_MEMORY'

TABLES

LISTOBJECT = t_listobject

EXCEPTIONS

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