Skip to Content
0
Dec 07, 2011 at 09:22 AM

uploading Table entries

27 Views

Hello all,

Iam downloading table contents into a text file seperated by horizontal tab using GUI_DOWNLOAD.

The file is downloaded in my desktop.There are 91,034 entries.

CONCATENATE sy-mandt wa_gps-lifnr wa_gps-zadr wa_gps-bukrs wa_gps-ebeln

wa_gps-bsart wa_gps-bstyp wa_gps-waers wa_gps-bempf wa_gps-llief wa_gps-lifre

INTO wa_data SEPARATED BY cl_abap_char_utilities=>horizontal_tab.

Now Iam uploading the table contents in a different system(All the fields are there) using GUI_UPLOAD

INSERT /bmw/ukv_gps FROM TABLE i_tab ACCEPTING DUPLICATE KEYS.

IF sy-subrc <> 0.

write :/ sy-subrc.

endif.

COMMIT WORK AND WAIT.

The i_tab contains 91034 entries.But it is writing only 90,947 entries(87 entries are not written).

What is the reason why it is not writing the other entries.How can I write the missing entries...

Thanks for any pointers..

P