ABAP: OPEN DATASET FOR OUTPUT IN TEXT MODE - LF vs CRLF
Problem:
Downloading text file to UNIX file system, which must be later uploaded to Windows file system = problem with white chars CR, LF.
http://sap.ittoolbox.com/groups/technical-functional/sap-abap/convert-unix-file-to-windows-file-4879404?reftrk=no&trdref=4e6577736c6574746572
Read especially the part:
Lou,
That's not always true. You can set the CRLF with windows encoding directly in the unix/linux server. Open dataset puts LF only if you aren't too specific in the way you use it.
From abaphelp. -> Open DataSet - Mode ->
"
... WITH WINDOWS LINEFEED
So, we can specify directly type of LF - 'NT' or 'UNIX' or we can say WITH ... LINEFEED, which should be NATIVE/SMART/UNIX/WINDOWS
Žiadne komentáre:
Zverejnenie komentára