Skip to Content
0
Former Member
Apr 17, 2009 at 08:57 AM

Dataset not uploading whole lines

24 Views

Dear Expert,

I am using CSV file for uploading data in application server and i am using open dataset because i want to upload in background, As there are four rows in my CSV file but it is uploading only first row and read dataset is reading only one row, Please telll me how i can read all rows. I have used given below code in my file....

open dataset dataset for appending in text mode encoding default.

if sy-subrc eq 0.

do.

read dataset dataset into line.

if sy-subrc eq 0.

record = line.

append record.

else.

exit.

endif.

enddo.

close dataset dataset.

endif.