CONVERT_TXT_FILE_LINES2 SAP Method Converts string lines to corresponding table records









Below is documentation, parameters and attributes of ABAP Method CONVERT_TXT_FILE_LINES2 within SAP class /GSINS/CL_BR_FILE_UTILS. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /GSINS/CL_BR_FILE_UTILS into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method CONVERT_TXT_FILE_LINES2 can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method CONVERT_TXT_FILE_LINES2

.

NameTypeData TypeDescriptionDefault Value
IT_OLD_ALV_DATAImportingTYPE
/GSINS/BR_TAB_BRBPWHT_ALV
Table Type for ALV of Brasil Withholding Taxes Exemptions
IT_TXT_LINESImportingTYPE
TY_T_FILE_LINES
IV_SEPARATORImportingTYPE
/GSINS/BR_CSV_SEPARATOR
Separator for csv files
ET_CONTENTExportingTYPE
/GSINS/CL_BR_FILE_UTILS=>TY_T_BRBPWHT



Exceptions of Method CONVERT_TXT_FILE_LINES2

/GSINS/CX_BR_EXCEPTION - Brazil: Exception Class

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lo_class TYPE REF TO /GSINS/CL_BR_FILE_UTILS.
DATA: lv_ET_CONTENT TYPE /GSINS/CL_BR_FILE_UTILS=>TY_T_BRBPWHT,
lv_IT_OLD_ALV_DATA TYPE /GSINS/BR_TAB_BRBPWHT_ALV,
lv_IT_TXT_LINES TYPE TY_T_FILE_LINES,
lv_IV_SEPARATOR TYPE /GSINS/BR_CSV_SEPARATOR,
lv_other TYPE c.

CALL METHOD lo_class=>CONVERT_TXT_FILE_LINES2(
EXPORTING
IT_OLD_ALV_DATA = lv_IT_OLD_ALV_DATA
IT_TXT_LINES = lv_IT_TXT_LINES
IV_SEPARATOR = lv_IV_SEPARATOR
IMPORTING
ET_CONTENT = lv_ET_CONTENT ).

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!