ABAP Select data from SAP table FIWTFR_S_BOE into internal table

Get Example source ABAP code based on a different SAP table
  

Below is a number of ABAP code snippets to demonstrate how to select data from SAP FIWTFR_S_BOE table and store it within an internal table, including using the newer @DATA inline declaration methods. It also shows you various ways to process this data using ABAP work area, inline declaration or field symbols including executing all the relevant CONVERSION_EXIT routines specific to FIWTFR_S_BOE. See here for more generic Select statement tips.

Sometimes data within SAP is stored within the database table in a different format to what it is displayed to the user. These input/output conversation FM routines are what translates the data between the two formats.

There is also a full declaration of the FIWTFR_S_BOE table where each field has a char/string type for you to simply copy and paste. This allows you to use processing that is only available to these field types such as the CONCATENATE statement.

DATA: IT_FIWTFR_S_BOE TYPE STANDARD TABLE OF FIWTFR_S_BOE,
      WA_FIWTFR_S_BOE TYPE FIWTFR_S_BOE,
      GD_STR TYPE STRING.

DATA: lo_typedescr type REF TO cl_abap_typedescr.
DATA: lv_fieldname type fieldname.

FIELD-SYMBOLS: <FIELD> TYPE any.
FIELD-SYMBOLS: <FIWTFR_S_BOE> TYPE FIWTFR_S_BOE.

*Process all fields in table header/work area as string values
  PERFORM process_as_string_field_values CHANGING wa_FIWTFR_S_BOE.

SELECT *
*restrict ABAP select to first 10 rows
 UP TO 10 ROWS      
  FROM FIWTFR_S_BOE
  INTO TABLE IT_FIWTFR_S_BOE.

*Select data and declare internal table using in-line method @DATA
*SELECT *
*  FROM FIWTFR_S_BOE
*  INTO TABLE @DATA(IT_FIWTFR_S_BOE2).
*--Further methods of using ABAP code to  select data from SAP database tables

*You can also declare the header/work area using the in-line DATA declaration method
READ TABLE IT_FIWTFR_S_BOE INDEX 1 INTO DATA(WA_FIWTFR_S_BOE2).


*Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL
LOOP AT IT_FIWTFR_S_BOE ASSIGNING <FIWTFR_S_BOE>.
*To update a field value using a field symbol simply change the value via the field symbol pointer
<FIWTFR_S_BOE>-STAT = 1.
<FIWTFR_S_BOE>-BUKRS = 1.
<FIWTFR_S_BOE>-BUPLA = 1.
<FIWTFR_S_BOE>-PARTNO_TYPE = 1.
<FIWTFR_S_BOE>-PARTNERNO = 1.
ENDLOOP.

LOOP AT IT_FIWTFR_S_BOE INTO WA_FIWTFR_S_BOE.
*Write horizonal line to screen report.
  WRITE:/ sy-uline.

*Write selected data to screen/report before conversion.
  WRITE:/ sy-vline,   WA_FIWTFR_S_BOE-WT_REVERSED, sy-vline,
WA_FIWTFR_S_BOE-WT_PERIOD, sy-vline,
WA_FIWTFR_S_BOE-MONA, sy-vline,
WA_FIWTFR_S_BOE-WITHT, sy-vline,
WA_FIWTFR_S_BOE-WT_WITHCD, sy-vline,
WA_FIWTFR_S_BOE-GJAHR, sy-vline.
ENDLOOP. *Add any further fields from structure WA_FIWTFR_S_BOE you want to display... WRITE:/ sy-uline. * Aternatively use generic code to Write field values (and NAME) to screen report DO. ASSIGN COMPONENT sy-index OF STRUCTURE wa_FIWTFR_S_BOE TO <field>. IF sy-subrc <> 0. EXIT. ENDIF. WRITE:/ 'Field Value', <field>, sy-vline. gd_str = <field> . lo_typedescr ?= CL_ABAP_DATADESCR=>DESCRIBE_BY_DATA( <field> ). lv_fieldname = lo_typedescr->GET_RELATIVE_NAME( ). WRITE:/ 'Field Name', lv_fieldname. ENDDO. *Redo loop but convert all fields from internal to out value LOOP AT IT_FIWTFR_S_BOE INTO WA_FIWTFR_S_BOE. *Write horizonal line to screen report. WRITE:/ sy-uline. *Convert all fields to display/output versions using conversion routines PERFORM convert_all_field_values CHANGING wa_EKKO. ENDLOOP. *&---------------------------------------------------------------------* *& Form convert_all_field_values *&---------------------------------------------------------------------* FORM convert_all_field_values CHANGING p_EKKO LIKE wa_EKKO. DATA: ld_input(1000) TYPE c, ld_output(1000) TYPE C.

*Conversion exit GJAHR, internal->external for field GJAHR CALL FUNCTION 'CONVERSION_EXIT_GJAHR_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-GJAHR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-GJAHR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field BELNR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-BELNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-BELNR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field LIFNR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-LIFNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-LIFNR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field KUNNR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-KUNNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-KUNNR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field AUGBL CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-AUGBL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-AUGBL.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field REBZG CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-REBZG IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-REBZG.
WRITE:/ 'New Value:', ld_input.

*Conversion exit GJAHR, internal->external for field REBZJ CALL FUNCTION 'CONVERSION_EXIT_GJAHR_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-REBZJ IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-REBZJ.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AU132, internal->external for field DMBTR CALL FUNCTION 'CONVERSION_EXIT_AU132_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-DMBTR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-DMBTR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AU132, internal->external for field WRBTR CALL FUNCTION 'CONVERSION_EXIT_AU132_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-WRBTR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-WRBTR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AC152, internal->external for field WT_QSSHH CALL FUNCTION 'CONVERSION_EXIT_AC152_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-WT_QSSHH IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-WT_QSSHH.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AC152, internal->external for field WT_QSSHB CALL FUNCTION 'CONVERSION_EXIT_AC152_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-WT_QSSHB IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-WT_QSSHB.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AC152, internal->external for field WT_QBSHH CALL FUNCTION 'CONVERSION_EXIT_AC152_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-WT_QBSHH IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-WT_QBSHH.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AC152, internal->external for field WT_QBSHB CALL FUNCTION 'CONVERSION_EXIT_AC152_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-WT_QBSHB IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-WT_QBSHB.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AC152, internal->external for field WT_QSFHH CALL FUNCTION 'CONVERSION_EXIT_AC152_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-WT_QSFHH IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-WT_QSFHH.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AC152, internal->external for field WT_QSFHB CALL FUNCTION 'CONVERSION_EXIT_AC152_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-WT_QSFHB IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-WT_QSFHB.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AC152, internal->external for field WT_NETHH CALL FUNCTION 'CONVERSION_EXIT_AC152_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-WT_NETHH IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-WT_NETHH.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AC152, internal->external for field WT_NETHB CALL FUNCTION 'CONVERSION_EXIT_AC152_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-WT_NETHB IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-WT_NETHB.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AU132, internal->external for field WT_TAXHH CALL FUNCTION 'CONVERSION_EXIT_AU132_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-WT_TAXHH IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-WT_TAXHH.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AU132, internal->external for field WT_TAXHB CALL FUNCTION 'CONVERSION_EXIT_AU132_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-WT_TAXHB IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-WT_TAXHB.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AU152, internal->external for field WT_PAYBH CALL FUNCTION 'CONVERSION_EXIT_AU152_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-WT_PAYBH IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-WT_PAYBH.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AU152, internal->external for field WT_PAYBB CALL FUNCTION 'CONVERSION_EXIT_AU152_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-WT_PAYBB IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-WT_PAYBB.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AU152, internal->external for field WT_XDMBTR CALL FUNCTION 'CONVERSION_EXIT_AU152_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-WT_XDMBTR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-WT_XDMBTR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AU152, internal->external for field WT_XWRBTR CALL FUNCTION 'CONVERSION_EXIT_AU152_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-WT_XWRBTR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-WT_XWRBTR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AU152, internal->external for field WT_XDMBTR1 CALL FUNCTION 'CONVERSION_EXIT_AU152_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-WT_XDMBTR1 IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-WT_XDMBTR1.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AU152, internal->external for field WT_XWRBTR1 CALL FUNCTION 'CONVERSION_EXIT_AU152_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-WT_XWRBTR1 IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-WT_XWRBTR1.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AU152, internal->external for field WT_XDMBTR2 CALL FUNCTION 'CONVERSION_EXIT_AU152_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-WT_XDMBTR2 IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-WT_XDMBTR2.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AU152, internal->external for field WT_XWRBTR2 CALL FUNCTION 'CONVERSION_EXIT_AU152_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-WT_XWRBTR2 IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-WT_XWRBTR2.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AU132, internal->external for field SKNTO CALL FUNCTION 'CONVERSION_EXIT_AU132_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-SKNTO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-SKNTO.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AU132, internal->external for field WSKTO CALL FUNCTION 'CONVERSION_EXIT_AU132_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-WSKTO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-WSKTO.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field EMPFB CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-EMPFB IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-EMPFB.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field LIFNR_ORG CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-LIFNR_ORG IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-LIFNR_ORG.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field KUNNR_ORG CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-KUNNR_ORG IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-KUNNR_ORG.
WRITE:/ 'New Value:', ld_input.

*Conversion exit GJAHR, internal->external for field AUGGJ CALL FUNCTION 'CONVERSION_EXIT_GJAHR_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-AUGGJ IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-AUGGJ.
WRITE:/ 'New Value:', ld_input.

*Conversion exit AU132, internal->external for field SKFBT CALL FUNCTION 'CONVERSION_EXIT_AU132_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-SKFBT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-SKFBT.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field STBLG CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_FIWTFR_S_BOE-STBLG IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_FIWTFR_S_BOE-STBLG.
WRITE:/ 'New Value:', ld_input.
ENDFORM. *&---------------------------------------------------------------------* *& Form process_as_string_field_values *&---------------------------------------------------------------------* FORM process_as_string_field_values CHANGING p_EKKO LIKE wa_EKKO. TYPES: BEGIN OF T_FIWTFR_S_BOE_STR,
STAT TYPE STRING,
BUKRS TYPE STRING,
BUPLA TYPE STRING,
PARTNO_TYPE TYPE STRING,
PARTNERNO TYPE STRING,
WT_REVERSED TYPE STRING,
WT_PERIOD TYPE STRING,
MONA TYPE STRING,
WITHT TYPE STRING,
WT_WITHCD TYPE STRING,
GJAHR TYPE STRING,
BELNR TYPE STRING,
BUZEI TYPE STRING,
ITEM_SOURCE TYPE STRING,
ITEM_REF TYPE STRING,
BUDAT TYPE STRING,
LIFNR TYPE STRING,
KUNNR TYPE STRING,
KOART TYPE STRING,
GSBER TYPE STRING,
BLDAT TYPE STRING,
SGTXT TYPE STRING,
AUGDT TYPE STRING,
AUGBL TYPE STRING,
WT_PAYDT TYPE STRING,
UMSKS TYPE STRING,
UMSKZ TYPE STRING,
ZUMSK TYPE STRING,
XBLNR TYPE STRING,
BLART TYPE STRING,
BSCHL TYPE STRING,
XZAHL TYPE STRING,
XCPDD TYPE STRING,
SHKZG TYPE STRING,
MWSKZ TYPE STRING,
REBZG TYPE STRING,
REBZJ TYPE STRING,
REBZZ TYPE STRING,
REBZT TYPE STRING,
XREF2 TYPE STRING,
XREF3 TYPE STRING,
HWAER TYPE STRING,
DMBTR TYPE STRING,
WAERS TYPE STRING,
WRBTR TYPE STRING,
WT_QSSHH TYPE STRING,
WT_QSSHB TYPE STRING,
WT_QBSHH TYPE STRING,
WT_QBSHB TYPE STRING,
WT_QSFHH TYPE STRING,
WT_QSFHB TYPE STRING,
WT_NETHH TYPE STRING,
WT_NETHB TYPE STRING,
WT_TAXHH TYPE STRING,
WT_TAXHB TYPE STRING,
WT_PAYBH TYPE STRING,
WT_PAYBB TYPE STRING,
WT_XDMBTR TYPE STRING,
WT_XWRBTR TYPE STRING,
WT_XDMBTR1 TYPE STRING,
WT_XWRBTR1 TYPE STRING,
WT_XDMBTR2 TYPE STRING,
WT_XWRBTR2 TYPE STRING,
SKNTO TYPE STRING,
WSKTO TYPE STRING,
QSREC TYPE STRING,
RCTXT TYPE STRING,
QSREP TYPE STRING,
QSCOD TYPE STRING,
RPTXT TYPE STRING,
QSATZ TYPE STRING,
WT_SLFWTPD TYPE STRING,
WT_GRUWTPD TYPE STRING,
WT_OPOWTPD TYPE STRING,
CTNUMBER TYPE STRING,
WT_WTEXMN TYPE STRING,
WT_QSZRT TYPE STRING,
LAND1 TYPE STRING,
SECCO TYPE STRING,
WT_POSIN TYPE STRING,
WT_BASMAN TYPE STRING,
WT_AMNMAN TYPE STRING,
WT_OPEN_ITEM TYPE STRING,
WT_NEWWT TYPE STRING,
WT_POSTM TYPE STRING,
WT_TCODE TYPE STRING,
WT_MWSK1 TYPE STRING,
WT_ISSDT TYPE STRING,
ZFBDT TYPE STRING,
EMPFB TYPE STRING,
STCD1 TYPE STRING,
STCD2 TYPE STRING,
BUKRS_ORG TYPE STRING,
LIFNR_ORG TYPE STRING,
KUNNR_ORG TYPE STRING,
STENR TYPE STRING,
AUGGJ TYPE STRING,
SKFBT TYPE STRING,
J_1TPBUPL TYPE STRING,
STBLG TYPE STRING,END OF T_EKKO_STR. DATA: WA_FIWTFR_S_BOE_STR type T_EKKO_STR. DATA: ld_text TYPE string. LOOP AT IT_EKKO INTO WA_EKKO. MOVE-CORRESPONDING wa_EKKO TO WA_EKKO_STR. CONCATENATE: sy-vline
WA_FIWTFR_S_BOE_STR-STAT sy-vline
WA_FIWTFR_S_BOE_STR-BUKRS sy-vline
WA_FIWTFR_S_BOE_STR-BUPLA sy-vline
WA_FIWTFR_S_BOE_STR-PARTNO_TYPE sy-vline
WA_FIWTFR_S_BOE_STR-PARTNERNO sy-vline
WA_FIWTFR_S_BOE_STR-WT_REVERSED sy-vline
WA_FIWTFR_S_BOE_STR-WT_PERIOD sy-vline
WA_FIWTFR_S_BOE_STR-MONA sy-vline
WA_FIWTFR_S_BOE_STR-WITHT sy-vline
WA_FIWTFR_S_BOE_STR-WT_WITHCD sy-vline
WA_FIWTFR_S_BOE_STR-GJAHR sy-vline
WA_FIWTFR_S_BOE_STR-BELNR sy-vline
WA_FIWTFR_S_BOE_STR-BUZEI sy-vline
WA_FIWTFR_S_BOE_STR-ITEM_SOURCE sy-vline
WA_FIWTFR_S_BOE_STR-ITEM_REF sy-vline
WA_FIWTFR_S_BOE_STR-BUDAT sy-vline
WA_FIWTFR_S_BOE_STR-LIFNR sy-vline
WA_FIWTFR_S_BOE_STR-KUNNR sy-vline
WA_FIWTFR_S_BOE_STR-KOART sy-vline
WA_FIWTFR_S_BOE_STR-GSBER sy-vline
WA_FIWTFR_S_BOE_STR-BLDAT sy-vline
WA_FIWTFR_S_BOE_STR-SGTXT sy-vline
WA_FIWTFR_S_BOE_STR-AUGDT sy-vline
WA_FIWTFR_S_BOE_STR-AUGBL sy-vline
WA_FIWTFR_S_BOE_STR-WT_PAYDT sy-vline
WA_FIWTFR_S_BOE_STR-UMSKS sy-vline
WA_FIWTFR_S_BOE_STR-UMSKZ sy-vline
WA_FIWTFR_S_BOE_STR-ZUMSK sy-vline
WA_FIWTFR_S_BOE_STR-XBLNR sy-vline
WA_FIWTFR_S_BOE_STR-BLART sy-vline
WA_FIWTFR_S_BOE_STR-BSCHL sy-vline
WA_FIWTFR_S_BOE_STR-XZAHL sy-vline
WA_FIWTFR_S_BOE_STR-XCPDD sy-vline
WA_FIWTFR_S_BOE_STR-SHKZG sy-vline
WA_FIWTFR_S_BOE_STR-MWSKZ sy-vline
WA_FIWTFR_S_BOE_STR-REBZG sy-vline
WA_FIWTFR_S_BOE_STR-REBZJ sy-vline
WA_FIWTFR_S_BOE_STR-REBZZ sy-vline
WA_FIWTFR_S_BOE_STR-REBZT sy-vline
WA_FIWTFR_S_BOE_STR-XREF2 sy-vline
WA_FIWTFR_S_BOE_STR-XREF3 sy-vline
WA_FIWTFR_S_BOE_STR-HWAER sy-vline
WA_FIWTFR_S_BOE_STR-DMBTR sy-vline
WA_FIWTFR_S_BOE_STR-WAERS sy-vline
WA_FIWTFR_S_BOE_STR-WRBTR sy-vline
WA_FIWTFR_S_BOE_STR-WT_QSSHH sy-vline
WA_FIWTFR_S_BOE_STR-WT_QSSHB sy-vline
WA_FIWTFR_S_BOE_STR-WT_QBSHH sy-vline
WA_FIWTFR_S_BOE_STR-WT_QBSHB sy-vline
WA_FIWTFR_S_BOE_STR-WT_QSFHH sy-vline
WA_FIWTFR_S_BOE_STR-WT_QSFHB sy-vline
WA_FIWTFR_S_BOE_STR-WT_NETHH sy-vline
WA_FIWTFR_S_BOE_STR-WT_NETHB sy-vline
WA_FIWTFR_S_BOE_STR-WT_TAXHH sy-vline
WA_FIWTFR_S_BOE_STR-WT_TAXHB sy-vline
WA_FIWTFR_S_BOE_STR-WT_PAYBH sy-vline
WA_FIWTFR_S_BOE_STR-WT_PAYBB sy-vline
WA_FIWTFR_S_BOE_STR-WT_XDMBTR sy-vline
WA_FIWTFR_S_BOE_STR-WT_XWRBTR sy-vline
WA_FIWTFR_S_BOE_STR-WT_XDMBTR1 sy-vline
WA_FIWTFR_S_BOE_STR-WT_XWRBTR1 sy-vline
WA_FIWTFR_S_BOE_STR-WT_XDMBTR2 sy-vline
WA_FIWTFR_S_BOE_STR-WT_XWRBTR2 sy-vline
WA_FIWTFR_S_BOE_STR-SKNTO sy-vline
WA_FIWTFR_S_BOE_STR-WSKTO sy-vline
WA_FIWTFR_S_BOE_STR-QSREC sy-vline
WA_FIWTFR_S_BOE_STR-RCTXT sy-vline
WA_FIWTFR_S_BOE_STR-QSREP sy-vline
WA_FIWTFR_S_BOE_STR-QSCOD sy-vline
WA_FIWTFR_S_BOE_STR-RPTXT sy-vline
WA_FIWTFR_S_BOE_STR-QSATZ sy-vline
WA_FIWTFR_S_BOE_STR-WT_SLFWTPD sy-vline
WA_FIWTFR_S_BOE_STR-WT_GRUWTPD sy-vline
WA_FIWTFR_S_BOE_STR-WT_OPOWTPD sy-vline
WA_FIWTFR_S_BOE_STR-CTNUMBER sy-vline
WA_FIWTFR_S_BOE_STR-WT_WTEXMN sy-vline
WA_FIWTFR_S_BOE_STR-WT_QSZRT sy-vline
WA_FIWTFR_S_BOE_STR-LAND1 sy-vline
WA_FIWTFR_S_BOE_STR-SECCO sy-vline
WA_FIWTFR_S_BOE_STR-WT_POSIN sy-vline
WA_FIWTFR_S_BOE_STR-WT_BASMAN sy-vline
WA_FIWTFR_S_BOE_STR-WT_AMNMAN sy-vline
WA_FIWTFR_S_BOE_STR-WT_OPEN_ITEM sy-vline
WA_FIWTFR_S_BOE_STR-WT_NEWWT sy-vline
WA_FIWTFR_S_BOE_STR-WT_POSTM sy-vline
WA_FIWTFR_S_BOE_STR-WT_TCODE sy-vline
WA_FIWTFR_S_BOE_STR-WT_MWSK1 sy-vline
WA_FIWTFR_S_BOE_STR-WT_ISSDT sy-vline
WA_FIWTFR_S_BOE_STR-ZFBDT sy-vline
WA_FIWTFR_S_BOE_STR-EMPFB sy-vline
WA_FIWTFR_S_BOE_STR-STCD1 sy-vline
WA_FIWTFR_S_BOE_STR-STCD2 sy-vline
WA_FIWTFR_S_BOE_STR-BUKRS_ORG sy-vline
WA_FIWTFR_S_BOE_STR-LIFNR_ORG sy-vline
WA_FIWTFR_S_BOE_STR-KUNNR_ORG sy-vline
WA_FIWTFR_S_BOE_STR-STENR sy-vline
WA_FIWTFR_S_BOE_STR-AUGGJ sy-vline
WA_FIWTFR_S_BOE_STR-SKFBT sy-vline
WA_FIWTFR_S_BOE_STR-J_1TPBUPL sy-vline
WA_FIWTFR_S_BOE_STR-STBLG sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.