SAP CL_ABAP_FILE_UTILITIES OO Class - Utilities for Files









CL_ABAP_FILE_UTILITIES is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_ABAP_FILE_UTILITIES including details of:

  • Interface class implementations
  • Inheritance details
  • Methods defined within class ( including link to full details )
  • Attributes ( including initial values )
  • Class Events



Method list of CL_ABAP_FILE_UTILITIES SAP class


A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD. Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...


Method NameDescriptionVisability
CHECK_FOR_BOMCheck for Byte-Order-Mark at Beginning of FilePublic
CALL METHOD cl_abap_file_utilities=>CHECK_FOR_BOM...more details

CHECK_STRING_7BIT_ASCIICheck Whether a STRING Contains Only 7-Bit-ASCIIPublic
CALL METHOD cl_abap_file_utilities=>CHECK_STRING_7BIT_ASCII...more details

CHECK_UTF8Check whether the file is UTF-8Public
CALL METHOD cl_abap_file_utilities=>CHECK_UTF8...more details

CHECK_XSTRING_UTF8Check Whether an XSTRINF Is Encoded in UTF-8Public
CALL METHOD cl_abap_file_utilities=>CHECK_XSTRING_UTF8...more details

CONVERT_UTF8_BUFInternal Use OnlyPrivate
CALL METHOD cl_abap_file_utilities=>CONVERT_UTF8_BUF...more details

CREATE_UTF8_FILE_WITH_BOMCreate a File with an UTF-8-Byte-Order-Mark at the BeginningPublic
CALL METHOD cl_abap_file_utilities=>CREATE_UTF8_FILE_WITH_BOM...more details

GET_CURRENT_NONUNI_CODEPAGEGet Non-Unicode Code Page For Current LanguagePublic
CALL METHOD cl_abap_file_utilities=>GET_CURRENT_NONUNI_CODEPAGE...more details



CL_ABAP_FILE_UTILITIES attributes

List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.

NameLevelDescriptionInitial ValueTypeVisability
BOM_UTF16_BEConstantUTF-16 Big Endian Byte-Order-Mark'B'LIKE
SYCHAR01
Public
BOM_UTF16_LEConstantUTF-16 Little Endian Byte-Order-Mark'L'LIKE
SYCHAR01
Public
BOM_UTF8ConstantUTF-8 Byte-Order-Mark'8'LIKE
SYCHAR01
Public
ENCODING_7BIT_ASCIIConstant7-Bit ASCII'A'LIKE
SYCHAR01
Public
ENCODING_OTHERConstantOther Encoding'O'LIKE
SYCHAR01
Public
ENCODING_UTF8ConstantUTF-8'U'LIKE
SYCHAR01
Public
NO_BOMConstantNo Byte-Order-Mark' 'LIKE
SYCHAR01
Public
TEST_7BITStatic AttributeInternal Use OnlyLIKE
XSTRING
Private
UTF8_CONVStatic AttributeInternal Use OnlyLIKE
CL_ABAP_CONV_X2X_CE
Private




CL_ABAP_FILE_UTILITIES types

BOM_ID - Not used

Links to Related Class(s)

CL_ABAP_...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!