ABAP Select data from SAP table /ACCGO/S_GET_OUTPUT_LIST 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 /ACCGO/S_GET_OUTPUT_LIST 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 /ACCGO/S_GET_OUTPUT_LIST. 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 /ACCGO/S_GET_OUTPUT_LIST 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_/ACCGO/S_GET_OUTPUT_LIST TYPE STANDARD TABLE OF /ACCGO/S_GET_OUTPUT_LIST,
      WA_/ACCGO/S_GET_OUTPUT_LIST TYPE /ACCGO/S_GET_OUTPUT_LIST,
      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: </ACCGO/S_GET_OUTPUT_LIST> TYPE /ACCGO/S_GET_OUTPUT_LIST.

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

SELECT *
*restrict ABAP select to first 10 rows
 UP TO 10 ROWS      
  FROM /ACCGO/S_GET_OUTPUT_LIST
  INTO TABLE IT_/ACCGO/S_GET_OUTPUT_LIST.

*Select data and declare internal table using in-line method @DATA
*SELECT *
*  FROM /ACCGO/S_GET_OUTPUT_LIST
*  INTO TABLE @DATA(IT_/ACCGO/S_GET_OUTPUT_LIST2).
*--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_/ACCGO/S_GET_OUTPUT_LIST INDEX 1 INTO DATA(WA_/ACCGO/S_GET_OUTPUT_LIST2).


*Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL
LOOP AT IT_/ACCGO/S_GET_OUTPUT_LIST ASSIGNING </ACCGO/S_GET_OUTPUT_LIST>.
*To update a field value using a field symbol simply change the value via the field symbol pointer
</ACCGO/S_GET_OUTPUT_LIST>-WBHK = 1.
</ACCGO/S_GET_OUTPUT_LIST>-MANDT = 1.
</ACCGO/S_GET_OUTPUT_LIST>-TKONN = 1.
</ACCGO/S_GET_OUTPUT_LIST>-TCTYP = 1.
</ACCGO/S_GET_OUTPUT_LIST>-KUNNR = 1.
ENDLOOP.

LOOP AT IT_/ACCGO/S_GET_OUTPUT_LIST INTO WA_/ACCGO/S_GET_OUTPUT_LIST.
*Write horizonal line to screen report.
  WRITE:/ sy-uline.

*Write selected data to screen/report before conversion.
  WRITE:/ sy-vline,   WA_/ACCGO/S_GET_OUTPUT_LIST-BTBSTA, sy-vline,
WA_/ACCGO/S_GET_OUTPUT_LIST-TKWAERS, sy-vline,
WA_/ACCGO/S_GET_OUTPUT_LIST-TKRATE, sy-vline,
WA_/ACCGO/S_GET_OUTPUT_LIST-ERNAM, sy-vline,
WA_/ACCGO/S_GET_OUTPUT_LIST-ERDAT, sy-vline,
WA_/ACCGO/S_GET_OUTPUT_LIST-ERZEIT, sy-vline.
ENDLOOP. *Add any further fields from structure WA_/ACCGO/S_GET_OUTPUT_LIST 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_/ACCGO/S_GET_OUTPUT_LIST 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_/ACCGO/S_GET_OUTPUT_LIST INTO WA_/ACCGO/S_GET_OUTPUT_LIST. *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 TKONN CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ACCGO/S_GET_OUTPUT_LIST-TKONN IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ACCGO/S_GET_OUTPUT_LIST-TKONN.
WRITE:/ 'New Value:', ld_input.

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

*Conversion exit EXCRT, internal->external for field TKRATE CALL FUNCTION 'CONVERSION_EXIT_EXCRT_OUTPUT' EXPORTING input = WA_/ACCGO/S_GET_OUTPUT_LIST-TKRATE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ACCGO/S_GET_OUTPUT_LIST-TKRATE.
WRITE:/ 'New Value:', ld_input.

*Conversion exit EXCRT, internal->external for field TKRATE_SD CALL FUNCTION 'CONVERSION_EXIT_EXCRT_OUTPUT' EXPORTING input = WA_/ACCGO/S_GET_OUTPUT_LIST-TKRATE_SD IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ACCGO/S_GET_OUTPUT_LIST-TKRATE_SD.
WRITE:/ 'New Value:', ld_input.

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

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

*Conversion exit AUART, internal->external for field AUART CALL FUNCTION 'CONVERSION_EXIT_AUART_OUTPUT' EXPORTING input = WA_/ACCGO/S_GET_OUTPUT_LIST-AUART IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ACCGO/S_GET_OUTPUT_LIST-AUART.
WRITE:/ 'New Value:', ld_input.

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

*Conversion exit EXCRT, internal->external for field KURRF CALL FUNCTION 'CONVERSION_EXIT_EXCRT_OUTPUT' EXPORTING input = WA_/ACCGO/S_GET_OUTPUT_LIST-KURRF IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ACCGO/S_GET_OUTPUT_LIST-KURRF.
WRITE:/ 'New Value:', ld_input.

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

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

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

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

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

*Conversion exit EXCRS, internal->external for field LOCK_FX CALL FUNCTION 'CONVERSION_EXIT_EXCRS_OUTPUT' EXPORTING input = WA_/ACCGO/S_GET_OUTPUT_LIST-LOCK_FX IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ACCGO/S_GET_OUTPUT_LIST-LOCK_FX.
WRITE:/ 'New Value:', ld_input.

*Conversion exit EXCRS, internal->external for field FUTURE_LOCK_FX CALL FUNCTION 'CONVERSION_EXIT_EXCRS_OUTPUT' EXPORTING input = WA_/ACCGO/S_GET_OUTPUT_LIST-FUTURE_LOCK_FX IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ACCGO/S_GET_OUTPUT_LIST-FUTURE_LOCK_FX.
WRITE:/ 'New Value:', ld_input.

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

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

*Conversion exit ALPHA, internal->external for field RELIDNFR_GTM CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_/ACCGO/S_GET_OUTPUT_LIST-RELIDNFR_GTM IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_/ACCGO/S_GET_OUTPUT_LIST-RELIDNFR_GTM.
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_/ACCGO/S_GET_OUTPUT_LIST_STR,
WBHK TYPE STRING,
MANDT TYPE STRING,
TKONN TYPE STRING,
TCTYP TYPE STRING,
KUNNR TYPE STRING,
BTBSTA TYPE STRING,
TKWAERS TYPE STRING,
TKRATE TYPE STRING,
ERNAM TYPE STRING,
ERDAT TYPE STRING,
ERZEIT TYPE STRING,
AENAM TYPE STRING,
AEDAT TYPE STRING,
AEZEIT TYPE STRING,
VKORG TYPE STRING,
VTWEG TYPE STRING,
SPART TYPE STRING,
TKSACHB TYPE STRING,
BSTNK TYPE STRING,
BSTDK TYPE STRING,
SDWRS TYPE STRING,
TKRATE_SD TYPE STRING,
KURST_SD TYPE STRING,
BUDAT TYPE STRING,
PRSDT_SD TYPE STRING,
KURST TYPE STRING,
AUGRU TYPE STRING,
ABSSC TYPE STRING,
LCNUM TYPE STRING,
AKPRZ TYPE STRING,
LOGSYS TYPE STRING,
AUDAT TYPE STRING,
EXNUM TYPE STRING,
FT_HEADER_COM TYPE STRING,
COMPLETE TYPE STRING,
ANGDT_SD TYPE STRING,
BNDDT_SD TYPE STRING,
SUBMI_SD TYPE STRING,
LIFSK_SD TYPE STRING,
FAKSK_SD TYPE STRING,
NETWR_SD TYPE STRING,
VKGRP TYPE STRING,
VKBUR TYPE STRING,
AUTLF_SD TYPE STRING,
VSBED_SD TYPE STRING,
BSARK_SD TYPE STRING,
BSTZD_SD TYPE STRING,
IHREZ_SD TYPE STRING,
BNAME_SD TYPE STRING,
TELF1_SD TYPE STRING,
MAHZA_SD TYPE STRING,
MAHDT_SD TYPE STRING,
TAXK1_SD TYPE STRING,
TAXK2_SD TYPE STRING,
TAXK3_SD TYPE STRING,
TAXK4_SD TYPE STRING,
TAXK5_SD TYPE STRING,
TAXK6_SD TYPE STRING,
TAXK7_SD TYPE STRING,
TAXK8_SD TYPE STRING,
TAXK9_SD TYPE STRING,
XBLNR_SD TYPE STRING,
VBTYP_SD TYPE STRING,
STCEG_L_SD TYPE STRING,
ANDTX_SD TYPE STRING,
KVGR1_SD TYPE STRING,
KVGR2_SD TYPE STRING,
KVGR3_SD TYPE STRING,
KVGR4_SD TYPE STRING,
KVGR5_SD TYPE STRING,
AUART TYPE STRING,
QUAN_COMPLETE TYPE STRING,
KOKRS TYPE STRING,
KKBER TYPE STRING,
KNKLI TYPE STRING,
GRUPP TYPE STRING,
SBGRP TYPE STRING,
CTLPC TYPE STRING,
CMWAE TYPE STRING,
CMFRE TYPE STRING,
CMNUP TYPE STRING,
CMNGV TYPE STRING,
AMTBL TYPE STRING,
LFSPG TYPE STRING,
WKURS_DAT TYPE STRING,
WBPCH TYPE STRING,
KURRF TYPE STRING,
TC_RELEASED TYPE STRING,
TKONN_EX TYPE STRING,
TCCAT TYPE STRING,
WE_KUNNR TYPE STRING,
STCEG_L TYPE STRING,
LANDTX TYPE STRING,
XEGDR TYPE STRING,
USE_CASE TYPE STRING,
_DATAAGING TYPE STRING,
DUMMY_WBHK_INCL_EEW_PS TYPE STRING,
TEW_TYPE TYPE STRING,
SUCC_ARCH TYPE STRING,
ABRVW TYPE STRING,
KNUMV_SD TYPE STRING,
PRICING_TYPE TYPE STRING,
KALSM_SD TYPE STRING,
PS_PSP_PNR TYPE STRING,
LAST_CHANGE_UUID TYPE STRING,
CREATED_FROM TYPE STRING,
COMPANY_CODE TYPE STRING,
GUEBG TYPE STRING,
GUEEN TYPE STRING,
CONSOL_IT_EXIST TYPE STRING,
SET_VARIANT TYPE STRING,
IN_APPROVAL TYPE STRING,
CONSOL_EMCSI TYPE STRING,
CONSOL_SLCSI TYPE STRING,
CONSOL_LCCSI TYPE STRING,
CONSOL_EMCSO TYPE STRING,
CONSOL_SLCSO TYPE STRING,
CONSOL_LCCSO TYPE STRING,
KALSM_CH TYPE STRING,
PURPOSE TYPE STRING,
PF_STATUS TYPE STRING,
PF_LAST_ACTION TYPE STRING,
PF_LAST_ORDER TYPE STRING,
WBHD TYPE STRING,
FBO_DET TYPE STRING,
MANDT TYPE STRING,
CONTRACT_NUMBER TYPE STRING,
TARGET_PRICE_TYPE TYPE STRING,
STRIKE_PRICE_AMOUNT TYPE STRING,
STRIKE_PRICE_CURRENCY TYPE STRING,
STRIKE_PRICE_PER_UNIT TYPE STRING,
STRIKE_PRICE_UOM TYPE STRING,
DCSID TYPE STRING,
MATURITY_CODE TYPE STRING,
FBO_EXPIRY_DATE TYPE STRING,
TARGET_CONTRACT_TYPE TYPE STRING,
AUTOMATIC_CONVERT_TO_CONTRACT TYPE STRING,
LOCK_INSTRUCTION_TYPE TYPE STRING,
LOCK_PRICE TYPE STRING,
LOCK_CURRENCY TYPE STRING,
LOCK_FX TYPE STRING,
LOCK_FX_CURRENCY_FROM TYPE STRING,
LOCK_FX_CURRENCY_TO TYPE STRING,
FUTURE_LOCK_INSTRUCTION_TYPE TYPE STRING,
FUTURE_LOCK_PRICE TYPE STRING,
FUTURE_LOCK_CURRENCY TYPE STRING,
FUTURE_LOCK_FX TYPE STRING,
FUTURE_LOCK_FX_CURRENCY_FROM TYPE STRING,
FUTURE_LOCK_FX_CURRENCY_TO TYPE STRING,
FUTURE_CHECK TYPE STRING,
BASIS_CHECK TYPE STRING,
BASIS_ID TYPE STRING,
ITEM TYPE STRING,
FEE_HEADER TYPE STRING,
RELATED_TRADE TYPE STRING,
TKONN TYPE STRING,
LINKID TYPE STRING,
RELTYPID TYPE STRING,
RELTYPTXT TYPE STRING,
DESCRIPTION TYPE STRING,
RELIDNFR_GTM TYPE STRING,END OF T_EKKO_STR. DATA: WA_/ACCGO/S_GET_OUTPUT_LIST_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_/ACCGO/S_GET_OUTPUT_LIST_STR-WBHK sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-MANDT sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TKONN sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TCTYP sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-KUNNR sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-BTBSTA sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TKWAERS sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TKRATE sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-ERNAM sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-ERDAT sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-ERZEIT sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-AENAM sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-AEDAT sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-AEZEIT sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-VKORG sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-VTWEG sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-SPART sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TKSACHB sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-BSTNK sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-BSTDK sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-SDWRS sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TKRATE_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-KURST_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-BUDAT sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-PRSDT_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-KURST sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-AUGRU sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-ABSSC sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-LCNUM sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-AKPRZ sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-LOGSYS sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-AUDAT sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-EXNUM sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-FT_HEADER_COM sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-COMPLETE sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-ANGDT_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-BNDDT_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-SUBMI_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-LIFSK_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-FAKSK_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-NETWR_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-VKGRP sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-VKBUR sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-AUTLF_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-VSBED_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-BSARK_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-BSTZD_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-IHREZ_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-BNAME_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TELF1_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-MAHZA_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-MAHDT_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TAXK1_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TAXK2_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TAXK3_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TAXK4_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TAXK5_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TAXK6_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TAXK7_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TAXK8_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TAXK9_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-XBLNR_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-VBTYP_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-STCEG_L_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-ANDTX_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-KVGR1_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-KVGR2_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-KVGR3_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-KVGR4_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-KVGR5_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-AUART sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-QUAN_COMPLETE sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-KOKRS sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-KKBER sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-KNKLI sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-GRUPP sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-SBGRP sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-CTLPC sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-CMWAE sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-CMFRE sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-CMNUP sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-CMNGV sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-AMTBL sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-LFSPG sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-WKURS_DAT sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-WBPCH sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-KURRF sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TC_RELEASED sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TKONN_EX sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TCCAT sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-WE_KUNNR sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-STCEG_L sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-LANDTX sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-XEGDR sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-USE_CASE sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-_DATAAGING sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-DUMMY_WBHK_INCL_EEW_PS sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TEW_TYPE sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-SUCC_ARCH sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-ABRVW sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-KNUMV_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-PRICING_TYPE sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-KALSM_SD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-PS_PSP_PNR sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-LAST_CHANGE_UUID sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-CREATED_FROM sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-COMPANY_CODE sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-GUEBG sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-GUEEN sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-CONSOL_IT_EXIST sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-SET_VARIANT sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-IN_APPROVAL sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-CONSOL_EMCSI sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-CONSOL_SLCSI sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-CONSOL_LCCSI sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-CONSOL_EMCSO sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-CONSOL_SLCSO sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-CONSOL_LCCSO sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-KALSM_CH sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-PURPOSE sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-PF_STATUS sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-PF_LAST_ACTION sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-PF_LAST_ORDER sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-WBHD sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-FBO_DET sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-MANDT sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-CONTRACT_NUMBER sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TARGET_PRICE_TYPE sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-STRIKE_PRICE_AMOUNT sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-STRIKE_PRICE_CURRENCY sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-STRIKE_PRICE_PER_UNIT sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-STRIKE_PRICE_UOM sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-DCSID sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-MATURITY_CODE sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-FBO_EXPIRY_DATE sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TARGET_CONTRACT_TYPE sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-AUTOMATIC_CONVERT_TO_CONTRACT sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-LOCK_INSTRUCTION_TYPE sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-LOCK_PRICE sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-LOCK_CURRENCY sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-LOCK_FX sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-LOCK_FX_CURRENCY_FROM sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-LOCK_FX_CURRENCY_TO sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-FUTURE_LOCK_INSTRUCTION_TYPE sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-FUTURE_LOCK_PRICE sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-FUTURE_LOCK_CURRENCY sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-FUTURE_LOCK_FX sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-FUTURE_LOCK_FX_CURRENCY_FROM sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-FUTURE_LOCK_FX_CURRENCY_TO sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-FUTURE_CHECK sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-BASIS_CHECK sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-BASIS_ID sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-ITEM sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-FEE_HEADER sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-RELATED_TRADE sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-TKONN sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-LINKID sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-RELTYPID sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-RELTYPTXT sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-DESCRIPTION sy-vline
WA_/ACCGO/S_GET_OUTPUT_LIST_STR-RELIDNFR_GTM sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.