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

Import/Export Memory ID not working correctly.

Former Member
0 Likes
1,726

Hi,

I have the following code. Export in one program (1st process), Import in the other (2nd process).


Program 1:

DATA: EXP_PLANT TYPE BE_EWERK,
          EXP_CO_CODE TYPE BUKRS.

EXP_PLANT = IS_ITEM-BE_PLANT.
EXP_CO_CODE = IS_ITEM-BE_CO_CODE.
EXPORT EXP_PLANT FROM 'EXP_PLANT' EXP_CO_CODE FROM 'EXP_CO_CODE' TO MEMORY ID 'IDONE'.

Program 2:

DATA: IMP_PLANT TYPE BE_EWERK,
          IMP_CO_CODE TYPE BUKRS.

IMPORT EXP_PLANT TO IMP_PLANT EXP_CO_CODE TO IMP_CO_CODE FROM MEMORY ID 'IDONE'.

.

However, when I import EXP_PLANT TO IMP_PLANT, IMP_PLANT comes back as "EXP_".

At the end of program 1, EXP_PLANT is filled properly.

What am I doing wrong?

2 REPLIES 2
Read only

Former Member
0 Likes
425

Removed the ''

Read only

Former Member
0 Likes
425

Try:

EXPORT EXP_PLANT FROM EXP_PLANT EXP_CO_CODE FROM EXP_CO_CODE TO MEMORY ID 'IDONE'.

Rob