Application Development 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: 

Problems using IMPORT method

0 Kudos

Hello,

We have just upgraded from 4.6c to ECC6.

In several programs we used Import method with the following syntax in 4.6c:

import (tname) to &1 from database zzhilan(zz) id zkey1(16) .

However in ECC6 , since it didn't compile we changed it to :

import tname to &1 from database zzhilan(zz) id zkey1(16) .

However now it doesnt read the data from the database.

How should the Import method be used in ECC6 ?

Please your advise.

Mazal

2 REPLIES 2

Former Member
0 Kudos

Hi mazal,

you can try like this , I think it is working .

IMPORT DIRECTORY INTO itab FROM DATABASE indx(hk) ID 'HK'.

Regads,

Srinu

Former Member
0 Kudos

Hi Mazal,

While importing source variable and destination variable should same.

try below

IMPORT it_itab = it_itab from database zzhilan(zz) id zkey1(16).

hope it works.

Thanks!!