‎2007 Apr 06 6:54 AM
HII FRNDS
CAN WE PASS A TABLE TO ANOTHER PROGRAM . I AM CALING THAT PROGRAM USING SUBMIT COMMAND.
tHANKX
ROHIT
‎2007 Apr 06 7:00 AM
Hi,
you can export and import the table from memory
From calling program
EXPORT it_itab TO MEMORY ID 'ZZ_MEM_ID'.
Within called program
IMPORT it_itab FROM MEMORY ID 'ZZ_MEM_ID'.
Regards
Frank
‎2007 Apr 06 7:00 AM
yes through export and import command
export itab to memory id 'MID'.
import itab from memory id 'MID'.
regards
shiba dutta
‎2007 Apr 06 7:00 AM
Hi,
you can export and import the table from memory
From calling program
EXPORT it_itab TO MEMORY ID 'ZZ_MEM_ID'.
Within called program
IMPORT it_itab FROM MEMORY ID 'ZZ_MEM_ID'.
Regards
Frank
‎2007 Apr 06 7:01 AM
check this sample code..
DATA list_tab TYPE TABLE OF abaplist.
SUBMIT report EXPORTING LIST TO MEMORY
AND RETURN.
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.
hope this helps...
‎2007 Apr 06 7:09 AM