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: 2019-12-12T06:23:03+05:30

330 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements