Skip to Content
0
Aug 03, 2022 at 08:19 AM

Issue with reading the first line of CSV file

138 Views

Hello Experts,

CSV file from AL11 folder is opened and read using the below commands

OPEN DATASET filename FOR INPUT IN TEXT MODE ENCODING DEFAULT WITH SMART LINEFEED

Reading dataset is as below:

READ DATASET  filename INTO wa_tab_dataset.

While checking the first 3 characters of WA_TAB_DATASET it is ignoring the third character as shown below.

image.png

This happens only for the first line of the file. In the file we could not see any spaces as well.

Any inputs regarding this will be helpful.

Thanks and Regards,

Sanjay.

Attachments

image.png (10.6 kB)