ABAP Select data from SAP table EPODSERVICEINSTLN 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 EPODSERVICEINSTLN 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 EPODSERVICEINSTLN. 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 EPODSERVICEINSTLN 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_EPODSERVICEINSTLN TYPE STANDARD TABLE OF EPODSERVICEINSTLN,
      WA_EPODSERVICEINSTLN TYPE EPODSERVICEINSTLN,
      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: <EPODSERVICEINSTLN> TYPE EPODSERVICEINSTLN.

*Process all fields in table header/work area as string values
  PERFORM process_as_string_field_values CHANGING wa_EPODSERVICEINSTLN.

SELECT *
*restrict ABAP select to first 10 rows
 UP TO 10 ROWS      
  FROM EPODSERVICEINSTLN
  INTO TABLE IT_EPODSERVICEINSTLN.

*Select data and declare internal table using in-line method @DATA
*SELECT *
*  FROM EPODSERVICEINSTLN
*  INTO TABLE @DATA(IT_EPODSERVICEINSTLN2).
*--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_EPODSERVICEINSTLN INDEX 1 INTO DATA(WA_EPODSERVICEINSTLN2).


*Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL
LOOP AT IT_EPODSERVICEINSTLN ASSIGNING <EPODSERVICEINSTLN>.
*To update a field value using a field symbol simply change the value via the field symbol pointer
<EPODSERVICEINSTLN>-ANLAGE = 1.
<EPODSERVICEINSTLN>-SPARTE = 1.
<EPODSERVICEINSTLN>-SPEBENE = 1.
<EPODSERVICEINSTLN>-EINZDAT = 1.
<EPODSERVICEINSTLN>-AUSZDAT = 1.
ENDLOOP.

LOOP AT IT_EPODSERVICEINSTLN INTO WA_EPODSERVICEINSTLN.
*Write horizonal line to screen report.
  WRITE:/ sy-uline.

*Write selected data to screen/report before conversion.
  WRITE:/ sy-vline,   WA_EPODSERVICEINSTLN-KTOKL, sy-vline,
WA_EPODSERVICEINSTLN-EXT_UI, sy-vline,
WA_EPODSERVICEINSTLN-INT_UI, sy-vline,
WA_EPODSERVICEINSTLN-ADDR_DATA, sy-vline,
WA_EPODSERVICEINSTLN-REGPOLIT, sy-vline,
WA_EPODSERVICEINSTLN-TEMP_AREA, sy-vline.
ENDLOOP. *Add any further fields from structure WA_EPODSERVICEINSTLN 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_EPODSERVICEINSTLN 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_EPODSERVICEINSTLN INTO WA_EPODSERVICEINSTLN. *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 ANLAGE CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-ANLAGE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-ANLAGE.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field KONZVER CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-KONZVER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-KONZVER.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field VERTRAG CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-VERTRAG IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-VERTRAG.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field KOSTL CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-KOSTL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-KOSTL.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field AUFNR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-AUFNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-AUFNR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ABPSP, internal->external for field PS_PSP_PNR CALL FUNCTION 'CONVERSION_EXIT_ABPSP_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-PS_PSP_PNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-PS_PSP_PNR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field PRCTR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-PRCTR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-PRCTR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field SEGMENT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-SEGMENT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-SEGMENT.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field SALESPARTNER CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-SALESPARTNER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-SALESPARTNER.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field SALESDOCUMENT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-SALESDOCUMENT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-SALESDOCUMENT.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field CONTRACTCLASS CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-CONTRACTCLASS IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-CONTRACTCLASS.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field CPERS CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-CPERS IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-CPERS.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field ANLAGE CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-ANLAGE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-ANLAGE.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field VKONTO CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-VKONTO IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-VKONTO.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field TRANSVER CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-TRANSVER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-TRANSVER.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field ANLAGE CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-ANLAGE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-ANLAGE.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field KONZVER CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-KONZVER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-KONZVER.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field MAININST CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-MAININST IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-MAININST.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field HIGHLEVINST CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-HIGHLEVINST IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-HIGHLEVINST.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field VSTELLE CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-VSTELLE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-VSTELLE.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field NODISCONCT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-NODISCONCT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-NODISCONCT.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field DEREGSTAT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-DEREGSTAT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-DEREGSTAT.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ALPHA, internal->external for field INFOREL CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_EPODSERVICEINSTLN-INFOREL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_EPODSERVICEINSTLN-INFOREL.
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_EPODSERVICEINSTLN_STR,
ANLAGE TYPE STRING,
SPARTE TYPE STRING,
SPEBENE TYPE STRING,
EINZDAT TYPE STRING,
AUSZDAT TYPE STRING,
KTOKL TYPE STRING,
EXT_UI TYPE STRING,
INT_UI TYPE STRING,
ADDR_DATA TYPE STRING,
REGPOLIT TYPE STRING,
TEMP_AREA TYPE STRING,
PR_AREA_AI TYPE STRING,
CALOR_AREA TYPE STRING,
GAS_PRS_AR TYPE STRING,
PR_AREA_WA TYPE STRING,
HA_AREA_WA TYPE STRING,
FLAG_SUPPL TYPE STRING,
COUNC TYPE STRING,
NUMART TYPE STRING,
ABLEINH TYPE STRING,
KONZVER TYPE STRING,
BUKRS TYPE STRING,
GSBER TYPE STRING,
DISTRIBUTOR TYPE STRING,
OPAREA TYPE STRING,
GRID_ID TYPE STRING,
INT_UI TYPE STRING,
AMS TYPE STRING,
EVER TYPE STRING,
MANDT TYPE STRING,
VERTRAG TYPE STRING,
BUKRS TYPE STRING,
SPARTE TYPE STRING,
EIGENVERBR TYPE STRING,
KOFIZ TYPE STRING,
PORTION TYPE STRING,
ABSLANFO TYPE STRING,
ABSZYK TYPE STRING,
ABSMNANP TYPE STRING,
GEMFAKT TYPE STRING,
MANABR TYPE STRING,
ABRSPERR TYPE STRING,
ABRFREIG TYPE STRING,
BSTATUS TYPE STRING,
KOSTL TYPE STRING,
VBEZ TYPE STRING,
VBEGINN TYPE STRING,
EINZDAT_ALT TYPE STRING,
VENDE TYPE STRING,
KUENDDAT TYPE STRING,
KFRIST TYPE STRING,
KUENPER TYPE STRING,
VBISDAT TYPE STRING,
VERLAENG TYPE STRING,
VERPER TYPE STRING,
VABSCHLEVU TYPE STRING,
VABSCHLKND TYPE STRING,
VABSCHLKNDTI TYPE STRING,
PERSNR TYPE STRING,
VREFER TYPE STRING,
ERDAT TYPE STRING,
ERNAM TYPE STRING,
AEDAT TYPE STRING,
AENAM TYPE STRING,
BEGRU TYPE STRING,
LOEVM TYPE STRING,
TXJCD TYPE STRING,
MANOUTSORT TYPE STRING,
FAKTURIERT TYPE STRING,
AUFNR TYPE STRING,
PS_PSP_PNR TYPE STRING,
PRCTR TYPE STRING,
COPAKONT TYPE STRING,
AUSGRUP TYPE STRING,
OUTCOUNT TYPE STRING,
PYPLT TYPE STRING,
PYPLS TYPE STRING,
GSBER TYPE STRING,
SEGMENT TYPE STRING,
SERVICEID TYPE STRING,
SRVPRVREF TYPE STRING,
BILLMETHOD TYPE STRING,
STAGRUVER TYPE STRING,
PYPLA TYPE STRING,
BILLFINIT TYPE STRING,
BFA_DEB_STAT TYPE STRING,
BFA_CRED_STAT TYPE STRING,
SALESEMPLOYEE TYPE STRING,
SALESPARTNER TYPE STRING,
SALESDOCUMENT TYPE STRING,
PS_STARTDAT TYPE STRING,
SERVPROV_PAY TYPE STRING,
INVOICING_PARTY TYPE STRING,
COKEY TYPE STRING,
BUPLA TYPE STRING,
CONTRACTCLASS TYPE STRING,
CANCREASON TYPE STRING,
CANCREASON_NEW TYPE STRING,
EXTRAPOLWASTE TYPE STRING,
PPM_CONTRACT TYPE STRING,
OSB_GROUP TYPE STRING,
OUCONT TYPE STRING,
RULEGR TYPE STRING,
REGIOGROUP TYPE STRING,
CMGRP TYPE STRING,
STRAT TYPE STRING,
CPERS TYPE STRING,
ANLAGE TYPE STRING,
VKONTO TYPE STRING,
KZSONDEINZ TYPE STRING,
KZSONDAUSZ TYPE STRING,
AUTEIGEINZ TYPE STRING,
EINZDAT TYPE STRING,
AUSZDAT TYPE STRING,
ABSSTOPDAT TYPE STRING,
SCHLFAKT TYPE STRING,
MAHNV TYPE STRING,
MAHNVUMZ TYPE STRING,
MANSP TYPE STRING,
BEZUG TYPE STRING,
TRANSVER TYPE STRING,
SSWTCREASON TYPE STRING,
XVERA TYPE STRING,
COLOGRP_INST TYPE STRING,
V_EANL TYPE STRING,
MANDT TYPE STRING,
ANLAGE TYPE STRING,
BIS TYPE STRING,
AB TYPE STRING,
TARIFTYP TYPE STRING,
ANLSTAT TYPE STRING,
KONZBEFR TYPE STRING,
PAUSCHAL TYPE STRING,
BRANCHE TYPE STRING,
AKLASSE TYPE STRING,
ABLEINH TYPE STRING,
TEMP_AREA TYPE STRING,
KONZVER TYPE STRING,
BILLING_PARTY TYPE STRING,
INVOICING_PARTY TYPE STRING,
PROV_LAST_RES TYPE STRING,
MAININST TYPE STRING,
INSTROLE TYPE STRING,
INSTGRTYPE TYPE STRING,
ISTYPE TYPE STRING,
HIGHLEVINST TYPE STRING,
DUMMY_UTILSINSTH_INCL_EEW_PS TYPE STRING,
SCHEMANR TYPE STRING,
HOCHART TYPE STRING,
VPERGRUP TYPE STRING,
PRUEFGR TYPE STRING,
ABSSTEU TYPE STRING,
SPARTE TYPE STRING,
VSTELLE TYPE STRING,
ABLSPERR TYPE STRING,
BAPERTYP TYPE STRING,
ANSCHREI TYPE STRING,
SPEBENE TYPE STRING,
DRCKSTUF TYPE STRING,
ANLART TYPE STRING,
BEZUG TYPE STRING,
ABLESARTST TYPE STRING,
NODISCONCT TYPE STRING,
SERVICE TYPE STRING,
DEREGSTAT TYPE STRING,
INFOREL TYPE STRING,
ETIMEZONE TYPE STRING,
OUCONT TYPE STRING,
HOLICALID TYPE STRING,
DUMMY_UTILSINST_INCL_EEW_PS TYPE STRING,
ERDAT TYPE STRING,
ERNAM TYPE STRING,
AEDAT TYPE STRING,
AENAM TYPE STRING,
BEGRU TYPE STRING,
LOEVM TYPE STRING,
COLOGRP_INST TYPE STRING,
SERVICE_START TYPE STRING,
SERVICE TYPE STRING,
WMODE TYPE STRING,END OF T_EKKO_STR. DATA: WA_EPODSERVICEINSTLN_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_EPODSERVICEINSTLN_STR-ANLAGE sy-vline
WA_EPODSERVICEINSTLN_STR-SPARTE sy-vline
WA_EPODSERVICEINSTLN_STR-SPEBENE sy-vline
WA_EPODSERVICEINSTLN_STR-EINZDAT sy-vline
WA_EPODSERVICEINSTLN_STR-AUSZDAT sy-vline
WA_EPODSERVICEINSTLN_STR-KTOKL sy-vline
WA_EPODSERVICEINSTLN_STR-EXT_UI sy-vline
WA_EPODSERVICEINSTLN_STR-INT_UI sy-vline
WA_EPODSERVICEINSTLN_STR-ADDR_DATA sy-vline
WA_EPODSERVICEINSTLN_STR-REGPOLIT sy-vline
WA_EPODSERVICEINSTLN_STR-TEMP_AREA sy-vline
WA_EPODSERVICEINSTLN_STR-PR_AREA_AI sy-vline
WA_EPODSERVICEINSTLN_STR-CALOR_AREA sy-vline
WA_EPODSERVICEINSTLN_STR-GAS_PRS_AR sy-vline
WA_EPODSERVICEINSTLN_STR-PR_AREA_WA sy-vline
WA_EPODSERVICEINSTLN_STR-HA_AREA_WA sy-vline
WA_EPODSERVICEINSTLN_STR-FLAG_SUPPL sy-vline
WA_EPODSERVICEINSTLN_STR-COUNC sy-vline
WA_EPODSERVICEINSTLN_STR-NUMART sy-vline
WA_EPODSERVICEINSTLN_STR-ABLEINH sy-vline
WA_EPODSERVICEINSTLN_STR-KONZVER sy-vline
WA_EPODSERVICEINSTLN_STR-BUKRS sy-vline
WA_EPODSERVICEINSTLN_STR-GSBER sy-vline
WA_EPODSERVICEINSTLN_STR-DISTRIBUTOR sy-vline
WA_EPODSERVICEINSTLN_STR-OPAREA sy-vline
WA_EPODSERVICEINSTLN_STR-GRID_ID sy-vline
WA_EPODSERVICEINSTLN_STR-INT_UI sy-vline
WA_EPODSERVICEINSTLN_STR-AMS sy-vline
WA_EPODSERVICEINSTLN_STR-EVER sy-vline
WA_EPODSERVICEINSTLN_STR-MANDT sy-vline
WA_EPODSERVICEINSTLN_STR-VERTRAG sy-vline
WA_EPODSERVICEINSTLN_STR-BUKRS sy-vline
WA_EPODSERVICEINSTLN_STR-SPARTE sy-vline
WA_EPODSERVICEINSTLN_STR-EIGENVERBR sy-vline
WA_EPODSERVICEINSTLN_STR-KOFIZ sy-vline
WA_EPODSERVICEINSTLN_STR-PORTION sy-vline
WA_EPODSERVICEINSTLN_STR-ABSLANFO sy-vline
WA_EPODSERVICEINSTLN_STR-ABSZYK sy-vline
WA_EPODSERVICEINSTLN_STR-ABSMNANP sy-vline
WA_EPODSERVICEINSTLN_STR-GEMFAKT sy-vline
WA_EPODSERVICEINSTLN_STR-MANABR sy-vline
WA_EPODSERVICEINSTLN_STR-ABRSPERR sy-vline
WA_EPODSERVICEINSTLN_STR-ABRFREIG sy-vline
WA_EPODSERVICEINSTLN_STR-BSTATUS sy-vline
WA_EPODSERVICEINSTLN_STR-KOSTL sy-vline
WA_EPODSERVICEINSTLN_STR-VBEZ sy-vline
WA_EPODSERVICEINSTLN_STR-VBEGINN sy-vline
WA_EPODSERVICEINSTLN_STR-EINZDAT_ALT sy-vline
WA_EPODSERVICEINSTLN_STR-VENDE sy-vline
WA_EPODSERVICEINSTLN_STR-KUENDDAT sy-vline
WA_EPODSERVICEINSTLN_STR-KFRIST sy-vline
WA_EPODSERVICEINSTLN_STR-KUENPER sy-vline
WA_EPODSERVICEINSTLN_STR-VBISDAT sy-vline
WA_EPODSERVICEINSTLN_STR-VERLAENG sy-vline
WA_EPODSERVICEINSTLN_STR-VERPER sy-vline
WA_EPODSERVICEINSTLN_STR-VABSCHLEVU sy-vline
WA_EPODSERVICEINSTLN_STR-VABSCHLKND sy-vline
WA_EPODSERVICEINSTLN_STR-VABSCHLKNDTI sy-vline
WA_EPODSERVICEINSTLN_STR-PERSNR sy-vline
WA_EPODSERVICEINSTLN_STR-VREFER sy-vline
WA_EPODSERVICEINSTLN_STR-ERDAT sy-vline
WA_EPODSERVICEINSTLN_STR-ERNAM sy-vline
WA_EPODSERVICEINSTLN_STR-AEDAT sy-vline
WA_EPODSERVICEINSTLN_STR-AENAM sy-vline
WA_EPODSERVICEINSTLN_STR-BEGRU sy-vline
WA_EPODSERVICEINSTLN_STR-LOEVM sy-vline
WA_EPODSERVICEINSTLN_STR-TXJCD sy-vline
WA_EPODSERVICEINSTLN_STR-MANOUTSORT sy-vline
WA_EPODSERVICEINSTLN_STR-FAKTURIERT sy-vline
WA_EPODSERVICEINSTLN_STR-AUFNR sy-vline
WA_EPODSERVICEINSTLN_STR-PS_PSP_PNR sy-vline
WA_EPODSERVICEINSTLN_STR-PRCTR sy-vline
WA_EPODSERVICEINSTLN_STR-COPAKONT sy-vline
WA_EPODSERVICEINSTLN_STR-AUSGRUP sy-vline
WA_EPODSERVICEINSTLN_STR-OUTCOUNT sy-vline
WA_EPODSERVICEINSTLN_STR-PYPLT sy-vline
WA_EPODSERVICEINSTLN_STR-PYPLS sy-vline
WA_EPODSERVICEINSTLN_STR-GSBER sy-vline
WA_EPODSERVICEINSTLN_STR-SEGMENT sy-vline
WA_EPODSERVICEINSTLN_STR-SERVICEID sy-vline
WA_EPODSERVICEINSTLN_STR-SRVPRVREF sy-vline
WA_EPODSERVICEINSTLN_STR-BILLMETHOD sy-vline
WA_EPODSERVICEINSTLN_STR-STAGRUVER sy-vline
WA_EPODSERVICEINSTLN_STR-PYPLA sy-vline
WA_EPODSERVICEINSTLN_STR-BILLFINIT sy-vline
WA_EPODSERVICEINSTLN_STR-BFA_DEB_STAT sy-vline
WA_EPODSERVICEINSTLN_STR-BFA_CRED_STAT sy-vline
WA_EPODSERVICEINSTLN_STR-SALESEMPLOYEE sy-vline
WA_EPODSERVICEINSTLN_STR-SALESPARTNER sy-vline
WA_EPODSERVICEINSTLN_STR-SALESDOCUMENT sy-vline
WA_EPODSERVICEINSTLN_STR-PS_STARTDAT sy-vline
WA_EPODSERVICEINSTLN_STR-SERVPROV_PAY sy-vline
WA_EPODSERVICEINSTLN_STR-INVOICING_PARTY sy-vline
WA_EPODSERVICEINSTLN_STR-COKEY sy-vline
WA_EPODSERVICEINSTLN_STR-BUPLA sy-vline
WA_EPODSERVICEINSTLN_STR-CONTRACTCLASS sy-vline
WA_EPODSERVICEINSTLN_STR-CANCREASON sy-vline
WA_EPODSERVICEINSTLN_STR-CANCREASON_NEW sy-vline
WA_EPODSERVICEINSTLN_STR-EXTRAPOLWASTE sy-vline
WA_EPODSERVICEINSTLN_STR-PPM_CONTRACT sy-vline
WA_EPODSERVICEINSTLN_STR-OSB_GROUP sy-vline
WA_EPODSERVICEINSTLN_STR-OUCONT sy-vline
WA_EPODSERVICEINSTLN_STR-RULEGR sy-vline
WA_EPODSERVICEINSTLN_STR-REGIOGROUP sy-vline
WA_EPODSERVICEINSTLN_STR-CMGRP sy-vline
WA_EPODSERVICEINSTLN_STR-STRAT sy-vline
WA_EPODSERVICEINSTLN_STR-CPERS sy-vline
WA_EPODSERVICEINSTLN_STR-ANLAGE sy-vline
WA_EPODSERVICEINSTLN_STR-VKONTO sy-vline
WA_EPODSERVICEINSTLN_STR-KZSONDEINZ sy-vline
WA_EPODSERVICEINSTLN_STR-KZSONDAUSZ sy-vline
WA_EPODSERVICEINSTLN_STR-AUTEIGEINZ sy-vline
WA_EPODSERVICEINSTLN_STR-EINZDAT sy-vline
WA_EPODSERVICEINSTLN_STR-AUSZDAT sy-vline
WA_EPODSERVICEINSTLN_STR-ABSSTOPDAT sy-vline
WA_EPODSERVICEINSTLN_STR-SCHLFAKT sy-vline
WA_EPODSERVICEINSTLN_STR-MAHNV sy-vline
WA_EPODSERVICEINSTLN_STR-MAHNVUMZ sy-vline
WA_EPODSERVICEINSTLN_STR-MANSP sy-vline
WA_EPODSERVICEINSTLN_STR-BEZUG sy-vline
WA_EPODSERVICEINSTLN_STR-TRANSVER sy-vline
WA_EPODSERVICEINSTLN_STR-SSWTCREASON sy-vline
WA_EPODSERVICEINSTLN_STR-XVERA sy-vline
WA_EPODSERVICEINSTLN_STR-COLOGRP_INST sy-vline
WA_EPODSERVICEINSTLN_STR-V_EANL sy-vline
WA_EPODSERVICEINSTLN_STR-MANDT sy-vline
WA_EPODSERVICEINSTLN_STR-ANLAGE sy-vline
WA_EPODSERVICEINSTLN_STR-BIS sy-vline
WA_EPODSERVICEINSTLN_STR-AB sy-vline
WA_EPODSERVICEINSTLN_STR-TARIFTYP sy-vline
WA_EPODSERVICEINSTLN_STR-ANLSTAT sy-vline
WA_EPODSERVICEINSTLN_STR-KONZBEFR sy-vline
WA_EPODSERVICEINSTLN_STR-PAUSCHAL sy-vline
WA_EPODSERVICEINSTLN_STR-BRANCHE sy-vline
WA_EPODSERVICEINSTLN_STR-AKLASSE sy-vline
WA_EPODSERVICEINSTLN_STR-ABLEINH sy-vline
WA_EPODSERVICEINSTLN_STR-TEMP_AREA sy-vline
WA_EPODSERVICEINSTLN_STR-KONZVER sy-vline
WA_EPODSERVICEINSTLN_STR-BILLING_PARTY sy-vline
WA_EPODSERVICEINSTLN_STR-INVOICING_PARTY sy-vline
WA_EPODSERVICEINSTLN_STR-PROV_LAST_RES sy-vline
WA_EPODSERVICEINSTLN_STR-MAININST sy-vline
WA_EPODSERVICEINSTLN_STR-INSTROLE sy-vline
WA_EPODSERVICEINSTLN_STR-INSTGRTYPE sy-vline
WA_EPODSERVICEINSTLN_STR-ISTYPE sy-vline
WA_EPODSERVICEINSTLN_STR-HIGHLEVINST sy-vline
WA_EPODSERVICEINSTLN_STR-DUMMY_UTILSINSTH_INCL_EEW_PS sy-vline
WA_EPODSERVICEINSTLN_STR-SCHEMANR sy-vline
WA_EPODSERVICEINSTLN_STR-HOCHART sy-vline
WA_EPODSERVICEINSTLN_STR-VPERGRUP sy-vline
WA_EPODSERVICEINSTLN_STR-PRUEFGR sy-vline
WA_EPODSERVICEINSTLN_STR-ABSSTEU sy-vline
WA_EPODSERVICEINSTLN_STR-SPARTE sy-vline
WA_EPODSERVICEINSTLN_STR-VSTELLE sy-vline
WA_EPODSERVICEINSTLN_STR-ABLSPERR sy-vline
WA_EPODSERVICEINSTLN_STR-BAPERTYP sy-vline
WA_EPODSERVICEINSTLN_STR-ANSCHREI sy-vline
WA_EPODSERVICEINSTLN_STR-SPEBENE sy-vline
WA_EPODSERVICEINSTLN_STR-DRCKSTUF sy-vline
WA_EPODSERVICEINSTLN_STR-ANLART sy-vline
WA_EPODSERVICEINSTLN_STR-BEZUG sy-vline
WA_EPODSERVICEINSTLN_STR-ABLESARTST sy-vline
WA_EPODSERVICEINSTLN_STR-NODISCONCT sy-vline
WA_EPODSERVICEINSTLN_STR-SERVICE sy-vline
WA_EPODSERVICEINSTLN_STR-DEREGSTAT sy-vline
WA_EPODSERVICEINSTLN_STR-INFOREL sy-vline
WA_EPODSERVICEINSTLN_STR-ETIMEZONE sy-vline
WA_EPODSERVICEINSTLN_STR-OUCONT sy-vline
WA_EPODSERVICEINSTLN_STR-HOLICALID sy-vline
WA_EPODSERVICEINSTLN_STR-DUMMY_UTILSINST_INCL_EEW_PS sy-vline
WA_EPODSERVICEINSTLN_STR-ERDAT sy-vline
WA_EPODSERVICEINSTLN_STR-ERNAM sy-vline
WA_EPODSERVICEINSTLN_STR-AEDAT sy-vline
WA_EPODSERVICEINSTLN_STR-AENAM sy-vline
WA_EPODSERVICEINSTLN_STR-BEGRU sy-vline
WA_EPODSERVICEINSTLN_STR-LOEVM sy-vline
WA_EPODSERVICEINSTLN_STR-COLOGRP_INST sy-vline
WA_EPODSERVICEINSTLN_STR-SERVICE_START sy-vline
WA_EPODSERVICEINSTLN_STR-SERVICE sy-vline
WA_EPODSERVICEINSTLN_STR-WMODE sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.