ABAP Select data from SAP table /KYK/SLS_LIST_ORDERS_OUT 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 /KYK/SLS_LIST_ORDERS_OUT 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 /KYK/SLS_LIST_ORDERS_OUT. 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 /KYK/SLS_LIST_ORDERS_OUT 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_/KYK/SLS_LIST_ORDERS_OUT TYPE STANDARD TABLE OF /KYK/SLS_LIST_ORDERS_OUT, WA_/KYK/SLS_LIST_ORDERS_OUT TYPE /KYK/SLS_LIST_ORDERS_OUT, 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: </KYK/SLS_LIST_ORDERS_OUT> TYPE /KYK/SLS_LIST_ORDERS_OUT. *Process all fields in table header/work area as string values PERFORM process_as_string_field_values CHANGING wa_/KYK/SLS_LIST_ORDERS_OUT. SELECT * *restrict ABAP select to first 10 rows UP TO 10 ROWS FROM /KYK/SLS_LIST_ORDERS_OUT INTO TABLE IT_/KYK/SLS_LIST_ORDERS_OUT. *Select data and declare internal table using in-line method @DATA *SELECT * * FROM /KYK/SLS_LIST_ORDERS_OUT * INTO TABLE @DATA(IT_/KYK/SLS_LIST_ORDERS_OUT2). *--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_/KYK/SLS_LIST_ORDERS_OUT INDEX 1 INTO DATA(WA_/KYK/SLS_LIST_ORDERS_OUT2). *Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL LOOP AT IT_/KYK/SLS_LIST_ORDERS_OUT ASSIGNING </KYK/SLS_LIST_ORDERS_OUT>.*To update a field value using a field symbol simply change the value via the field symbol pointer
</KYK/SLS_LIST_ORDERS_OUT>-VBELN = 1.
</KYK/SLS_LIST_ORDERS_OUT>-KUNNR = 1.
</KYK/SLS_LIST_ORDERS_OUT>-KUNWE = 1.
</KYK/SLS_LIST_ORDERS_OUT>-NAME_WE = 1.
</KYK/SLS_LIST_ORDERS_OUT>-VKORG = 1.
ENDLOOP. LOOP AT IT_/KYK/SLS_LIST_ORDERS_OUT INTO WA_/KYK/SLS_LIST_ORDERS_OUT. *Write horizonal line to screen report. WRITE:/ sy-uline. *Write selected data to screen/report before conversion. WRITE:/ sy-vline, WA_/KYK/SLS_LIST_ORDERS_OUT-VTWEG, sy-vline,
WA_/KYK/SLS_LIST_ORDERS_OUT-SPART, sy-vline,
WA_/KYK/SLS_LIST_ORDERS_OUT-WADAT, sy-vline,
WA_/KYK/SLS_LIST_ORDERS_OUT-AUTLF, sy-vline,
WA_/KYK/SLS_LIST_ORDERS_OUT-BRGEW, sy-vline,
WA_/KYK/SLS_LIST_ORDERS_OUT-GEWEI, sy-vline.
ENDLOOP. *Add any further fields from structure WA_/KYK/SLS_LIST_ORDERS_OUT 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_/KYK/SLS_LIST_ORDERS_OUT 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_/KYK/SLS_LIST_ORDERS_OUT INTO WA_/KYK/SLS_LIST_ORDERS_OUT. *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 ALPHA, internal->external for field VBELN CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-VBELN IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-VBELN.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field KUNNR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-KUNNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-KUNNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field KUNWE CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-KUNWE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-KUNWE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field GEWEI CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-GEWEI IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-GEWEI.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field VOLEH CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-VOLEH IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-VOLEH.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field SPDNR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-SPDNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-SPDNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field KUNWE CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-KUNWE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-KUNWE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field VBELN CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-VBELN IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-VBELN.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field KUNNR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-KUNNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-KUNNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field GEWEI CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-GEWEI IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-GEWEI.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field VOLEH CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-VOLEH IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-VOLEH.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ADRNR_AG CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-ADRNR_AG IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-ADRNR_AG.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ADRNR_WE CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-ADRNR_WE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-ADRNR_WE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit AUART, internal->external for field AUART CALL FUNCTION 'CONVERSION_EXIT_AUART_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-AUART IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-AUART.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field VBELV CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-VBELV IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-VBELV.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field MEINS CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-MEINS IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-MEINS.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field LEINS CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-LEINS IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-LEINS.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field MATNR CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-MATNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-MATNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field ME001 CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-ME001 IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-ME001.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field VRKME CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-VRKME IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-VRKME.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field WAKTION CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-WAKTION IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-WAKTION.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field VGSYS CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-VGSYS IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-VGSYS.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field LOGSYS_N CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-LOGSYS_N IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-LOGSYS_N.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field VENUM CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-VENUM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-VENUM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field EXIDV CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-EXIDV IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-EXIDV.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field EXIDV2 CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-EXIDV2 IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-EXIDV2.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field HU_MATNR CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-HU_MATNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-HU_MATNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field VHILM CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-VHILM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-VHILM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit VHUPI, internal->external for field PACKVORSCHR CALL FUNCTION 'CONVERSION_EXIT_VHUPI_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-PACKVORSCHR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-PACKVORSCHR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field TOTLWEI_UOM CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-TOTLWEI_UOM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-TOTLWEI_UOM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field TOTLVOL_UOM CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-TOTLVOL_UOM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-TOTLVOL_UOM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field MEABM CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-MEABM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-MEABM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field TKNUM CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/KYK/SLS_LIST_ORDERS_OUT-TKNUM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/KYK/SLS_LIST_ORDERS_OUT-TKNUM.
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_/KYK/SLS_LIST_ORDERS_OUT_STR,
VBELN TYPE STRING,
KUNNR TYPE STRING,
KUNWE TYPE STRING,
NAME_WE TYPE STRING,
VKORG TYPE STRING,
VTWEG TYPE STRING,
SPART TYPE STRING,
WADAT TYPE STRING,
AUTLF TYPE STRING,
BRGEW TYPE STRING,
GEWEI TYPE STRING,
VOLUM TYPE STRING,
VOLEH TYPE STRING,
POSTAB TYPE STRING,
SELKZ TYPE STRING,
EXPAND TYPE STRING,
LINE_COLOR TYPE STRING,
AMPEL TYPE STRING,
POSTAB_TABIX TYPE STRING,
MASTER_TABIX TYPE STRING,
SLAVE0_TABIX TYPE STRING,
SORT1 TYPE STRING,
ENQUE_VORG TYPE STRING,
ENQUE_NACH TYPE STRING,
UPDKZ TYPE STRING,
SPLIT_RULE TYPE STRING,
MANDT TYPE STRING,
VSTEL TYPE STRING,
LEDAT TYPE STRING,
LPRIO TYPE STRING,
ROUTE TYPE STRING,
SPDNR TYPE STRING,
WADAT TYPE STRING,
KUNWE TYPE STRING,
VBELN TYPE STRING,
LIFSP TYPE STRING,
KUNNR TYPE STRING,
VKORG TYPE STRING,
VTWEG TYPE STRING,
SPART TYPE STRING,
VKBUR TYPE STRING,
VKGRP TYPE STRING,
AUTLF TYPE STRING,
BRGEW TYPE STRING,
GEWEI TYPE STRING,
VOLUM TYPE STRING,
VOLEH TYPE STRING,
BEARZ TYPE STRING,
ADRNR_AG TYPE STRING,
ADRNR_WE TYPE STRING,
AUART TYPE STRING,
KZAZU TYPE STRING,
VGTYP TYPE STRING,
VBTYP TYPE STRING,
VBELV TYPE STRING,
POSNV TYPE STRING,
ETENR TYPE STRING,
ETART TYPE STRING,
ABART TYPE STRING,
POSNN TYPE STRING,
WMENG TYPE STRING,
BMENG TYPE STRING,
OLFMNG TYPE STRING,
VSMNG TYPE STRING,
MEINS TYPE STRING,
KWMENG TYPE STRING,
LFIMG TYPE STRING,
LEINS TYPE STRING,
EDATU TYPE STRING,
PRGRS TYPE STRING,
ETDAT TYPE STRING,
PRGBZ TYPE STRING,
WBSTA TYPE STRING,
KOSTA TYPE STRING,
ABLAD TYPE STRING,
NAME1 TYPE STRING,
MATNR TYPE STRING,
KDMAT TYPE STRING,
WERKS TYPE STRING,
LGORT TYPE STRING,
LABST TYPE STRING,
ME001 TYPE STRING,
BSTNK TYPE STRING,
VSBED TYPE STRING,
ABHOV TYPE STRING,
EZEIT TYPE STRING,
ETTYP TYPE STRING,
KUMNG TYPE STRING,
KUMNG_NO_ROUND TYPE STRING,
ABLFZ TYPE STRING,
BWART TYPE STRING,
BDART TYPE STRING,
PLART TYPE STRING,
SERNR TYPE STRING,
AESKD TYPE STRING,
UMVKZ TYPE STRING,
UMVKN TYPE STRING,
VRKME TYPE STRING,
KZFME TYPE STRING,
DATUM TYPE STRING,
UZEIT TYPE STRING,
DATVW TYPE STRING,
NORND_LP TYPE STRING,
MATKL TYPE STRING,
WAKTION TYPE STRING,
ABTNR TYPE STRING,
AULWE TYPE STRING,
ARKTX TYPE STRING,
RESWK TYPE STRING,
MBDAT TYPE STRING,
MBUHR TYPE STRING,
TDDAT TYPE STRING,
TDUHR TYPE STRING,
LDDAT TYPE STRING,
LDUHR TYPE STRING,
WAUHR TYPE STRING,
LFDAT TYPE STRING,
LFUHR TYPE STRING,
BTGEW TYPE STRING,
NTGEW TYPE STRING,
ERNAM TYPE STRING,
ERDAT TYPE STRING,
ERZET TYPE STRING,
FAKSK TYPE STRING,
LIFSK TYPE STRING,
INCO1 TYPE STRING,
INCO2 TYPE STRING,
KODAT TYPE STRING,
LFART TYPE STRING,
LGNUM TYPE STRING,
WADAT_IST TYPE STRING,
ADDEL TYPE STRING,
VGSYS TYPE STRING,
BESTA TYPE STRING,
ICON_OBJECT TYPE STRING,
LOGSYS_N TYPE STRING,
BEDAE TYPE STRING,
UEPOS TYPE STRING,
GRKOR TYPE STRING,
SPE_REL_TMSTMP TYPE STRING,
SPE_ATP_TMSTMP TYPE STRING,
SPE_GEOROUTE TYPE STRING,
SPE_GTS_REL TYPE STRING,
SPE_GTS_RT_CDE TYPE STRING,
SPE_CURRENCY TYPE STRING,
SPE_LE_SCENARIO TYPE STRING,
RELOC_DESC TYPE STRING,
RELOC_SEQ_DESC TYPE STRING,
BORGR_GRP TYPE STRING,
JINUM TYPE STRING,
POSID TYPE STRING,
ABTYP TYPE STRING,
DELNO_T TYPE STRING,
PRODN TYPE STRING,
VETYP TYPE STRING,
VEHID TYPE STRING,
SSPEZ TYPE STRING,
GRPIN TYPE STRING,
GRIND TYPE STRING,
DLSLV TYPE STRING,
DONPU TYPE STRING,
TEXCO TYPE STRING,
MAB_PROFIL TYPE STRING,
SELIT TYPE STRING,
VENUM TYPE STRING,
EXIDV TYPE STRING,
EXIDV2 TYPE STRING,
HU_MATNR TYPE STRING,
CHARG TYPE STRING,
PLANT_MAT_HU TYPE STRING,
STGE_LOC_MAT_HU TYPE STRING,
VHILM TYPE STRING,
PACKVORSCHR TYPE STRING,
PACKVORSCHR_ST TYPE STRING,
PACKSTATUS_ICON TYPE STRING,
PACKVOR_TEXT TYPE STRING,
VPOBJ TYPE STRING,
VPOBJKEY TYPE STRING,
STATUS TYPE STRING,
STATUS_ICON TYPE STRING,
STATUS_TEXT TYPE STRING,
HU_IN_DOC TYPE STRING,
HU_REF TYPE STRING,
HU_TO TYPE STRING,
HU_TO_ICON TYPE STRING,
HU_TANUM TYPE STRING,
QTY_HU_DLVY TYPE STRING,
QTY_HUS_DLVY TYPE STRING,
QUANTITY TYPE STRING,
QUANTITY_V TYPE STRING,
ICON_DO_PACK TYPE STRING,
SORT_DOC TYPE STRING,
TOTLWEI TYPE STRING,
TOTLWEI_UOM TYPE STRING,
TOTLVOL TYPE STRING,
TOTLVOL_UOM TYPE STRING,
LAENG TYPE STRING,
BREIT TYPE STRING,
HOEHE TYPE STRING,
MEABM TYPE STRING,
VEGR1 TYPE STRING,
VEGR2 TYPE STRING,
VEGR3 TYPE STRING,
VEGR4 TYPE STRING,
VEGR5 TYPE STRING,
TKNUM TYPE STRING,
PACKQTY_GROSS TYPE STRING,
PACKQTY_GROSS_V TYPE STRING,
PACKQTY_CUMUL TYPE STRING,
PACKQTY_CUMUL_V TYPE STRING,
PACKQTY_NET TYPE STRING,
PACKQTY_NET_V TYPE STRING,
PACKQTY_REQ TYPE STRING,
PACKQTY_REQ_V TYPE STRING,
PACKQTY_EXCEED TYPE STRING,
PACKQTY_EXCEED_V TYPE STRING,
PQTY_REM_ALL_DLV TYPE STRING,
PQTY_REM_DLV TYPE STRING,
HUNAM TYPE STRING,
HUDAT TYPE STRING,
HUTIM TYPE STRING,
LEDAT TYPE STRING,END OF T_EKKO_STR. DATA: WA_/KYK/SLS_LIST_ORDERS_OUT_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_/KYK/SLS_LIST_ORDERS_OUT_STR-VBELN sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-KUNNR sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-KUNWE sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-NAME_WE sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VKORG sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VTWEG sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-SPART sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-WADAT sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-AUTLF sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-BRGEW sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-GEWEI sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VOLUM sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VOLEH sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-POSTAB sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-SELKZ sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-EXPAND sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-LINE_COLOR sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-AMPEL sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-POSTAB_TABIX sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-MASTER_TABIX sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-SLAVE0_TABIX sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-SORT1 sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ENQUE_VORG sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ENQUE_NACH sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-UPDKZ sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-SPLIT_RULE sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-MANDT sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VSTEL sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-LEDAT sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-LPRIO sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ROUTE sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-SPDNR sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-WADAT sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-KUNWE sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VBELN sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-LIFSP sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-KUNNR sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VKORG sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VTWEG sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-SPART sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VKBUR sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VKGRP sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-AUTLF sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-BRGEW sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-GEWEI sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VOLUM sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VOLEH sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-BEARZ sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ADRNR_AG sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ADRNR_WE sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-AUART sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-KZAZU sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VGTYP sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VBTYP sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VBELV sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-POSNV sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ETENR sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ETART sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ABART sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-POSNN sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-WMENG sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-BMENG sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-OLFMNG sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VSMNG sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-MEINS sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-KWMENG sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-LFIMG sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-LEINS sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-EDATU sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-PRGRS sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ETDAT sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-PRGBZ sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-WBSTA sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-KOSTA sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ABLAD sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-NAME1 sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-MATNR sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-KDMAT sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-WERKS sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-LGORT sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-LABST sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ME001 sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-BSTNK sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VSBED sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ABHOV sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-EZEIT sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ETTYP sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-KUMNG sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-KUMNG_NO_ROUND sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ABLFZ sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-BWART sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-BDART sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-PLART sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-SERNR sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-AESKD sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-UMVKZ sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-UMVKN sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VRKME sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-KZFME sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-DATUM sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-UZEIT sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-DATVW sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-NORND_LP sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-MATKL sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-WAKTION sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ABTNR sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-AULWE sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ARKTX sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-RESWK sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-MBDAT sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-MBUHR sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-TDDAT sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-TDUHR sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-LDDAT sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-LDUHR sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-WAUHR sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-LFDAT sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-LFUHR sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-BTGEW sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-NTGEW sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ERNAM sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ERDAT sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ERZET sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-FAKSK sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-LIFSK sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-INCO1 sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-INCO2 sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-KODAT sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-LFART sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-LGNUM sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-WADAT_IST sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ADDEL sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VGSYS sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-BESTA sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ICON_OBJECT sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-LOGSYS_N sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-BEDAE sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-UEPOS sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-GRKOR sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-SPE_REL_TMSTMP sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-SPE_ATP_TMSTMP sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-SPE_GEOROUTE sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-SPE_GTS_REL sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-SPE_GTS_RT_CDE sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-SPE_CURRENCY sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-SPE_LE_SCENARIO sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-RELOC_DESC sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-RELOC_SEQ_DESC sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-BORGR_GRP sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-JINUM sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-POSID sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ABTYP sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-DELNO_T sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-PRODN sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VETYP sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VEHID sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-SSPEZ sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-GRPIN sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-GRIND sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-DLSLV sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-DONPU sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-TEXCO sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-MAB_PROFIL sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-SELIT sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VENUM sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-EXIDV sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-EXIDV2 sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-HU_MATNR sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-CHARG sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-PLANT_MAT_HU sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-STGE_LOC_MAT_HU sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VHILM sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-PACKVORSCHR sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-PACKVORSCHR_ST sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-PACKSTATUS_ICON sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-PACKVOR_TEXT sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VPOBJ sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VPOBJKEY sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-STATUS sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-STATUS_ICON sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-STATUS_TEXT sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-HU_IN_DOC sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-HU_REF sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-HU_TO sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-HU_TO_ICON sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-HU_TANUM sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-QTY_HU_DLVY sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-QTY_HUS_DLVY sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-QUANTITY sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-QUANTITY_V sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-ICON_DO_PACK sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-SORT_DOC sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-TOTLWEI sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-TOTLWEI_UOM sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-TOTLVOL sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-TOTLVOL_UOM sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-LAENG sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-BREIT sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-HOEHE sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-MEABM sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VEGR1 sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VEGR2 sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VEGR3 sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VEGR4 sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-VEGR5 sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-TKNUM sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-PACKQTY_GROSS sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-PACKQTY_GROSS_V sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-PACKQTY_CUMUL sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-PACKQTY_CUMUL_V sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-PACKQTY_NET sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-PACKQTY_NET_V sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-PACKQTY_REQ sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-PACKQTY_REQ_V sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-PACKQTY_EXCEED sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-PACKQTY_EXCEED_V sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-PQTY_REM_ALL_DLV sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-PQTY_REM_DLV sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-HUNAM sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-HUDAT sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-HUTIM sy-vline
WA_/KYK/SLS_LIST_ORDERS_OUT_STR-LEDAT sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.