Internal table for basic price in PO

hi
in which table i wil get Basic Price for the perticular PO ?
i checked in EKKO bt all the PO Basic price are not stored...
Regards
Smitha

You will get in table KONV field KWERT.
You have to pass EKKO-KNUMV(KNUMV from EKKO)  in KONV-KNUMV in KONV table and the condition type in KSCHL for eg. PR00 etc. and u will get the value in KWERT field of KONV.
Edited by: vijetasap on Jun 9, 2009 1:02 PM

Similar Messages

  • How to create internal table for a structure in BSP

    hi ,
    I have created a Structure in BSP.I want to create an internal table for that Structure. But in my coding ie.
    <% data: begin of itab_1 .
                     include type zuvendstr.
                     data:end of itab_1.
                     data wa_str like line of itab_1.
                     loop at itab_1 into wa_str. %>
                    <tr>
                     <td><%=wa_str-name%> </td>
                           <%endloop.%>
    In this zuvendstr is Structure ,wa_str is workarea and itab_1 is an Internal table.But it is showinng an error that itab_1 is unknown.But we cannot define internal tables for an Structure in Page Attributes.So,please resolve how to create internal table for Structure in BSPS

    Hi,
    You can define itab_1 like this (assuming zuvendstr is a structure type):
    DATA: itab_1 TYPE TABLE OF zuvendstr.
    Regards,
    Tanguy

  • Number of entries in the internal table for perticular field value

    hi All,
    Is this possible to get the count of records from the internal table for a perticular field value.
    currently my requirement is to get the entries from the internal table which does not have two records for perticular field value (say a = 123) whose status is active (say b = 'X').
    also suggets should use LOOP or DELETE or DESCRIBE for a internal table to ful fill this requirement.
    Thanks in advance.
    Pradeep

    Try like this..
    Create another table itab2 with same structure as itab1 & move the contents of itab1 to itab2
    ITAB2[] = ITAB1[].
    Then delete entries from itab2
    Delete itab2 whete a = '123' and b = 'X'
    Then use Describe statement to get the no of entries
    Describe table itab2 lines v_lines.
    Hope this helps...

  • To count number of records in an internal table for a condition

    Hello All,
            I want to count number of records in an internal table for a condition.
    For e.g. -- I have one internal table IT which having fields F1, F2, F3, F4, F5.
                     Now, I want number of records in itnternal table IT where F1 = 'ABC'.
    Is it possible to do..?? If yes, then how.??
    Thanks in advance...!!
    Regards,
    Poonam.

    Hi,
    If you mean an internal table, there are a few ways to do this.
    1 One would be to loop over the table with a WHERE clause and increment a counter.
    data: lv_counter type i.
    clear lv_counter.
    loop at itab where fld1 = 'ABC'.
    lv_counter = lv_counter + 1.
    endloop.
    lv_counter now has the number of rows per the condiction.
    2  Well, you may want to try this as well, and compare to the LOOP way. Not sure what kind of overhead you may get doing this way. Here ITAB is our main internal table, and ITAB_TMP is a copy of it. Again I think there may be some overhead in doing the copy. Next, delete out all records which are the reverse of your condition. Then whatever is left is the rows that you want to count. Then simply do a LINES operator on the internal table, passing the number of lines to LV_COUNT.
    data: itab type table of ttab.
    data: itab_tmp type table of ttab.
    itab_tmp[] = itab[].
    delete table itab_tmp where fld1  'ABC'.
    lv_count = lines( itab_tmp ).
    Thanks & Regards,
    ShreeMohan

  • Fill Internal Table for Table Header EQUI - Long Time

    Good morning,
    I have installed DMIS (2006_1_620) and DMIS_CNT (2006_1_620), both at the level of SP = 13.
    I am running the subactivity "Fill Internal Table for Table Header EQUI" and have 1 day + 10 hours and continue working.
    Also note that the table CNVTDMS_05_equi  is increased million in millions and now has 6 million records.
    It is normal to take a long time? (EQUI table has 240 million records and therefore will take many days).
    Any suggestions?
    Thanks,
    Hugo

    Hello Hugo,
    I know this is old , but did you ever find a solution to this.  I am having the same problem.  I considered adding an index to table QMIH, with Keys MANDT and BEQUI.
    I also only have one bckgrd proc running in sender systems with this statement when I drill in using SM50:
    SELECT
    /*+
      FIRST_ROWS (1)
    FROM
      "QMIH"
    WHERE
      "MANDT"=:A0 AND "BEQUI"=:A1 AND ROWNUM <=:A2 #
    This has been running for over 8hrs now.
    Any thoughts?
    Thanks,
    NICK

  • Dynamic Internal Table for reading data from external file

    Hello All,
    The task was to create a internal table with dynamic columns,
    Actually this is my first task in the WebAS 6.20, my program is based on input file provided by user with certain effort. this file can have different effort for a one yr to five year frame..
    I needed to read the raw data from file, based on months create a internal table to hold the data, after this i need to validate the data...
    I have browsed thru dynamic internal table topic, but couldn't find any dynamic appending structure, the dynamic structure would contains 12 month fileds.
    can any one help me in getting my task completed..
    Thanks
    Kumar

    Hi,
    I see that you posted the same question a couple of days ago at Dynamic Internal Table for reading data from external file Didn't Charles's response address your problem?
    Regards

  • ABAP MM: In ME21N which internal table holds Actual Price (Including Taxes)

    Using tcode  ME21N, while creating new PO, which internal table holds Actual price (Including Taxes) of whole PO (not by item) , assuming PO is not saved.
    In the program, I want to capture the total cost of whole PO including taxes as soon as user enter the items. So that I can make some processing according to the total amount of PO.
    Thanks,

    Check the internal table lt_mepoaccounts field netpr.

  • How to Read the internal table for the data download from the spool

    HI all,
    I have one issue regarding the spool ,we are getting the correct output as per requirement of  user but when we send the same to the user in pdf format they did notget the same.
    they are telling that the due date is missing from the pdf.
    Please advice me how to track the internal  table for the spool data converted intopdf in a readable format.
    the FM used for the above task is : 
    call function 'CONVERT_OTFSPOOLJOB_2_PDF'
    Please reply if any one worked on the same.
    Thanks in advance.
    Gaurav,

    Hi Wang,
    Please let me know how you solved your question.
    Points will be rewarded.
    Thanks,
    Arun.

  • Edit Internal Table for Sales Order Smartform (Y640_SDORC_A)

    I want to modify SmartForm Y640_SDORC_A so I always print the net value and discount percentage.
    I have an access sequence and my discount can be created by a discount percentage condition (ZD00) or by Special Price (PR01) condition.
    My problem is that if I use the Special Price Condition the Internal Table where the smartform loops to get the price only gets the Net Value amount, and it wont print the discount percentage, but if I dont use the Special Price condition the internal value has 2 rows the first one is for Discount Condition and the second for Net Value and it prints correctly.
    This is how my access secuence is arranged, the X are the print id column:
    PR00 Price
    ZD00 Discount      (X)
    PR01 Special Price
    --- Net Value    (X)
    How can I fix the internal table creation so when there is a Special Price Condition (PR01) the internal table also gets the Discount percentage value.
    Here is my Forms Code:
    *&      Form  GET_ITM_PRICE_TABLE
    FORM get_itm_price_table
    USING
    is_vbdpa             TYPE vbdpa
    is_vbdka             TYPE vbdka
    iv_price_print_mode  TYPE c
    iv_spras             TYPE spras
    CHANGING
    ct_komv              TYPE t_komv_tab
    ct_komvd             TYPE t_komvd_tab
    cs_komk              TYPE komk.
      DATA ls_komp TYPE komp.
      DATA ls_komk TYPE komk.
    *  DATA lt_tkomv  TYPE STANDARD TABLE OF komv.
      IF ls_komk-knumv NE is_vbdka-knumv OR
      ls_komk-knumv IS INITIAL.
        CLEAR ls_komk.
        ls_komk-mandt = sy-mandt.
        ls_komk-kalsm = is_vbdka-kalsm.
        ls_komk-kappl = 'V'.
        ls_komk-waerk = is_vbdka-waerk.
        ls_komk-knumv = is_vbdka-knumv.
        ls_komk-knuma = is_vbdka-knuma.
        ls_komk-vbtyp = is_vbdka-vbtyp.
        ls_komk-land1 = is_vbdka-land1.
        ls_komk-vkorg = is_vbdka-vkorg.
        ls_komk-vtweg = is_vbdka-vtweg.
        ls_komk-spart = is_vbdka-spart.
        ls_komk-bukrs = is_vbdka-bukrs_vf.
        ls_komk-hwaer = is_vbdka-waers.
        ls_komk-prsdt = is_vbdka-erdat.
        ls_komk-kurst = is_vbdka-kurst.
        ls_komk-kurrf = is_vbdka-kurrf.
        ls_komk-kurrf_dat = is_vbdka-kurrf_dat.
      ENDIF.
      ls_komp-kposn = is_vbdpa-posnr.
      ls_komp-kursk = is_vbdpa-kursk.
      ls_komp-kursk_dat = is_vbdpa-kursk_dat.
      IF is_vbdka-vbtyp CA 'HKNOT6'.
        IF is_vbdpa-shkzg CA ' A'.
          ls_komp-shkzg = 'X'.
        ENDIF.
      ELSE.
        IF is_vbdpa-shkzg CA 'BX'.
          ls_komp-shkzg = 'X'.
        ENDIF.
      ENDIF.
      IF iv_price_print_mode EQ 'A'.
        CALL FUNCTION 'RV_PRICE_PRINT_ITEM'
          EXPORTING
            comm_head_i = ls_komk
            comm_item_i = ls_komp
            language    = iv_spras
          IMPORTING
            comm_head_e = ls_komk
            comm_item_e = ls_komp
          TABLES
            tkomv       = ct_komv
            tkomvd      = ct_komvd.
      ELSE.
        CALL FUNCTION 'RV_PRICE_PRINT_ITEM_BUFFER'
          EXPORTING
            comm_head_i = ls_komk
            comm_item_i = ls_komp
            language    = iv_spras
          IMPORTING
            comm_head_e = ls_komk
            comm_item_e = ls_komp
          TABLES
            tkomv       = ct_komv
            tkomvd      = ct_komvd.
      ENDIF.
      cs_komk = ls_komk.
    ENDFORM.                    "get_itm_price_table
    Regards,
    Carlos

    Turns out this can be done modifiying access sequence.
    Carlos

  • Select on MARA resulting into # values in internal table for one field

    Hi Team,
    I have written a SELECT statement on MARA table as below.
    TRY.
            SELECT matnr zzwftag FROM mara CLIENT SPECIFIED
              INTO CORRESPONDING FIELDS OF TABLE gt_mara WHERE
              mandt = sy-mandt AND
              zzwftag NE space
              AND zzwftag IS NOT NULL
              AND zzwftag NE '#'
              AND zzwftag NE '%#%'
              AND zzwftag NE '  '
              AND zzwftag NOT LIKE '%/%'(012).
          CATCH cx_sy_dynamic_osql_error.
            MESSAGE 'Error While Fetching Data from MARA'(044) TYPE 'S'(040)  DISPLAY LIKE 'W'(041).
        ENDTRY.
        IF NOT gt_mara[] IS INITIAL.
          DELETE gt_mara[] WHERE zzwftag EQ '#'
          OR zzwftag IS INITIAL
          OR zzwftag EQ space
          OR zzwftag EQ ' '.
        ENDIF.
    Observations: 1. In
    the resulting internal table I am seeing '#' values for fields zzwftag which are actually empty when I see the record in SE11 in MARA(ALV display). It shows '#' in it in SE16 display(We can choose User parameters and hence mode of display in SE11)
    The requirement is to avoid those records where zzwftag is initial i.e. blank. I tried to delete invalid records but to no avail.
    Please suggest any way where I can get the Select correct.
    Regards,
    Amit

    Please do not use so many not conditions in one query....
    Using so many negative conditions results in bad data.
    Instead use delete statements later this would not confuse the system.
    Also if you are using sy-mandt then i think you should not use client specified system will take care of it.
    TRY.
    SELECT matnr zzwftag FROM mara CLIENT SPECIFIED
    INTO CORRESPONDING FIELDS OF TABLE gt_mara WHERE
    mandt = sy-mandt AND
    zzwftag NE space.
    CATCH cx_sy_dynamic_osql_error.
    MESSAGE 'Error While Fetching Data from MARA'(044) TYPE 'S'(040) DISPLAY LIKE 'W'(041).
    ENDTRY.
    IF NOT gt_mara[] IS INITIAL.
    DELETE gt_mara[] WHERE zzwftag EQ '#'
    OR zzwftag IS INITIAL
    OR zzwftag EQ space
    OR zzwftag EQ ' '.
    delete gt_mara[] where zzwflag eq '%#%'.
    ENDIF.

  • No. of Rows in Internal Table for Particular Record

    Hi all,
        I'm having an Internal Table with the Following Datas,
    Date                Value
    12.03.2008        8
    13.03.2008        7
    13.03.2008        4
    14.03.2008        5
    14.03.2008        6
    I want to find out how many records are there for the Paricular Date.And i have to add those values.The Result should be
    Date                Value
    12.03.2008        8
    13.03.2008        11
    14.03.2008        11
    In that Internal Table,Date is not the Key Field.So we cant go for Collect Statement.
    Regards,
    Padmam.

    hi,
    pls check this code . in this code i ristic the multiple entries in a single day for Diesel Consumed Diesel add in genset.
    follow the code and apply in your program ............
    sort it by swerk idate equnr ascending vlcod descending recdv ascending . "cntrr ascending.
    loop at it.
      at new idate.
       check = it-idate.
       flag = 0.
      endat.
    or
    send the whole code.............
    reward point if helpful...........
    regards,
    pankaj
      on change of it-equnr.
        flag = 0.
      endon.
      if check = it-idate.
          if it-vlcod = 'OPEN' and flag = 0.
            it2 = it.
            append it2.
            flag = 1.
            count = count + 1.
         elseif flag = 0 and count = 0.
           count = 1.
          elseif it-vlcod = 'CLOS'.
           if flag = 0 and count = 0.
             count = 1.
           endif.
            it2-vlcod_cl = it-vlcod.
            it2-itime_cl = it-itime.
            it2-recdv_cl = it-recdv.
            if count = 0.
            else.
              modify it2 index count transporting vlcod_cl itime_cl recdv_cl.
            endif.
         elseif it-vlcod = ''.
           it2 = it.
           append it2.
           count = count + 1.
          elseif it-atinn = '0000000151'.  " Diesel Consumed
             it2-di_con = it-recdv.
             it2-sum_con = it2-sum_con + it2-di_con.
             if count = 0.
            else.
               modify it2 index count transporting di_con sum_con.
            endif.
            modify it2 index count transporting di_con sum_con.
          elseif it-atinn = '0000000152'.  " Diesel added
             it2-di_add = it-recdv.
             it2-sum_add = it2-sum_add + it2-di_add.
            if count = 0.
            else.
                 modify it2  index count transporting di_add sum_add.
            endif.
            modify it2  index count transporting di_add sum_add.
          endif.
      endif.
    endloop.
    clear it.
    clear it[].
    it[] = it2[].

  • Issue in Internal Table for calculating MAX value

    Hi Abapers,
    I have internal table with data as follows:
                         Materail                               Currency      Quantity    Dominant_Currency
    1     000000000007001896     GBP     396
    2     000000000007001896     EUR     25
    3     000000000007001310     USD      7
    4     000000000007001310     GBP     646
    5     000000000007001310     EUR     195
    6     000000000007000949     GBP     947
    7     000000000007000949     EUR     117
    Now I have to find out the max quantity for each materail and currency against max quantity which will be put in the dominat currency fields of Internal Table.
    Eg: For material 000000000007001896, 396 is the max quantity and Currency for this is GBP so dominant currency will be GBP for first 2 records.
    Similarly 646 is max for 000000000007001310 therefore GBP will be dominant curr for the records containg material 000000000007001310
    Please solve the issue.
    Regards,
    Rahul Sinha

    lv_quantity --> quantity parameter
    sort itab by matnr quantity
    loop at itab.
    at new material.
    clear lv_quantity.
    endat,
    if itab-quantity > lv_quantity.
      lv_quantity = itab-quantity.
      itab-dominant_curr = itab-curr.
      modify itab transporting dominant_curr where material = itab-material.
    endif.
    "please write  modify statement with some logic..so that it is called once for one item
    endloop.
    if you find any issue revert back.

  • Internal table for the result area

    hey
    where do the result area data stored in after the search? is it in internal table??. If so is there any possibility of finding the internal table?
    thanks in advance

    Hi Shailaja,
    You can check as pointed by Vijay, which is at the Framework Level.
    For Application Level (specific to your PCUI Appl), the QEURY method of your class (assigned to Search Area screen) returns the list of found object keys (based on the search query) to the READ method. The READ method now queries the backend, for the supplied object keys and stores all the result data in export parameter ET_SCREEN_SRTUCTURE.
    Now the Framework with the help of One Order Interaction Layer, pumps the data to the Data Context Layer as pointed by Vijay.
    So in order to do any data massaging, you can do it at internal table et_screen_structure.
    But whatever changes you do in et_screen_structure, will not be commited to backend, without touching the MODIFY method.
    Thanks
    Harsh

  • Join Internal Table for all entries

    Hi,
       I have put the LIKP data in the internal table and then use the for all entries statement to join the table with LIPS.  Besides, i specifiy an additional condition to filter empty batch.
    But, i found that the empty batch record still exist in the result.  Any idea??
        SELECT *
        FROM LIPS INTO  TABLE I_DELIVERY_INFO
        FOR ALL ENTRIES IN I_DELIVERY
        WHERE
        VBELN = I_DELIVERY-VBELN.
        AND
        CHARG IS NOT NULL.
    Regards,
    Kit

    Hi Kit,
    If you are using LIKP and LIPS then you can directly join them since these tables are HEADER & ITEM table.
    regd ur query you can use CHARG NE ' '.
    Regards
    Gopi

  • Table for Valuation Price from USER EXIT - Cost Estimation

    Hi All,
    Can you let us know from where the system picks the price for VALUATION PRICE from USER EXIT when we have following setting in valuation variant
    1.Valuation Price from USER EXIT
    2.Price from Purchasing Info Records
    3. Planned Price 1
    Sub Stratergy.
    1.Effective Price from Purchase Order
    2. Net Quotation Price
    3. Gross Quotation Price.
    Now when we execute CK11N for a material, the system displays a cost price as 316 Euro/ unit.
    But Standard price is 290 euros, info record price is 294 euros & planned price 304 euros.
    Our previous cost estimation ( period 1, current period is 5) was 316 euro/unit (which was not correct), so deleted the cost estimation with CKR1 and try to rerun the cost estimation to update the value (new price), but still the system is picking the old price.
    Can you let us know from where does(transaction code & table) the system is picking the old values.
    In CK11N Material valuation (Valuation tab) its showing as Valuation Price from USER EXIT.
    We have activated Material Ledger with price control "s"and we in ECC 6.0.
    Do suggest.

    Hi,
    Where & how can i find the exit.
    Do suggest.
    Regards,

Maybe you are looking for

  • House keeping

    Super quick, potentially stupid, question ! I'm a long term apple user on a G4 running OS 9 and OSX 10.3.9 and I'm about to buy one of the new iMac's. So my question is, do the same house keeping rules applicable to OSX 10.3.9, i.e. repairng permissi

  • Need help: String to XML

    Hi everyone, Im looking for some assistance regarding string to xml. I wanted to extract the xml from the field 'sendDataReturn'. Is my xsl script correct? XML in String <sendDataResponse xmlns="http://service.aes.cust.mic.at" xmlns:xsd="http://www.w

  • Oracle coherence in BPEL

    HI, I am trying to use coherence in bpel.I took one synchronous bpel with default values. I used one java embedded activity where i worte code to invoke coherence.The code in the java embedded activity is as below: try String input = null; input= inp

  • ADI Error

    A user is running ADI through a Citrix Enviroment, We have been running it in this Enviroment for a number of years, But recently the user is having an issue where the applicaiton just seems to crash for no reason with the following error : An Unexpe

  • How to tag graphics w/ a reference number that stays w/ them once uploaded to facebook & instagram?

    I would like to tag digital assets (shareable graphics on facebook, for example) so when I go back to them (ON facebook) & save them to my desktop I can reference a number (whether by meta-tags or keywords) to my own billing/coding system. I tried th