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 Name | Description | Visability |
| CONSTRUCTOR | Constructor | Private |
| CALL METHOD /gsins/cl_br_file_utils=>CONSTRUCTOR...more details | ||
| CONVERT_CHAR_2_DECIMAL | Convert char to decimal value | Private |
| CALL METHOD /gsins/cl_br_file_utils=>CONVERT_CHAR_2_DECIMAL...more details | ||
| CONVERT_CHAR_2_DECIMAL_AMOUNT | Convert Exemption Amount - char to decimal value | Private |
| CALL METHOD /gsins/cl_br_file_utils=>CONVERT_CHAR_2_DECIMAL_AMOUNT...more details | ||
| CONVERT_CHAR_2_DECIMAL_RATE | Convert Exemption Rate - char to decimal value | Private |
| CALL METHOD /gsins/cl_br_file_utils=>CONVERT_CHAR_2_DECIMAL_RATE...more details | ||
| CONVERT_CONTENT_2_CSV | Convert content to CSV format | Private |
| CALL METHOD /gsins/cl_br_file_utils=>CONVERT_CONTENT_2_CSV...more details | ||
| CONVERT_DATES_EXT | Convert dates to external format | Private |
| CALL METHOD /gsins/cl_br_file_utils=>CONVERT_DATES_EXT...more details | ||
|
| ||
| CONVERT_DATES_INT | Convert dates to internal format | Private |
| CALL METHOD /gsins/cl_br_file_utils=>CONVERT_DATES_INT...more details | ||
| CONVERT_DECIMAL_2_CHAR | Convert char to decimal value | Private |
| CALL METHOD /gsins/cl_br_file_utils=>CONVERT_DECIMAL_2_CHAR...more details | ||
| CONVERT_DECIMAL_2_CHAR_AMOUNT | Convert Exemption Amount - char to decimal value | Private |
| CALL METHOD /gsins/cl_br_file_utils=>CONVERT_DECIMAL_2_CHAR_AMOUNT...more details | ||
| CONVERT_DECIMAL_2_CHAR_RATE | Convert Exemption Rate - char to decimal value | Private |
| CALL METHOD /gsins/cl_br_file_utils=>CONVERT_DECIMAL_2_CHAR_RATE...more details | ||
| CONVERT_TXT_FILE_LINES | Converts string lines to corresponding table records | Private |
| CALL METHOD /gsins/cl_br_file_utils=>CONVERT_TXT_FILE_LINES...more details | ||
| CONVERT_TXT_FILE_LINES2 | Converts string lines to corresponding table records | Private |
| CALL METHOD /gsins/cl_br_file_utils=>CONVERT_TXT_FILE_LINES2...more details | ||
| COUNT_LINES | Count Lines in Internal Table with Same Business Partner | Private |
| CALL METHOD /gsins/cl_br_file_utils=>COUNT_LINES...more details | ||
| CREATE_FILE_TXT | Create text file | Public |
| CALL METHOD /gsins/cl_br_file_utils=>CREATE_FILE_TXT...more details | ||
| DISPLAY_INFO_POPUP | Displays the Do you want to continue question | Private |
| CALL METHOD /gsins/cl_br_file_utils=>DISPLAY_INFO_POPUP...more details | ||
| GET_INSTANCE | Returns the instance | Public |
| CALL METHOD /gsins/cl_br_file_utils=>GET_INSTANCE...more details | ||
| GET_LOG_HANDLER | Get Log Class Handle | Public |
| CALL METHOD /gsins/cl_br_file_utils=>GET_LOG_HANDLER...more details | ||
| GET_SEPARATOR | Returns the selected separator | Private |
| CALL METHOD /gsins/cl_br_file_utils=>GET_SEPARATOR...more details | ||
| INIT_LOG_HANDLER | Initial Log | Private |
| CALL METHOD /gsins/cl_br_file_utils=>INIT_LOG_HANDLER...more details | ||
| LOCK_EXCEMPTIONS | Try to Lock All Excemptions Imported from File | Public |
| CALL METHOD /gsins/cl_br_file_utils=>LOCK_EXCEMPTIONS...more details | ||
| READ_FILE | Read file content | Public |
| CALL METHOD /gsins/cl_br_file_utils=>READ_FILE...more details | ||
| READ_FILE_FROM_LOCAL | Reads File from local computer | Private |
| CALL METHOD /gsins/cl_br_file_utils=>READ_FILE_FROM_LOCAL...more details | ||
| READ_FILE_FROM_SERVER | Reads File from Application server | Private |
| CALL METHOD /gsins/cl_br_file_utils=>READ_FILE_FROM_SERVER...more details | ||
| READ_FILE_TXT | Read text file | Private |
| CALL METHOD /gsins/cl_br_file_utils=>READ_FILE_TXT...more details | ||
| VALIDATE_LINE | Validate import line against DB | Public |
| 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.
| Name | Level | Description | Initial Value | Type | Visability |
| GC_APPLICATION_SERVER | Static Attribute | Batch mode/Online mode | 'X' | LIKE /GSINS/FILTY | Public |
| GC_DXAPLICATION_SERVER | Static Attribute | File location on Local server | 'A' | LIKE DXLOCATION | Public |
| GC_DXPRESENTATION_SERVER | Static Attribute | File location on Presentation server | 'P' | LIKE DXLOCATION | Public |
| GC_EXPECTED_COLUMNS | Constant | Expected Number of Columns | 14 | LIKE INT4 | Private |
| GC_FUNC_BATCH_JOB | Constant | Function Code | 'FC_BATCH' | LIKE UI_FUNC | Public |
| GC_ONLINE_MODE_A_SERVER | Static Attribute | Batch mode/Online mode | '-' | LIKE /GSINS/FILTY | Public |
| GC_PRESENTATION_SERVER | Static Attribute | Batch mode/Online mode | ' ' | LIKE /GSINS/FILTY | Public |
| GC_READ | Static Attribute | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | ABAP_TRUE | LIKE BOOLE_D | Public |
| GC_SCREEN_GRP_BAT | Static Attribute | 3-Byte field | 'BAT' | LIKE CHAR3 | Public |
| GC_SCREEN_GRP_ONL | Static Attribute | 3-Byte field | 'ONL' | LIKE CHAR3 | Public |
| GC_SEPARATOR_COMMA | Static Attribute | Single-Character Indicator | ',' | LIKE CHAR1 | Public |
| GC_SEPARATOR_DOT | Static Attribute | Single-Character Indicator | '.' | LIKE CHAR1 | Public |
| GC_SEPARATOR_SEMICOLON | Static Attribute | Single-Character Indicator | ';' | LIKE CHAR1 | Public |
| GC_SEPARATOR_TAB | Static Attribute | Zeichen 'horizontaler Tabulator-Stop' | CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB | LIKE CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB | Public |
| GC_SUFFIX_CSV | Static Attribute | 3-Byte field | 'CSV' | LIKE CHAR3 | Public |
| GC_SUFFIX_INDICATOR | Static Attribute | Single-Character Indicator | '.' | LIKE CHAR1 | Public |
| GC_SUFFIX_TXT | Static Attribute | 3-Byte field | 'TXT' | LIKE CHAR3 | Public |
| GC_SUFFIX_XLS | Static Attribute | 3-Byte field | 'XLS' | LIKE CHAR3 | Public |
| GC_SUFFIX_XLSX | Static Attribute | Not More Closely Defined Area, Possibly Used for Patchlevels | 'XLSX' | LIKE CHAR4 | Public |
| GC_WRITE | Static Attribute | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | ABAP_FALSE | LIKE BOOLE_D | Public |
| MO_LOG_HANDLER | Instance Attribute | Application log | LIKE /GSINS/CL_BR_APPLOG | Private | |
| MS_FILE_SETTINGS | Instance Attribute | Brazil: File settings | LIKE /GSINS/BRBPFLSET | Private | |
| SO_INSTANCE | Static Attribute | Tools for file handling | LIKE /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