Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Unable to fetch data from IMPORT statment

hi,

The below is my program to export data to a cluster table. A record is

successfully entered into the table by the below code.

TYPES : BEGIN OF ty_itab,
        kunnr TYPE kna1-kunnr,
        name1 TYPE kna1-name1,
        ort01 TYPE kna1-ort01,
        land1 TYPE kna1-land1,
        END OF ty_itab.

DATA : it_itab TYPE TABLE OF ty_itab,
       it_jtab TYPE TABLE OF ty_itab,
       wa_idx TYPE indx.

SELECT kunnr
       name1
       ort01
       land1 FROM kna1 INTO TABLE it_itab UP TO 10 ROWS.

EXPORT it_itab TO DATABASE indx(xy) ID '20090514-thrusday'.

My problem is ,i'm unable to fetch the same data by IMPORT statements.

IMPORT tab TO it_itab FROM DATABASE indx(xy) TO  ID  '20090514-thrusday'.

May i know what i'm missing in the above syntax.

Thanks & Regards

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question