TCODE to findout the current material price

What is the Tcode to find out the current material price?

dear debashish,
I dont know the Tcode but you can view it it in SE16 and table name MBEW.
hope solved you querry.
Njoy
Ashish

Similar Messages

  • In which field is the current valuation price (FIFO) stored?

    We need the current valuation price of FIFO-related items
    Previously, the valuation price was stored in oitm.avgprice or oitw.avgprice. In the current version these fields are not filled.
    How can you determine the current price of a FIFO-related item?
    Valuation Price = (sum of single FIFO prices of the items in stock) : (inventory)
    A similar problem occurs with charge-off. So far, the total booking price was stored in ige1.stocksum, but in SAP8.8 it is not. For a recalculation we need the value actually posted at the item level. This is the reason why the price cannot be determined from the posting journal jdt1, because there, a sum of all entries calculated.
    Is there a reliable way, which works with both SAP2007 and SAP8.8?
    regards
    M.Heigl

    Hello János
    Thanks a lot for your advice, this helps me to advance
    Unfortunately, the calcprice is not filled correctly.
    Example:
    Number of decimals in Price = 2
    Posting in 1 piece
    Factor = 1000 (1000 pc are posted),
    Total price 0.05 u20AC,
    Single Price = 0.00005,
    now in oitm.calcprice is stored : 0, in oinm.openvalue=0.05u20AC, in the jounrnal (jdt1) 0.05u20AC
    Alternatively, the field  u201Copenvalueu201D may be used?
    To get out the correct average inventory value, the following SQL statement would be correct:
    select sum (openvalue / openqty) from where oinm itemcode = N'test_fifo 'and openqty! = 0
    At charge off, the total value is determined via
    select sum (-1 * transvalue) from where oinm transtype=60 and createdby=164 and itemcode = N'test_fifo'
    In this test, I have also found an error:
    If the single price (oinm.calcprice) = 0, for example because it was posted with a large factor, the item cannot be issued anymore.
    Error message "acquisition price" is missing (...)
    Tested with 2007ASP1PL9 and SAP  8.8 (8.80.230) SP0PL12
    I assume that for FIFO evaluation SAP uses the calcprice and not the total price, the single price is determined, which in this case is 0 because of rounding.
    Apart from this error: Are my assumptions and SQL statements correct?
    Regards,

  • SFG cost same as the Raw Material price consumed

    Hi all,
    Is it possible for us to have the SFG price same as the price we consume? Reason being is that they want to carry the same cost to the next stage, let say consumption cost is RM 500, the SFG produced need to be RM500. Say RM->SFG1->SFG2->FG, so SFG has to carry to actual cost consume and issue to SFG2 and SFG2 will consist of cost of SFG1 + RM.

    Hi,
    What kind of Process is this ?MTO or ETO or MTS?
    Thanks,
    Rau

  • Extracting PIR (material prices) Data into BW

    Hi Experts,
    I am working on a BI Integrated Planning project. Product cost will be calculated in CO-PC. During cost roll-up system can pick material prices from any of 5 fields i.e. Standard price, Future Price and Planned price 1,2,3. I have a requirement to update the current material prices from purchase info records to one of the planned prices fields.
    My initial solution was as follows:
    1. To rely on the users to download the PIR or contract prices into Excel
    2. Apply % uplift to the prices in Excel
    3. Then use an ABAP to update the uplifted prices to the material master future or planned price fields.
    However my client is not happy with this solution.
    Another option I am looking at is:
    1. Extract the prices from the PIR's into BW and then download to Excel s
    2. Apply % uplift to the prices in Excel
    3. Then use an ABAP to update uplifted prices to the material master future or planned price fields.
    Is this feasible? If yes, how can I get the prices into BW.
    Thanks in advance,
    Milind

    Hi,
    Pls chk this link could help you:
    http://help.sap.com/bp_biv335/BI_EN/html/BW/ManufactAnal.htm
    Regards
    CSM Reddy

  • How to calculate current sale price like VA01

    Hi,
    I am developing one report, in which I am showing open sales order.
    Now, I wanted to calculate the current sales price from pricing procedures and conditions. Means I need the current sales price of the Item, like I am creating the new sales order today,
    Client wanted the difference between the sales order price and the current price.
    How can I get the current sales price, any Function Module for that?? Or I have to manually take all prices from condition tables and KONP, and calculate?
    I need a Function Module instead to code like..........
    Standard SAP pricing is try to get the price from top to down pricing hierarchy, if 1st level not find, then base on the combination of next level, try to get it,
    if no found, just keep going until reach the last pricing Level ( if found on any level then it will skip & pick up that price )
    For example
    ZPR0 has 3 Level
    Sales Org/DC/Currency/Customer/Material/Stor.Location
    Sales Org/DC/Currency/Customer/Material
    Sales Org/DC/Currency/Material
    If the combination of 1st level no price there, there it will go to the 2nd level until it reach the end.
    Thanks,
    Chetan Shah

    Hi,
    The Procedure for calculating MAP is :-
    Case 1 :- PO at different price
    If in Material Master your MAP is 0.8GBP & closing stock of 30Nos, value is 24GBP
    In PO if the price is 0.9GBP & qty is 10nos, then after Goods Receipt Total Value of the GR i.e. Qty * Price + any other delivery cost will be added to the material stock value.  Qty is also updated.  New Total Value / New Stock Qty will be MAP.
    In this case Qty received 10 & price is 0.9 that means value would be 9GBP.
    Total Value becomes 24GBP (Present Stock) + 9GBP (Goods Receipt) = 33GBP
    Total Qty becomes 30Nos + 10Nos (Goods Receipt) = 40Nos
    MAP becomes = 33GBP / 44Nos = 0.75
    Case 2 : Invoice Posting (MIRO) at different price than PO
    While doing MIRO is we post at different price system will check whether sufficient stock posted in GR is available.  In the above case it is 10Nos,
    If it is there, then the above logic as in case 1 will take place
    If not available, to the extent of stock availability system will post the different value & adjust MAP & remaining is posted to Price Difference Account.
    In your case it would be like this :
    1. MAP 0.8 for 30Nos (Value would be 24GBP)
    2. Invoice Posting 1.74GBP for 1No.  That means value would be 24GBP + 1.74GBP = 25.74GBP
         Qty would be 30+1 = 40
         MAP = 25.74 / 40   = 0.64GBP
    Hope this clarifies your doubt
    regards,
    JP

  • Material Price will be Negative

    Dear team,
    While doing the return delivaery through  MIGO with the transaction type 122 ,system is giving the messga elike material price will be negative.The Goods receipt has taken place yesterday date only no invoice verification has happend.Stock availability also availabe to the concern Material .Curency available is INR.Currently working on 4.6.Please advice to proceed further.Thanks for the consideration.
    Regards,
    Suma Nalluri.

    Hi Santosh,
    GRN was done for 07.12.2009 .At the time of placing order the material cost is 20 .81 p.a ,When they are doing the return delivery system is giving the message Material Price will be Negative.Currenlty material master moving average price is showing 20.61 p.a.Please advice to proceed further.Thanks for your support.
    Regards,
    Suma Nalluri.

  • Material Price updation through Material Ledger

    Hi,
    I implemented the ML and after executing the ML Costing run & on 1st movement of material( Dynamic price release) the The Per Unit price* which is calculated in ML costing run is not updating in the current std price area in Costing View 2 Tab.
    I think the previous periods( for which I did ML Costing Run)  Per unit price has to update in the Current planned price in Costing View 2. Instead of this , the std planned price of previous period only updating in the "future Planned price".
    Please explain how to get the Previous period Moving price in Current Planned price in Costing View 2.
    T & R,
    C.Balaji

    Hi,
    I did CK11N & CK24 in Feb for example, and the price updated in current std cost estimate.
    after month end closing I did CKMLCP,  I heard that after completing all the sequence of oparations, The actual cost incurred for the material will update in Perunit price and Price controle will become from S to V, and we can get the Moving avarage price of Feb will become the Std price for the March month.
    This is not happening , How we can get this Moving Avarage price of Feb month as a Std current price in March month.
    Pls inform wether it is possible or not, if possible what is the method to get.
    T & R,
    C.Balaji

  • Current Planned price table

    Hey Gurus
    Can anyone tell me the table where the price of a material is stored when the costing run is done
    I mean i want the price of all the costing runs
    Eg:
    for period 01,2007  the current planned price in Material master after costing run was $4
    then we do costing run for period 01,2008  the current planned price in Material master after costing run updates to  $5
    Then again we do costing run for period 06,2008  the current planned price in Material master after costing run updates to  $5.50
    I want a table that gives all the these prices according to the date, MBEW and MSEG does not have this
    This is required for an ABAP report to calculate the Planned price at the time of creation of order. I cant take this as LPLPR field in costing view as this will chnage everytime we do costing run, so want a table where these prices are stored, so that i can calculate the planned issue price of production order at the time of issue of material to Production order. Here our material is at moving average price, so i m getting my actual issue cost of material from MSEG, but the planned issue will be different and cant find that in MSEG and MBEW and many othrt tables
    I hope i was able to explain the secanrio clearly
    Thanks
    Amit

    Hi,
    some threads regarding MBEW Table with field LPLPX:
    Re: How to extract Std Price from MBEW?
    Re: Trouble using Generic Extraction from table MBEW
    [For enhancement take a look at this thread...|Re: Enhancements in Extractions] It also includes the links to weblogs and a detailed description...
    Check this BI Content:
    [Cost Estimate: Detailed Report, Fixed and Variable Costs|http://help.sap.com/saphelp_nw04/helpdata/en/8b/e6b83912c4420de10000000a11402f/frameset.htm] If this BI Content query match your requirements you can use it to determine which objects you need or activate this part of the content...
    Query is based on:
    http://help.sap.com/saphelp_nw04/helpdata/en/14/d7b83912c4420de10000000a11402f/frameset.htm
    If standard extractor/bi content does not match your requirement you can enhance a suitable extractor with fild LPLPX or build a generic extractor by using view of table MBEW...
    Regards
    Andreas

  • BLOCKING MATERIAL PRICE IN MM60

    Dear All,
    Whether we can block the field "Material Price" in T.Code MM60? Only the authorized person should have access for viewing the material price.
    Pls advise me.
    Tks
    Mani.

    Hi
    MM60 Transaction is for getting the list of materials by the selection criteria, it is not for blocking particular field of a material master.
    You can user the MM06 Transaction to flag the material number for deletion, even this t.code won't help you to hide the particular field.
    I think through the field selection process i.e, creation of new field selection group and assign the selected fields to the gruop you can obtain this.
    The best way of doing this is ask your basis consultant, he will be able to do this easily.
    Thanks & Regards,

  • BAPI_MATVAL_PRICE_CHANGE - Material price change - Error

    Hello Friends,
    I am using the BAPI function module ''BAPI_MATVAL_PRICE_CHANGE' ' for Mass
    material Price changes. I am giving the following as input parameters
                       material
                       valuation area
                      price date
                      prices
    I am not giving values for valuation type since we are not maintaining Valuation type
    for any material in our company.
    But the program is throwing Dump error " Valuation type need to be maintained".
    What is the corrective action ?
    In BDC for the same material price change in MR21, i am able to upload data even
    without giving valuation type.
    Hari Prasath.S

    Hi,
    check the material price changes made from MR21, it may have some default value set for valuation type if no it was not given.
    You might have to pass this default value to the bapi!
    Reagrds,
    Sooness

  • Returns after material price change

    Hi,
    I’ve posted a goods issue for material A and the posting was valuated at material master price (standard price 50€). I’ve posted the invoice and the payment. Afterwards I did a material revaluation (new standard price 75€). A month later the customer returned the goods and I created a sales order return and posted the goods receipt. The problem was that the goods receipt posting was valuated at the material master price (75€) and not with the sales order costing (50€). I need that the returns process has the same behavior as the goods issue reversal, i.e, the system should into consideration the original values and not the actual material price.
    Can someone please help me?
    Regards
    MR

    hi Miguel Reis
    You have a good point about sales return, first let me tell you if you are creating sales return with reference to original billing or sales order all the billing entries will exact reverse posting of the original one.
    But if i understood your question correctly what you want is the exact reversal of COGS A/c Dr to Inventory A/c Cr and with the same original value. This is not possible and not correct for following reasons
    1.Because you have revalued your inventory and now your stock should will be valueated at latest price.
    2. and your price control is "S" which itself siginifies that you want to have that mateial at the latest standard price.
    I think it is more over a concept issue you need to understand from accounting point of view. In case you have any further doubt please let me know.
    Regards
    Message was edited by:
            Mahesh Kore

  • Material price change in depot

    Dear Guru..
    How to update the price for a material in depot. we having production plant - 1000 where we have calculated STD cost for FG with price control indicator "S" and updated by CK24  from 100 INR to 120 INR  the same material STO to depot - 1001, 1002 .. ect..
    All the depot the FG material price is now as 100 INR with price control as "S". Price diff from plant 1000 and depot 1001 is 20 INR  hitting Expence account.
    My query is how to update the price of FG indepot 1001, 1002... to avoid the diff. what SAP recommends for this scenario.
    please give my your valuable input
    regards
    Vinoth

    Sorry guys
    i have posted in QM ..
    i am closing and posting in relevant thread.

  • Details of open invoices for the current year/ material price analysis

    Hi,
    I'm very new to SAP SD,MM modules. Can any one help me in the following of my requirements?
    1. How to get the details of open invoices for the current year? Which table should I look into?
    2. I have to create a report to display material price analysis. How should I do that?
    3. How to develope a report to list out all the Open Sales Order with earliest ship date and requested ship date
    4.How to create an interactive report for displaying plant status to know the status of a particular material
    5. How to develope a report on Sales Order displaying Sales order Number, Sales order date, Material, PO Date and Customer requested date
    Thanks in advance!!
    Uma.
    Message was edited by:
            Uma Ravi

    Hi Ravi,
    for 3, 4, 5 --> u can go through the code ...
    REPORT ZEX2  MESSAGE-ID arc NO STANDARD PAGE HEADING.
    Tables :kna1,vbak.
    SELECT-OPTIONS : so_vkorg FOR  vbak-vkorg OBLIGATORY,
                     so_vtweg FOR  vbak-vtweg OBLIGATORY,
                     so_spart FOR  vbak-spart,
                     so_kunnr FOR  kna1-kunnr.
    DATA : BEGIN OF sales_open OCCURS 0 ,
           vbeln LIKE vbak-vbeln,
           auart LIKE vbak-auart,
           kunnr LIKE kna1-kunnr,
           bstnk LIKE vbak-bstnk,
           lfstk LIKE vbuk-lfstk,
           fkstk LIKE vbuk-fkstk,
           gbstk LIKE vbuk-gbstk,
           END OF sales_open.
    DATA : BEGIN OF itm_sales OCCURS 0,
           vbeln LIKE vbap-vbeln,
           posnr LIKE vbap-posnr,
           matnr LIKE vbap-matnr,
           kwmeng like vbap-kwmeng,
           lfsta LIKE vbup-lfsta,
           lfgsa LIKE vbup-lfgsa,
           fksta LIKE vbup-fksta,
           fksaa LIKE vbup-fksaa,
           gbsta LIKE vbup-gbsta,
           END OF itm_sales.
    DATA : l_kunnr LIKE kna1-kunnr,
           l_vkorg LIKE vbak-vkorg,
           l_vtweg LIKE vbak-vtweg,
           l_spart LIKE vbak-spart.
    DATA: v_statusl(20) TYPE c,
          v_statusb(20) TYPE c,
          v_statusf(20) TYPE c,
          v_statusg(20) TYPE c,
          v_status(20) TYPE c,
          v_field(1) TYPE c.
    data : v_openqty like vbap-kwmeng.
    **Selection Screen Validations.
    AT SELECTION-SCREEN.
      PERFORM validations.
    *&      Form  Validations
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM validations.
    **Customer
      IF NOT so_kunnr[] IS INITIAL.
        SELECT SINGLE kunnr INTO l_kunnr
               FROM kna1
               WHERE kunnr IN so_kunnr.
        IF sy-subrc NE 0.
          MESSAGE e002 WITH text-005.
        ENDIF.
      ENDIF.
    **Sales Organization
      IF NOT so_vkorg[] IS INITIAL.
        SELECT SINGLE vkorg INTO l_vkorg
               FROM tvko
               WHERE vkorg IN so_vkorg.
        IF sy-subrc NE 0.
          MESSAGE e003 WITH text-006.
        ENDIF.
      ENDIF.
    **Distribution Channel
      IF NOT so_vtweg[] IS INITIAL.
        SELECT SINGLE vtweg INTO l_vtweg
                FROM tvkov
                WHERE   vkorg IN so_vkorg
                 AND    vtweg IN so_vtweg.
        IF sy-subrc NE 0.
          MESSAGE e004 WITH text-007.
        ENDIF.
      ENDIF.
    **Division
      IF NOT so_spart[] IS INITIAL.
        SELECT SINGLE spart INTO l_spart
                FROM tvta
                WHERE   vkorg IN so_vkorg
                AND     vtweg IN so_vtweg
                AND     spart IN so_spart.
        IF sy-subrc NE 0.
          MESSAGE e005 WITH text-008.
        ENDIF.
      ENDIF.
    ENDFORM.                    " Validations
    Top-of-page.
    PERFORM sales_top_of_page.
    Start-of-selection.
    PERFORM sales_sel.
    *&      Form  sales_sel
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM sales_sel.
    SELECT vbeln auart kunnr bstnk
         lfstk fkstk gbstk
         INTO TABLE sales_open
         FROM vbakuk
         WHERE vkorg IN so_vkorg
         AND   vtweg IN so_vtweg
         AND   spart IN so_spart
         AND   kunnr IN so_kunnr
         AND gbstk NE 'C'.
      LOOP AT sales_open.
        WRITE:/4 sy-vline,
               5 sales_open-vbeln HOTSPOT ON COLOR 2 INTENSIFIED OFF,
               16 sy-vline,
               17 sales_open-auart COLOR 2 INTENSIFIED OFF,
               27 sy-vline,
               28 sales_open-kunnr COLOR 2 INTENSIFIED OFF,
               40 sy-vline,
               41 sales_open-bstnk COLOR 2 INTENSIFIED OFF,
               55 sy-vline,
               56 sales_open-lfstk,
               76 sy-vline,
               77 sales_open-fkstk,
               96 sy-vline,
               97 sales_open-gbstk ,
               117 sy-vline.
        HIDE sales_open-vbeln .
      ENDLOOP.
    ENDFORM.                    " sales_sel
    *&      Form  sales_top_of_page
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM sales_top_of_page.
      WRITE:/4 sy-uline(114),
         50 'OPEN SALES ORDERS' COLOR 7 INTENSIFIED ON .
      WRITE: /4 sy-vline,
              5 'SalesOrder' COLOR 1 ,
              16 sy-vline,
             17  'OrderType' COLOR 1,
             27  sy-vline,
             28  'Customer' COLOR 1,
             40  sy-vline,
             41  'PoNumber' COLOR 1,
             55  sy-vline,
             56  'Delivery Status' COLOR 1,
             76  sy-vline,
             77  'Billing Status' COLOR 1,
             96  sy-vline,
             97  'Processing Status' COLOR 1,
             117  sy-vline .
      WRITE:/4 sy-uline(114).
    ENDFORM.                    " sales_top_of_page
    AT LINE-SELECTION.
      SELECT       a~vbeln
                   a~posnr
                   a~matnr
                   a~kwmeng
                   b~lfsta
                   b~lfgsa
                   b~fksta
                   b~fksaa
                   b~gbsta
                   INTO TABLE itm_sales
                   FROM vbap AS a JOIN vbup AS b
                   ON a~vbeln EQ b~vbeln
                   AND a~posnr EQ b~posnr
                   AND b~gbsta NE 'C'
                   WHERE a~vbeln EQ sales_open-vbeln.
      IF NOT sales_open IS INITIAL.
        LOOP AT itm_sales.
          at end of vbeln .
          sum.
          v_openqty = itm_sales-kwmeng.
          endat.
          WRITE:/5  itm_sales-vbeln,
                    itm_sales-posnr,
                    itm_sales-matnr,
                    itm_sales-kwmeng,
                    itm_sales-lfsta,
                    itm_sales-lfgsa,
                    itm_sales-fksta,
                    itm_sales-fksaa,
                    itm_sales-gbsta.
        ENDLOOP.
      ENDIF.
    skip 2.
      write:/  'open Quantity for the order is ', v_openqty .
    for 1.
    open invoices..
    SELECT vbeln
             fkart
             kunag
             gbstk
             INTO TABLE it_billing_h
             FROM vbrkuk
             WHERE vkorg IN so_vkorg
             AND vtweg IN so_vtweg
    *        AND spart IN so_spart
             AND kunag IN so_kunnr
            and   year in p_year                  ---->"parameter for year..
             AND gbstk NE 'C'.                   "----> open invoices
    for 2..
    2. refer TABLES mara, EINA ..
    regards,
    VIjay

  • How to fetch the current stock of material based on Plant?

    Hi Experts,
    Could any one tell how do i need to get the current stock data of the material based on Plant.
    Thanks in advance.
    Regards,
    Abdur Rafique

    Hi ,
    MBEW stores the value of particular stock . T-code to find stock MMBE compare both wiht table and tcode.
    please let me know if you still find any issues .
    Thanks and regards,
    Rajeshwar

  • Returns with the current moving average price

    Dear All,
    I have a concern, if its possible to return to vendor with the current moving average price as I know that returning with movement type 122 is not applicable with such a case , so please advice with an OSS note if applicable
    Appreciating your quick response
    Thanks

    Hi,
    Why you MAP price to be update during 122 vendor returns?
    When returns are processed with same value as it was with 101 movement type.
    It cannot be same as MAP price of material.
    MAP is update based on the average movements of material with quantity and value.
    In std you cannot update MAP price of material during vendor returns and its not suggested.
    Rgds,

Maybe you are looking for

  • Replenishment in SAP-Retail

    Hey, My requirement is to group certain customers having same replenishment requirements and then assigning it to materials with defined replenishment parameters. I have figured how to trigger the replenishment parameters at a material group level or

  • ENET-232/4 doesn't seem to work for some instruments

    I have an ENET-232/4 and it works for some analog-digital interfaces I'm using but doesn't work for other instruments. I tried using a Shimadzu LC2010 with it, it configured OK, but the instrument wouldn't start a run. I tried a Thermo TraceGC and it

  • Error handling for a save button

    hi. how do i get error handling say in a button, and then to give an error to the user, without crashing the whole application. can any one point me to any articles, tried searching , and not finding wxactly what i am looking for. thanks. http://star

  • How do I delete tv shows from my ipod?

    I thought I was doing the right thing by after importing tv shows into itunes and finding that they showed up as movies by filling out the episode info etc. and changing them to tv shows. Well now I can't even find them in itunes. Where are they and

  • The connection does not exist

    Hi Guys, We are trying to extract  data from AS/400 TO ORACLE through ODI Interfaces,most of the time they wilkl work well. Sometimes suddenly in the middle of the load it will fails with an error message 'The connection does not exist' The following