ABAP Select data from SAP table VIAUFKST_IFLOS 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 VIAUFKST_IFLOS 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 VIAUFKST_IFLOS. 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 VIAUFKST_IFLOS 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_VIAUFKST_IFLOS TYPE STANDARD TABLE OF VIAUFKST_IFLOS, WA_VIAUFKST_IFLOS TYPE VIAUFKST_IFLOS, 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: <VIAUFKST_IFLOS> TYPE VIAUFKST_IFLOS. *Process all fields in table header/work area as string values PERFORM process_as_string_field_values CHANGING wa_VIAUFKST_IFLOS. SELECT * *restrict ABAP select to first 10 rows UP TO 10 ROWS FROM VIAUFKST_IFLOS INTO TABLE IT_VIAUFKST_IFLOS. *Select data and declare internal table using in-line method @DATA *SELECT * * FROM VIAUFKST_IFLOS * INTO TABLE @DATA(IT_VIAUFKST_IFLOS2). *--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_VIAUFKST_IFLOS INDEX 1 INTO DATA(WA_VIAUFKST_IFLOS2). *Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL LOOP AT IT_VIAUFKST_IFLOS ASSIGNING <VIAUFKST_IFLOS>.*To update a field value using a field symbol simply change the value via the field symbol pointer
<VIAUFKST_IFLOS>-MANDT = 1.
<VIAUFKST_IFLOS>-AUFNR = 1.
<VIAUFKST_IFLOS>-ARTPR = 1.
<VIAUFKST_IFLOS>-PRIOK = 1.
<VIAUFKST_IFLOS>-EQUNR = 1.
ENDLOOP. LOOP AT IT_VIAUFKST_IFLOS INTO WA_VIAUFKST_IFLOS. *Write horizonal line to screen report. WRITE:/ sy-uline. *Write selected data to screen/report before conversion. WRITE:/ sy-vline, WA_VIAUFKST_IFLOS-BAUTL, sy-vline,
WA_VIAUFKST_IFLOS-ILOAN, sy-vline,
WA_VIAUFKST_IFLOS-ILOAI, sy-vline,
WA_VIAUFKST_IFLOS-ANLZU, sy-vline,
WA_VIAUFKST_IFLOS-IWERK, sy-vline,
WA_VIAUFKST_IFLOS-INGPR, sy-vline.
ENDLOOP. *Add any further fields from structure WA_VIAUFKST_IFLOS 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_VIAUFKST_IFLOS 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_VIAUFKST_IFLOS INTO WA_VIAUFKST_IFLOS. *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 AUFNR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-AUFNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-AUFNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field EQUNR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-EQUNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-EQUNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field BAUTL CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-BAUTL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-BAUTL.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field KUNUM CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-KUNUM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-KUNUM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field GAUEH CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-GAUEH IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-GAUEH.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field WARPL CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-WARPL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-WARPL.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field WAPOS CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-WAPOS IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-WAPOS.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field LAUFN CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-LAUFN IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-LAUFN.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field QMNUM CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-QMNUM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-QMNUM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit GERNR, internal->external for field SERIALNR CALL FUNCTION 'CONVERSION_EXIT_GERNR_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-SERIALNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-SERIALNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field SERMAT CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-SERMAT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-SERMAT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field MAINTORDPERSONRESPONSIBLE CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-MAINTORDPERSONRESPONSIBLE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-MAINTORDPERSONRESPONSIBLE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field /ISDFPS/MEQUI CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-/ISDFPS/MEQUI IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-/ISDFPS/MEQUI.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field SERVICE_DOC_ID CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-SERVICE_DOC_ID IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-SERVICE_DOC_ID.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field REFNR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-REFNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-REFNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field KOSTV CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-KOSTV IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-KOSTV.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field KSTAR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-KSTAR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-KSTAR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field SAKNR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-SAKNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-SAKNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field CYCLE CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-CYCLE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-CYCLE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field PRCTR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-PRCTR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-PRCTR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ABPSP, internal->external for field PSPEL CALL FUNCTION 'CONVERSION_EXIT_ABPSP_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-PSPEL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-PSPEL.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field KDAUF CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-KDAUF IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-KDAUF.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ADRNRA CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-ADRNRA IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-ADRNRA.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field VNAME CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-VNAME IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-VNAME.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field RECID CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-RECID IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-RECID.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ETYPE CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-ETYPE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-ETYPE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field OTYPE CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-OTYPE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-OTYPE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit TSTLC, internal->external for field CPD_UPDAT CALL FUNCTION 'CONVERSION_EXIT_TSTLC_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-CPD_UPDAT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-CPD_UPDAT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field /CUM/CMNUM CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-/CUM/CMNUM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-/CUM/CMNUM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field /CUM/DESNUM CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-/CUM/DESNUM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-/CUM/DESNUM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field FERC_IND CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-FERC_IND IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-FERC_IND.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field KOSTL CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-KOSTL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-KOSTL.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ABPSP, internal->external for field PROID CALL FUNCTION 'CONVERSION_EXIT_ABPSP_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-PROID IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-PROID.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ANLNR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-ANLNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-ANLNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ANLUN CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-ANLUN IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-ANLUN.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field DAUFN CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-DAUFN IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-DAUFN.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field GMEIN CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-GMEIN IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-GMEIN.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field PLNBEZ CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-PLNBEZ IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-PLNBEZ.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field PLNNR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-PLNNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-PLNNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field PLNAL CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-PLNAL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-PLNAL.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field PLNME CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-PLNME IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-PLNME.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field PAENR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-PAENR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-PAENR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field STLBEZ CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-STLBEZ IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-STLBEZ.
WRITE:/ 'New Value:', ld_input.
*Conversion exit NUMCV, internal->external for field STLNR CALL FUNCTION 'CONVERSION_EXIT_NUMCV_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-STLNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-STLNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field SBMEH CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-SBMEH IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-SBMEH.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field SAENR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-SAENR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-SAENR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field STLAL CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-STLAL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-STLAL.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field AUFNT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-AUFNT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-AUFNT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit KONPD, internal->external for field PRONR CALL FUNCTION 'CONVERSION_EXIT_KONPD_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-PRONR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-PRONR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field PRUEFLOS CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-PRUEFLOS IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-PRUEFLOS.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field MAUFNR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-MAUFNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-MAUFNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field LEAD_AUFNR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-LEAD_AUFNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-LEAD_AUFNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ADRNR_ILOA CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-ADRNR_ILOA IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-ADRNR_ILOA.
WRITE:/ 'New Value:', ld_input.
*Conversion exit TPLNR, internal->external for field TPLNR_INT CALL FUNCTION 'CONVERSION_EXIT_TPLNR_OUTPUT' EXPORTING input = WA_VIAUFKST_IFLOS-TPLNR_INT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_VIAUFKST_IFLOS-TPLNR_INT.
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_VIAUFKST_IFLOS_STR,
MANDT TYPE STRING,
AUFNR TYPE STRING,
ARTPR TYPE STRING,
PRIOK TYPE STRING,
EQUNR TYPE STRING,
BAUTL TYPE STRING,
ILOAN TYPE STRING,
ILOAI TYPE STRING,
ANLZU TYPE STRING,
IWERK TYPE STRING,
INGPR TYPE STRING,
APGRP TYPE STRING,
PM_OBJTY TYPE STRING,
GEWRK TYPE STRING,
KUNUM TYPE STRING,
ANING TYPE STRING,
GAUZT TYPE STRING,
GAUEH TYPE STRING,
ANLBD TYPE STRING,
ANLVD TYPE STRING,
ANLBZ TYPE STRING,
ANLVZ TYPE STRING,
INSPK TYPE STRING,
DATAN TYPE STRING,
WARPL TYPE STRING,
ABNUM TYPE STRING,
WAPOS TYPE STRING,
LAUFN TYPE STRING,
OBKNR TYPE STRING,
REVNR TYPE STRING,
ADDAT TYPE STRING,
ADUHR TYPE STRING,
IPHAS TYPE STRING,
ILART TYPE STRING,
QMNUM TYPE STRING,
HISDA TYPE STRING,
AKKNZ TYPE STRING,
PLKNZ TYPE STRING,
SERIALNR TYPE STRING,
SERMAT TYPE STRING,
DEVICEID TYPE STRING,
SCREENTY TYPE STRING,
ADPSP TYPE STRING,
RSUPG TYPE STRING,
CHANGEDDATETIME TYPE STRING,
MAINTORDPERSONRESPONSIBLE TYPE STRING,
MAINTORDOVRLPROCPHASE TYPE STRING,
MAINTORDOVRLPROCSUBPHASE TYPE STRING,
DUMMY_AFIH_INCL_EEW_PS TYPE STRING,
/ISDFPS/OBJNR TYPE STRING,
/ISDFPS/MEQUI TYPE STRING,
/ISDFPS/MHIO_ADDATE TYPE STRING,
/ISDFPS/MHIO_ADTIME TYPE STRING,
/ISDFPS/USERMODE TYPE STRING,
UII TYPE STRING,
DATAMODELVERSION TYPE STRING,
SERVICE_DOC_TYPE TYPE STRING,
SERVICE_DOC_ID TYPE STRING,
SERVICE_DOC_ITEM_ID TYPE STRING,
IS_BILLABLE TYPE STRING,
FLDLOGSDELIVISHELDONSHORE TYPE STRING,
MAINTORDPROCMTINTEGSCENARIO TYPE STRING,
ORCOD TYPE STRING,
PRMAN TYPE STRING,
PRVAL TYPE STRING,
TWTDE TYPE STRING,
MSTCK TYPE STRING,
LACD_DATE TYPE STRING,
OLD_LACD_DATE TYPE STRING,
AUART TYPE STRING,
AUTYP TYPE STRING,
REFNR TYPE STRING,
ERNAM TYPE STRING,
ERDAT TYPE STRING,
AENAM TYPE STRING,
AEDAT TYPE STRING,
KTEXT TYPE STRING,
LTEXT TYPE STRING,
BUKRS TYPE STRING,
WERKS TYPE STRING,
GSBER TYPE STRING,
KOKRS TYPE STRING,
CCKEY TYPE STRING,
KOSTV TYPE STRING,
SOWRK TYPE STRING,
ASTKZ TYPE STRING,
WAERS TYPE STRING,
ASTNR TYPE STRING,
STDAT TYPE STRING,
ESTNR TYPE STRING,
PDAT1 TYPE STRING,
PDAT2 TYPE STRING,
PDAT3 TYPE STRING,
IDAT1 TYPE STRING,
IDAT2 TYPE STRING,
IDAT3 TYPE STRING,
OBJID TYPE STRING,
VOGRP TYPE STRING,
LOEKZ TYPE STRING,
PLGKZ TYPE STRING,
KVEWE TYPE STRING,
KAPPL TYPE STRING,
KALSM TYPE STRING,
ZSCHL TYPE STRING,
ABKRS TYPE STRING,
KSTAR TYPE STRING,
SAKNR TYPE STRING,
SETNM TYPE STRING,
CYCLE TYPE STRING,
SDATE TYPE STRING,
SEQNR TYPE STRING,
USER2 TYPE STRING,
USER4 TYPE STRING,
OBJNR TYPE STRING,
PRCTR TYPE STRING,
PSPEL TYPE STRING,
AWSLS TYPE STRING,
ABGSL TYPE STRING,
EB_POST TYPE STRING,
KDAUF TYPE STRING,
KDPOS TYPE STRING,
RSORD TYPE STRING,
BEMOT TYPE STRING,
ADRNRA TYPE STRING,
ERFZEIT TYPE STRING,
AEZEIT TYPE STRING,
CSTG_VRNT TYPE STRING,
COSTESTNR TYPE STRING,
VERAA_USER TYPE STRING,
EEW_AUFK_PS_DUMMY TYPE STRING,
VNAME TYPE STRING,
RECID TYPE STRING,
ETYPE TYPE STRING,
OTYPE TYPE STRING,
JV_JIBCL TYPE STRING,
JV_JIBSA TYPE STRING,
JV_OCO TYPE STRING,
CPD_UPDAT TYPE STRING,
/CUM/INDCU TYPE STRING,
/CUM/CMNUM TYPE STRING,
/CUM/AUEST TYPE STRING,
/CUM/DESNUM TYPE STRING,
AD01PROFNR TYPE STRING,
VAPLZ TYPE STRING,
WAWRK TYPE STRING,
FERC_IND TYPE STRING,
CLAIM_CONTROL TYPE STRING,
UPDATE_NEEDED TYPE STRING,
UPDATE_CONTROL TYPE STRING,
STORT TYPE STRING,
KOSTL TYPE STRING,
TPLNR TYPE STRING,
ABCKZ TYPE STRING,
EQFNR TYPE STRING,
SWERK TYPE STRING,
MSGRP TYPE STRING,
BEBER TYPE STRING,
CR_OBJTY TYPE STRING,
PPSID TYPE STRING,
PROID TYPE STRING,
ANLNR TYPE STRING,
ANLUN TYPE STRING,
DAUFN TYPE STRING,
GLTRP TYPE STRING,
GSTRP TYPE STRING,
FTRMS TYPE STRING,
GLTRS TYPE STRING,
GSTRS TYPE STRING,
GSTRI TYPE STRING,
GETRI TYPE STRING,
GLTRI TYPE STRING,
FTRMI TYPE STRING,
FTRMP TYPE STRING,
RSNUM TYPE STRING,
GASMG TYPE STRING,
GAMNG TYPE STRING,
GMEIN TYPE STRING,
PLNBEZ TYPE STRING,
PLNTY TYPE STRING,
PLNNR TYPE STRING,
PLNAW TYPE STRING,
PLNAL TYPE STRING,
PVERW TYPE STRING,
PLAUF TYPE STRING,
PLSVB TYPE STRING,
PLNME TYPE STRING,
PLSVN TYPE STRING,
PDATV TYPE STRING,
PAENR TYPE STRING,
PLGRP TYPE STRING,
LODIV TYPE STRING,
STLTY TYPE STRING,
STLBEZ TYPE STRING,
STLST TYPE STRING,
STLNR TYPE STRING,
SDATV TYPE STRING,
SBMNG TYPE STRING,
SBMEH TYPE STRING,
SAENR TYPE STRING,
STLAL TYPE STRING,
STLAN TYPE STRING,
SLSVN TYPE STRING,
SLSBS TYPE STRING,
AUFLD TYPE STRING,
DISPO TYPE STRING,
AUFPL TYPE STRING,
FEVOR TYPE STRING,
FHORI TYPE STRING,
TERKZ TYPE STRING,
REDKZ TYPE STRING,
APRIO TYPE STRING,
AUFNT TYPE STRING,
AUFPT TYPE STRING,
APLZT TYPE STRING,
PROFID TYPE STRING,
VORGZ TYPE STRING,
SICHZ TYPE STRING,
FREIZ TYPE STRING,
UPTER TYPE STRING,
BEDID TYPE STRING,
PRONR TYPE STRING,
ZAEHL TYPE STRING,
MZAEHL TYPE STRING,
ZKRIZ TYPE STRING,
PRUEFLOS TYPE STRING,
KLVARP TYPE STRING,
KLVARI TYPE STRING,
RGEKZ TYPE STRING,
PLART TYPE STRING,
MAUFNR TYPE STRING,
LEAD_AUFNR TYPE STRING,
OWNER TYPE STRING,
VKORG TYPE STRING,
VTWEG TYPE STRING,
SPART TYPE STRING,
GLUZP TYPE STRING,
GSUZP TYPE STRING,
GLUZS TYPE STRING,
GSUZS TYPE STRING,
GEUZI TYPE STRING,
GSUZI TYPE STRING,
ADRNR_ILOA TYPE STRING,
NO_DISP TYPE STRING,
ALKEY TYPE STRING,
VERSN TYPE STRING,
TPLNR_INT TYPE STRING,END OF T_EKKO_STR. DATA: WA_VIAUFKST_IFLOS_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_VIAUFKST_IFLOS_STR-MANDT sy-vline
WA_VIAUFKST_IFLOS_STR-AUFNR sy-vline
WA_VIAUFKST_IFLOS_STR-ARTPR sy-vline
WA_VIAUFKST_IFLOS_STR-PRIOK sy-vline
WA_VIAUFKST_IFLOS_STR-EQUNR sy-vline
WA_VIAUFKST_IFLOS_STR-BAUTL sy-vline
WA_VIAUFKST_IFLOS_STR-ILOAN sy-vline
WA_VIAUFKST_IFLOS_STR-ILOAI sy-vline
WA_VIAUFKST_IFLOS_STR-ANLZU sy-vline
WA_VIAUFKST_IFLOS_STR-IWERK sy-vline
WA_VIAUFKST_IFLOS_STR-INGPR sy-vline
WA_VIAUFKST_IFLOS_STR-APGRP sy-vline
WA_VIAUFKST_IFLOS_STR-PM_OBJTY sy-vline
WA_VIAUFKST_IFLOS_STR-GEWRK sy-vline
WA_VIAUFKST_IFLOS_STR-KUNUM sy-vline
WA_VIAUFKST_IFLOS_STR-ANING sy-vline
WA_VIAUFKST_IFLOS_STR-GAUZT sy-vline
WA_VIAUFKST_IFLOS_STR-GAUEH sy-vline
WA_VIAUFKST_IFLOS_STR-ANLBD sy-vline
WA_VIAUFKST_IFLOS_STR-ANLVD sy-vline
WA_VIAUFKST_IFLOS_STR-ANLBZ sy-vline
WA_VIAUFKST_IFLOS_STR-ANLVZ sy-vline
WA_VIAUFKST_IFLOS_STR-INSPK sy-vline
WA_VIAUFKST_IFLOS_STR-DATAN sy-vline
WA_VIAUFKST_IFLOS_STR-WARPL sy-vline
WA_VIAUFKST_IFLOS_STR-ABNUM sy-vline
WA_VIAUFKST_IFLOS_STR-WAPOS sy-vline
WA_VIAUFKST_IFLOS_STR-LAUFN sy-vline
WA_VIAUFKST_IFLOS_STR-OBKNR sy-vline
WA_VIAUFKST_IFLOS_STR-REVNR sy-vline
WA_VIAUFKST_IFLOS_STR-ADDAT sy-vline
WA_VIAUFKST_IFLOS_STR-ADUHR sy-vline
WA_VIAUFKST_IFLOS_STR-IPHAS sy-vline
WA_VIAUFKST_IFLOS_STR-ILART sy-vline
WA_VIAUFKST_IFLOS_STR-QMNUM sy-vline
WA_VIAUFKST_IFLOS_STR-HISDA sy-vline
WA_VIAUFKST_IFLOS_STR-AKKNZ sy-vline
WA_VIAUFKST_IFLOS_STR-PLKNZ sy-vline
WA_VIAUFKST_IFLOS_STR-SERIALNR sy-vline
WA_VIAUFKST_IFLOS_STR-SERMAT sy-vline
WA_VIAUFKST_IFLOS_STR-DEVICEID sy-vline
WA_VIAUFKST_IFLOS_STR-SCREENTY sy-vline
WA_VIAUFKST_IFLOS_STR-ADPSP sy-vline
WA_VIAUFKST_IFLOS_STR-RSUPG sy-vline
WA_VIAUFKST_IFLOS_STR-CHANGEDDATETIME sy-vline
WA_VIAUFKST_IFLOS_STR-MAINTORDPERSONRESPONSIBLE sy-vline
WA_VIAUFKST_IFLOS_STR-MAINTORDOVRLPROCPHASE sy-vline
WA_VIAUFKST_IFLOS_STR-MAINTORDOVRLPROCSUBPHASE sy-vline
WA_VIAUFKST_IFLOS_STR-DUMMY_AFIH_INCL_EEW_PS sy-vline
WA_VIAUFKST_IFLOS_STR-/ISDFPS/OBJNR sy-vline
WA_VIAUFKST_IFLOS_STR-/ISDFPS/MEQUI sy-vline
WA_VIAUFKST_IFLOS_STR-/ISDFPS/MHIO_ADDATE sy-vline
WA_VIAUFKST_IFLOS_STR-/ISDFPS/MHIO_ADTIME sy-vline
WA_VIAUFKST_IFLOS_STR-/ISDFPS/USERMODE sy-vline
WA_VIAUFKST_IFLOS_STR-UII sy-vline
WA_VIAUFKST_IFLOS_STR-DATAMODELVERSION sy-vline
WA_VIAUFKST_IFLOS_STR-SERVICE_DOC_TYPE sy-vline
WA_VIAUFKST_IFLOS_STR-SERVICE_DOC_ID sy-vline
WA_VIAUFKST_IFLOS_STR-SERVICE_DOC_ITEM_ID sy-vline
WA_VIAUFKST_IFLOS_STR-IS_BILLABLE sy-vline
WA_VIAUFKST_IFLOS_STR-FLDLOGSDELIVISHELDONSHORE sy-vline
WA_VIAUFKST_IFLOS_STR-MAINTORDPROCMTINTEGSCENARIO sy-vline
WA_VIAUFKST_IFLOS_STR-ORCOD sy-vline
WA_VIAUFKST_IFLOS_STR-PRMAN sy-vline
WA_VIAUFKST_IFLOS_STR-PRVAL sy-vline
WA_VIAUFKST_IFLOS_STR-TWTDE sy-vline
WA_VIAUFKST_IFLOS_STR-MSTCK sy-vline
WA_VIAUFKST_IFLOS_STR-LACD_DATE sy-vline
WA_VIAUFKST_IFLOS_STR-OLD_LACD_DATE sy-vline
WA_VIAUFKST_IFLOS_STR-AUART sy-vline
WA_VIAUFKST_IFLOS_STR-AUTYP sy-vline
WA_VIAUFKST_IFLOS_STR-REFNR sy-vline
WA_VIAUFKST_IFLOS_STR-ERNAM sy-vline
WA_VIAUFKST_IFLOS_STR-ERDAT sy-vline
WA_VIAUFKST_IFLOS_STR-AENAM sy-vline
WA_VIAUFKST_IFLOS_STR-AEDAT sy-vline
WA_VIAUFKST_IFLOS_STR-KTEXT sy-vline
WA_VIAUFKST_IFLOS_STR-LTEXT sy-vline
WA_VIAUFKST_IFLOS_STR-BUKRS sy-vline
WA_VIAUFKST_IFLOS_STR-WERKS sy-vline
WA_VIAUFKST_IFLOS_STR-GSBER sy-vline
WA_VIAUFKST_IFLOS_STR-KOKRS sy-vline
WA_VIAUFKST_IFLOS_STR-CCKEY sy-vline
WA_VIAUFKST_IFLOS_STR-KOSTV sy-vline
WA_VIAUFKST_IFLOS_STR-SOWRK sy-vline
WA_VIAUFKST_IFLOS_STR-ASTKZ sy-vline
WA_VIAUFKST_IFLOS_STR-WAERS sy-vline
WA_VIAUFKST_IFLOS_STR-ASTNR sy-vline
WA_VIAUFKST_IFLOS_STR-STDAT sy-vline
WA_VIAUFKST_IFLOS_STR-ESTNR sy-vline
WA_VIAUFKST_IFLOS_STR-PDAT1 sy-vline
WA_VIAUFKST_IFLOS_STR-PDAT2 sy-vline
WA_VIAUFKST_IFLOS_STR-PDAT3 sy-vline
WA_VIAUFKST_IFLOS_STR-IDAT1 sy-vline
WA_VIAUFKST_IFLOS_STR-IDAT2 sy-vline
WA_VIAUFKST_IFLOS_STR-IDAT3 sy-vline
WA_VIAUFKST_IFLOS_STR-OBJID sy-vline
WA_VIAUFKST_IFLOS_STR-VOGRP sy-vline
WA_VIAUFKST_IFLOS_STR-LOEKZ sy-vline
WA_VIAUFKST_IFLOS_STR-PLGKZ sy-vline
WA_VIAUFKST_IFLOS_STR-KVEWE sy-vline
WA_VIAUFKST_IFLOS_STR-KAPPL sy-vline
WA_VIAUFKST_IFLOS_STR-KALSM sy-vline
WA_VIAUFKST_IFLOS_STR-ZSCHL sy-vline
WA_VIAUFKST_IFLOS_STR-ABKRS sy-vline
WA_VIAUFKST_IFLOS_STR-KSTAR sy-vline
WA_VIAUFKST_IFLOS_STR-SAKNR sy-vline
WA_VIAUFKST_IFLOS_STR-SETNM sy-vline
WA_VIAUFKST_IFLOS_STR-CYCLE sy-vline
WA_VIAUFKST_IFLOS_STR-SDATE sy-vline
WA_VIAUFKST_IFLOS_STR-SEQNR sy-vline
WA_VIAUFKST_IFLOS_STR-USER2 sy-vline
WA_VIAUFKST_IFLOS_STR-USER4 sy-vline
WA_VIAUFKST_IFLOS_STR-OBJNR sy-vline
WA_VIAUFKST_IFLOS_STR-PRCTR sy-vline
WA_VIAUFKST_IFLOS_STR-PSPEL sy-vline
WA_VIAUFKST_IFLOS_STR-AWSLS sy-vline
WA_VIAUFKST_IFLOS_STR-ABGSL sy-vline
WA_VIAUFKST_IFLOS_STR-EB_POST sy-vline
WA_VIAUFKST_IFLOS_STR-KDAUF sy-vline
WA_VIAUFKST_IFLOS_STR-KDPOS sy-vline
WA_VIAUFKST_IFLOS_STR-RSORD sy-vline
WA_VIAUFKST_IFLOS_STR-BEMOT sy-vline
WA_VIAUFKST_IFLOS_STR-ADRNRA sy-vline
WA_VIAUFKST_IFLOS_STR-ERFZEIT sy-vline
WA_VIAUFKST_IFLOS_STR-AEZEIT sy-vline
WA_VIAUFKST_IFLOS_STR-CSTG_VRNT sy-vline
WA_VIAUFKST_IFLOS_STR-COSTESTNR sy-vline
WA_VIAUFKST_IFLOS_STR-VERAA_USER sy-vline
WA_VIAUFKST_IFLOS_STR-EEW_AUFK_PS_DUMMY sy-vline
WA_VIAUFKST_IFLOS_STR-VNAME sy-vline
WA_VIAUFKST_IFLOS_STR-RECID sy-vline
WA_VIAUFKST_IFLOS_STR-ETYPE sy-vline
WA_VIAUFKST_IFLOS_STR-OTYPE sy-vline
WA_VIAUFKST_IFLOS_STR-JV_JIBCL sy-vline
WA_VIAUFKST_IFLOS_STR-JV_JIBSA sy-vline
WA_VIAUFKST_IFLOS_STR-JV_OCO sy-vline
WA_VIAUFKST_IFLOS_STR-CPD_UPDAT sy-vline
WA_VIAUFKST_IFLOS_STR-/CUM/INDCU sy-vline
WA_VIAUFKST_IFLOS_STR-/CUM/CMNUM sy-vline
WA_VIAUFKST_IFLOS_STR-/CUM/AUEST sy-vline
WA_VIAUFKST_IFLOS_STR-/CUM/DESNUM sy-vline
WA_VIAUFKST_IFLOS_STR-AD01PROFNR sy-vline
WA_VIAUFKST_IFLOS_STR-VAPLZ sy-vline
WA_VIAUFKST_IFLOS_STR-WAWRK sy-vline
WA_VIAUFKST_IFLOS_STR-FERC_IND sy-vline
WA_VIAUFKST_IFLOS_STR-CLAIM_CONTROL sy-vline
WA_VIAUFKST_IFLOS_STR-UPDATE_NEEDED sy-vline
WA_VIAUFKST_IFLOS_STR-UPDATE_CONTROL sy-vline
WA_VIAUFKST_IFLOS_STR-STORT sy-vline
WA_VIAUFKST_IFLOS_STR-KOSTL sy-vline
WA_VIAUFKST_IFLOS_STR-TPLNR sy-vline
WA_VIAUFKST_IFLOS_STR-ABCKZ sy-vline
WA_VIAUFKST_IFLOS_STR-EQFNR sy-vline
WA_VIAUFKST_IFLOS_STR-SWERK sy-vline
WA_VIAUFKST_IFLOS_STR-MSGRP sy-vline
WA_VIAUFKST_IFLOS_STR-BEBER sy-vline
WA_VIAUFKST_IFLOS_STR-CR_OBJTY sy-vline
WA_VIAUFKST_IFLOS_STR-PPSID sy-vline
WA_VIAUFKST_IFLOS_STR-PROID sy-vline
WA_VIAUFKST_IFLOS_STR-ANLNR sy-vline
WA_VIAUFKST_IFLOS_STR-ANLUN sy-vline
WA_VIAUFKST_IFLOS_STR-DAUFN sy-vline
WA_VIAUFKST_IFLOS_STR-GLTRP sy-vline
WA_VIAUFKST_IFLOS_STR-GSTRP sy-vline
WA_VIAUFKST_IFLOS_STR-FTRMS sy-vline
WA_VIAUFKST_IFLOS_STR-GLTRS sy-vline
WA_VIAUFKST_IFLOS_STR-GSTRS sy-vline
WA_VIAUFKST_IFLOS_STR-GSTRI sy-vline
WA_VIAUFKST_IFLOS_STR-GETRI sy-vline
WA_VIAUFKST_IFLOS_STR-GLTRI sy-vline
WA_VIAUFKST_IFLOS_STR-FTRMI sy-vline
WA_VIAUFKST_IFLOS_STR-FTRMP sy-vline
WA_VIAUFKST_IFLOS_STR-RSNUM sy-vline
WA_VIAUFKST_IFLOS_STR-GASMG sy-vline
WA_VIAUFKST_IFLOS_STR-GAMNG sy-vline
WA_VIAUFKST_IFLOS_STR-GMEIN sy-vline
WA_VIAUFKST_IFLOS_STR-PLNBEZ sy-vline
WA_VIAUFKST_IFLOS_STR-PLNTY sy-vline
WA_VIAUFKST_IFLOS_STR-PLNNR sy-vline
WA_VIAUFKST_IFLOS_STR-PLNAW sy-vline
WA_VIAUFKST_IFLOS_STR-PLNAL sy-vline
WA_VIAUFKST_IFLOS_STR-PVERW sy-vline
WA_VIAUFKST_IFLOS_STR-PLAUF sy-vline
WA_VIAUFKST_IFLOS_STR-PLSVB sy-vline
WA_VIAUFKST_IFLOS_STR-PLNME sy-vline
WA_VIAUFKST_IFLOS_STR-PLSVN sy-vline
WA_VIAUFKST_IFLOS_STR-PDATV sy-vline
WA_VIAUFKST_IFLOS_STR-PAENR sy-vline
WA_VIAUFKST_IFLOS_STR-PLGRP sy-vline
WA_VIAUFKST_IFLOS_STR-LODIV sy-vline
WA_VIAUFKST_IFLOS_STR-STLTY sy-vline
WA_VIAUFKST_IFLOS_STR-STLBEZ sy-vline
WA_VIAUFKST_IFLOS_STR-STLST sy-vline
WA_VIAUFKST_IFLOS_STR-STLNR sy-vline
WA_VIAUFKST_IFLOS_STR-SDATV sy-vline
WA_VIAUFKST_IFLOS_STR-SBMNG sy-vline
WA_VIAUFKST_IFLOS_STR-SBMEH sy-vline
WA_VIAUFKST_IFLOS_STR-SAENR sy-vline
WA_VIAUFKST_IFLOS_STR-STLAL sy-vline
WA_VIAUFKST_IFLOS_STR-STLAN sy-vline
WA_VIAUFKST_IFLOS_STR-SLSVN sy-vline
WA_VIAUFKST_IFLOS_STR-SLSBS sy-vline
WA_VIAUFKST_IFLOS_STR-AUFLD sy-vline
WA_VIAUFKST_IFLOS_STR-DISPO sy-vline
WA_VIAUFKST_IFLOS_STR-AUFPL sy-vline
WA_VIAUFKST_IFLOS_STR-FEVOR sy-vline
WA_VIAUFKST_IFLOS_STR-FHORI sy-vline
WA_VIAUFKST_IFLOS_STR-TERKZ sy-vline
WA_VIAUFKST_IFLOS_STR-REDKZ sy-vline
WA_VIAUFKST_IFLOS_STR-APRIO sy-vline
WA_VIAUFKST_IFLOS_STR-AUFNT sy-vline
WA_VIAUFKST_IFLOS_STR-AUFPT sy-vline
WA_VIAUFKST_IFLOS_STR-APLZT sy-vline
WA_VIAUFKST_IFLOS_STR-PROFID sy-vline
WA_VIAUFKST_IFLOS_STR-VORGZ sy-vline
WA_VIAUFKST_IFLOS_STR-SICHZ sy-vline
WA_VIAUFKST_IFLOS_STR-FREIZ sy-vline
WA_VIAUFKST_IFLOS_STR-UPTER sy-vline
WA_VIAUFKST_IFLOS_STR-BEDID sy-vline
WA_VIAUFKST_IFLOS_STR-PRONR sy-vline
WA_VIAUFKST_IFLOS_STR-ZAEHL sy-vline
WA_VIAUFKST_IFLOS_STR-MZAEHL sy-vline
WA_VIAUFKST_IFLOS_STR-ZKRIZ sy-vline
WA_VIAUFKST_IFLOS_STR-PRUEFLOS sy-vline
WA_VIAUFKST_IFLOS_STR-KLVARP sy-vline
WA_VIAUFKST_IFLOS_STR-KLVARI sy-vline
WA_VIAUFKST_IFLOS_STR-RGEKZ sy-vline
WA_VIAUFKST_IFLOS_STR-PLART sy-vline
WA_VIAUFKST_IFLOS_STR-MAUFNR sy-vline
WA_VIAUFKST_IFLOS_STR-LEAD_AUFNR sy-vline
WA_VIAUFKST_IFLOS_STR-OWNER sy-vline
WA_VIAUFKST_IFLOS_STR-VKORG sy-vline
WA_VIAUFKST_IFLOS_STR-VTWEG sy-vline
WA_VIAUFKST_IFLOS_STR-SPART sy-vline
WA_VIAUFKST_IFLOS_STR-GLUZP sy-vline
WA_VIAUFKST_IFLOS_STR-GSUZP sy-vline
WA_VIAUFKST_IFLOS_STR-GLUZS sy-vline
WA_VIAUFKST_IFLOS_STR-GSUZS sy-vline
WA_VIAUFKST_IFLOS_STR-GEUZI sy-vline
WA_VIAUFKST_IFLOS_STR-GSUZI sy-vline
WA_VIAUFKST_IFLOS_STR-ADRNR_ILOA sy-vline
WA_VIAUFKST_IFLOS_STR-NO_DISP sy-vline
WA_VIAUFKST_IFLOS_STR-ALKEY sy-vline
WA_VIAUFKST_IFLOS_STR-VERSN sy-vline
WA_VIAUFKST_IFLOS_STR-TPLNR_INT sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.