ABAP Select data from SAP table CACMNETSTKFINQ 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 CACMNETSTKFINQ 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 CACMNETSTKFINQ. 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 CACMNETSTKFINQ 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_CACMNETSTKFINQ TYPE STANDARD TABLE OF CACMNETSTKFINQ, WA_CACMNETSTKFINQ TYPE CACMNETSTKFINQ, 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: <CACMNETSTKFINQ> TYPE CACMNETSTKFINQ. *Process all fields in table header/work area as string values PERFORM process_as_string_field_values CHANGING wa_CACMNETSTKFINQ. SELECT * *restrict ABAP select to first 10 rows UP TO 10 ROWS FROM CACMNETSTKFINQ INTO TABLE IT_CACMNETSTKFINQ. *Select data and declare internal table using in-line method @DATA *SELECT * * FROM CACMNETSTKFINQ * INTO TABLE @DATA(IT_CACMNETSTKFINQ2). *--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_CACMNETSTKFINQ INDEX 1 INTO DATA(WA_CACMNETSTKFINQ2). *Demonstrate how to loop at an internal table and update values using a FIELD-SYMBOL LOOP AT IT_CACMNETSTKFINQ ASSIGNING <CACMNETSTKFINQ>.*To update a field value using a field symbol simply change the value via the field symbol pointer
<CACMNETSTKFINQ>-MANDT = 1.
<CACMNETSTKFINQ>-PRICINGKEY = 1.
<CACMNETSTKFINQ>-ACMPRICINGVERSION = 1.
<CACMNETSTKFINQ>-PRICINGDOCUMENTITEM = 1.
<CACMNETSTKFINQ>-CONDITIONTYPE = 1.
ENDLOOP. LOOP AT IT_CACMNETSTKFINQ INTO WA_CACMNETSTKFINQ. *Write horizonal line to screen report. WRITE:/ sy-uline. *Write selected data to screen/report before conversion. WRITE:/ sy-vline, WA_CACMNETSTKFINQ-SUBCONDITIONTYPE, sy-vline,
WA_CACMNETSTKFINQ-VERSSTOCKRECORDUUID, sy-vline,
WA_CACMNETSTKFINQ-ENDOFDAYSNAPSHOTDATE, sy-vline,
WA_CACMNETSTKFINQ-COMPANYCODE, sy-vline,
WA_CACMNETSTKFINQ-COMMODITYPRICEEXPOSURE, sy-vline,
WA_CACMNETSTKFINQ-COMMODITYEXPOSURECATEGORY, sy-vline.
ENDLOOP. *Add any further fields from structure WA_CACMNETSTKFINQ 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_CACMNETSTKFINQ 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_CACMNETSTKFINQ INTO WA_CACMNETSTKFINQ. *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 COMMODITYPRICEEXPOSURE CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_CACMNETSTKFINQ-COMMODITYPRICEEXPOSURE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_CACMNETSTKFINQ-COMMODITYPRICEEXPOSURE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field PROFITCENTER CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_CACMNETSTKFINQ-PROFITCENTER IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_CACMNETSTKFINQ-PROFITCENTER.
WRITE:/ 'New Value:', ld_input.
*Conversion exit MATN1, internal->external for field MATERIAL CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING input = WA_CACMNETSTKFINQ-MATERIAL IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_CACMNETSTKFINQ-MATERIAL.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field ORIGINREFERENCEDOCUMENT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_CACMNETSTKFINQ-ORIGINREFERENCEDOCUMENT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_CACMNETSTKFINQ-ORIGINREFERENCEDOCUMENT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field SOURCEDOCUMENT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_CACMNETSTKFINQ-SOURCEDOCUMENT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_CACMNETSTKFINQ-SOURCEDOCUMENT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field DERIVATIVECONTRACTMATURITYCODE CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_CACMNETSTKFINQ-DERIVATIVECONTRACTMATURITYCODE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_CACMNETSTKFINQ-DERIVATIVECONTRACTMATURITYCODE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit CUNIT, internal->external for field COMMODITYUNIT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' EXPORTING input = WA_CACMNETSTKFINQ-COMMODITYUNIT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_CACMNETSTKFINQ-COMMODITYUNIT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field CREDITOR CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_CACMNETSTKFINQ-CREDITOR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_CACMNETSTKFINQ-CREDITOR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field SOLDTOPARTY CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_CACMNETSTKFINQ-SOLDTOPARTY IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_CACMNETSTKFINQ-SOLDTOPARTY.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field REFERENCEDOCUMENT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_CACMNETSTKFINQ-REFERENCEDOCUMENT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_CACMNETSTKFINQ-REFERENCEDOCUMENT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit GJAHR, internal->external for field REFDOCUMENTYEAR CALL FUNCTION 'CONVERSION_EXIT_GJAHR_OUTPUT' EXPORTING input = WA_CACMNETSTKFINQ-REFDOCUMENTYEAR IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_CACMNETSTKFINQ-REFDOCUMENTYEAR.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field STOCKREFDOCUMENT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_CACMNETSTKFINQ-STOCKREFDOCUMENT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_CACMNETSTKFINQ-STOCKREFDOCUMENT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field APPLICATIONDOCUMENT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_CACMNETSTKFINQ-APPLICATIONDOCUMENT IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_CACMNETSTKFINQ-APPLICATIONDOCUMENT.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field LDCID CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_CACMNETSTKFINQ-LDCID IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_CACMNETSTKFINQ-LDCID.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field BSMKTREFDRVTVCONTRMATURITYCODE CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_CACMNETSTKFINQ-BSMKTREFDRVTVCONTRMATURITYCODE IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_CACMNETSTKFINQ-BSMKTREFDRVTVCONTRMATURITYCODE.
WRITE:/ 'New Value:', ld_input.
*Conversion exit ALPHA, internal->external for field CASHFLOWDIRECTION CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING input = WA_CACMNETSTKFINQ-CASHFLOWDIRECTION IMPORTING output = ld_input.
WRITE:/ 'Org Value:', WA_CACMNETSTKFINQ-CASHFLOWDIRECTION.
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_CACMNETSTKFINQ_STR,
MANDT TYPE STRING,
PRICINGKEY TYPE STRING,
ACMPRICINGVERSION TYPE STRING,
PRICINGDOCUMENTITEM TYPE STRING,
CONDITIONTYPE TYPE STRING,
SUBCONDITIONTYPE TYPE STRING,
VERSSTOCKRECORDUUID TYPE STRING,
ENDOFDAYSNAPSHOTDATE TYPE STRING,
COMPANYCODE TYPE STRING,
COMMODITYPRICEEXPOSURE TYPE STRING,
COMMODITYEXPOSURECATEGORY TYPE STRING,
COMMODITYPRICESUBEXPOSURE TYPE STRING,
PROFITCENTER TYPE STRING,
PLANT TYPE STRING,
PHYSICALCOMMODITY TYPE STRING,
MATERIAL TYPE STRING,
ORIGINREFERENCEDOCUMENT TYPE STRING,
SOURCEDOCUMENTBUSOBJTYPE TYPE STRING,
SOURCEDOCUMENT TYPE STRING,
SOURCEDOCUMENTITEM TYPE STRING,
VALIDITYSTARTDATE TYPE STRING,
INCOTERMSCLASSIFICATION TYPE STRING,
INCOTERMSTRANSFERLOCATION TYPE STRING,
CONDITIONAPPLICATION TYPE STRING,
MTMCALCULATIONGROUP TYPE STRING,
MTMCONDITIONGROUPCATEGORY TYPE STRING,
DERIVATIVECONTRACTMATURITYCODE TYPE STRING,
MATURITYKEYDATE TYPE STRING,
BASISID TYPE STRING,
DERIVATIVECONTRSPECIFICATION TYPE STRING,
MARKETIDENTIFIERCODE TYPE STRING,
PRICINGSTATUS TYPE STRING,
MTMADJUSTMENTTYPE TYPE STRING,
CONDITIONTERMRATEFIXATION TYPE STRING,
QUOTATIONPERIODREFERENCEDATE TYPE STRING,
CONDITIONTERMVALUEINSTSTCCRCY TYPE STRING,
STATISTICSCURRENCY TYPE STRING,
CONDITIONTERMVALUEINDOCCRCY TYPE STRING,
DOCUMENTCURRENCY TYPE STRING,
CONDITIONTERMRATE TYPE STRING,
CONDITIONTERMRATECURRENCY TYPE STRING,
COMMODITYQUANTITY TYPE STRING,
COMMODITYUNIT TYPE STRING,
RISKANALYZERKEYFIGINQTANCRCY TYPE STRING,
QUOTATIONCURRENCY TYPE STRING,
MARKETTODOCEXCHRATE TYPE STRING,
DOCTOSTATISTICALEXCHRATE TYPE STRING,
COMMODITYQUANTITYINTERMUNIT TYPE STRING,
SALESORGANIZATION TYPE STRING,
DISTRIBUTIONCHANNEL TYPE STRING,
DIVISION TYPE STRING,
PURCHASINGORGANIZATION TYPE STRING,
MATERIALGROUP TYPE STRING,
CREDITOR TYPE STRING,
SOLDTOPARTY TYPE STRING,
STORAGELOCATION TYPE STRING,
BATCH TYPE STRING,
GOODSMOVEMENTTYPE TYPE STRING,
REFERENCEDOCUMENT TYPE STRING,
REFERENCEDOCUMENTITEM TYPE STRING,
REFDOCUMENTYEAR TYPE STRING,
EXCHRATEEVALUATIONDATE TYPE STRING,
DOCTOSTSTCCRCYEXCHRATEEVALDATE TYPE STRING,
CONDITIONTERMRATEQUANTITY TYPE STRING,
CONDITIONTERMRATEQUANTITYUNIT TYPE STRING,
MARKETPRICECURRENCY TYPE STRING,
MTMCONDITIONGROUP TYPE STRING,
EXCHRATEMATURITYDATE TYPE STRING,
BASISMARKETREFRATE TYPE STRING,
BASISMARKETREFADJUSTMENTSPREAD TYPE STRING,
MARKETTODOCFROZENEXCHRATE TYPE STRING,
STOCKREFDOCTYPE TYPE STRING,
STOCKREFDOCUMENT TYPE STRING,
STOCKREFDOCUMENTITEM TYPE STRING,
APPLICATIONDOCUMENT TYPE STRING,
APPLICATIONDOCUMENTITEM TYPE STRING,
LDCID TYPE STRING,
LOADDATACAPTUREEVENTTYPE TYPE STRING,
DISCPREMCHARCVALSINVALSCHEDTXT TYPE STRING,
DISCPREMCHARCVALSINVOLSCHEDTXT TYPE STRING,
DPQSVALUESCHEDULENAME TYPE STRING,
DPQSVOLUMESCHEDULENAME TYPE STRING,
GROSSQUANTITY TYPE STRING,
NETPRICEEXPSRQUANTITY TYPE STRING,
MARKETCONDITIONTERMRATE TYPE STRING,
PREMDISCRATEINVALSCHEDCRCY TYPE STRING,
PREMDISCRATECRCY TYPE STRING,
CONDITIONRATEVALUECRCY TYPE STRING,
INCRMTLAMTINDOCCRCY TYPE STRING,
PREMDISCTODOCEXCHRATE TYPE STRING,
MARKETVALUEINSTSTCCURRENCY TYPE STRING,
PREMDISCVALUEINSTSTCCURRENCY TYPE STRING,
NETVALUEINSTSTCCURRENCY TYPE STRING,
MARKETVALUEINDOCCURRENCY TYPE STRING,
PREMDISCVALUEINDOCCURRENCY TYPE STRING,
NETVALUEINDOCCURRENCY TYPE STRING,
NONCASPURISRLVT TYPE STRING,
DISCPREMQLTYADJUSTEDVAL TYPE STRING,
CONDITIONTERMFACTOR TYPE STRING,
BSMKTREFDRVTVCONTRMATURITYCODE TYPE STRING,
BASISMARKETREFRATECURRENCY TYPE STRING,
BASISMARKETREFKEYDATE TYPE STRING,
CONDITIONTERMRATEISFIXED TYPE STRING,
MAXIMUMVERSION TYPE STRING,
EXPOSUREDUEDATE TYPE STRING,
REPORTINGDATE TYPE STRING,
CASHFLOWDIRECTION TYPE STRING,
TREASURYPOSITIONLONGSHORTCODE TYPE STRING,
TIMETOMATURITY TYPE STRING,
CMMDTYFORWARDINDEXTIMING TYPE STRING,
CMMDTYFORWARDINDEXTIMINGTEXT TYPE STRING,
FINANCIALINSTRPRODUCTCATEGORY TYPE STRING,
FINANCIALASSETSMGMTPRODUCTTYPE TYPE STRING,
FININSTRTRANSACTIONCATEGORY TYPE STRING,
FINANCIALINSTRUMENTPRODUCTTYPE TYPE STRING,
FINANCIALINSTRACTIVITYCATEGORY TYPE STRING,
EVALUATIONDATE TYPE STRING,
MTMDATASOURCETYPE TYPE STRING,
ORIGINREFERENCEDOCUMENTITEM TYPE STRING,
ORIGINREFERENCEDOCBUSOBJTYPE TYPE STRING,
DELIVERYDATE TYPE STRING,
DELIVERYYEAR TYPE STRING,
DELIVERYMONTH TYPE STRING,
EXTERNALKEYFIGUREVALUE TYPE STRING,
OPTIONDELTAFACTOR TYPE STRING,
HASERROR TYPE STRING,
SYSTEMMESSAGETEXT TYPE STRING,
ACMSNAPSHOTDATE TYPE STRING,
TRADER TYPE STRING,END OF T_EKKO_STR. DATA: WA_CACMNETSTKFINQ_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_CACMNETSTKFINQ_STR-MANDT sy-vline
WA_CACMNETSTKFINQ_STR-PRICINGKEY sy-vline
WA_CACMNETSTKFINQ_STR-ACMPRICINGVERSION sy-vline
WA_CACMNETSTKFINQ_STR-PRICINGDOCUMENTITEM sy-vline
WA_CACMNETSTKFINQ_STR-CONDITIONTYPE sy-vline
WA_CACMNETSTKFINQ_STR-SUBCONDITIONTYPE sy-vline
WA_CACMNETSTKFINQ_STR-VERSSTOCKRECORDUUID sy-vline
WA_CACMNETSTKFINQ_STR-ENDOFDAYSNAPSHOTDATE sy-vline
WA_CACMNETSTKFINQ_STR-COMPANYCODE sy-vline
WA_CACMNETSTKFINQ_STR-COMMODITYPRICEEXPOSURE sy-vline
WA_CACMNETSTKFINQ_STR-COMMODITYEXPOSURECATEGORY sy-vline
WA_CACMNETSTKFINQ_STR-COMMODITYPRICESUBEXPOSURE sy-vline
WA_CACMNETSTKFINQ_STR-PROFITCENTER sy-vline
WA_CACMNETSTKFINQ_STR-PLANT sy-vline
WA_CACMNETSTKFINQ_STR-PHYSICALCOMMODITY sy-vline
WA_CACMNETSTKFINQ_STR-MATERIAL sy-vline
WA_CACMNETSTKFINQ_STR-ORIGINREFERENCEDOCUMENT sy-vline
WA_CACMNETSTKFINQ_STR-SOURCEDOCUMENTBUSOBJTYPE sy-vline
WA_CACMNETSTKFINQ_STR-SOURCEDOCUMENT sy-vline
WA_CACMNETSTKFINQ_STR-SOURCEDOCUMENTITEM sy-vline
WA_CACMNETSTKFINQ_STR-VALIDITYSTARTDATE sy-vline
WA_CACMNETSTKFINQ_STR-INCOTERMSCLASSIFICATION sy-vline
WA_CACMNETSTKFINQ_STR-INCOTERMSTRANSFERLOCATION sy-vline
WA_CACMNETSTKFINQ_STR-CONDITIONAPPLICATION sy-vline
WA_CACMNETSTKFINQ_STR-MTMCALCULATIONGROUP sy-vline
WA_CACMNETSTKFINQ_STR-MTMCONDITIONGROUPCATEGORY sy-vline
WA_CACMNETSTKFINQ_STR-DERIVATIVECONTRACTMATURITYCODE sy-vline
WA_CACMNETSTKFINQ_STR-MATURITYKEYDATE sy-vline
WA_CACMNETSTKFINQ_STR-BASISID sy-vline
WA_CACMNETSTKFINQ_STR-DERIVATIVECONTRSPECIFICATION sy-vline
WA_CACMNETSTKFINQ_STR-MARKETIDENTIFIERCODE sy-vline
WA_CACMNETSTKFINQ_STR-PRICINGSTATUS sy-vline
WA_CACMNETSTKFINQ_STR-MTMADJUSTMENTTYPE sy-vline
WA_CACMNETSTKFINQ_STR-CONDITIONTERMRATEFIXATION sy-vline
WA_CACMNETSTKFINQ_STR-QUOTATIONPERIODREFERENCEDATE sy-vline
WA_CACMNETSTKFINQ_STR-CONDITIONTERMVALUEINSTSTCCRCY sy-vline
WA_CACMNETSTKFINQ_STR-STATISTICSCURRENCY sy-vline
WA_CACMNETSTKFINQ_STR-CONDITIONTERMVALUEINDOCCRCY sy-vline
WA_CACMNETSTKFINQ_STR-DOCUMENTCURRENCY sy-vline
WA_CACMNETSTKFINQ_STR-CONDITIONTERMRATE sy-vline
WA_CACMNETSTKFINQ_STR-CONDITIONTERMRATECURRENCY sy-vline
WA_CACMNETSTKFINQ_STR-COMMODITYQUANTITY sy-vline
WA_CACMNETSTKFINQ_STR-COMMODITYUNIT sy-vline
WA_CACMNETSTKFINQ_STR-RISKANALYZERKEYFIGINQTANCRCY sy-vline
WA_CACMNETSTKFINQ_STR-QUOTATIONCURRENCY sy-vline
WA_CACMNETSTKFINQ_STR-MARKETTODOCEXCHRATE sy-vline
WA_CACMNETSTKFINQ_STR-DOCTOSTATISTICALEXCHRATE sy-vline
WA_CACMNETSTKFINQ_STR-COMMODITYQUANTITYINTERMUNIT sy-vline
WA_CACMNETSTKFINQ_STR-SALESORGANIZATION sy-vline
WA_CACMNETSTKFINQ_STR-DISTRIBUTIONCHANNEL sy-vline
WA_CACMNETSTKFINQ_STR-DIVISION sy-vline
WA_CACMNETSTKFINQ_STR-PURCHASINGORGANIZATION sy-vline
WA_CACMNETSTKFINQ_STR-MATERIALGROUP sy-vline
WA_CACMNETSTKFINQ_STR-CREDITOR sy-vline
WA_CACMNETSTKFINQ_STR-SOLDTOPARTY sy-vline
WA_CACMNETSTKFINQ_STR-STORAGELOCATION sy-vline
WA_CACMNETSTKFINQ_STR-BATCH sy-vline
WA_CACMNETSTKFINQ_STR-GOODSMOVEMENTTYPE sy-vline
WA_CACMNETSTKFINQ_STR-REFERENCEDOCUMENT sy-vline
WA_CACMNETSTKFINQ_STR-REFERENCEDOCUMENTITEM sy-vline
WA_CACMNETSTKFINQ_STR-REFDOCUMENTYEAR sy-vline
WA_CACMNETSTKFINQ_STR-EXCHRATEEVALUATIONDATE sy-vline
WA_CACMNETSTKFINQ_STR-DOCTOSTSTCCRCYEXCHRATEEVALDATE sy-vline
WA_CACMNETSTKFINQ_STR-CONDITIONTERMRATEQUANTITY sy-vline
WA_CACMNETSTKFINQ_STR-CONDITIONTERMRATEQUANTITYUNIT sy-vline
WA_CACMNETSTKFINQ_STR-MARKETPRICECURRENCY sy-vline
WA_CACMNETSTKFINQ_STR-MTMCONDITIONGROUP sy-vline
WA_CACMNETSTKFINQ_STR-EXCHRATEMATURITYDATE sy-vline
WA_CACMNETSTKFINQ_STR-BASISMARKETREFRATE sy-vline
WA_CACMNETSTKFINQ_STR-BASISMARKETREFADJUSTMENTSPREAD sy-vline
WA_CACMNETSTKFINQ_STR-MARKETTODOCFROZENEXCHRATE sy-vline
WA_CACMNETSTKFINQ_STR-STOCKREFDOCTYPE sy-vline
WA_CACMNETSTKFINQ_STR-STOCKREFDOCUMENT sy-vline
WA_CACMNETSTKFINQ_STR-STOCKREFDOCUMENTITEM sy-vline
WA_CACMNETSTKFINQ_STR-APPLICATIONDOCUMENT sy-vline
WA_CACMNETSTKFINQ_STR-APPLICATIONDOCUMENTITEM sy-vline
WA_CACMNETSTKFINQ_STR-LDCID sy-vline
WA_CACMNETSTKFINQ_STR-LOADDATACAPTUREEVENTTYPE sy-vline
WA_CACMNETSTKFINQ_STR-DISCPREMCHARCVALSINVALSCHEDTXT sy-vline
WA_CACMNETSTKFINQ_STR-DISCPREMCHARCVALSINVOLSCHEDTXT sy-vline
WA_CACMNETSTKFINQ_STR-DPQSVALUESCHEDULENAME sy-vline
WA_CACMNETSTKFINQ_STR-DPQSVOLUMESCHEDULENAME sy-vline
WA_CACMNETSTKFINQ_STR-GROSSQUANTITY sy-vline
WA_CACMNETSTKFINQ_STR-NETPRICEEXPSRQUANTITY sy-vline
WA_CACMNETSTKFINQ_STR-MARKETCONDITIONTERMRATE sy-vline
WA_CACMNETSTKFINQ_STR-PREMDISCRATEINVALSCHEDCRCY sy-vline
WA_CACMNETSTKFINQ_STR-PREMDISCRATECRCY sy-vline
WA_CACMNETSTKFINQ_STR-CONDITIONRATEVALUECRCY sy-vline
WA_CACMNETSTKFINQ_STR-INCRMTLAMTINDOCCRCY sy-vline
WA_CACMNETSTKFINQ_STR-PREMDISCTODOCEXCHRATE sy-vline
WA_CACMNETSTKFINQ_STR-MARKETVALUEINSTSTCCURRENCY sy-vline
WA_CACMNETSTKFINQ_STR-PREMDISCVALUEINSTSTCCURRENCY sy-vline
WA_CACMNETSTKFINQ_STR-NETVALUEINSTSTCCURRENCY sy-vline
WA_CACMNETSTKFINQ_STR-MARKETVALUEINDOCCURRENCY sy-vline
WA_CACMNETSTKFINQ_STR-PREMDISCVALUEINDOCCURRENCY sy-vline
WA_CACMNETSTKFINQ_STR-NETVALUEINDOCCURRENCY sy-vline
WA_CACMNETSTKFINQ_STR-NONCASPURISRLVT sy-vline
WA_CACMNETSTKFINQ_STR-DISCPREMQLTYADJUSTEDVAL sy-vline
WA_CACMNETSTKFINQ_STR-CONDITIONTERMFACTOR sy-vline
WA_CACMNETSTKFINQ_STR-BSMKTREFDRVTVCONTRMATURITYCODE sy-vline
WA_CACMNETSTKFINQ_STR-BASISMARKETREFRATECURRENCY sy-vline
WA_CACMNETSTKFINQ_STR-BASISMARKETREFKEYDATE sy-vline
WA_CACMNETSTKFINQ_STR-CONDITIONTERMRATEISFIXED sy-vline
WA_CACMNETSTKFINQ_STR-MAXIMUMVERSION sy-vline
WA_CACMNETSTKFINQ_STR-EXPOSUREDUEDATE sy-vline
WA_CACMNETSTKFINQ_STR-REPORTINGDATE sy-vline
WA_CACMNETSTKFINQ_STR-CASHFLOWDIRECTION sy-vline
WA_CACMNETSTKFINQ_STR-TREASURYPOSITIONLONGSHORTCODE sy-vline
WA_CACMNETSTKFINQ_STR-TIMETOMATURITY sy-vline
WA_CACMNETSTKFINQ_STR-CMMDTYFORWARDINDEXTIMING sy-vline
WA_CACMNETSTKFINQ_STR-CMMDTYFORWARDINDEXTIMINGTEXT sy-vline
WA_CACMNETSTKFINQ_STR-FINANCIALINSTRPRODUCTCATEGORY sy-vline
WA_CACMNETSTKFINQ_STR-FINANCIALASSETSMGMTPRODUCTTYPE sy-vline
WA_CACMNETSTKFINQ_STR-FININSTRTRANSACTIONCATEGORY sy-vline
WA_CACMNETSTKFINQ_STR-FINANCIALINSTRUMENTPRODUCTTYPE sy-vline
WA_CACMNETSTKFINQ_STR-FINANCIALINSTRACTIVITYCATEGORY sy-vline
WA_CACMNETSTKFINQ_STR-EVALUATIONDATE sy-vline
WA_CACMNETSTKFINQ_STR-MTMDATASOURCETYPE sy-vline
WA_CACMNETSTKFINQ_STR-ORIGINREFERENCEDOCUMENTITEM sy-vline
WA_CACMNETSTKFINQ_STR-ORIGINREFERENCEDOCBUSOBJTYPE sy-vline
WA_CACMNETSTKFINQ_STR-DELIVERYDATE sy-vline
WA_CACMNETSTKFINQ_STR-DELIVERYYEAR sy-vline
WA_CACMNETSTKFINQ_STR-DELIVERYMONTH sy-vline
WA_CACMNETSTKFINQ_STR-EXTERNALKEYFIGUREVALUE sy-vline
WA_CACMNETSTKFINQ_STR-OPTIONDELTAFACTOR sy-vline
WA_CACMNETSTKFINQ_STR-HASERROR sy-vline
WA_CACMNETSTKFINQ_STR-SYSTEMMESSAGETEXT sy-vline
WA_CACMNETSTKFINQ_STR-ACMSNAPSHOTDATE sy-vline
WA_CACMNETSTKFINQ_STR-TRADER sy-vline INTO ld_text SEPARATED BY SPACE. *Add any further fields from structure WA_EKKO_STR you want to CONCATENATE... ENDLOOP. ENDFORM.