‎2008 Aug 24 9:30 AM
hi
i wrote to programs and assigned transactions to them.
suppose, program names are ZA and ZB, transactions are ZTRA and ZTRB.
in the program ZA i wrote following code lines:
...
export tab1[] to memory id 'ZTAB'. " table tab1[] contains 10 rows
call transaction 'ZTRB'.
...
in the initialization part of program ZB i wrote following code lines:
initialization.
import tab2[] from memory id 'ZTAB'.
...but tab2[] did not import that 10 rows.
why?
does it depend from SAP system version?
Edited by: Marat on Aug 24, 2008 10:30 AM
‎2008 Aug 24 9:43 AM
>
export tab1[] to memory id 'ZTAB'. " table tab1[] contains 10 rows
> call transaction 'ZTRB'.
> ...
>
> in the initialization part of program ZB i wrote following code lines:
>
>
initialization.
> import tab2[] from memory id 'ZTAB'.
> ...change the code, since the definition of itab1 should be same and the names also.
export tab1[] to memory id 'ZTAB'. " table tab1[] contains 10 rows
call transaction 'ZTRB'.
initialization.
import tab1[] from memory id 'ZTAB'.
‎2008 Aug 24 9:32 AM
‎2008 Aug 24 9:39 AM
import/export works correctly if i use 'submit' statement,
instead 'call transaction' statement.
but i must use call transaction statement.
‎2008 Aug 24 9:46 AM
‎2008 Aug 24 9:43 AM
>
export tab1[] to memory id 'ZTAB'. " table tab1[] contains 10 rows
> call transaction 'ZTRB'.
> ...
>
> in the initialization part of program ZB i wrote following code lines:
>
>
initialization.
> import tab2[] from memory id 'ZTAB'.
> ...change the code, since the definition of itab1 should be same and the names also.
export tab1[] to memory id 'ZTAB'. " table tab1[] contains 10 rows
call transaction 'ZTRB'.
initialization.
import tab1[] from memory id 'ZTAB'.