ABAP Select data from SAP table OUTLINE_AGRMNT_COMPONENT 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 OUTLINE_AGRMNT_COMPONENT 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 OUTLINE_AGRMNT_COMPONENT. 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 OUTLINE_AGRMNT_COMPONENT 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_OUTLINE_AGRMNT_COMPONENT TYPE STANDARD TABLE OF OUTLINE_AGRMNT_COMPONENT,
      WA_OUTLINE_AGRMNT_COMPONENT TYPE OUTLINE_AGRMNT_COMPONENT,
      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: <OUTLINE_AGRMNT_COMPONENT> TYPE OUTLINE_AGRMNT_COMPONENT.

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

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

*Select data and declare internal table using in-line method @DATA
*SELECT *
*  FROM OUTLINE_AGRMNT_COMPONENT
*  INTO TABLE @DATA(IT_OUTLINE_AGRMNT_COMPONENT2).
*--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_OUTLINE_AGRMNT_COMPONENT INDEX 1 INTO DATA(WA_OUTLINE_AGRMNT_COMPONENT2).


*Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL
LOOP AT IT_OUTLINE_AGRMNT_COMPONENT ASSIGNING <OUTLINE_AGRMNT_COMPONENT>.
*To update a field value using a field symbol simply change the value via the field symbol pointer
<OUTLINE_AGRMNT_COMPONENT>-ID = 1.
<OUTLINE_AGRMNT_COMPONENT>-DATA = 1.
<OUTLINE_AGRMNT_COMPONENT>-EBELP = 1.
<OUTLINE_AGRMNT_COMPONENT>-ETENR = 1.
<OUTLINE_AGRMNT_COMPONENT>-MDPM = 1.
ENDLOOP.

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

*Write selected data to screen/report before conversion.
  WRITE:/ sy-vline,   WA_OUTLINE_AGRMNT_COMPONENT-AUFST, sy-vline,
WA_OUTLINE_AGRMNT_COMPONENT-AUFWG, sy-vline,
WA_OUTLINE_AGRMNT_COMPONENT-PMSOR, sy-vline,
WA_OUTLINE_AGRMNT_COMPONENT-XPOSN, sy-vline,
WA_OUTLINE_AGRMNT_COMPONENT-PMSO1, sy-vline,
WA_OUTLINE_AGRMNT_COMPONENT-EPOSN, sy-vline.
ENDLOOP. *Add any further fields from structure WA_OUTLINE_AGRMNT_COMPONENT 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_OUTLINE_AGRMNT_COMPONENT 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_OUTLINE_AGRMNT_COMPONENT INTO WA_OUTLINE_AGRMNT_COMPONENT. *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 NUMCV, internal->external for field XPOSN CALL FUNCTION 'CONVERSION_EXIT_NUMCV_OUTPUT' EXPORTING input = WA_OUTLINE_AGRMNT_COMPONENT-XPOSN IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_OUTLINE_AGRMNT_COMPONENT-XPOSN.
WRITE:/ 'New Value:', ld_input.

*Conversion exit NUMCV, internal->external for field EPOSN CALL FUNCTION 'CONVERSION_EXIT_NUMCV_OUTPUT' EXPORTING input = WA_OUTLINE_AGRMNT_COMPONENT-EPOSN IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_OUTLINE_AGRMNT_COMPONENT-EPOSN.
WRITE:/ 'New Value:', ld_input.

*Conversion exit MATN1, internal->external for field MATNR CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_OUTLINE_AGRMNT_COMPONENT-MATNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_OUTLINE_AGRMNT_COMPONENT-MATNR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit NUMCV, internal->external for field POSNR CALL FUNCTION 'CONVERSION_EXIT_NUMCV_OUTPUT' EXPORTING input = WA_OUTLINE_AGRMNT_COMPONENT-POSNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_OUTLINE_AGRMNT_COMPONENT-POSNR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CUNIT, internal->external for field LAGME CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_OUTLINE_AGRMNT_COMPONENT-LAGME IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_OUTLINE_AGRMNT_COMPONENT-LAGME.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CUNIT, internal->external for field ERFME CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_OUTLINE_AGRMNT_COMPONENT-ERFME IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_OUTLINE_AGRMNT_COMPONENT-ERFME.
WRITE:/ 'New Value:', ld_input.

*Conversion exit NUMCV, internal->external for field REVLV CALL FUNCTION 'CONVERSION_EXIT_NUMCV_OUTPUT' EXPORTING input = WA_OUTLINE_AGRMNT_COMPONENT-REVLV IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_OUTLINE_AGRMNT_COMPONENT-REVLV.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CUNIT, internal->external for field ROAME CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_OUTLINE_AGRMNT_COMPONENT-ROAME IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_OUTLINE_AGRMNT_COMPONENT-ROAME.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CUNIT, internal->external for field ROMEI CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_OUTLINE_AGRMNT_COMPONENT-ROMEI IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_OUTLINE_AGRMNT_COMPONENT-ROMEI.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CUNIT, internal->external for field AUSME CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_OUTLINE_AGRMNT_COMPONENT-AUSME IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_OUTLINE_AGRMNT_COMPONENT-AUSME.
WRITE:/ 'New Value:', ld_input.

*Conversion exit ISOLA, internal->external for field STLTX CALL FUNCTION 'CONVERSION_EXIT_ISOLA_OUTPUT' EXPORTING input = WA_OUTLINE_AGRMNT_COMPONENT-STLTX IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_OUTLINE_AGRMNT_COMPONENT-STLTX.
WRITE:/ 'New Value:', ld_input.

*Conversion exit MATN1, internal->external for field NFMAT CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_OUTLINE_AGRMNT_COMPONENT-NFMAT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_OUTLINE_AGRMNT_COMPONENT-NFMAT.
WRITE:/ 'New Value:', ld_input.

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

*Conversion exit MATN1, internal->external for field BAUGR CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_OUTLINE_AGRMNT_COMPONENT-BAUGR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_OUTLINE_AGRMNT_COMPONENT-BAUGR.
WRITE:/ 'New Value:', ld_input.

*Conversion exit NUMCV, internal->external for field STLNR CALL FUNCTION 'CONVERSION_EXIT_NUMCV_OUTPUT' EXPORTING input = WA_OUTLINE_AGRMNT_COMPONENT-STLNR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_OUTLINE_AGRMNT_COMPONENT-STLNR.
WRITE:/ 'New Value:', ld_input.

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

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

*Conversion exit MATN1, internal->external for field MTNMT CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_OUTLINE_AGRMNT_COMPONENT-MTNMT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_OUTLINE_AGRMNT_COMPONENT-MTNMT.
WRITE:/ 'New Value:', ld_input.

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

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

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

*Conversion exit CUNIT, internal->external for field NLFMV CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_OUTLINE_AGRMNT_COMPONENT-NLFMV IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_OUTLINE_AGRMNT_COMPONENT-NLFMV.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CUNIT, internal->external for field /CWM/ERFME CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_OUTLINE_AGRMNT_COMPONENT-/CWM/ERFME IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_OUTLINE_AGRMNT_COMPONENT-/CWM/ERFME.
WRITE:/ 'New Value:', ld_input.

*Conversion exit CUNIT, internal->external for field /CWM/MEINS CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_OUTLINE_AGRMNT_COMPONENT-/CWM/MEINS IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_OUTLINE_AGRMNT_COMPONENT-/CWM/MEINS.
WRITE:/ 'New Value:', ld_input.

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

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

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

*Conversion exit ALPHA, internal->external for field DISUB_OWNER CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_OUTLINE_AGRMNT_COMPONENT-DISUB_OWNER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_OUTLINE_AGRMNT_COMPONENT-DISUB_OWNER.
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_OUTLINE_AGRMNT_COMPONENT_STR,
ID TYPE STRING,
DATA TYPE STRING,
EBELP TYPE STRING,
ETENR TYPE STRING,
MDPM TYPE STRING,
AUFST TYPE STRING,
AUFWG TYPE STRING,
PMSOR TYPE STRING,
XPOSN TYPE STRING,
PMSO1 TYPE STRING,
EPOSN TYPE STRING,
STSOR TYPE STRING,
MATNR TYPE STRING,
WERKS TYPE STRING,
BDART TYPE STRING,
POSTP TYPE STRING,
POSNR TYPE STRING,
UPSKZ TYPE STRING,
DUMPS TYPE STRING,
TXTPS TYPE STRING,
INPOS TYPE STRING,
SGTPS TYPE STRING,
KFPOS TYPE STRING,
KZKUP TYPE STRING,
KLPOS TYPE STRING,
CLAKZ TYPE STRING,
DBSKZ TYPE STRING,
MTKFM TYPE STRING,
KMPKA TYPE STRING,
KNTTP TYPE STRING,
SOBKZ TYPE STRING,
KZVBR TYPE STRING,
KZBWS TYPE STRING,
BEIKZ TYPE STRING,
ERSKZ TYPE STRING,
BDMNG TYPE STRING,
VMENG TYPE STRING,
LAGME TYPE STRING,
ESMNG TYPE STRING,
SHKZG TYPE STRING,
BWART TYPE STRING,
KZEAR TYPE STRING,
ERFMG TYPE STRING,
ERFME TYPE STRING,
UMREZ TYPE STRING,
UMREN TYPE STRING,
ENMNG TYPE STRING,
FMENG TYPE STRING,
ALTPS TYPE STRING,
EWAHR TYPE STRING,
ALPGR TYPE STRING,
ALPRF TYPE STRING,
ALPST TYPE STRING,
KMPAS TYPE STRING,
AVOAS TYPE STRING,
AVONT TYPE STRING,
BDTER TYPE STRING,
SBTER TYPE STRING,
NLFZT TYPE STRING,
ASTTR TYPE STRING,
VERTI TYPE STRING,
REVLV TYPE STRING,
ROHPS TYPE STRING,
ROANZ TYPE STRING,
ROAME TYPE STRING,
ROMNG TYPE STRING,
ROMEI TYPE STRING,
ROMS1 TYPE STRING,
ROMS2 TYPE STRING,
ROMS3 TYPE STRING,
RFORM TYPE STRING,
LGPRO TYPE STRING,
PRVBE TYPE STRING,
CHARG TYPE STRING,
AUSME TYPE STRING,
STLTX TYPE STRING,
SGTX1 TYPE STRING,
SGTX2 TYPE STRING,
NFPKZ TYPE STRING,
KZAUS TYPE STRING,
NFEAG TYPE STRING,
NFGRP TYPE STRING,
NAFKZ TYPE STRING,
NFMAT TYPE STRING,
NOMNG TYPE STRING,
NFUML TYPE STRING,
AENNR TYPE STRING,
BAUGR TYPE STRING,
BAUST TYPE STRING,
BAUWG TYPE STRING,
STLTY TYPE STRING,
STLNR TYPE STRING,
STKNR TYPE STRING,
STKZA TYPE STRING,
STVKN TYPE STRING,
SERNR TYPE STRING,
CUOBJ TYPE STRING,
EKORG TYPE STRING,
EKGRP TYPE STRING,
LIFZT TYPE STRING,
WEBAZ TYPE STRING,
LIFNR TYPE STRING,
PREIS TYPE STRING,
PEINH TYPE STRING,
WAERS TYPE STRING,
SAKTO TYPE STRING,
MATKL TYPE STRING,
DISMM TYPE STRING,
DISVF TYPE STRING,
DISST TYPE STRING,
MISKZ TYPE STRING,
MAKTX TYPE STRING,
SBDKZ TYPE STRING,
KZBED TYPE STRING,
EPRIO TYPE STRING,
XCHPF TYPE STRING,
MTAKZ TYPE STRING,
MTADT TYPE STRING,
MTNMT TYPE STRING,
RSNUM TYPE STRING,
RSPOS TYPE STRING,
RSART TYPE STRING,
AUFNR TYPE STRING,
APLZL TYPE STRING,
SMBLN TYPE STRING,
SMBLP TYPE STRING,
VSTAT TYPE STRING,
SELKZ TYPE STRING,
IMDCI TYPE STRING,
ACENQ TYPE STRING,
IFIXX TYPE STRING,
STALT TYPE STRING,
MTVFP TYPE STRING,
PUMNG TYPE STRING,
VRPLA TYPE STRING,
PBDNR TYPE STRING,
NOSRQ TYPE STRING,
DBKZG TYPE STRING,
TECHS TYPE STRING,
OBNUM TYPE STRING,
EDGNO TYPE STRING,
NLFZV TYPE STRING,
NLFMV TYPE STRING,
APOKZ TYPE STRING,
MB_GRUND TYPE STRING,
XFEHL TYPE STRING,
NODSP TYPE STRING,
MLSCR TYPE STRING,
SGT_RCAT TYPE STRING,
SGT_SCAT TYPE STRING,
BOM_VERSN TYPE STRING,
/CWM/ERFMG TYPE STRING,
/CWM/ERFME TYPE STRING,
/CWM/BDMNG TYPE STRING,
/CWM/MEINS TYPE STRING,
NO_DISP TYPE STRING,
DISUB_PSPNR TYPE STRING,
DISUB_KUNNR TYPE STRING,
DISUB_VBELN TYPE STRING,
DISUB_POSNR TYPE STRING,
DISUB_OWNER TYPE STRING,
ALLOCATED TYPE STRING,
FSH_CRITICAL_COMP TYPE STRING,
FSH_CRITICAL_LEVEL TYPE STRING,
WRF_CHARSTC1 TYPE STRING,
WRF_CHARSTC1_TXT TYPE STRING,
WRF_CHARSTC2 TYPE STRING,
WRF_CHARSTC2_TXT TYPE STRING,
WRF_CHARSTC3 TYPE STRING,
WRF_CHARSTC3_TXT TYPE STRING,
DATAX TYPE STRING,
EBELP_KEY TYPE STRING,
ETENR_KEY TYPE STRING,
RSPOS_KEY TYPE STRING,
EBELP TYPE STRING,
ETENR TYPE STRING,
RSPOS TYPE STRING,
MATNR TYPE STRING,
WERKS TYPE STRING,
ERFMG TYPE STRING,
ERFME TYPE STRING,
BDTER TYPE STRING,
FMENG TYPE STRING,
UPDKZ TYPE STRING,
BDMNG TYPE STRING,END OF T_EKKO_STR. DATA: WA_OUTLINE_AGRMNT_COMPONENT_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_OUTLINE_AGRMNT_COMPONENT_STR-ID sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-DATA sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-EBELP sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ETENR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-MDPM sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-AUFST sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-AUFWG sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-PMSOR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-XPOSN sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-PMSO1 sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-EPOSN sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-STSOR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-MATNR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-WERKS sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-BDART sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-POSTP sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-POSNR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-UPSKZ sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-DUMPS sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-TXTPS sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-INPOS sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-SGTPS sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-KFPOS sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-KZKUP sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-KLPOS sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-CLAKZ sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-DBSKZ sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-MTKFM sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-KMPKA sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-KNTTP sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-SOBKZ sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-KZVBR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-KZBWS sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-BEIKZ sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ERSKZ sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-BDMNG sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-VMENG sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-LAGME sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ESMNG sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-SHKZG sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-BWART sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-KZEAR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ERFMG sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ERFME sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-UMREZ sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-UMREN sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ENMNG sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-FMENG sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ALTPS sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-EWAHR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ALPGR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ALPRF sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ALPST sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-KMPAS sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-AVOAS sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-AVONT sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-BDTER sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-SBTER sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-NLFZT sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ASTTR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-VERTI sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-REVLV sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ROHPS sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ROANZ sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ROAME sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ROMNG sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ROMEI sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ROMS1 sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ROMS2 sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ROMS3 sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-RFORM sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-LGPRO sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-PRVBE sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-CHARG sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-AUSME sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-STLTX sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-SGTX1 sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-SGTX2 sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-NFPKZ sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-KZAUS sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-NFEAG sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-NFGRP sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-NAFKZ sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-NFMAT sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-NOMNG sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-NFUML sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-AENNR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-BAUGR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-BAUST sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-BAUWG sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-STLTY sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-STLNR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-STKNR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-STKZA sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-STVKN sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-SERNR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-CUOBJ sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-EKORG sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-EKGRP sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-LIFZT sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-WEBAZ sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-LIFNR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-PREIS sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-PEINH sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-WAERS sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-SAKTO sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-MATKL sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-DISMM sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-DISVF sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-DISST sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-MISKZ sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-MAKTX sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-SBDKZ sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-KZBED sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-EPRIO sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-XCHPF sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-MTAKZ sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-MTADT sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-MTNMT sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-RSNUM sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-RSPOS sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-RSART sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-AUFNR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-APLZL sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-SMBLN sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-SMBLP sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-VSTAT sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-SELKZ sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-IMDCI sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ACENQ sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-IFIXX sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-STALT sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-MTVFP sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-PUMNG sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-VRPLA sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-PBDNR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-NOSRQ sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-DBKZG sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-TECHS sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-OBNUM sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-EDGNO sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-NLFZV sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-NLFMV sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-APOKZ sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-MB_GRUND sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-XFEHL sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-NODSP sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-MLSCR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-SGT_RCAT sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-SGT_SCAT sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-BOM_VERSN sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-/CWM/ERFMG sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-/CWM/ERFME sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-/CWM/BDMNG sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-/CWM/MEINS sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-NO_DISP sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-DISUB_PSPNR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-DISUB_KUNNR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-DISUB_VBELN sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-DISUB_POSNR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-DISUB_OWNER sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ALLOCATED sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-FSH_CRITICAL_COMP sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-FSH_CRITICAL_LEVEL sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-WRF_CHARSTC1 sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-WRF_CHARSTC1_TXT sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-WRF_CHARSTC2 sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-WRF_CHARSTC2_TXT sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-WRF_CHARSTC3 sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-WRF_CHARSTC3_TXT sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-DATAX sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-EBELP_KEY sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ETENR_KEY sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-RSPOS_KEY sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-EBELP sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ETENR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-RSPOS sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-MATNR sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-WERKS sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ERFMG sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-ERFME sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-BDTER sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-FMENG sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-UPDKZ sy-vline
WA_OUTLINE_AGRMNT_COMPONENT_STR-BDMNG sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.