Symptom
- When reading a text file using ABAP OPEN DATASET and READ DATASET on a Linux application server, an unexpected or “garbled” character appears at the end of each line.
- Files written by ABAP OUTPUT on Linux contain LF line endings; users may expect CRLF when interoperating with Windows tools.
- The symptom does not occur when the option WITH SMART LINEFEED is used for input.
Read more...
Environment
SAP S/4HANA
Product
SAP S/4HANA Cloud Private Edition all versions
Keywords
open dataset, read dataset, with smart linefeed, smart linefeed, abap, linux, windows, crlf, lf, carriage return, newline, text file, line ending, extra character, garbled character , KBA , BC-ABA-LA , Syntax, Compiler, Runtime , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview