ABAP Select data from SAP table /PLMU/S_RCP_MFE_RFO_ITEM_UI 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 /PLMU/S_RCP_MFE_RFO_ITEM_UI 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 /PLMU/S_RCP_MFE_RFO_ITEM_UI. 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 /PLMU/S_RCP_MFE_RFO_ITEM_UI 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_/PLMU/S_RCP_MFE_RFO_ITEM_UI TYPE STANDARD TABLE OF /PLMU/S_RCP_MFE_RFO_ITEM_UI,
      WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI TYPE /PLMU/S_RCP_MFE_RFO_ITEM_UI,
      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: </PLMU/S_RCP_MFE_RFO_ITEM_UI> TYPE /PLMU/S_RCP_MFE_RFO_ITEM_UI.

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

SELECT *
*restrict ABAP select to first 10 rows
 UP TO 10 ROWS      
  FROM /PLMU/S_RCP_MFE_RFO_ITEM_UI
  INTO TABLE IT_/PLMU/S_RCP_MFE_RFO_ITEM_UI.

*Select data and declare internal table using in-line method @DATA
*SELECT *
*  FROM /PLMU/S_RCP_MFE_RFO_ITEM_UI
*  INTO TABLE @DATA(IT_/PLMU/S_RCP_MFE_RFO_ITEM_UI2).
*--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_/PLMU/S_RCP_MFE_RFO_ITEM_UI INDEX 1 INTO DATA(WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI2).


*Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL
LOOP AT IT_/PLMU/S_RCP_MFE_RFO_ITEM_UI ASSIGNING </PLMU/S_RCP_MFE_RFO_ITEM_UI>.
*To update a field value using a field symbol simply change the value via the field symbol pointer
</PLMU/S_RCP_MFE_RFO_ITEM_UI>-RFO_GUID = 1.
</PLMU/S_RCP_MFE_RFO_ITEM_UI>-ITEM_GUID = 1.
</PLMU/S_RCP_MFE_RFO_ITEM_UI>-ITEM_TYPE = 1.
</PLMU/S_RCP_MFE_RFO_ITEM_UI>-ITEM_TYPE_UI_PO = 1.
</PLMU/S_RCP_MFE_RFO_ITEM_UI>-ITEM_TYPE_UI_OS = 1.
ENDLOOP.

LOOP AT IT_/PLMU/S_RCP_MFE_RFO_ITEM_UI INTO WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI.
*Write horizonal line to screen report.
  WRITE:/ sy-uline.

*Write selected data to screen/report before conversion.
  WRITE:/ sy-vline,   WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-ITEM_TYPE_UI_IN, sy-vline,
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-CV_ITEM_TYPE, sy-vline,
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-ST_ID, sy-vline,
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-POSNR, sy-vline,
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-POSCOUNT, sy-vline,
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-COMP_TYPE, sy-vline.
ENDLOOP. *Add any further fields from structure WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI 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_/PLMU/S_RCP_MFE_RFO_ITEM_UI 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_/PLMU/S_RCP_MFE_RFO_ITEM_UI INTO WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI. *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 RCPNZ, internal->external for field ST_ID CALL FUNCTION 'CONVERSION_EXIT_RCPNZ_OUTPUT' EXPORTING input = WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-ST_ID IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-ST_ID.
WRITE:/ 'New Value:', ld_input.

*Conversion exit RCPNZ, internal->external for field POSNR CALL FUNCTION 'CONVERSION_EXIT_RCPNZ_OUTPUT' EXPORTING input = WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-POSNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-POSNR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit RCPNZ, internal->external for field POSCOUNT CALL FUNCTION 'CONVERSION_EXIT_RCPNZ_OUTPUT' EXPORTING input = WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-POSCOUNT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-POSCOUNT.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CHRI2, internal->external for field SUBID_STREAM CALL FUNCTION 'CONVERSION_EXIT_CHRI2_OUTPUT' EXPORTING input = WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-SUBID_STREAM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-SUBID_STREAM.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CHRI2, internal->external for field SUBID_IN CALL FUNCTION 'CONVERSION_EXIT_CHRI2_OUTPUT' EXPORTING input = WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-SUBID_IN IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-SUBID_IN.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CHRI2, internal->external for field SUBID_SO CALL FUNCTION 'CONVERSION_EXIT_CHRI2_OUTPUT' EXPORTING input = WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-SUBID_SO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-SUBID_SO.
WRITE:/ 'New Value:', ld_input.

*Conversion exit MATN1, internal->external for field MATERIAL CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-MATERIAL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-MATERIAL.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CUNIT, internal->external for field UOM CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-UOM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-UOM.
WRITE:/ 'New Value:', ld_input.

*Conversion exit RCPNZ, internal->external for field ST_ID_SOURCE CALL FUNCTION 'CONVERSION_EXIT_RCPNZ_OUTPUT' EXPORTING input = WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-ST_ID_SOURCE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-ST_ID_SOURCE.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CUNIT, internal->external for field SCALE_UOM CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-SCALE_UOM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-SCALE_UOM.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CUNIT, internal->external for field MASS_UOM CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-MASS_UOM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-MASS_UOM.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CUNIT, internal->external for field VOLUME_UOM CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-VOLUME_UOM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-VOLUME_UOM.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CUNIT, internal->external for field DENSITY_UOM CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-DENSITY_UOM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-DENSITY_UOM.
WRITE:/ 'New Value:', ld_input.

*Conversion exit RCPNZ, internal->external for field OPERATION_ID CALL FUNCTION 'CONVERSION_EXIT_RCPNZ_OUTPUT' EXPORTING input = WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-OPERATION_ID IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-OPERATION_ID.
WRITE:/ 'New Value:', ld_input.

*Conversion exit RCPNZ, internal->external for field ACTION_ID CALL FUNCTION 'CONVERSION_EXIT_RCPNZ_OUTPUT' EXPORTING input = WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-ACTION_ID IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-ACTION_ID.
WRITE:/ 'New Value:', ld_input.

*Conversion exit RCPNZ, internal->external for field SORTNO CALL FUNCTION 'CONVERSION_EXIT_RCPNZ_OUTPUT' EXPORTING input = WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-SORTNO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI-SORTNO.
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_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR,
RFO_GUID TYPE STRING,
ITEM_GUID TYPE STRING,
ITEM_TYPE TYPE STRING,
ITEM_TYPE_UI_PO TYPE STRING,
ITEM_TYPE_UI_OS TYPE STRING,
ITEM_TYPE_UI_IN TYPE STRING,
CV_ITEM_TYPE TYPE STRING,
ST_ID TYPE STRING,
POSNR TYPE STRING,
POSCOUNT TYPE STRING,
COMP_TYPE TYPE STRING,
ITEM_TYPE_INT TYPE STRING,
ITEM_TYPE_DESC TYPE STRING,
SUBRECN TYPE STRING,
SUBID TYPE STRING,
SUBID_STREAM TYPE STRING,
SUBID_IN TYPE STRING,
SUBID_SO TYPE STRING,
SUBST_IDENT1 TYPE STRING,
SUBST_IDENT2 TYPE STRING,
MATERIAL TYPE STRING,
MAT_DESC TYPE STRING,
ITEM_DESC TYPE STRING,
QUANT TYPE STRING,
UOM TYPE STRING,
QUANT_PRINT TYPE STRING,
QUANT_LOW TYPE STRING,
QUANT_HIGH TYPE STRING,
SCRAP TYPE STRING,
EXCEPTION_VALUE TYPE STRING,
MASSABSFLOAT TYPE STRING,
OVERRUN TYPE STRING,
ALT_ITEM_GUID TYPE STRING,
DUMMY1 TYPE STRING,
ST_ID_SOURCE TYPE STRING,
STREAM_ID TYPE STRING,
USE_FOR_CALC TYPE STRING,
MASS_PCT TYPE STRING,
VOLUME_PCT TYPE STRING,
SCALE_QUANT TYPE STRING,
SCALE_UOM TYPE STRING,
EXCEPTION_VALUE_DESC TYPE STRING,
MASS TYPE STRING,
VOLUME TYPE STRING,
CALCULATED TYPE STRING,
DENSITY TYPE STRING,
REL_RECIPE TYPE STRING,
LOSS_QUANT TYPE STRING,
LOG_QUANT TYPE STRING,
COMP_TYPE_DESC TYPE STRING,
MASS_UOM TYPE STRING,
VOLUME_UOM TYPE STRING,
DENSITY_UOM TYPE STRING,
PE_GUID TYPE STRING,
OPERATION_ID TYPE STRING,
ACTION_ID TYPE STRING,
STAGE_DESC TYPE STRING,
OPERATION_DESC TYPE STRING,
ACTION_DESC TYPE STRING,
STREAM_ALLOWED TYPE STRING,
MASS_PO TYPE STRING,
MASS_PCT_PO TYPE STRING,
VOLUME_PO TYPE STRING,
VOLUME_PCT_PO TYPE STRING,
LOG_QUANT_PO TYPE STRING,
LOSS_QUANT_PO TYPE STRING,
ICON TYPE STRING,
CV_EMPTY_LINE TYPE STRING,
CV_SUBID TYPE STRING,
EXPL_RCP_NAME TYPE STRING,
ICON_DESC TYPE STRING,
DUMMY2 TYPE STRING,
ORIGIN TYPE STRING,
ORIGIN_DESC TYPE STRING,
ORIGIN_LINKABLE TYPE STRING,
CALC_TYPE TYPE STRING,
IS_BALANCING_ITEM TYPE STRING,
TOTAL_SOLID TYPE STRING,
TOTAL_SOLID_PCT TYPE STRING,
TS_PCT_IS_EMPTY TYPE STRING,
CALC_DIR TYPE STRING,
CALC_TYPE_UI TYPE STRING,
EXPL_RCP_GUID TYPE STRING,
SCALE_WITHIN_STAGE TYPE STRING,
SORTNO TYPE STRING,
CV_LINK TYPE STRING,
CV_PO TYPE STRING,
QUANT_BLANK TYPE STRING,
CV_QUANT_DATA TYPE STRING,END OF T_EKKO_STR. DATA: WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_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_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-RFO_GUID sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-ITEM_GUID sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-ITEM_TYPE sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-ITEM_TYPE_UI_PO sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-ITEM_TYPE_UI_OS sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-ITEM_TYPE_UI_IN sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-CV_ITEM_TYPE sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-ST_ID sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-POSNR sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-POSCOUNT sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-COMP_TYPE sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-ITEM_TYPE_INT sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-ITEM_TYPE_DESC sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-SUBRECN sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-SUBID sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-SUBID_STREAM sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-SUBID_IN sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-SUBID_SO sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-SUBST_IDENT1 sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-SUBST_IDENT2 sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-MATERIAL sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-MAT_DESC sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-ITEM_DESC sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-QUANT sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-UOM sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-QUANT_PRINT sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-QUANT_LOW sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-QUANT_HIGH sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-SCRAP sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-EXCEPTION_VALUE sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-MASSABSFLOAT sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-OVERRUN sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-ALT_ITEM_GUID sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-DUMMY1 sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-ST_ID_SOURCE sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-STREAM_ID sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-USE_FOR_CALC sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-MASS_PCT sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-VOLUME_PCT sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-SCALE_QUANT sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-SCALE_UOM sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-EXCEPTION_VALUE_DESC sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-MASS sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-VOLUME sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-CALCULATED sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-DENSITY sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-REL_RECIPE sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-LOSS_QUANT sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-LOG_QUANT sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-COMP_TYPE_DESC sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-MASS_UOM sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-VOLUME_UOM sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-DENSITY_UOM sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-PE_GUID sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-OPERATION_ID sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-ACTION_ID sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-STAGE_DESC sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-OPERATION_DESC sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-ACTION_DESC sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-STREAM_ALLOWED sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-MASS_PO sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-MASS_PCT_PO sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-VOLUME_PO sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-VOLUME_PCT_PO sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-LOG_QUANT_PO sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-LOSS_QUANT_PO sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-ICON sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-CV_EMPTY_LINE sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-CV_SUBID sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-EXPL_RCP_NAME sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-ICON_DESC sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-DUMMY2 sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-ORIGIN sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-ORIGIN_DESC sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-ORIGIN_LINKABLE sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-CALC_TYPE sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-IS_BALANCING_ITEM sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-TOTAL_SOLID sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-TOTAL_SOLID_PCT sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-TS_PCT_IS_EMPTY sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-CALC_DIR sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-CALC_TYPE_UI sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-EXPL_RCP_GUID sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-SCALE_WITHIN_STAGE sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-SORTNO sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-CV_LINK sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-CV_PO sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-QUANT_BLANK sy-vline
WA_/PLMU/S_RCP_MFE_RFO_ITEM_UI_STR-CV_QUANT_DATA sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.