‎2008 Mar 13 3:59 AM
=========Prgram as following :
DATA TEXT1(10) VALUE 'EXPROTING'.
DATA ITAB LIKE SBOOK OCCURS 10 WITH HEADER LINE.
DO 5 TIMES.
ITAB-BOOKID = 100 + SY-INDEX.
APPEND ITAB.
ENDDO.
EXPORT TEXT1 TEXT2 FROM 'LITERAL' TO MEMORY ID 'text'.
EXPORT ITAB TO MEMORY ID 'table'.
SUBMIT ZFIELD_SYMBOLS2 AND RETURN.
PROGRAM ZFIELD_SYMBOLS2
DATA : TEXT1(10),
TEXT3 LIKE TEXT1 VALUE 'INITIAL'.
IMPORT TEXT3 FROM MEMORY ID 'text'.
WRITE : / SY-SUBRC,TEXT3.
===============
it reported error on line "IMPORT TEXT3 FROM MEMORY ID 'text'." as "statement is not accessible"?
can anybody give any tips?
tks in advanced .
‎2008 Mar 13 4:36 AM
Hi,
Check whether u have done this way
In the first program
EXPORT t_final TO MEMORY ID 'ABC'.
CALL TRANSACTION 'MM01'In teh second program
INITIALIZATION.
* IMPORT the internal table which has the selected rows
* for displaying the detail report from program
IMPORT t_final FROM MEMORY ID 'ABC'.Hope this solves ur problem.
Instead of SUBMIT I have used CALL TRANSACTION taht is not a problem.
‎2008 Mar 13 4:56 AM
Change the ZFIELD_SYMBOLS2 's type Module Pool into Executable program , can pass it .
‎2008 Mar 13 5:02 AM