ABAP Select data from SAP table /ISDFPS/ME_NO_HEADER 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 /ISDFPS/ME_NO_HEADER 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 /ISDFPS/ME_NO_HEADER. 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 /ISDFPS/ME_NO_HEADER 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_/ISDFPS/ME_NO_HEADER TYPE STANDARD TABLE OF /ISDFPS/ME_NO_HEADER, WA_/ISDFPS/ME_NO_HEADER TYPE /ISDFPS/ME_NO_HEADER, 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: </ISDFPS/ME_NO_HEADER> TYPE /ISDFPS/ME_NO_HEADER. *Process all fields in table header/work area as string values PERFORM process_as_string_field_values CHANGING wa_/ISDFPS/ME_NO_HEADER. SELECT * *restrict ABAP select to first 10 rows UP TO 10 ROWS FROM /ISDFPS/ME_NO_HEADER INTO TABLE IT_/ISDFPS/ME_NO_HEADER. *Select data and declare internal table using in-line method @DATA *SELECT * * FROM /ISDFPS/ME_NO_HEADER * INTO TABLE @DATA(IT_/ISDFPS/ME_NO_HEADER2). *--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_/ISDFPS/ME_NO_HEADER INDEX 1 INTO DATA(WA_/ISDFPS/ME_NO_HEADER2). *Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL LOOP AT IT_/ISDFPS/ME_NO_HEADER ASSIGNING </ISDFPS/ME_NO_HEADER>.*To update a field value using a field symbol simply change the value via the field symbol pointer
</ISDFPS/ME_NO_HEADER>-NOTIF_NO = 1.
</ISDFPS/ME_NO_HEADER>-PLANPLANT = 1.
</ISDFPS/ME_NO_HEADER>-LOC_ACC = 1.
</ISDFPS/ME_NO_HEADER>-EQUIPMENT = 1.
</ISDFPS/ME_NO_HEADER>-EQUIPMENT_DESC = 1.
ENDLOOP. LOOP AT IT_/ISDFPS/ME_NO_HEADER INTO WA_/ISDFPS/ME_NO_HEADER. *Write horizonal line to screen report. WRITE:/ sy-uline. *Write selected data to screen/report before conversion. WRITE:/ sy-vline, WA_/ISDFPS/ME_NO_HEADER-EQUIPMENT_CREATE, sy-vline,
WA_/ISDFPS/ME_NO_HEADER-ASSEMBLY, sy-vline,
WA_/ISDFPS/ME_NO_HEADER-ASSEMBLY_DESC, sy-vline,
WA_/ISDFPS/ME_NO_HEADER-BREAKDOWN, sy-vline,
WA_/ISDFPS/ME_NO_HEADER-STRMLFNDATE, sy-vline,
WA_/ISDFPS/ME_NO_HEADER-ENDMLFNDATE, sy-vline.
ENDLOOP. *Add any further fields from structure WA_/ISDFPS/ME_NO_HEADER 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_/ISDFPS/ME_NO_HEADER 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_/ISDFPS/ME_NO_HEADER INTO WA_/ISDFPS/ME_NO_HEADER. *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 NOTIF_NO CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-NOTIF_NO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-NOTIF_NO.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field EQUIPMENT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-EQUIPMENT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-EQUIPMENT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field EQUIPMENT_CREATE CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-EQUIPMENT_CREATE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-EQUIPMENT_CREATE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field ASSEMBLY CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-ASSEMBLY IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-ASSEMBLY.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field UNIT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-UNIT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-UNIT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field MNTPLAN CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-MNTPLAN IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-MNTPLAN.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field MAINTITEM CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-MAINTITEM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-MAINTITEM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ORDERID CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-ORDERID IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-ORDERID.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field MATERIAL CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-MATERIAL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-MATERIAL.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field CUST_NO CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-CUST_NO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-CUST_NO.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field SALES_ORD CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-SALES_ORD IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-SALES_ORD.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ADDR_NUMBER CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-ADDR_NUMBER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-ADDR_NUMBER.
WRITE:/ 'New Value:', ld_input.
*Conversion exit GERNR, internal->external for field SERIALNO CALL FUNCTION 'CONVERSION_EXIT_GERNR_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-SERIALNO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-SERIALNO.
WRITE:/ 'New Value:', ld_input.
*Conversion exit TPLNR, internal->external for field FUNCT_LOC CALL FUNCTION 'CONVERSION_EXIT_TPLNR_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-FUNCT_LOC IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-FUNCT_LOC.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field COSTCENTER CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-COSTCENTER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-COSTCENTER.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ABPSN, internal->external for field WBS_ELEMENT CALL FUNCTION 'CONVERSION_EXIT_ABPSN_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-WBS_ELEMENT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-WBS_ELEMENT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ASSET_NO CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-ASSET_NO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-ASSET_NO.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field SUB_NUMBER CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-SUB_NUMBER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-SUB_NUMBER.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field STDGORD CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-STDGORD IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-STDGORD.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field STLMTORDER CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-STLMTORDER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-STLMTORDER.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ADDR_NO_LOC_ACC CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-ADDR_NO_LOC_ACC IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-ADDR_NO_LOC_ACC.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field DOC_NUMBER CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-DOC_NUMBER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-DOC_NUMBER.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ISDFPS_MEQUI CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-ISDFPS_MEQUI IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-ISDFPS_MEQUI.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field LOGSYSTEM CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-LOGSYSTEM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-LOGSYSTEM.
WRITE:/ 'New Value:', ld_input.
*Conversion exit TPLNR, internal->external for field BTPLN CALL FUNCTION 'CONVERSION_EXIT_TPLNR_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-BTPLN IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-BTPLN.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field BEQUI CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-BEQUI IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-BEQUI.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field PLNNR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-PLNNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-PLNNR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field PLNAL CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ISDFPS/ME_NO_HEADER-PLNAL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ISDFPS/ME_NO_HEADER-PLNAL.
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_/ISDFPS/ME_NO_HEADER_STR,
NOTIF_NO TYPE STRING,
PLANPLANT TYPE STRING,
LOC_ACC TYPE STRING,
EQUIPMENT TYPE STRING,
EQUIPMENT_DESC TYPE STRING,
EQUIPMENT_CREATE TYPE STRING,
ASSEMBLY TYPE STRING,
ASSEMBLY_DESC TYPE STRING,
BREAKDOWN TYPE STRING,
STRMLFNDATE TYPE STRING,
ENDMLFNDATE TYPE STRING,
STRMLFNTIME TYPE STRING,
ENDMLFNTIME TYPE STRING,
STRMLFNDATE_TZ TYPE STRING,
STRMLFNDATE_UTC TYPE STRING,
ENDMLFNDATE_TZ TYPE STRING,
ENDMLFNDATE_UTC TYPE STRING,
DOWNTIME TYPE STRING,
UNIT TYPE STRING,
ISOCODE_UNIT TYPE STRING,
PLANGROUP TYPE STRING,
MNTPLAN TYPE STRING,
MNTCALL_NO TYPE STRING,
MAINTITEM TYPE STRING,
NOTIF_TYPE TYPE STRING,
SHORT_TEXT TYPE STRING,
PRIOTYPE TYPE STRING,
PRIORITY TYPE STRING,
NOTIFTIME TYPE STRING,
NOTIF_DATE TYPE STRING,
NOTIF_DATE_TZ TYPE STRING,
NOTIF_DATE_UTC TYPE STRING,
REPORTEDBY TYPE STRING,
DESSTDATE TYPE STRING,
DESSTTIME TYPE STRING,
DESSTDATE_TZ TYPE STRING,
DESSTDATE_UTC TYPE STRING,
DESENDDATE TYPE STRING,
DESENDTM TYPE STRING,
DESENDDATE_TZ TYPE STRING,
DESENDDATE_UTC TYPE STRING,
ORDERID TYPE STRING,
MATERIAL TYPE STRING,
MATL_DESC TYPE STRING,
CUST_NO TYPE STRING,
OBJECT_NO TYPE STRING,
COMPDATE TYPE STRING,
COMPTIME TYPE STRING,
COMPDATE_TZ TYPE STRING,
COMPDATE_UTC TYPE STRING,
CATPROFILE TYPE STRING,
LONG_TEXT TYPE STRING,
PRILANG TYPE STRING,
REFDATE TYPE STRING,
REFTIME TYPE STRING,
REFDATE_TZ TYPE STRING,
REFDATE_UTC TYPE STRING,
SALES_ORD TYPE STRING,
PURCH_NO_C TYPE STRING,
PURCH_DATE TYPE STRING,
DIVISION TYPE STRING,
SALES_ORG TYPE STRING,
DISTR_CHAN TYPE STRING,
ADDR_NUMBER TYPE STRING,
CAT_TYPE TYPE STRING,
CODE_GROUP TYPE STRING,
CODING TYPE STRING,
PM_WKCTR TYPE STRING,
SERIALNO TYPE STRING,
UII TYPE STRING,
DELETE_FLAG TYPE STRING,
DEVICEDATA TYPE STRING,
SALES_OFFICE TYPE STRING,
SALES_GRP TYPE STRING,
NOTIFTMEZ TYPE STRING,
FUNCT_LOC TYPE STRING,
FUNCLOC_DISP TYPE STRING,
FUNCLOC_DESC TYPE STRING,
FUNCLOC_CREATE TYPE STRING,
ABCINDIC TYPE STRING,
SORTFIELD TYPE STRING,
MAINTPLANT TYPE STRING,
MAINTLOC TYPE STRING,
MAINTROOM TYPE STRING,
PLSECTN TYPE STRING,
PP_WKCTR TYPE STRING,
BUS_AREA TYPE STRING,
CO_AREA TYPE STRING,
COSTCENTER TYPE STRING,
WBS_ELEMENT TYPE STRING,
ASSET_NO TYPE STRING,
SUB_NUMBER TYPE STRING,
STDGORD TYPE STRING,
STLMTORDER TYPE STRING,
COMP_CODE TYPE STRING,
SALES_ORG_LOC_ACC TYPE STRING,
DIVISION_LOC_ACC TYPE STRING,
DIST_CHAN_LOC_ACC TYPE STRING,
ADDR_NO_LOC_ACC TYPE STRING,
DOC_NUMBER TYPE STRING,
ITM_NUMBER TYPE STRING,
SCENARIO TYPE STRING,
REFOBJECTTYPE TYPE STRING,
REFOBJECTKEY TYPE STRING,
REFRELTYPE TYPE STRING,
XA_STAT_PROF TYPE STRING,
MN_WK_CTR TYPE STRING,
PLANT TYPE STRING,
STATCHANGE TYPE STRING,
STATDATE TYPE STRING,
STATTIME TYPE STRING,
STATDATE_TZ TYPE STRING,
STATDATE_UTC TYPE STRING,
REVNR TYPE STRING,
NOTIF_GUID TYPE STRING,
ORDER_GUID TYPE STRING,
ISDFPS_OBJECT_NO TYPE STRING,
ISDFPS_MEQUI TYPE STRING,
LOGSYSTEM TYPE STRING,
BTPLN TYPE STRING,
BEQUI TYPE STRING,
PLNTY TYPE STRING,
PLNNR TYPE STRING,
PLNAL TYPE STRING,
REVISION TYPE STRING,
ENTER_BY TYPE STRING,
ENTER_DATE_UTC TYPE STRING,
ENTER_DATE_TZ TYPE STRING,
CHANGED_BY TYPE STRING,
CHANGE_DATE_UTC TYPE STRING,
CHANGE_DATE_TZ TYPE STRING,
DUMMY1 TYPE STRING,
DUMMY2 TYPE STRING,
DUMMY3 TYPE STRING,
DUMMY4 TYPE STRING,END OF T_EKKO_STR. DATA: WA_/ISDFPS/ME_NO_HEADER_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_/ISDFPS/ME_NO_HEADER_STR-NOTIF_NO sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-PLANPLANT sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-LOC_ACC sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-EQUIPMENT sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-EQUIPMENT_DESC sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-EQUIPMENT_CREATE sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-ASSEMBLY sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-ASSEMBLY_DESC sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-BREAKDOWN sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-STRMLFNDATE sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-ENDMLFNDATE sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-STRMLFNTIME sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-ENDMLFNTIME sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-STRMLFNDATE_TZ sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-STRMLFNDATE_UTC sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-ENDMLFNDATE_TZ sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-ENDMLFNDATE_UTC sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-DOWNTIME sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-UNIT sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-ISOCODE_UNIT sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-PLANGROUP sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-MNTPLAN sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-MNTCALL_NO sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-MAINTITEM sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-NOTIF_TYPE sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-SHORT_TEXT sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-PRIOTYPE sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-PRIORITY sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-NOTIFTIME sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-NOTIF_DATE sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-NOTIF_DATE_TZ sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-NOTIF_DATE_UTC sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-REPORTEDBY sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-DESSTDATE sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-DESSTTIME sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-DESSTDATE_TZ sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-DESSTDATE_UTC sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-DESENDDATE sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-DESENDTM sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-DESENDDATE_TZ sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-DESENDDATE_UTC sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-ORDERID sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-MATERIAL sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-MATL_DESC sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-CUST_NO sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-OBJECT_NO sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-COMPDATE sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-COMPTIME sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-COMPDATE_TZ sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-COMPDATE_UTC sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-CATPROFILE sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-LONG_TEXT sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-PRILANG sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-REFDATE sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-REFTIME sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-REFDATE_TZ sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-REFDATE_UTC sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-SALES_ORD sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-PURCH_NO_C sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-PURCH_DATE sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-DIVISION sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-SALES_ORG sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-DISTR_CHAN sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-ADDR_NUMBER sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-CAT_TYPE sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-CODE_GROUP sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-CODING sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-PM_WKCTR sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-SERIALNO sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-UII sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-DELETE_FLAG sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-DEVICEDATA sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-SALES_OFFICE sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-SALES_GRP sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-NOTIFTMEZ sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-FUNCT_LOC sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-FUNCLOC_DISP sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-FUNCLOC_DESC sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-FUNCLOC_CREATE sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-ABCINDIC sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-SORTFIELD sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-MAINTPLANT sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-MAINTLOC sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-MAINTROOM sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-PLSECTN sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-PP_WKCTR sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-BUS_AREA sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-CO_AREA sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-COSTCENTER sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-WBS_ELEMENT sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-ASSET_NO sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-SUB_NUMBER sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-STDGORD sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-STLMTORDER sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-COMP_CODE sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-SALES_ORG_LOC_ACC sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-DIVISION_LOC_ACC sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-DIST_CHAN_LOC_ACC sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-ADDR_NO_LOC_ACC sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-DOC_NUMBER sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-ITM_NUMBER sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-SCENARIO sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-REFOBJECTTYPE sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-REFOBJECTKEY sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-REFRELTYPE sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-XA_STAT_PROF sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-MN_WK_CTR sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-PLANT sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-STATCHANGE sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-STATDATE sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-STATTIME sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-STATDATE_TZ sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-STATDATE_UTC sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-REVNR sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-NOTIF_GUID sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-ORDER_GUID sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-ISDFPS_OBJECT_NO sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-ISDFPS_MEQUI sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-LOGSYSTEM sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-BTPLN sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-BEQUI sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-PLNTY sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-PLNNR sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-PLNAL sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-REVISION sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-ENTER_BY sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-ENTER_DATE_UTC sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-ENTER_DATE_TZ sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-CHANGED_BY sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-CHANGE_DATE_UTC sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-CHANGE_DATE_TZ sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-DUMMY1 sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-DUMMY2 sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-DUMMY3 sy-vline
WA_/ISDFPS/ME_NO_HEADER_STR-DUMMY4 sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.