ABAP Select data from SAP table /SMERP/STG_MM006 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 /SMERP/STG_MM006 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 /SMERP/STG_MM006. 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 /SMERP/STG_MM006 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_/SMERP/STG_MM006 TYPE STANDARD TABLE OF /SMERP/STG_MM006, WA_/SMERP/STG_MM006 TYPE /SMERP/STG_MM006, 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: </SMERP/STG_MM006> TYPE /SMERP/STG_MM006. *Process all fields in table header/work area as string values PERFORM process_as_string_field_values CHANGING wa_/SMERP/STG_MM006. SELECT * *restrict ABAP select to first 10 rows UP TO 10 ROWS FROM /SMERP/STG_MM006 INTO TABLE IT_/SMERP/STG_MM006. *Select data and declare internal table using in-line method @DATA *SELECT * * FROM /SMERP/STG_MM006 * INTO TABLE @DATA(IT_/SMERP/STG_MM0062). *--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_/SMERP/STG_MM006 INDEX 1 INTO DATA(WA_/SMERP/STG_MM0062). *Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL LOOP AT IT_/SMERP/STG_MM006 ASSIGNING </SMERP/STG_MM006>.*To update a field value using a field symbol simply change the value via the field symbol pointer
</SMERP/STG_MM006>-MANDT = 1.
</SMERP/STG_MM006>-DSF_GUID = 1.
</SMERP/STG_MM006>-DSF_DSTORE_ID = 1.
</SMERP/STG_MM006>-USER_GUID = 1.
</SMERP/STG_MM006>-DSF_RECORD_ID = 1.
ENDLOOP. LOOP AT IT_/SMERP/STG_MM006 INTO WA_/SMERP/STG_MM006. *Write horizonal line to screen report. WRITE:/ sy-uline. *Write selected data to screen/report before conversion. WRITE:/ sy-vline, WA_/SMERP/STG_MM006-DSF_CHANGED_BY, sy-vline,
WA_/SMERP/STG_MM006-DSF_CHANGED_TS, sy-vline,
WA_/SMERP/STG_MM006-MATNR, sy-vline,
WA_/SMERP/STG_MM006-VPSTA, sy-vline,
WA_/SMERP/STG_MM006-MTART, sy-vline,
WA_/SMERP/STG_MM006-MBRSH, sy-vline.
ENDLOOP. *Add any further fields from structure WA_/SMERP/STG_MM006 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_/SMERP/STG_MM006 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_/SMERP/STG_MM006 INTO WA_/SMERP/STG_MM006. *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 MATN1, internal->external for field MATNR CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-MATNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-MATNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field MEINS CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-MEINS IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-MEINS.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field BSTME CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-BSTME IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-BSTME.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field GEWEI CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-GEWEI IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-GEWEI.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field VOLEH CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-VOLEH IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-VOLEH.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN3, internal->external for field STOFF CALL FUNCTION 'CONVERSION_EXIT_MATN3_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-STOFF IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-STOFF.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field KUNNR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-KUNNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-KUNNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit EAN11, internal->external for field EAN11 CALL FUNCTION 'CONVERSION_EXIT_EAN11_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-EAN11 IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-EAN11.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field MEABM CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-MEABM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-MEABM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field ERGEI CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-ERGEI IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-ERGEI.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field ERVOE CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-ERVOE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-ERVOE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit GJAHR, internal->external for field SAISJ CALL FUNCTION 'CONVERSION_EXIT_GJAHR_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-SAISJ IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-SAISJ.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field SATNR CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-SATNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-SATNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field PMATA CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-PMATA IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-PMATA.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field INHME CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-INHME IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-INHME.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field MFRNR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-MFRNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-MFRNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field BMATN CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-BMATN IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-BMATN.
WRITE:/ 'New Value:', ld_input.
*Conversion exit PERKZ, internal->external for field IPRKZ CALL FUNCTION 'CONVERSION_EXIT_PERKZ_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-IPRKZ IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-IPRKZ.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field GENNR CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-GENNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-GENNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field RMATP CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-RMATP IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-RMATP.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field MAXDIM_UOM CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-MAXDIM_UOM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-MAXDIM_UOM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field QQTIMEUOM CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-QQTIMEUOM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-QQTIMEUOM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field LOGUNIT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-LOGUNIT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-LOGUNIT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field /VSO/R_QUAN_UNIT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-/VSO/R_QUAN_UNIT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-/VSO/R_QUAN_UNIT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field IMATN CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-IMATN IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-IMATN.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field PICNUM CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-PICNUM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-PICNUM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ATINN, internal->external for field COLOR_ATINN CALL FUNCTION 'CONVERSION_EXIT_ATINN_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-COLOR_ATINN IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-COLOR_ATINN.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ATINN, internal->external for field SIZE1_ATINN CALL FUNCTION 'CONVERSION_EXIT_ATINN_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-SIZE1_ATINN IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-SIZE1_ATINN.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ATINN, internal->external for field SIZE2_ATINN CALL FUNCTION 'CONVERSION_EXIT_ATINN_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-SIZE2_ATINN IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-SIZE2_ATINN.
WRITE:/ 'New Value:', ld_input.
*Conversion exit FIBER, internal->external for field FIBER_CODE1 CALL FUNCTION 'CONVERSION_EXIT_FIBER_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-FIBER_CODE1 IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-FIBER_CODE1.
WRITE:/ 'New Value:', ld_input.
*Conversion exit FIBER, internal->external for field FIBER_CODE2 CALL FUNCTION 'CONVERSION_EXIT_FIBER_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-FIBER_CODE2 IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-FIBER_CODE2.
WRITE:/ 'New Value:', ld_input.
*Conversion exit FIBER, internal->external for field FIBER_CODE3 CALL FUNCTION 'CONVERSION_EXIT_FIBER_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-FIBER_CODE3 IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-FIBER_CODE3.
WRITE:/ 'New Value:', ld_input.
*Conversion exit FIBER, internal->external for field FIBER_CODE4 CALL FUNCTION 'CONVERSION_EXIT_FIBER_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-FIBER_CODE4 IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-FIBER_CODE4.
WRITE:/ 'New Value:', ld_input.
*Conversion exit FIBER, internal->external for field FIBER_CODE5 CALL FUNCTION 'CONVERSION_EXIT_FIBER_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-FIBER_CODE5 IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-FIBER_CODE5.
WRITE:/ 'New Value:', ld_input.
*Conversion exit GJAHR, internal->external for field LFGJA CALL FUNCTION 'CONVERSION_EXIT_GJAHR_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-LFGJA IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-LFGJA.
WRITE:/ 'New Value:', ld_input.
*Conversion exit GJAHR, internal->external for field PDATZ CALL FUNCTION 'CONVERSION_EXIT_GJAHR_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-PDATZ IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-PDATZ.
WRITE:/ 'New Value:', ld_input.
*Conversion exit GJAHR, internal->external for field PDATL CALL FUNCTION 'CONVERSION_EXIT_GJAHR_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-PDATL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-PDATL.
WRITE:/ 'New Value:', ld_input.
*Conversion exit GJAHR, internal->external for field PDATV CALL FUNCTION 'CONVERSION_EXIT_GJAHR_OUTPUT' EXPORTING input = WA_/SMERP/STG_MM006-PDATV IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/SMERP/STG_MM006-PDATV.
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_/SMERP/STG_MM006_STR,
MANDT TYPE STRING,
DSF_GUID TYPE STRING,
DSF_DSTORE_ID TYPE STRING,
USER_GUID TYPE STRING,
DSF_RECORD_ID TYPE STRING,
DSF_CHANGED_BY TYPE STRING,
DSF_CHANGED_TS TYPE STRING,
MATNR TYPE STRING,
VPSTA TYPE STRING,
MTART TYPE STRING,
MBRSH TYPE STRING,
MATKL TYPE STRING,
BISMT TYPE STRING,
MEINS TYPE STRING,
BSTME TYPE STRING,
ZEINR TYPE STRING,
ZEIAR TYPE STRING,
ZEIVR TYPE STRING,
ZEIFO TYPE STRING,
AESZN TYPE STRING,
BLATT TYPE STRING,
BLANZ TYPE STRING,
FERTH TYPE STRING,
FORMT TYPE STRING,
GROES TYPE STRING,
WRKST TYPE STRING,
NORMT TYPE STRING,
LABOR TYPE STRING,
EKWSL TYPE STRING,
BRGEW TYPE STRING,
NTGEW TYPE STRING,
GEWEI TYPE STRING,
VOLUM TYPE STRING,
VOLEH TYPE STRING,
BEHVO TYPE STRING,
RAUBE TYPE STRING,
TEMPB TYPE STRING,
DISST TYPE STRING,
TRAGR TYPE STRING,
STOFF TYPE STRING,
SPART TYPE STRING,
KUNNR TYPE STRING,
EANNR TYPE STRING,
WESCH TYPE STRING,
BWVOR TYPE STRING,
SAISO TYPE STRING,
ETIAR TYPE STRING,
ETIFO TYPE STRING,
ENTAR TYPE STRING,
EAN11 TYPE STRING,
NUMTP TYPE STRING,
LAENG TYPE STRING,
BREIT TYPE STRING,
HOEHE TYPE STRING,
MEABM TYPE STRING,
PRDHA TYPE STRING,
AEKLK TYPE STRING,
CADKZ TYPE STRING,
QMPUR TYPE STRING,
ERGEW TYPE STRING,
ERGEI TYPE STRING,
ERVOL TYPE STRING,
ERVOE TYPE STRING,
GEWTO TYPE STRING,
VOLTO TYPE STRING,
VABME TYPE STRING,
KZREV TYPE STRING,
KZKFG TYPE STRING,
VHART TYPE STRING,
FUELG TYPE STRING,
STFAK TYPE STRING,
MAGRV TYPE STRING,
BEGRU TYPE STRING,
DATAB TYPE STRING,
LIQDT TYPE STRING,
SAISJ TYPE STRING,
PLGTP TYPE STRING,
MLGUT TYPE STRING,
EXTWG TYPE STRING,
SATNR TYPE STRING,
ATTYP TYPE STRING,
KZNFM TYPE STRING,
PMATA TYPE STRING,
MSTAE TYPE STRING,
MSTAV TYPE STRING,
MSTDE TYPE STRING,
MSTDV TYPE STRING,
TAKLV TYPE STRING,
RBNRM TYPE STRING,
MHDRZ TYPE STRING,
MHDHB TYPE STRING,
MHDLP TYPE STRING,
INHME TYPE STRING,
INHAL TYPE STRING,
VPREH TYPE STRING,
ETIAG TYPE STRING,
INHBR TYPE STRING,
CMETH TYPE STRING,
CUOBF TYPE STRING,
KZUMW TYPE STRING,
KOSCH TYPE STRING,
SPROF TYPE STRING,
NRFHG TYPE STRING,
MFRPN TYPE STRING,
MFRNR TYPE STRING,
BMATN TYPE STRING,
MPROF TYPE STRING,
KZWSM TYPE STRING,
SAITY TYPE STRING,
PROFL TYPE STRING,
IHIVI TYPE STRING,
ILOOS TYPE STRING,
SERLV TYPE STRING,
KZGVH TYPE STRING,
XGCHP TYPE STRING,
KZEFF TYPE STRING,
IPRKZ TYPE STRING,
RDMHD TYPE STRING,
PRZUS TYPE STRING,
MTPOS_MARA TYPE STRING,
BFLME TYPE STRING,
MATFI TYPE STRING,
CMREL TYPE STRING,
BBTYP TYPE STRING,
SLED_BBD TYPE STRING,
GTIN_VARIANT TYPE STRING,
GENNR TYPE STRING,
RMATP TYPE STRING,
GDS_RELEVANT TYPE STRING,
WEORA TYPE STRING,
HUTYP_DFLT TYPE STRING,
PILFERABLE TYPE STRING,
WHSTC TYPE STRING,
WHMATGR TYPE STRING,
HNDLCODE TYPE STRING,
HAZMAT TYPE STRING,
HUTYP TYPE STRING,
TARE_VAR TYPE STRING,
MAXC TYPE STRING,
MAXC_TOL TYPE STRING,
MAXL TYPE STRING,
MAXB TYPE STRING,
MAXH TYPE STRING,
MAXDIM_UOM TYPE STRING,
QQTIME TYPE STRING,
QQTIMEUOM TYPE STRING,
QGRP TYPE STRING,
SERIAL TYPE STRING,
PS_SMARTFORM TYPE STRING,
LOGUNIT TYPE STRING,
CWQREL TYPE STRING,
CWQPROC TYPE STRING,
CWQTOLGR TYPE STRING,
/BEV1/LULEINH TYPE STRING,
/BEV1/LULDEGRP TYPE STRING,
/DSD/VC_GROUP TYPE STRING,
/VSO/R_TILT_IND TYPE STRING,
/VSO/R_STACK_IND TYPE STRING,
/VSO/R_BOT_IND TYPE STRING,
/VSO/R_TOP_IND TYPE STRING,
/VSO/R_STACK_NO TYPE STRING,
/VSO/R_PAL_IND TYPE STRING,
/VSO/R_PAL_OVR_D TYPE STRING,
/VSO/R_PAL_OVR_W TYPE STRING,
/VSO/R_PAL_B_HT TYPE STRING,
/VSO/R_PAL_MIN_H TYPE STRING,
/VSO/R_TOL_B_HT TYPE STRING,
/VSO/R_NO_P_GVH TYPE STRING,
/VSO/R_QUAN_UNIT TYPE STRING,
/VSO/R_KZGVH_IND TYPE STRING,
MCOND TYPE STRING,
RETDELC TYPE STRING,
LOGLEV_RETO TYPE STRING,
NSNID TYPE STRING,
IMATN TYPE STRING,
PICNUM TYPE STRING,
BSTAT TYPE STRING,
COLOR_ATINN TYPE STRING,
SIZE1_ATINN TYPE STRING,
SIZE2_ATINN TYPE STRING,
COLOR TYPE STRING,
SIZE1 TYPE STRING,
SIZE2 TYPE STRING,
FREE_CHAR TYPE STRING,
CARE_CODE TYPE STRING,
BRAND_ID TYPE STRING,
FIBER_CODE1 TYPE STRING,
FIBER_PART1 TYPE STRING,
FIBER_CODE2 TYPE STRING,
FIBER_PART2 TYPE STRING,
FIBER_CODE3 TYPE STRING,
FIBER_PART3 TYPE STRING,
FIBER_CODE4 TYPE STRING,
FIBER_PART4 TYPE STRING,
FIBER_CODE5 TYPE STRING,
FIBER_PART5 TYPE STRING,
FASHGRD TYPE STRING,
MAKTX TYPE STRING,
BWKEY TYPE STRING,
BWTAR TYPE STRING,
LVORM TYPE STRING,
LBKUM TYPE STRING,
SALK3 TYPE STRING,
VPRSV TYPE STRING,
VERPR TYPE STRING,
STPRS TYPE STRING,
PEINH TYPE STRING,
BKLAS TYPE STRING,
SALKV TYPE STRING,
VMKUM TYPE STRING,
VMSAL TYPE STRING,
VMVPR TYPE STRING,
VMVER TYPE STRING,
VMSTP TYPE STRING,
VMPEI TYPE STRING,
VMBKL TYPE STRING,
VMSAV TYPE STRING,
VJKUM TYPE STRING,
VJSAL TYPE STRING,
VJVPR TYPE STRING,
VJVER TYPE STRING,
VJSTP TYPE STRING,
VJPEI TYPE STRING,
VJBKL TYPE STRING,
VJSAV TYPE STRING,
LFGJA TYPE STRING,
LFMON TYPE STRING,
BWTTY TYPE STRING,
STPRV TYPE STRING,
LAEPR TYPE STRING,
ZKPRS TYPE STRING,
ZKDAT TYPE STRING,
TIMESTAMP TYPE STRING,
BWPRS TYPE STRING,
BWPRH TYPE STRING,
VJBWS TYPE STRING,
VJBWH TYPE STRING,
VVJSL TYPE STRING,
VVJLB TYPE STRING,
VVMLB TYPE STRING,
VVSAL TYPE STRING,
ZPLPR TYPE STRING,
ZPLP1 TYPE STRING,
ZPLP2 TYPE STRING,
ZPLP3 TYPE STRING,
ZPLD1 TYPE STRING,
ZPLD2 TYPE STRING,
ZPLD3 TYPE STRING,
PPERZ TYPE STRING,
PPERL TYPE STRING,
PPERV TYPE STRING,
KALKZ TYPE STRING,
KALKL TYPE STRING,
KALKV TYPE STRING,
KALSC TYPE STRING,
XLIFO TYPE STRING,
MYPOL TYPE STRING,
BWPH1 TYPE STRING,
BWPS1 TYPE STRING,
ABWKZ TYPE STRING,
PSTAT TYPE STRING,
KALN1 TYPE STRING,
KALNR TYPE STRING,
BWVA1 TYPE STRING,
BWVA2 TYPE STRING,
BWVA3 TYPE STRING,
VERS1 TYPE STRING,
VERS2 TYPE STRING,
VERS3 TYPE STRING,
HRKFT TYPE STRING,
KOSGR TYPE STRING,
PPRDZ TYPE STRING,
PPRDL TYPE STRING,
PPRDV TYPE STRING,
PDATZ TYPE STRING,
PDATL TYPE STRING,
PDATV TYPE STRING,
EKALR TYPE STRING,
VPLPR TYPE STRING,
MLMAA TYPE STRING,
MLAST TYPE STRING,
LPLPR TYPE STRING,
VKSAL TYPE STRING,
HKMAT TYPE STRING,
SPERW TYPE STRING,
KZIWL TYPE STRING,
WLINL TYPE STRING,
ABCIW TYPE STRING,
BWSPA TYPE STRING,
LPLPX TYPE STRING,
VPLPX TYPE STRING,
FPLPX TYPE STRING,
LBWST TYPE STRING,
VBWST TYPE STRING,
FBWST TYPE STRING,
EKLAS TYPE STRING,
QKLAS TYPE STRING,
MTUSE TYPE STRING,
MTORG TYPE STRING,
OWNPR TYPE STRING,
XBEWM TYPE STRING,
BWPEI TYPE STRING,
MBRUE TYPE STRING,
OKLAS TYPE STRING,
DUMMY_VAL_INCL_EEW_PS TYPE STRING,
OIPPINV TYPE STRING,END OF T_EKKO_STR. DATA: WA_/SMERP/STG_MM006_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_/SMERP/STG_MM006_STR-MANDT sy-vline
WA_/SMERP/STG_MM006_STR-DSF_GUID sy-vline
WA_/SMERP/STG_MM006_STR-DSF_DSTORE_ID sy-vline
WA_/SMERP/STG_MM006_STR-USER_GUID sy-vline
WA_/SMERP/STG_MM006_STR-DSF_RECORD_ID sy-vline
WA_/SMERP/STG_MM006_STR-DSF_CHANGED_BY sy-vline
WA_/SMERP/STG_MM006_STR-DSF_CHANGED_TS sy-vline
WA_/SMERP/STG_MM006_STR-MATNR sy-vline
WA_/SMERP/STG_MM006_STR-VPSTA sy-vline
WA_/SMERP/STG_MM006_STR-MTART sy-vline
WA_/SMERP/STG_MM006_STR-MBRSH sy-vline
WA_/SMERP/STG_MM006_STR-MATKL sy-vline
WA_/SMERP/STG_MM006_STR-BISMT sy-vline
WA_/SMERP/STG_MM006_STR-MEINS sy-vline
WA_/SMERP/STG_MM006_STR-BSTME sy-vline
WA_/SMERP/STG_MM006_STR-ZEINR sy-vline
WA_/SMERP/STG_MM006_STR-ZEIAR sy-vline
WA_/SMERP/STG_MM006_STR-ZEIVR sy-vline
WA_/SMERP/STG_MM006_STR-ZEIFO sy-vline
WA_/SMERP/STG_MM006_STR-AESZN sy-vline
WA_/SMERP/STG_MM006_STR-BLATT sy-vline
WA_/SMERP/STG_MM006_STR-BLANZ sy-vline
WA_/SMERP/STG_MM006_STR-FERTH sy-vline
WA_/SMERP/STG_MM006_STR-FORMT sy-vline
WA_/SMERP/STG_MM006_STR-GROES sy-vline
WA_/SMERP/STG_MM006_STR-WRKST sy-vline
WA_/SMERP/STG_MM006_STR-NORMT sy-vline
WA_/SMERP/STG_MM006_STR-LABOR sy-vline
WA_/SMERP/STG_MM006_STR-EKWSL sy-vline
WA_/SMERP/STG_MM006_STR-BRGEW sy-vline
WA_/SMERP/STG_MM006_STR-NTGEW sy-vline
WA_/SMERP/STG_MM006_STR-GEWEI sy-vline
WA_/SMERP/STG_MM006_STR-VOLUM sy-vline
WA_/SMERP/STG_MM006_STR-VOLEH sy-vline
WA_/SMERP/STG_MM006_STR-BEHVO sy-vline
WA_/SMERP/STG_MM006_STR-RAUBE sy-vline
WA_/SMERP/STG_MM006_STR-TEMPB sy-vline
WA_/SMERP/STG_MM006_STR-DISST sy-vline
WA_/SMERP/STG_MM006_STR-TRAGR sy-vline
WA_/SMERP/STG_MM006_STR-STOFF sy-vline
WA_/SMERP/STG_MM006_STR-SPART sy-vline
WA_/SMERP/STG_MM006_STR-KUNNR sy-vline
WA_/SMERP/STG_MM006_STR-EANNR sy-vline
WA_/SMERP/STG_MM006_STR-WESCH sy-vline
WA_/SMERP/STG_MM006_STR-BWVOR sy-vline
WA_/SMERP/STG_MM006_STR-SAISO sy-vline
WA_/SMERP/STG_MM006_STR-ETIAR sy-vline
WA_/SMERP/STG_MM006_STR-ETIFO sy-vline
WA_/SMERP/STG_MM006_STR-ENTAR sy-vline
WA_/SMERP/STG_MM006_STR-EAN11 sy-vline
WA_/SMERP/STG_MM006_STR-NUMTP sy-vline
WA_/SMERP/STG_MM006_STR-LAENG sy-vline
WA_/SMERP/STG_MM006_STR-BREIT sy-vline
WA_/SMERP/STG_MM006_STR-HOEHE sy-vline
WA_/SMERP/STG_MM006_STR-MEABM sy-vline
WA_/SMERP/STG_MM006_STR-PRDHA sy-vline
WA_/SMERP/STG_MM006_STR-AEKLK sy-vline
WA_/SMERP/STG_MM006_STR-CADKZ sy-vline
WA_/SMERP/STG_MM006_STR-QMPUR sy-vline
WA_/SMERP/STG_MM006_STR-ERGEW sy-vline
WA_/SMERP/STG_MM006_STR-ERGEI sy-vline
WA_/SMERP/STG_MM006_STR-ERVOL sy-vline
WA_/SMERP/STG_MM006_STR-ERVOE sy-vline
WA_/SMERP/STG_MM006_STR-GEWTO sy-vline
WA_/SMERP/STG_MM006_STR-VOLTO sy-vline
WA_/SMERP/STG_MM006_STR-VABME sy-vline
WA_/SMERP/STG_MM006_STR-KZREV sy-vline
WA_/SMERP/STG_MM006_STR-KZKFG sy-vline
WA_/SMERP/STG_MM006_STR-VHART sy-vline
WA_/SMERP/STG_MM006_STR-FUELG sy-vline
WA_/SMERP/STG_MM006_STR-STFAK sy-vline
WA_/SMERP/STG_MM006_STR-MAGRV sy-vline
WA_/SMERP/STG_MM006_STR-BEGRU sy-vline
WA_/SMERP/STG_MM006_STR-DATAB sy-vline
WA_/SMERP/STG_MM006_STR-LIQDT sy-vline
WA_/SMERP/STG_MM006_STR-SAISJ sy-vline
WA_/SMERP/STG_MM006_STR-PLGTP sy-vline
WA_/SMERP/STG_MM006_STR-MLGUT sy-vline
WA_/SMERP/STG_MM006_STR-EXTWG sy-vline
WA_/SMERP/STG_MM006_STR-SATNR sy-vline
WA_/SMERP/STG_MM006_STR-ATTYP sy-vline
WA_/SMERP/STG_MM006_STR-KZNFM sy-vline
WA_/SMERP/STG_MM006_STR-PMATA sy-vline
WA_/SMERP/STG_MM006_STR-MSTAE sy-vline
WA_/SMERP/STG_MM006_STR-MSTAV sy-vline
WA_/SMERP/STG_MM006_STR-MSTDE sy-vline
WA_/SMERP/STG_MM006_STR-MSTDV sy-vline
WA_/SMERP/STG_MM006_STR-TAKLV sy-vline
WA_/SMERP/STG_MM006_STR-RBNRM sy-vline
WA_/SMERP/STG_MM006_STR-MHDRZ sy-vline
WA_/SMERP/STG_MM006_STR-MHDHB sy-vline
WA_/SMERP/STG_MM006_STR-MHDLP sy-vline
WA_/SMERP/STG_MM006_STR-INHME sy-vline
WA_/SMERP/STG_MM006_STR-INHAL sy-vline
WA_/SMERP/STG_MM006_STR-VPREH sy-vline
WA_/SMERP/STG_MM006_STR-ETIAG sy-vline
WA_/SMERP/STG_MM006_STR-INHBR sy-vline
WA_/SMERP/STG_MM006_STR-CMETH sy-vline
WA_/SMERP/STG_MM006_STR-CUOBF sy-vline
WA_/SMERP/STG_MM006_STR-KZUMW sy-vline
WA_/SMERP/STG_MM006_STR-KOSCH sy-vline
WA_/SMERP/STG_MM006_STR-SPROF sy-vline
WA_/SMERP/STG_MM006_STR-NRFHG sy-vline
WA_/SMERP/STG_MM006_STR-MFRPN sy-vline
WA_/SMERP/STG_MM006_STR-MFRNR sy-vline
WA_/SMERP/STG_MM006_STR-BMATN sy-vline
WA_/SMERP/STG_MM006_STR-MPROF sy-vline
WA_/SMERP/STG_MM006_STR-KZWSM sy-vline
WA_/SMERP/STG_MM006_STR-SAITY sy-vline
WA_/SMERP/STG_MM006_STR-PROFL sy-vline
WA_/SMERP/STG_MM006_STR-IHIVI sy-vline
WA_/SMERP/STG_MM006_STR-ILOOS sy-vline
WA_/SMERP/STG_MM006_STR-SERLV sy-vline
WA_/SMERP/STG_MM006_STR-KZGVH sy-vline
WA_/SMERP/STG_MM006_STR-XGCHP sy-vline
WA_/SMERP/STG_MM006_STR-KZEFF sy-vline
WA_/SMERP/STG_MM006_STR-IPRKZ sy-vline
WA_/SMERP/STG_MM006_STR-RDMHD sy-vline
WA_/SMERP/STG_MM006_STR-PRZUS sy-vline
WA_/SMERP/STG_MM006_STR-MTPOS_MARA sy-vline
WA_/SMERP/STG_MM006_STR-BFLME sy-vline
WA_/SMERP/STG_MM006_STR-MATFI sy-vline
WA_/SMERP/STG_MM006_STR-CMREL sy-vline
WA_/SMERP/STG_MM006_STR-BBTYP sy-vline
WA_/SMERP/STG_MM006_STR-SLED_BBD sy-vline
WA_/SMERP/STG_MM006_STR-GTIN_VARIANT sy-vline
WA_/SMERP/STG_MM006_STR-GENNR sy-vline
WA_/SMERP/STG_MM006_STR-RMATP sy-vline
WA_/SMERP/STG_MM006_STR-GDS_RELEVANT sy-vline
WA_/SMERP/STG_MM006_STR-WEORA sy-vline
WA_/SMERP/STG_MM006_STR-HUTYP_DFLT sy-vline
WA_/SMERP/STG_MM006_STR-PILFERABLE sy-vline
WA_/SMERP/STG_MM006_STR-WHSTC sy-vline
WA_/SMERP/STG_MM006_STR-WHMATGR sy-vline
WA_/SMERP/STG_MM006_STR-HNDLCODE sy-vline
WA_/SMERP/STG_MM006_STR-HAZMAT sy-vline
WA_/SMERP/STG_MM006_STR-HUTYP sy-vline
WA_/SMERP/STG_MM006_STR-TARE_VAR sy-vline
WA_/SMERP/STG_MM006_STR-MAXC sy-vline
WA_/SMERP/STG_MM006_STR-MAXC_TOL sy-vline
WA_/SMERP/STG_MM006_STR-MAXL sy-vline
WA_/SMERP/STG_MM006_STR-MAXB sy-vline
WA_/SMERP/STG_MM006_STR-MAXH sy-vline
WA_/SMERP/STG_MM006_STR-MAXDIM_UOM sy-vline
WA_/SMERP/STG_MM006_STR-QQTIME sy-vline
WA_/SMERP/STG_MM006_STR-QQTIMEUOM sy-vline
WA_/SMERP/STG_MM006_STR-QGRP sy-vline
WA_/SMERP/STG_MM006_STR-SERIAL sy-vline
WA_/SMERP/STG_MM006_STR-PS_SMARTFORM sy-vline
WA_/SMERP/STG_MM006_STR-LOGUNIT sy-vline
WA_/SMERP/STG_MM006_STR-CWQREL sy-vline
WA_/SMERP/STG_MM006_STR-CWQPROC sy-vline
WA_/SMERP/STG_MM006_STR-CWQTOLGR sy-vline
WA_/SMERP/STG_MM006_STR-/BEV1/LULEINH sy-vline
WA_/SMERP/STG_MM006_STR-/BEV1/LULDEGRP sy-vline
WA_/SMERP/STG_MM006_STR-/DSD/VC_GROUP sy-vline
WA_/SMERP/STG_MM006_STR-/VSO/R_TILT_IND sy-vline
WA_/SMERP/STG_MM006_STR-/VSO/R_STACK_IND sy-vline
WA_/SMERP/STG_MM006_STR-/VSO/R_BOT_IND sy-vline
WA_/SMERP/STG_MM006_STR-/VSO/R_TOP_IND sy-vline
WA_/SMERP/STG_MM006_STR-/VSO/R_STACK_NO sy-vline
WA_/SMERP/STG_MM006_STR-/VSO/R_PAL_IND sy-vline
WA_/SMERP/STG_MM006_STR-/VSO/R_PAL_OVR_D sy-vline
WA_/SMERP/STG_MM006_STR-/VSO/R_PAL_OVR_W sy-vline
WA_/SMERP/STG_MM006_STR-/VSO/R_PAL_B_HT sy-vline
WA_/SMERP/STG_MM006_STR-/VSO/R_PAL_MIN_H sy-vline
WA_/SMERP/STG_MM006_STR-/VSO/R_TOL_B_HT sy-vline
WA_/SMERP/STG_MM006_STR-/VSO/R_NO_P_GVH sy-vline
WA_/SMERP/STG_MM006_STR-/VSO/R_QUAN_UNIT sy-vline
WA_/SMERP/STG_MM006_STR-/VSO/R_KZGVH_IND sy-vline
WA_/SMERP/STG_MM006_STR-MCOND sy-vline
WA_/SMERP/STG_MM006_STR-RETDELC sy-vline
WA_/SMERP/STG_MM006_STR-LOGLEV_RETO sy-vline
WA_/SMERP/STG_MM006_STR-NSNID sy-vline
WA_/SMERP/STG_MM006_STR-IMATN sy-vline
WA_/SMERP/STG_MM006_STR-PICNUM sy-vline
WA_/SMERP/STG_MM006_STR-BSTAT sy-vline
WA_/SMERP/STG_MM006_STR-COLOR_ATINN sy-vline
WA_/SMERP/STG_MM006_STR-SIZE1_ATINN sy-vline
WA_/SMERP/STG_MM006_STR-SIZE2_ATINN sy-vline
WA_/SMERP/STG_MM006_STR-COLOR sy-vline
WA_/SMERP/STG_MM006_STR-SIZE1 sy-vline
WA_/SMERP/STG_MM006_STR-SIZE2 sy-vline
WA_/SMERP/STG_MM006_STR-FREE_CHAR sy-vline
WA_/SMERP/STG_MM006_STR-CARE_CODE sy-vline
WA_/SMERP/STG_MM006_STR-BRAND_ID sy-vline
WA_/SMERP/STG_MM006_STR-FIBER_CODE1 sy-vline
WA_/SMERP/STG_MM006_STR-FIBER_PART1 sy-vline
WA_/SMERP/STG_MM006_STR-FIBER_CODE2 sy-vline
WA_/SMERP/STG_MM006_STR-FIBER_PART2 sy-vline
WA_/SMERP/STG_MM006_STR-FIBER_CODE3 sy-vline
WA_/SMERP/STG_MM006_STR-FIBER_PART3 sy-vline
WA_/SMERP/STG_MM006_STR-FIBER_CODE4 sy-vline
WA_/SMERP/STG_MM006_STR-FIBER_PART4 sy-vline
WA_/SMERP/STG_MM006_STR-FIBER_CODE5 sy-vline
WA_/SMERP/STG_MM006_STR-FIBER_PART5 sy-vline
WA_/SMERP/STG_MM006_STR-FASHGRD sy-vline
WA_/SMERP/STG_MM006_STR-MAKTX sy-vline
WA_/SMERP/STG_MM006_STR-BWKEY sy-vline
WA_/SMERP/STG_MM006_STR-BWTAR sy-vline
WA_/SMERP/STG_MM006_STR-LVORM sy-vline
WA_/SMERP/STG_MM006_STR-LBKUM sy-vline
WA_/SMERP/STG_MM006_STR-SALK3 sy-vline
WA_/SMERP/STG_MM006_STR-VPRSV sy-vline
WA_/SMERP/STG_MM006_STR-VERPR sy-vline
WA_/SMERP/STG_MM006_STR-STPRS sy-vline
WA_/SMERP/STG_MM006_STR-PEINH sy-vline
WA_/SMERP/STG_MM006_STR-BKLAS sy-vline
WA_/SMERP/STG_MM006_STR-SALKV sy-vline
WA_/SMERP/STG_MM006_STR-VMKUM sy-vline
WA_/SMERP/STG_MM006_STR-VMSAL sy-vline
WA_/SMERP/STG_MM006_STR-VMVPR sy-vline
WA_/SMERP/STG_MM006_STR-VMVER sy-vline
WA_/SMERP/STG_MM006_STR-VMSTP sy-vline
WA_/SMERP/STG_MM006_STR-VMPEI sy-vline
WA_/SMERP/STG_MM006_STR-VMBKL sy-vline
WA_/SMERP/STG_MM006_STR-VMSAV sy-vline
WA_/SMERP/STG_MM006_STR-VJKUM sy-vline
WA_/SMERP/STG_MM006_STR-VJSAL sy-vline
WA_/SMERP/STG_MM006_STR-VJVPR sy-vline
WA_/SMERP/STG_MM006_STR-VJVER sy-vline
WA_/SMERP/STG_MM006_STR-VJSTP sy-vline
WA_/SMERP/STG_MM006_STR-VJPEI sy-vline
WA_/SMERP/STG_MM006_STR-VJBKL sy-vline
WA_/SMERP/STG_MM006_STR-VJSAV sy-vline
WA_/SMERP/STG_MM006_STR-LFGJA sy-vline
WA_/SMERP/STG_MM006_STR-LFMON sy-vline
WA_/SMERP/STG_MM006_STR-BWTTY sy-vline
WA_/SMERP/STG_MM006_STR-STPRV sy-vline
WA_/SMERP/STG_MM006_STR-LAEPR sy-vline
WA_/SMERP/STG_MM006_STR-ZKPRS sy-vline
WA_/SMERP/STG_MM006_STR-ZKDAT sy-vline
WA_/SMERP/STG_MM006_STR-TIMESTAMP sy-vline
WA_/SMERP/STG_MM006_STR-BWPRS sy-vline
WA_/SMERP/STG_MM006_STR-BWPRH sy-vline
WA_/SMERP/STG_MM006_STR-VJBWS sy-vline
WA_/SMERP/STG_MM006_STR-VJBWH sy-vline
WA_/SMERP/STG_MM006_STR-VVJSL sy-vline
WA_/SMERP/STG_MM006_STR-VVJLB sy-vline
WA_/SMERP/STG_MM006_STR-VVMLB sy-vline
WA_/SMERP/STG_MM006_STR-VVSAL sy-vline
WA_/SMERP/STG_MM006_STR-ZPLPR sy-vline
WA_/SMERP/STG_MM006_STR-ZPLP1 sy-vline
WA_/SMERP/STG_MM006_STR-ZPLP2 sy-vline
WA_/SMERP/STG_MM006_STR-ZPLP3 sy-vline
WA_/SMERP/STG_MM006_STR-ZPLD1 sy-vline
WA_/SMERP/STG_MM006_STR-ZPLD2 sy-vline
WA_/SMERP/STG_MM006_STR-ZPLD3 sy-vline
WA_/SMERP/STG_MM006_STR-PPERZ sy-vline
WA_/SMERP/STG_MM006_STR-PPERL sy-vline
WA_/SMERP/STG_MM006_STR-PPERV sy-vline
WA_/SMERP/STG_MM006_STR-KALKZ sy-vline
WA_/SMERP/STG_MM006_STR-KALKL sy-vline
WA_/SMERP/STG_MM006_STR-KALKV sy-vline
WA_/SMERP/STG_MM006_STR-KALSC sy-vline
WA_/SMERP/STG_MM006_STR-XLIFO sy-vline
WA_/SMERP/STG_MM006_STR-MYPOL sy-vline
WA_/SMERP/STG_MM006_STR-BWPH1 sy-vline
WA_/SMERP/STG_MM006_STR-BWPS1 sy-vline
WA_/SMERP/STG_MM006_STR-ABWKZ sy-vline
WA_/SMERP/STG_MM006_STR-PSTAT sy-vline
WA_/SMERP/STG_MM006_STR-KALN1 sy-vline
WA_/SMERP/STG_MM006_STR-KALNR sy-vline
WA_/SMERP/STG_MM006_STR-BWVA1 sy-vline
WA_/SMERP/STG_MM006_STR-BWVA2 sy-vline
WA_/SMERP/STG_MM006_STR-BWVA3 sy-vline
WA_/SMERP/STG_MM006_STR-VERS1 sy-vline
WA_/SMERP/STG_MM006_STR-VERS2 sy-vline
WA_/SMERP/STG_MM006_STR-VERS3 sy-vline
WA_/SMERP/STG_MM006_STR-HRKFT sy-vline
WA_/SMERP/STG_MM006_STR-KOSGR sy-vline
WA_/SMERP/STG_MM006_STR-PPRDZ sy-vline
WA_/SMERP/STG_MM006_STR-PPRDL sy-vline
WA_/SMERP/STG_MM006_STR-PPRDV sy-vline
WA_/SMERP/STG_MM006_STR-PDATZ sy-vline
WA_/SMERP/STG_MM006_STR-PDATL sy-vline
WA_/SMERP/STG_MM006_STR-PDATV sy-vline
WA_/SMERP/STG_MM006_STR-EKALR sy-vline
WA_/SMERP/STG_MM006_STR-VPLPR sy-vline
WA_/SMERP/STG_MM006_STR-MLMAA sy-vline
WA_/SMERP/STG_MM006_STR-MLAST sy-vline
WA_/SMERP/STG_MM006_STR-LPLPR sy-vline
WA_/SMERP/STG_MM006_STR-VKSAL sy-vline
WA_/SMERP/STG_MM006_STR-HKMAT sy-vline
WA_/SMERP/STG_MM006_STR-SPERW sy-vline
WA_/SMERP/STG_MM006_STR-KZIWL sy-vline
WA_/SMERP/STG_MM006_STR-WLINL sy-vline
WA_/SMERP/STG_MM006_STR-ABCIW sy-vline
WA_/SMERP/STG_MM006_STR-BWSPA sy-vline
WA_/SMERP/STG_MM006_STR-LPLPX sy-vline
WA_/SMERP/STG_MM006_STR-VPLPX sy-vline
WA_/SMERP/STG_MM006_STR-FPLPX sy-vline
WA_/SMERP/STG_MM006_STR-LBWST sy-vline
WA_/SMERP/STG_MM006_STR-VBWST sy-vline
WA_/SMERP/STG_MM006_STR-FBWST sy-vline
WA_/SMERP/STG_MM006_STR-EKLAS sy-vline
WA_/SMERP/STG_MM006_STR-QKLAS sy-vline
WA_/SMERP/STG_MM006_STR-MTUSE sy-vline
WA_/SMERP/STG_MM006_STR-MTORG sy-vline
WA_/SMERP/STG_MM006_STR-OWNPR sy-vline
WA_/SMERP/STG_MM006_STR-XBEWM sy-vline
WA_/SMERP/STG_MM006_STR-BWPEI sy-vline
WA_/SMERP/STG_MM006_STR-MBRUE sy-vline
WA_/SMERP/STG_MM006_STR-OKLAS sy-vline
WA_/SMERP/STG_MM006_STR-DUMMY_VAL_INCL_EEW_PS sy-vline
WA_/SMERP/STG_MM006_STR-OIPPINV sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.