SAP /GSINS/CL_BR_FILE_UTILS OO Class - Brazil: Tools for file handling









/GSINS/CL_BR_FILE_UTILS 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 /GSINS/CL_BR_FILE_UTILS 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 /GSINS/CL_BR_FILE_UTILS 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
CONSTRUCTORConstructorPrivate
CALL METHOD /gsins/cl_br_file_utils=>CONSTRUCTOR...more details

CONVERT_CHAR_2_DECIMALConvert char to decimal valuePrivate
CALL METHOD /gsins/cl_br_file_utils=>CONVERT_CHAR_2_DECIMAL...more details

CONVERT_CHAR_2_DECIMAL_AMOUNTConvert Exemption Amount - char to decimal valuePrivate
CALL METHOD /gsins/cl_br_file_utils=>CONVERT_CHAR_2_DECIMAL_AMOUNT...more details

CONVERT_CHAR_2_DECIMAL_RATEConvert Exemption Rate - char to decimal valuePrivate
CALL METHOD /gsins/cl_br_file_utils=>CONVERT_CHAR_2_DECIMAL_RATE...more details

CONVERT_CONTENT_2_CSVConvert content to CSV formatPrivate
CALL METHOD /gsins/cl_br_file_utils=>CONVERT_CONTENT_2_CSV...more details

CONVERT_DATES_EXTConvert dates to external formatPrivate
CALL METHOD /gsins/cl_br_file_utils=>CONVERT_DATES_EXT...more details

CONVERT_DATES_INTConvert dates to internal formatPrivate
CALL METHOD /gsins/cl_br_file_utils=>CONVERT_DATES_INT...more details

CONVERT_DECIMAL_2_CHARConvert char to decimal valuePrivate
CALL METHOD /gsins/cl_br_file_utils=>CONVERT_DECIMAL_2_CHAR...more details

CONVERT_DECIMAL_2_CHAR_AMOUNTConvert Exemption Amount - char to decimal valuePrivate
CALL METHOD /gsins/cl_br_file_utils=>CONVERT_DECIMAL_2_CHAR_AMOUNT...more details

CONVERT_DECIMAL_2_CHAR_RATEConvert Exemption Rate - char to decimal valuePrivate
CALL METHOD /gsins/cl_br_file_utils=>CONVERT_DECIMAL_2_CHAR_RATE...more details

CONVERT_TXT_FILE_LINESConverts string lines to corresponding table recordsPrivate
CALL METHOD /gsins/cl_br_file_utils=>CONVERT_TXT_FILE_LINES...more details

CONVERT_TXT_FILE_LINES2Converts string lines to corresponding table recordsPrivate
CALL METHOD /gsins/cl_br_file_utils=>CONVERT_TXT_FILE_LINES2...more details

COUNT_LINESCount Lines in Internal Table with Same Business PartnerPrivate
CALL METHOD /gsins/cl_br_file_utils=>COUNT_LINES...more details

CREATE_FILE_TXTCreate text filePublic
CALL METHOD /gsins/cl_br_file_utils=>CREATE_FILE_TXT...more details

DISPLAY_INFO_POPUPDisplays the Do you want to continue questionPrivate
CALL METHOD /gsins/cl_br_file_utils=>DISPLAY_INFO_POPUP...more details

GET_INSTANCEReturns the instancePublic
CALL METHOD /gsins/cl_br_file_utils=>GET_INSTANCE...more details

GET_LOG_HANDLERGet Log Class HandlePublic
CALL METHOD /gsins/cl_br_file_utils=>GET_LOG_HANDLER...more details

GET_SEPARATORReturns the selected separatorPrivate
CALL METHOD /gsins/cl_br_file_utils=>GET_SEPARATOR...more details

INIT_LOG_HANDLERInitial LogPrivate
CALL METHOD /gsins/cl_br_file_utils=>INIT_LOG_HANDLER...more details

LOCK_EXCEMPTIONSTry to Lock All Excemptions Imported from FilePublic
CALL METHOD /gsins/cl_br_file_utils=>LOCK_EXCEMPTIONS...more details

READ_FILERead file contentPublic
CALL METHOD /gsins/cl_br_file_utils=>READ_FILE...more details

READ_FILE_FROM_LOCALReads File from local computerPrivate
CALL METHOD /gsins/cl_br_file_utils=>READ_FILE_FROM_LOCAL...more details

READ_FILE_FROM_SERVERReads File from Application serverPrivate
CALL METHOD /gsins/cl_br_file_utils=>READ_FILE_FROM_SERVER...more details

READ_FILE_TXTRead text filePrivate
CALL METHOD /gsins/cl_br_file_utils=>READ_FILE_TXT...more details

VALIDATE_LINEValidate import line against DBPublic
CALL METHOD /gsins/cl_br_file_utils=>VALIDATE_LINE...more details



/GSINS/CL_BR_FILE_UTILS 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
GC_APPLICATION_SERVERStatic AttributeBatch mode/Online mode'X'LIKE
/GSINS/FILTY
Public
GC_DXAPLICATION_SERVERStatic AttributeFile location on Local server'A'LIKE
DXLOCATION
Public
GC_DXPRESENTATION_SERVERStatic AttributeFile location on Presentation server'P'LIKE
DXLOCATION
Public
GC_EXPECTED_COLUMNSConstantExpected Number of Columns14LIKE
INT4
Private
GC_FUNC_BATCH_JOBConstantFunction Code'FC_BATCH'LIKE
UI_FUNC
Public
GC_ONLINE_MODE_A_SERVERStatic AttributeBatch mode/Online mode'-'LIKE
/GSINS/FILTY
Public
GC_PRESENTATION_SERVERStatic AttributeBatch mode/Online mode' 'LIKE
/GSINS/FILTY
Public
GC_READStatic AttributeData element for domain BOOLE: TRUE (='X') and FALSE (=' ')ABAP_TRUELIKE
BOOLE_D
Public
GC_SCREEN_GRP_BATStatic Attribute3-Byte field'BAT'LIKE
CHAR3
Public
GC_SCREEN_GRP_ONLStatic Attribute3-Byte field'ONL'LIKE
CHAR3
Public
GC_SEPARATOR_COMMAStatic AttributeSingle-Character Indicator','LIKE
CHAR1
Public
GC_SEPARATOR_DOTStatic AttributeSingle-Character Indicator'.'LIKE
CHAR1
Public
GC_SEPARATOR_SEMICOLONStatic AttributeSingle-Character Indicator';'LIKE
CHAR1
Public
GC_SEPARATOR_TABStatic AttributeZeichen 'horizontaler Tabulator-Stop'CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TABLIKE
CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB
Public
GC_SUFFIX_CSVStatic Attribute3-Byte field'CSV'LIKE
CHAR3
Public
GC_SUFFIX_INDICATORStatic AttributeSingle-Character Indicator'.'LIKE
CHAR1
Public
GC_SUFFIX_TXTStatic Attribute3-Byte field'TXT'LIKE
CHAR3
Public
GC_SUFFIX_XLSStatic Attribute3-Byte field'XLS'LIKE
CHAR3
Public
GC_SUFFIX_XLSXStatic AttributeNot More Closely Defined Area, Possibly Used for Patchlevels'XLSX'LIKE
CHAR4
Public
GC_WRITEStatic AttributeData element for domain BOOLE: TRUE (='X') and FALSE (=' ')ABAP_FALSELIKE
BOOLE_D
Public
MO_LOG_HANDLERInstance AttributeApplication logLIKE
/GSINS/CL_BR_APPLOG
Private
MS_FILE_SETTINGSInstance AttributeBrazil: File settingsLIKE
/GSINS/BRBPFLSET
Private
SO_INSTANCEStatic AttributeTools for file handlingLIKE
/GSINS/CL_BR_FILE_UTILS
Private




/GSINS/CL_BR_FILE_UTILS types

TY_FILE_LINES -
TY_S_EXCEL_BRBPWHT -
TY_S_TXT_BRBPWHT -
TY_T_BRBPWHT -
TY_T_EXCEL_LINE -
TY_T_FILE_LINES -
TY_T_TXT_BRBPWHT -

Links to Related Class(s)

/GSINS/C...
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!