ABAP Select data from SAP table /FBI/ABIFNDYHXQPNDGWEMG27WHAAG 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 /FBI/ABIFNDYHXQPNDGWEMG27WHAAG 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 /FBI/ABIFNDYHXQPNDGWEMG27WHAAG. 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 /FBI/ABIFNDYHXQPNDGWEMG27WHAAG 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_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG TYPE STANDARD TABLE OF /FBI/ABIFNDYHXQPNDGWEMG27WHAAG, WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG TYPE /FBI/ABIFNDYHXQPNDGWEMG27WHAAG, 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: </FBI/ABIFNDYHXQPNDGWEMG27WHAAG> TYPE /FBI/ABIFNDYHXQPNDGWEMG27WHAAG. *Process all fields in table header/work area as string values PERFORM process_as_string_field_values CHANGING wa_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG. SELECT * *restrict ABAP select to first 10 rows UP TO 10 ROWS FROM /FBI/ABIFNDYHXQPNDGWEMG27WHAAG INTO TABLE IT_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG. *Select data and declare internal table using in-line method @DATA *SELECT * * FROM /FBI/ABIFNDYHXQPNDGWEMG27WHAAG * INTO TABLE @DATA(IT_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG2). *--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_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG INDEX 1 INTO DATA(WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG2). *Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL LOOP AT IT_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG ASSIGNING </FBI/ABIFNDYHXQPNDGWEMG27WHAAG>.*To update a field value using a field symbol simply change the value via the field symbol pointer
</FBI/ABIFNDYHXQPNDGWEMG27WHAAG>-KEY = 1.
</FBI/ABIFNDYHXQPNDGWEMG27WHAAG>-PARENT_KEY = 1.
</FBI/ABIFNDYHXQPNDGWEMG27WHAAG>-ROOT_KEY = 1.
</FBI/ABIFNDYHXQPNDGWEMG27WHAAG>-DATETIME_CR = 1.
</FBI/ABIFNDYHXQPNDGWEMG27WHAAG>-USER_ID_CR = 1.
ENDLOOP. LOOP AT IT_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG INTO WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG. *Write horizonal line to screen report. WRITE:/ sy-uline. *Write selected data to screen/report before conversion. WRITE:/ sy-vline, WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG-DATETIME_CH, sy-vline,
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG-USER_ID_CH, sy-vline,
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG-CATALOG_CODE, sy-vline,
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG-ID, sy-vline,
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG-RESP_ID, sy-vline,
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG-GOAL_TARGET_CODE, sy-vline.
ENDLOOP. *Add any further fields from structure WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG 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_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG 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_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG INTO WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG. *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 TSTLC, internal->external for field DATETIME_CR CALL FUNCTION 'CONVERSION_EXIT_TSTLC_OUTPUT' EXPORTING input = WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG-DATETIME_CR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG-DATETIME_CR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit TSTLC, internal->external for field DATETIME_CH CALL FUNCTION 'CONVERSION_EXIT_TSTLC_OUTPUT' EXPORTING input = WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG-DATETIME_CH IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG-DATETIME_CH.
WRITE:/ 'New Value:', ld_input.
*Conversion exit EHCTL, internal->external for field CATALOG_CODE CALL FUNCTION 'CONVERSION_EXIT_EHCTL_OUTPUT' EXPORTING input = WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG-CATALOG_CODE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG-CATALOG_CODE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ID CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG-ID IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG-ID.
WRITE:/ 'New Value:', ld_input.
*Conversion exit SYUID, internal->external for field RESP_ID CALL FUNCTION 'CONVERSION_EXIT_SYUID_OUTPUT' EXPORTING input = WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG-RESP_ID IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG-RESP_ID.
WRITE:/ 'New Value:', ld_input.
*Conversion exit EHTAR, internal->external for field GOAL_TARGET_CODE CALL FUNCTION 'CONVERSION_EXIT_EHTAR_OUTPUT' EXPORTING input = WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG-GOAL_TARGET_CODE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG-GOAL_TARGET_CODE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit EHOBJ, internal->external for field GOAL_OBJECT_CODE CALL FUNCTION 'CONVERSION_EXIT_EHOBJ_OUTPUT' EXPORTING input = WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG-GOAL_OBJECT_CODE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG-GOAL_OBJECT_CODE.
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_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR,
KEY TYPE STRING,
PARENT_KEY TYPE STRING,
ROOT_KEY TYPE STRING,
DATETIME_CR TYPE STRING,
USER_ID_CR TYPE STRING,
DATETIME_CH TYPE STRING,
USER_ID_CH TYPE STRING,
CATALOG_CODE TYPE STRING,
ID TYPE STRING,
RESP_ID TYPE STRING,
GOAL_TARGET_CODE TYPE STRING,
GOAL_OBJECT_CODE TYPE STRING,
GOAL_CTRL_EFFECT TYPE STRING,
REM_DESC_KEY_REF TYPE STRING,
MIGRATION_SRC TYPE STRING,
EEW_CTRL_ROOT_D TYPE STRING,
TITLE TYPE STRING,
TITLE_KEY TYPE STRING,
REM_DESC_KEY TYPE STRING,
REM_DESC_TEXT TYPE STRING,
TYPE_DESC TYPE STRING,
SUBJECT_DESC TYPE STRING,
GOAL_TARGET_DESC TYPE STRING,
GOAL_OBJECT_DESC TYPE STRING,
EFFECT_DET_DESC TYPE STRING,
RESP_PERSON_NAME TYPE STRING,
EEW_CTRL_ROOT_DT TYPE STRING,
HAZ_DESC TYPE STRING,
/BOFU/K TYPE STRING,
/BOFU/L TYPE STRING,
/BOFU/E1 TYPE STRING,
/BOFU/V1 TYPE STRING,
/BOFU/R1 TYPE STRING,
/BOFU/S1 TYPE STRING,
/BOFU/E2 TYPE STRING,
/BOFU/V2 TYPE STRING,
/BOFU/R2 TYPE STRING,
/BOFU/S2 TYPE STRING,
/BOFU/E3 TYPE STRING,
/BOFU/V3 TYPE STRING,
/BOFU/R3 TYPE STRING,
/BOFU/S3 TYPE STRING,
/BOFU/E4 TYPE STRING,
/BOFU/V4 TYPE STRING,
/BOFU/R4 TYPE STRING,
/BOFU/S4 TYPE STRING,
/BOFU/E5 TYPE STRING,
/BOFU/V5 TYPE STRING,
/BOFU/R5 TYPE STRING,
/BOFU/S5 TYPE STRING,
/BOFU/E6 TYPE STRING,
/BOFU/V6 TYPE STRING,
/BOFU/R6 TYPE STRING,
/BOFU/S6 TYPE STRING,
/BOFU/E7 TYPE STRING,
/BOFU/V7 TYPE STRING,
/BOFU/R7 TYPE STRING,
/BOFU/S7 TYPE STRING,
/BOFU/E8 TYPE STRING,
/BOFU/V8 TYPE STRING,
/BOFU/R8 TYPE STRING,
/BOFU/S8 TYPE STRING,
/BOFU/E9 TYPE STRING,
/BOFU/V9 TYPE STRING,
/BOFU/R9 TYPE STRING,
/BOFU/S9 TYPE STRING,
/BOFU/EA TYPE STRING,
/BOFU/VA TYPE STRING,
/BOFU/RA TYPE STRING,
/BOFU/SA TYPE STRING,
/BOFU/EB TYPE STRING,
/BOFU/VB TYPE STRING,
/BOFU/RB TYPE STRING,
/BOFU/SB TYPE STRING,
/BOFU/EC TYPE STRING,
/BOFU/VC TYPE STRING,
/BOFU/RC TYPE STRING,
/BOFU/SC TYPE STRING,
/BOFU/ED TYPE STRING,
/BOFU/VD TYPE STRING,
/BOFU/RD TYPE STRING,
/BOFU/SD TYPE STRING,
/BOFU/EE TYPE STRING,
/BOFU/VE TYPE STRING,
/BOFU/RE TYPE STRING,
/BOFU/SE TYPE STRING,
/BOFU/EF TYPE STRING,
/BOFU/VF TYPE STRING,
/BOFU/RF TYPE STRING,
/BOFU/SF TYPE STRING,
/BOFU/EG TYPE STRING,
/BOFU/VG TYPE STRING,
/BOFU/RG TYPE STRING,
/BOFU/SG TYPE STRING,
/BOFU/EH TYPE STRING,
/BOFU/VH TYPE STRING,
/BOFU/RH TYPE STRING,
/BOFU/SH TYPE STRING,
/BOFU/EI TYPE STRING,
/BOFU/VI TYPE STRING,
/BOFU/RI TYPE STRING,
/BOFU/SI TYPE STRING,
/BOFU/EJ TYPE STRING,
/BOFU/VJ TYPE STRING,
/BOFU/RJ TYPE STRING,
/BOFU/SJ TYPE STRING,
/BOFU/EK TYPE STRING,
/BOFU/VK TYPE STRING,
/BOFU/RK TYPE STRING,
/BOFU/SK TYPE STRING,
/BOFU/EL TYPE STRING,
/BOFU/VL TYPE STRING,
/BOFU/RL TYPE STRING,
/BOFU/SL TYPE STRING,
/BOFU/EM TYPE STRING,
/BOFU/VM TYPE STRING,
/BOFU/RM TYPE STRING,
/BOFU/SM TYPE STRING,
/BOFU/EN TYPE STRING,
/BOFU/VN TYPE STRING,
/BOFU/RN TYPE STRING,
/BOFU/SN TYPE STRING,END OF T_EKKO_STR. DATA: WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_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_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-KEY sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-PARENT_KEY sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-ROOT_KEY sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-DATETIME_CR sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-USER_ID_CR sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-DATETIME_CH sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-USER_ID_CH sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-CATALOG_CODE sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-ID sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-RESP_ID sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-GOAL_TARGET_CODE sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-GOAL_OBJECT_CODE sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-GOAL_CTRL_EFFECT sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-REM_DESC_KEY_REF sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-MIGRATION_SRC sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-EEW_CTRL_ROOT_D sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-TITLE sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-TITLE_KEY sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-REM_DESC_KEY sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-REM_DESC_TEXT sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-TYPE_DESC sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-SUBJECT_DESC sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-GOAL_TARGET_DESC sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-GOAL_OBJECT_DESC sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-EFFECT_DET_DESC sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-RESP_PERSON_NAME sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-EEW_CTRL_ROOT_DT sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-HAZ_DESC sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/K sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/L sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/E1 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/V1 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/R1 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/S1 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/E2 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/V2 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/R2 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/S2 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/E3 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/V3 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/R3 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/S3 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/E4 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/V4 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/R4 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/S4 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/E5 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/V5 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/R5 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/S5 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/E6 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/V6 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/R6 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/S6 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/E7 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/V7 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/R7 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/S7 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/E8 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/V8 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/R8 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/S8 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/E9 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/V9 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/R9 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/S9 sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/EA sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/VA sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/RA sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/SA sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/EB sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/VB sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/RB sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/SB sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/EC sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/VC sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/RC sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/SC sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/ED sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/VD sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/RD sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/SD sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/EE sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/VE sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/RE sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/SE sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/EF sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/VF sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/RF sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/SF sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/EG sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/VG sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/RG sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/SG sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/EH sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/VH sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/RH sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/SH sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/EI sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/VI sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/RI sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/SI sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/EJ sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/VJ sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/RJ sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/SJ sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/EK sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/VK sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/RK sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/SK sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/EL sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/VL sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/RL sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/SL sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/EM sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/VM sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/RM sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/SM sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/EN sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/VN sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/RN sy-vline
WA_/FBI/ABIFNDYHXQPNDGWEMG27WHAAG_STR-/BOFU/SN sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.