Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

memory problem

Former Member
0 Likes
617

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
586

>

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'.

4 REPLIES 4
Read only

bpawanchand
Active Contributor
0 Likes
586

Hi

Check thread

Regards

Pavan

Read only

0 Likes
586

import/export works correctly if i use 'submit' statement,

instead 'call transaction' statement.

but i must use call transaction statement.

Read only

0 Likes
586

Hi

Use SET PARAMETER ID to set the values

Regards

Pavan

Read only

Former Member
0 Likes
587

>

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'.