Skip to Content
avatar image
Former Member

String truncates when reading the dataset into a variable of type string

Hi All,

I'm facing an issue when reading a file from the Application Server.

When reading the dataset into a variable, the values gets truncated after it crosses the length of 255 characters. I have put my code into Do -End do Loop where it reading the file correctly but misses out the values after the length reaches 255 characters.

Also Ive tried increasing the length of the variable to 1024 and beyond but still its not taking the missing values.

Please help. Thanks in Advance!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 22, 2016 at 07:39 AM

    Hi Swati,

    have you tried searching for an answer to this question? It has been discussed already a number of times on the SCN.

    http://lmgtfy.com/?q=abap+read+dataset+length+255

    Best

    Christian

    Add comment
    10|10000 characters needed characters exceeded