ABAP Select data from SAP table IEWMCONFIRMEDWT 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 IEWMCONFIRMEDWT 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 IEWMCONFIRMEDWT. 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 IEWMCONFIRMEDWT 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_IEWMCONFIRMEDWT TYPE STANDARD TABLE OF IEWMCONFIRMEDWT, WA_IEWMCONFIRMEDWT TYPE IEWMCONFIRMEDWT, 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: <IEWMCONFIRMEDWT> TYPE IEWMCONFIRMEDWT. *Process all fields in table header/work area as string values PERFORM process_as_string_field_values CHANGING wa_IEWMCONFIRMEDWT. SELECT * *restrict ABAP select to first 10 rows UP TO 10 ROWS FROM IEWMCONFIRMEDWT INTO TABLE IT_IEWMCONFIRMEDWT. *Select data and declare internal table using in-line method @DATA *SELECT * * FROM IEWMCONFIRMEDWT * INTO TABLE @DATA(IT_IEWMCONFIRMEDWT2). *--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_IEWMCONFIRMEDWT INDEX 1 INTO DATA(WA_IEWMCONFIRMEDWT2). *Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL LOOP AT IT_IEWMCONFIRMEDWT ASSIGNING <IEWMCONFIRMEDWT>.*To update a field value using a field symbol simply change the value via the field symbol pointer
<IEWMCONFIRMEDWT>-MANDT = 1.
<IEWMCONFIRMEDWT>-WAREHOUSE = 1.
<IEWMCONFIRMEDWT>-WAREHOUSETASK = 1.
<IEWMCONFIRMEDWT>-WAREHOUSETASKITEM = 1.
<IEWMCONFIRMEDWT>-ISHANDLINGUNITWAREHOUSETASK = 1.
ENDLOOP. LOOP AT IT_IEWMCONFIRMEDWT INTO WA_IEWMCONFIRMEDWT. *Write horizonal line to screen report. WRITE:/ sy-uline. *Write selected data to screen/report before conversion. WRITE:/ sy-vline, WA_IEWMCONFIRMEDWT-WAREHOUSEPROCESSTYPE, sy-vline,
WA_IEWMCONFIRMEDWT-WAREHOUSEPROCESSCATEGORY, sy-vline,
WA_IEWMCONFIRMEDWT-STORAGEPROCESS, sy-vline,
WA_IEWMCONFIRMEDWT-EXTERNALSTORAGEPROCESSSTEP, sy-vline,
WA_IEWMCONFIRMEDWT-WAREHOUSETASKSTATUS, sy-vline,
WA_IEWMCONFIRMEDWT-CREATEDBYUSER, sy-vline.
ENDLOOP. *Add any further fields from structure WA_IEWMCONFIRMEDWT 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_IEWMCONFIRMEDWT 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_IEWMCONFIRMEDWT INTO WA_IEWMCONFIRMEDWT. *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 MDLPD, internal->external for field PRODUCTUUID CALL FUNCTION 'CONVERSION_EXIT_MDLPD_OUTPUT' EXPORTING input = WA_IEWMCONFIRMEDWT-PRODUCTUUID IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_IEWMCONFIRMEDWT-PRODUCTUUID.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field PRODUCTNAME CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_IEWMCONFIRMEDWT-PRODUCTNAME IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_IEWMCONFIRMEDWT-PRODUCTNAME.
WRITE:/ 'New Value:', ld_input.
*Conversion exit BPMAP, internal->external for field STOCKOWNER CALL FUNCTION 'CONVERSION_EXIT_BPMAP_OUTPUT' EXPORTING input = WA_IEWMCONFIRMEDWT-STOCKOWNER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_IEWMCONFIRMEDWT-STOCKOWNER.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ENTITLEDTODISPOSEPARTY CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_IEWMCONFIRMEDWT-ENTITLEDTODISPOSEPARTY IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_IEWMCONFIRMEDWT-ENTITLEDTODISPOSEPARTY.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field BASEUNIT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_IEWMCONFIRMEDWT-BASEUNIT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_IEWMCONFIRMEDWT-BASEUNIT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field ALTERNATIVEUNIT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_IEWMCONFIRMEDWT-ALTERNATIVEUNIT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_IEWMCONFIRMEDWT-ALTERNATIVEUNIT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field WHSETASKNETWEIGHTUNITOFMEASURE CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_IEWMCONFIRMEDWT-WHSETASKNETWEIGHTUNITOFMEASURE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_IEWMCONFIRMEDWT-WHSETASKNETWEIGHTUNITOFMEASURE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field WHSETASKNETVOLUMEUNITOFMEASURE CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_IEWMCONFIRMEDWT-WHSETASKNETVOLUMEUNITOFMEASURE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_IEWMCONFIRMEDWT-WHSETASKNETVOLUMEUNITOFMEASURE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field SOURCETRANSPORTATIONUNIT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_IEWMCONFIRMEDWT-SOURCETRANSPORTATIONUNIT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_IEWMCONFIRMEDWT-SOURCETRANSPORTATIONUNIT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit HUID, internal->external for field SOURCEHANDLINGUNIT CALL FUNCTION 'CONVERSION_EXIT_HUID_OUTPUT' EXPORTING input = WA_IEWMCONFIRMEDWT-SOURCEHANDLINGUNIT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_IEWMCONFIRMEDWT-SOURCEHANDLINGUNIT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field DESTINATIONTRANSPORTATIONUNIT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_IEWMCONFIRMEDWT-DESTINATIONTRANSPORTATIONUNIT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_IEWMCONFIRMEDWT-DESTINATIONTRANSPORTATIONUNIT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit HUID, internal->external for field DESTINATIONHANDLINGUNIT CALL FUNCTION 'CONVERSION_EXIT_HUID_OUTPUT' EXPORTING input = WA_IEWMCONFIRMEDWT-DESTINATIONHANDLINGUNIT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_IEWMCONFIRMEDWT-DESTINATIONHANDLINGUNIT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field WHSETASKPROCGTIMEDETNTIMEUNIT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_IEWMCONFIRMEDWT-WHSETASKPROCGTIMEDETNTIMEUNIT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_IEWMCONFIRMEDWT-WHSETASKPROCGTIMEDETNTIMEUNIT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field PRODUCTIONSUPPLYAREA CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_IEWMCONFIRMEDWT-PRODUCTIONSUPPLYAREA IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_IEWMCONFIRMEDWT-PRODUCTIONSUPPLYAREA.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field PRODUCTIONORDER CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_IEWMCONFIRMEDWT-PRODUCTIONORDER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_IEWMCONFIRMEDWT-PRODUCTIONORDER.
WRITE:/ 'New Value:', ld_input.
*Conversion exit KNBCV, internal->external for field KANBAN CALL FUNCTION 'CONVERSION_EXIT_KNBCV_OUTPUT' EXPORTING input = WA_IEWMCONFIRMEDWT-KANBAN IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_IEWMCONFIRMEDWT-KANBAN.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field STOCKKEEPINGALTERNATIVEUOM CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_IEWMCONFIRMEDWT-STOCKKEEPINGALTERNATIVEUOM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_IEWMCONFIRMEDWT-STOCKKEEPINGALTERNATIVEUOM.
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_IEWMCONFIRMEDWT_STR,
MANDT TYPE STRING,
WAREHOUSE TYPE STRING,
WAREHOUSETASK TYPE STRING,
WAREHOUSETASKITEM TYPE STRING,
ISHANDLINGUNITWAREHOUSETASK TYPE STRING,
WAREHOUSEPROCESSTYPE TYPE STRING,
WAREHOUSEPROCESSCATEGORY TYPE STRING,
STORAGEPROCESS TYPE STRING,
EXTERNALSTORAGEPROCESSSTEP TYPE STRING,
WAREHOUSETASKSTATUS TYPE STRING,
CREATEDBYUSER TYPE STRING,
CREATIONDATETIME TYPE STRING,
WAREHOUSETASKCODES TYPE STRING,
EXECUTINGRESOURCE TYPE STRING,
WAREHOUSEMOVEMENTSREASON TYPE STRING,
PRIORITYCODE TYPE STRING,
STOCKITEMUUID TYPE STRING,
CURRENTNUMBEROFKEYTABLE TYPE STRING,
PRODUCTUUID TYPE STRING,
PRODUCTNAME TYPE STRING,
PRODUCTBATCH TYPE STRING,
STOCKTYPE TYPE STRING,
STOCKDOCUMENTCATEGORY TYPE STRING,
STOCKDOCUMENTNUMBER TYPE STRING,
WBSELEMENTEXTERNALID TYPE STRING,
STOCKITEMNUMBER TYPE STRING,
DOCUMENTCATEGORY TYPE STRING,
STOCKUSAGE TYPE STRING,
STOCKOWNER TYPE STRING,
STOCKOWNERPARTNERROLE TYPE STRING,
ENTITLEDTODISPOSEPARTY TYPE STRING,
ENTITLEDTODISPOSEPARTNERROLE TYPE STRING,
COUNTERFORSTOCKSEPARATION TYPE STRING,
BATCH TYPE STRING,
BASEUNIT TYPE STRING,
ALTERNATIVEUNIT TYPE STRING,
TARGETQUANTITYINBASEUNIT TYPE STRING,
TARGETQUANTITYINALTVUNIT TYPE STRING,
WHSETASKRETENTIONQUANTITY TYPE STRING,
HANDLINGUNITTYPE TYPE STRING,
NETWEIGHT TYPE STRING,
WHSETASKNETWEIGHTUNITOFMEASURE TYPE STRING,
WHSETASKNETVOLUME TYPE STRING,
WHSETASKNETVOLUMEUNITOFMEASURE TYPE STRING,
WHSETASKCAPACITYCONSUMPTION TYPE STRING,
PUTAWAYPHYSINVENTORYISPLANNED TYPE STRING,
WHSETASKLOWSTOCKCHECKISPLANNED TYPE STRING,
SHELFLIFEEXPIRATIONDATE TYPE STRING,
WHSETASKGOODSRECEIPTDATETIME TYPE STRING,
COUNTRYOFORIGIN TYPE STRING,
HAZARDOUSSUBSTANCEINDICATOR TYPE STRING,
WHSETASKQUALITYINSPECTIONTYPE TYPE STRING,
QUALITYINSPECTIONDOCUUID TYPE STRING,
STOCKIDENTIFICATIONOFWHSETASK TYPE STRING,
CONSOLIDATIONGROUP TYPE STRING,
SOURCESTORAGETYPE TYPE STRING,
SOURCESTORAGESECTION TYPE STRING,
SOURCESTORAGEBIN TYPE STRING,
SOURCEHNDLGUNITLOGICALPOSITION TYPE STRING,
SOURCERESOURCE TYPE STRING,
SOURCETRANSPORTATIONUNIT TYPE STRING,
SOURCELOCATIONTYPE TYPE STRING,
SOURCEHANDLINGUNITUUID TYPE STRING,
SOURCEHANDLINGUNIT TYPE STRING,
DESTINATIONSTORAGETYPE TYPE STRING,
DESTINATIONSTORAGESECTION TYPE STRING,
DESTINATIONSTORAGEBIN TYPE STRING,
DESTHNDLGUNITLOGICALPOSITION TYPE STRING,
DESTINATIONRESOURCE TYPE STRING,
DESTINATIONTRANSPORTATIONUNIT TYPE STRING,
DESTINATIONLOCATIONTYPE TYPE STRING,
DESTINATIONHANDLINGUNITUUID TYPE STRING,
DESTINATIONHANDLINGUNIT TYPE STRING,
WHSETASKDESTSTORAGEBINDTMNDBY TYPE STRING,
WRHSTASKSUBSYSTEMTRANSMN TYPE STRING,
WHSETASKPLANNEDPROCESSINGTIME TYPE STRING,
WHSETASKPROCGTIMEDETNTIMEUNIT TYPE STRING,
WHSETASKREFTOVALUEADDEDSERVICE TYPE STRING,
BATCHCHANGEISNOTALLOWED TYPE STRING,
REFERENCEDOCUMENTCATEGORY TYPE STRING,
REFERENCEDOCUMENTUUID TYPE STRING,
REFERENCEDOCUMENTITEMUUID TYPE STRING,
WAVE TYPE STRING,
WAVEITEM TYPE STRING,
WHSETASKTWOSTEPPICKINGTYPE TYPE STRING,
WHSETASKTWOSTEPPICKINGRLVNCE TYPE STRING,
DOCUMENTRELTDSTOCKDOCCAT TYPE STRING,
DOCUMENTRELTDSTOCKDOCUUID TYPE STRING,
DOCUMENTRELTDSTOCKDOCITEMUUID TYPE STRING,
STOCKIDENTIFICATIONNUMBER TYPE STRING,
KITITEMISCREATEDAUTOMATICALLY TYPE STRING,
WAREHOUSETASKUUID TYPE STRING,
ISDOCUMENTARYBATCH TYPE STRING,
CONVEYORTECHNIQUESEGMENT TYPE STRING,
PRODUCTIONSUPPLYAREA TYPE STRING,
PRODUCTIONORDER TYPE STRING,
WHSETASKCRTNWHSETMZNDATETIME TYPE STRING,
WHSETASKCHGWHSETMZNDATETIME TYPE STRING,
KANBAN TYPE STRING,
STOCKKEEPINGALTERNATIVEUOM TYPE STRING,
ACTIVITYAREA TYPE STRING,
QUEUE TYPE STRING,
WAREHOUSEORDER TYPE STRING,
LOGICALRECORDPROGRAMNAME TYPE STRING,
LOGICALRECORDTRANSACTIONCODE TYPE STRING,
EWMDUMMYFUNCFORSTRUCTUREEXTN TYPE STRING,
CERTIFICATETEXT TYPE STRING,
LASTCHANGEDATETIME TYPE STRING,
CONFIRMEDBYUSER TYPE STRING,
CONFIRMATIONUTCDATETIME TYPE STRING,
PROCESSOR TYPE STRING,
WAREHOUSETASKEXCEPTIONCODE TYPE STRING,
BUSINESSCONTEXT TYPE STRING,
BUSINESSCONTEXTEXECUTIONSTEP TYPE STRING,
ACTUALQUANTITYINBASEUNIT TYPE STRING,
ACTUALQUANTITYINALTVUNIT TYPE STRING,
DIFFERENCEQUANTITYINBASEUNIT TYPE STRING,
DIFFERENCEQUANTITYINALTVUNIT TYPE STRING,
WHSETASKCONFWHSETMZNDATETIME TYPE STRING,END OF T_EKKO_STR. DATA: WA_IEWMCONFIRMEDWT_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_IEWMCONFIRMEDWT_STR-MANDT sy-vline
WA_IEWMCONFIRMEDWT_STR-WAREHOUSE sy-vline
WA_IEWMCONFIRMEDWT_STR-WAREHOUSETASK sy-vline
WA_IEWMCONFIRMEDWT_STR-WAREHOUSETASKITEM sy-vline
WA_IEWMCONFIRMEDWT_STR-ISHANDLINGUNITWAREHOUSETASK sy-vline
WA_IEWMCONFIRMEDWT_STR-WAREHOUSEPROCESSTYPE sy-vline
WA_IEWMCONFIRMEDWT_STR-WAREHOUSEPROCESSCATEGORY sy-vline
WA_IEWMCONFIRMEDWT_STR-STORAGEPROCESS sy-vline
WA_IEWMCONFIRMEDWT_STR-EXTERNALSTORAGEPROCESSSTEP sy-vline
WA_IEWMCONFIRMEDWT_STR-WAREHOUSETASKSTATUS sy-vline
WA_IEWMCONFIRMEDWT_STR-CREATEDBYUSER sy-vline
WA_IEWMCONFIRMEDWT_STR-CREATIONDATETIME sy-vline
WA_IEWMCONFIRMEDWT_STR-WAREHOUSETASKCODES sy-vline
WA_IEWMCONFIRMEDWT_STR-EXECUTINGRESOURCE sy-vline
WA_IEWMCONFIRMEDWT_STR-WAREHOUSEMOVEMENTSREASON sy-vline
WA_IEWMCONFIRMEDWT_STR-PRIORITYCODE sy-vline
WA_IEWMCONFIRMEDWT_STR-STOCKITEMUUID sy-vline
WA_IEWMCONFIRMEDWT_STR-CURRENTNUMBEROFKEYTABLE sy-vline
WA_IEWMCONFIRMEDWT_STR-PRODUCTUUID sy-vline
WA_IEWMCONFIRMEDWT_STR-PRODUCTNAME sy-vline
WA_IEWMCONFIRMEDWT_STR-PRODUCTBATCH sy-vline
WA_IEWMCONFIRMEDWT_STR-STOCKTYPE sy-vline
WA_IEWMCONFIRMEDWT_STR-STOCKDOCUMENTCATEGORY sy-vline
WA_IEWMCONFIRMEDWT_STR-STOCKDOCUMENTNUMBER sy-vline
WA_IEWMCONFIRMEDWT_STR-WBSELEMENTEXTERNALID sy-vline
WA_IEWMCONFIRMEDWT_STR-STOCKITEMNUMBER sy-vline
WA_IEWMCONFIRMEDWT_STR-DOCUMENTCATEGORY sy-vline
WA_IEWMCONFIRMEDWT_STR-STOCKUSAGE sy-vline
WA_IEWMCONFIRMEDWT_STR-STOCKOWNER sy-vline
WA_IEWMCONFIRMEDWT_STR-STOCKOWNERPARTNERROLE sy-vline
WA_IEWMCONFIRMEDWT_STR-ENTITLEDTODISPOSEPARTY sy-vline
WA_IEWMCONFIRMEDWT_STR-ENTITLEDTODISPOSEPARTNERROLE sy-vline
WA_IEWMCONFIRMEDWT_STR-COUNTERFORSTOCKSEPARATION sy-vline
WA_IEWMCONFIRMEDWT_STR-BATCH sy-vline
WA_IEWMCONFIRMEDWT_STR-BASEUNIT sy-vline
WA_IEWMCONFIRMEDWT_STR-ALTERNATIVEUNIT sy-vline
WA_IEWMCONFIRMEDWT_STR-TARGETQUANTITYINBASEUNIT sy-vline
WA_IEWMCONFIRMEDWT_STR-TARGETQUANTITYINALTVUNIT sy-vline
WA_IEWMCONFIRMEDWT_STR-WHSETASKRETENTIONQUANTITY sy-vline
WA_IEWMCONFIRMEDWT_STR-HANDLINGUNITTYPE sy-vline
WA_IEWMCONFIRMEDWT_STR-NETWEIGHT sy-vline
WA_IEWMCONFIRMEDWT_STR-WHSETASKNETWEIGHTUNITOFMEASURE sy-vline
WA_IEWMCONFIRMEDWT_STR-WHSETASKNETVOLUME sy-vline
WA_IEWMCONFIRMEDWT_STR-WHSETASKNETVOLUMEUNITOFMEASURE sy-vline
WA_IEWMCONFIRMEDWT_STR-WHSETASKCAPACITYCONSUMPTION sy-vline
WA_IEWMCONFIRMEDWT_STR-PUTAWAYPHYSINVENTORYISPLANNED sy-vline
WA_IEWMCONFIRMEDWT_STR-WHSETASKLOWSTOCKCHECKISPLANNED sy-vline
WA_IEWMCONFIRMEDWT_STR-SHELFLIFEEXPIRATIONDATE sy-vline
WA_IEWMCONFIRMEDWT_STR-WHSETASKGOODSRECEIPTDATETIME sy-vline
WA_IEWMCONFIRMEDWT_STR-COUNTRYOFORIGIN sy-vline
WA_IEWMCONFIRMEDWT_STR-HAZARDOUSSUBSTANCEINDICATOR sy-vline
WA_IEWMCONFIRMEDWT_STR-WHSETASKQUALITYINSPECTIONTYPE sy-vline
WA_IEWMCONFIRMEDWT_STR-QUALITYINSPECTIONDOCUUID sy-vline
WA_IEWMCONFIRMEDWT_STR-STOCKIDENTIFICATIONOFWHSETASK sy-vline
WA_IEWMCONFIRMEDWT_STR-CONSOLIDATIONGROUP sy-vline
WA_IEWMCONFIRMEDWT_STR-SOURCESTORAGETYPE sy-vline
WA_IEWMCONFIRMEDWT_STR-SOURCESTORAGESECTION sy-vline
WA_IEWMCONFIRMEDWT_STR-SOURCESTORAGEBIN sy-vline
WA_IEWMCONFIRMEDWT_STR-SOURCEHNDLGUNITLOGICALPOSITION sy-vline
WA_IEWMCONFIRMEDWT_STR-SOURCERESOURCE sy-vline
WA_IEWMCONFIRMEDWT_STR-SOURCETRANSPORTATIONUNIT sy-vline
WA_IEWMCONFIRMEDWT_STR-SOURCELOCATIONTYPE sy-vline
WA_IEWMCONFIRMEDWT_STR-SOURCEHANDLINGUNITUUID sy-vline
WA_IEWMCONFIRMEDWT_STR-SOURCEHANDLINGUNIT sy-vline
WA_IEWMCONFIRMEDWT_STR-DESTINATIONSTORAGETYPE sy-vline
WA_IEWMCONFIRMEDWT_STR-DESTINATIONSTORAGESECTION sy-vline
WA_IEWMCONFIRMEDWT_STR-DESTINATIONSTORAGEBIN sy-vline
WA_IEWMCONFIRMEDWT_STR-DESTHNDLGUNITLOGICALPOSITION sy-vline
WA_IEWMCONFIRMEDWT_STR-DESTINATIONRESOURCE sy-vline
WA_IEWMCONFIRMEDWT_STR-DESTINATIONTRANSPORTATIONUNIT sy-vline
WA_IEWMCONFIRMEDWT_STR-DESTINATIONLOCATIONTYPE sy-vline
WA_IEWMCONFIRMEDWT_STR-DESTINATIONHANDLINGUNITUUID sy-vline
WA_IEWMCONFIRMEDWT_STR-DESTINATIONHANDLINGUNIT sy-vline
WA_IEWMCONFIRMEDWT_STR-WHSETASKDESTSTORAGEBINDTMNDBY sy-vline
WA_IEWMCONFIRMEDWT_STR-WRHSTASKSUBSYSTEMTRANSMN sy-vline
WA_IEWMCONFIRMEDWT_STR-WHSETASKPLANNEDPROCESSINGTIME sy-vline
WA_IEWMCONFIRMEDWT_STR-WHSETASKPROCGTIMEDETNTIMEUNIT sy-vline
WA_IEWMCONFIRMEDWT_STR-WHSETASKREFTOVALUEADDEDSERVICE sy-vline
WA_IEWMCONFIRMEDWT_STR-BATCHCHANGEISNOTALLOWED sy-vline
WA_IEWMCONFIRMEDWT_STR-REFERENCEDOCUMENTCATEGORY sy-vline
WA_IEWMCONFIRMEDWT_STR-REFERENCEDOCUMENTUUID sy-vline
WA_IEWMCONFIRMEDWT_STR-REFERENCEDOCUMENTITEMUUID sy-vline
WA_IEWMCONFIRMEDWT_STR-WAVE sy-vline
WA_IEWMCONFIRMEDWT_STR-WAVEITEM sy-vline
WA_IEWMCONFIRMEDWT_STR-WHSETASKTWOSTEPPICKINGTYPE sy-vline
WA_IEWMCONFIRMEDWT_STR-WHSETASKTWOSTEPPICKINGRLVNCE sy-vline
WA_IEWMCONFIRMEDWT_STR-DOCUMENTRELTDSTOCKDOCCAT sy-vline
WA_IEWMCONFIRMEDWT_STR-DOCUMENTRELTDSTOCKDOCUUID sy-vline
WA_IEWMCONFIRMEDWT_STR-DOCUMENTRELTDSTOCKDOCITEMUUID sy-vline
WA_IEWMCONFIRMEDWT_STR-STOCKIDENTIFICATIONNUMBER sy-vline
WA_IEWMCONFIRMEDWT_STR-KITITEMISCREATEDAUTOMATICALLY sy-vline
WA_IEWMCONFIRMEDWT_STR-WAREHOUSETASKUUID sy-vline
WA_IEWMCONFIRMEDWT_STR-ISDOCUMENTARYBATCH sy-vline
WA_IEWMCONFIRMEDWT_STR-CONVEYORTECHNIQUESEGMENT sy-vline
WA_IEWMCONFIRMEDWT_STR-PRODUCTIONSUPPLYAREA sy-vline
WA_IEWMCONFIRMEDWT_STR-PRODUCTIONORDER sy-vline
WA_IEWMCONFIRMEDWT_STR-WHSETASKCRTNWHSETMZNDATETIME sy-vline
WA_IEWMCONFIRMEDWT_STR-WHSETASKCHGWHSETMZNDATETIME sy-vline
WA_IEWMCONFIRMEDWT_STR-KANBAN sy-vline
WA_IEWMCONFIRMEDWT_STR-STOCKKEEPINGALTERNATIVEUOM sy-vline
WA_IEWMCONFIRMEDWT_STR-ACTIVITYAREA sy-vline
WA_IEWMCONFIRMEDWT_STR-QUEUE sy-vline
WA_IEWMCONFIRMEDWT_STR-WAREHOUSEORDER sy-vline
WA_IEWMCONFIRMEDWT_STR-LOGICALRECORDPROGRAMNAME sy-vline
WA_IEWMCONFIRMEDWT_STR-LOGICALRECORDTRANSACTIONCODE sy-vline
WA_IEWMCONFIRMEDWT_STR-EWMDUMMYFUNCFORSTRUCTUREEXTN sy-vline
WA_IEWMCONFIRMEDWT_STR-CERTIFICATETEXT sy-vline
WA_IEWMCONFIRMEDWT_STR-LASTCHANGEDATETIME sy-vline
WA_IEWMCONFIRMEDWT_STR-CONFIRMEDBYUSER sy-vline
WA_IEWMCONFIRMEDWT_STR-CONFIRMATIONUTCDATETIME sy-vline
WA_IEWMCONFIRMEDWT_STR-PROCESSOR sy-vline
WA_IEWMCONFIRMEDWT_STR-WAREHOUSETASKEXCEPTIONCODE sy-vline
WA_IEWMCONFIRMEDWT_STR-BUSINESSCONTEXT sy-vline
WA_IEWMCONFIRMEDWT_STR-BUSINESSCONTEXTEXECUTIONSTEP sy-vline
WA_IEWMCONFIRMEDWT_STR-ACTUALQUANTITYINBASEUNIT sy-vline
WA_IEWMCONFIRMEDWT_STR-ACTUALQUANTITYINALTVUNIT sy-vline
WA_IEWMCONFIRMEDWT_STR-DIFFERENCEQUANTITYINBASEUNIT sy-vline
WA_IEWMCONFIRMEDWT_STR-DIFFERENCEQUANTITYINALTVUNIT sy-vline
WA_IEWMCONFIRMEDWT_STR-WHSETASKCONFWHSETMZNDATETIME sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.