How to detect encoding and mixed line endings (Windows and Unix) in SAP?


You can make use of CL_ABAP_FILE_UTILITIES => CHECK_FOR_BOM to define file encoding type and use constantly of class CL_ABAP_CHAR_UTILITIES to process the files.

Class
CL_ABAP_CHAR_UTILITIES
Short Description
Utilities for Processing Characters



Updated on: 12-Dec-2019

141 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements