10-08-2009 7:57 AM
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
10-08-2009 8:27 AM
Hi mazal,
you can try like this , I think it is working .
IMPORT DIRECTORY INTO itab FROM DATABASE indx(hk) ID 'HK'.
Regads,
Srinu
10-08-2009 8:36 AM
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!!