Table entry for Valuation variant for material prices

We want to define a valuation variant for costing run.  In that we need to select the material price based on the plan price.  We have provision of entering three plan prices in the Costing tab-2 in the material master.  But we want to enter plan  prices for more than three dates. For this, we propose to enter the dates and prices in a separate table and that table needs to be accessed in the valuation variant for material prices closest to the date of valuation.  How we can go about this ?

Hi
When you create Valuation Variant, choose Strategy U i.e. Price from userexit
Then code the exit COPCP0005 with the help of ABAP consultant
The logic should be:
a. Refer the "costing date from" entered in Ck11N
b. refer the Z table... and pick the price relevant on that date
br, Ajay M

Similar Messages

  • Strategies for valuation variant

    Hi,
    I am creating a valuation variant in Product Costing for standard cost estimation.
    Could someone tell me what the most common strategies for materials, activities, subcontracting and ect. processing are?
    I know that it depends on the agreement with client, but I don't have any information about the client needs, so have to do a standard, most common valuation variant.
    Thanks,
    Karol

    Hi
    General valuation strategies would be as follows
    1)  Material - Planned price, Std price, Moving avg price, Purchase Info records
    2)  Activity - Plan price for the period, Most upto date plan price
    3)  Sub Contracting - Effective price from purchase order, Net / Gross purchase order price
    4)  Ext Processing - Same as in 3
    The above are general strategies - but also depends on various other parameters viz
    1)  Decision on activity pricing
    2)  Hw stable are material prices - it also depends on commodity types if u are
    implementing for metals
    3)  Subcontracting strategies will work only if u hv subcontract situation.  Here again u need to define a std price in the system and do sub contract product costing
    4)  External operation is used - if operations are outsourced to vendors.  Here in routing u need to mention the info record etc.  Lot of other setttings need to be done in this case. 
    However, the general settings are mentioned.  Pls assign points if the above clarifies and let me know whether u hv sub contracting and external operation so that additional suggestion can be given further

  • 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

  • Problem while creating PO from SO for a Variant configurable material

    Hi
    i am facing a problem when i am creating a Purchse order from a Sales order.
    the material is a variant configurable material and we are creating a Sales order in Future date say in june.
    For one of the materials in the SO the configuration is different today and the configuration is different in June.
    Today the BOM contains different materials and in june there is a different bom for the material.
    and according to my understanding the BOM gets exploded on the basis on the delivery date in SO.
    here on the basis of the config which is valid in june materials are getting picked and that is correct.
    when i try to creat a PO out of that SO i could see that the BOM gets exploded and   correct materials are picked but i get the error message that inforecord for one of the componentes is not there.
    but that component is not getting selected in the config..and it is not there in BOM in june.
    It is there in the BOM today but not in JUNE.
    I dont understand why the system is refering to that componeent and throwing this error
    please help
    Thanks & Regards
    sarika

    You may try creating two BOMs  -- one speicfic to the date of order.
    Sanjeev

  • PO Release for - change in item (material) price

    Dear Sir,
    Can you guide me in following Purchase Order release scenario :
    1) While making Purchase Order if there is change in item(material) Price (only increase only) then wants approval.
    Regards,
    Mahesh.

    Hi ,
    No , If earlier i purchased material A @ 500 now second time i am purchasing same material A@600 means price change is there ,then i required release (approval).
    If it was same like earlier A@500 then not required release (approval)
    Regards,
    MAhesh.

  • Cant set status released for Generation Variant for report category IBD_MSD

    Dear EH&S people,
    I am trying to upload a vendor MSDS'. I am not succesfull in this. The reason is that the status of the generation variant is not "Released".
    I am not able to set the status released in the Generation variant. I am using report category IBD_MSD which should be the standerd one for Vendor MSDS.
    Together with an abap consultant we found via debugging of the matchcoded of the search of the status that he takes the DMS document type SBR as a basis. It should however be IBD.
    Has somebody encounter this problem before and have a solution for this?
    Is there somewhere customizing which controls for a certain category which DMS document type to use?
    Thanks in advance for your answer.
    Regards,
    Pascal

    Hi All,
    I found the solution.
    I looked at the detailed customizing of the document type SBR. Note 1091699 explained detailed settings of the different document types.
    SBR was not correct customized.
    It sounds strange that SBR is used for the report generation status for Vendor MSDS. I think it is because SAP treads it as if it is a raw version. So that could be an explenation why it searches for the status of that document type.
    After I updated the SBR-type correctly, I was succesfull in uploading Vendor MSDS. The DMS type which was used to save the document was IBD.
    Thanks all for your help.
    Issue closed.
    Regards,
    Pascal

  • No valuation variant found for valuation area

    Dear Experts
    When i m clearing or puting the LOt in quality through MB31 with 101 Movment for Production Order Following Error has occured
    No valuation variant found for valuation area xxxx.
    Rgds
    Pankaj Agarwal

    transaction - OPN2
    for Valuation variant 007 see the details of material val tab page
    if its defined properly
    than go to
    IMG--Production >SFC>Integration-->Define valuation of GR
    assign 007 to ur valuation area that is plant code
    hope this helsp

  • Valuation price with user exit/BADI/Enhancement Spot (In valuation variant)

    Hi all,
    i am facing problem finding enhancement when creation of sales order of Valuation price with user exit/BADI/Enhancement Spot  (In valuation variant)
    For refferenece:
    When going to t.code VA03, select one item and go to extras in the menu bar and select costing then you find some amounts calculation i.e valuation price automatically.
    So when creation of sales order i am giving material and that material price automatically takes from material master and creating sales order.
    My customer requirement is to get the valuation price of the input material from Z-table during the sales order cost estimate.
    This Z-table contains the material code, plant , grade  of the material.
    Ex:
    Material         Plant   Grade Price
    A                1000    XYZ     25000
    A                1000    PQR     35000
    A                1000    BCD     45000
    Suppose it depends on sales document type and which grade price i have to take.
    So first of all i am unable to find enhancement where to change this code to get change the valuation price.
    Does anybody have any idea , is there any user exit/BADI/enhancement for this.
    So please help me in this issue.
    Thanks & Regards,
    lokeshgoud

    pls allow me to post the questions

  • Material price changes in parallel valuation

    Hi experts,
    i have an issue with Material Ledger. in our client organisation, ML is active and there are materials with price determination indicator set to 3 and with  price control indicator 'S' in the material masters.
    However over a period of time, the parallel valuation for most materials display different values. it is essentially due to lack of knowledge on the part of users and indiscrete use of CKMM for change of price control indicator from 3 to 2 and vice versa.
    Now the business is serious to correct this situation. My questions in this regard are;
            a. what is the best source (table name) from down loading the material prices in different valuation views for a given period
            b. what precautions should we need to take to make changes (manual changes or mark and release of standard cost estimates) for these materials for all the valuation views to the prices ( i have gone through the SAP note 190707.
            c. what will be implications of making such changes on the financial balances of the organisation.
    Please give me a comprehensive picture of these aspects as monetary value at stake is quite significant for the client.
    Regards,
    Rao

    a. Use CKMLHD & CKMLCR
    b. Make Price Determination Binding in OMX1, once you are done with your changes in CKMM
    c. CKMM program tells you whats the financial impact...still you want to play safe...get a copy of production and try it out to see the impact

  • Wrong priority, valuation variants

    Hi all,
    We are having two costing variants and valuation variants (maintained in transaction code OKP8), one for ordinary calculation and one for planning. The one for ordinary we have the following priority:
    1. L Price from purchasing info record
    2. 4 Planned Price 1
    3. 1 Standard price in previous period
    Sub-strategy: A Quotation Price via Condition Table
    For the planning valuation variant we have the following priority:
    1. L Price from purchasing info record
    2. 4 Planned Price 1
    3. 7 Valuation price according to price control in Mat. Master
    4. 1 Standard price in previous period
    Sub-strategy: A Quotation Price via Condition Table
    Our problem is that; for the planning valuation variant the system choose priority 3, 7 Valuation price according to price control in Mat. Master instead of the info record that we have maintained. Planning price is not maintained thatu2019s why the system don´t choose that price. For the ordinary valuation variant the system choose priority 1. L Price from purchasing info record.
    We wonder if:
    1.Is that not possible to choose price from purchasing info record in two valuation variants, that you can´t combine this two?
    2.If this not is possible, are we forced to maintain a planning price?
    Best regards Lisa

    Hi,
    In your case as u have two different costing variants, generally there wont be any issue in having two different valuation variants for these two.
    Genearlly system picks up the purchase info record even for plan based on the valuation variant u assigned.
    Picking up the purchase inforecord is based on MM settings for material sourcing. check with MM how they maintained. Also recheck u r routing in planning.
    Regards
    Sudhakar Reddy

  • Function Module to update Characteristic Value (AUSP table entry)

    Looking for a function module/BAPI to update a characteristic value (AUSP table entry).
    This is for a material master Material classification value, not a Variant Config value that I need to update.
    Anybody have one?  I have one that will find the value, but not change it.
    Thanks.

    That wasn't it, but it gave me the one piece I was missing.
    Answer is:
    Function Module "CLAE_CLASSIFY_OBJECT"
    In CHANGE_KSSK
    M = 0
    KLA = (Class Type)
    OBJEK = (Material Number for the Material Characteristic being changed)
    OBTAB = MARA
    CLASS = (Class Name with Characteristic to be changed)
    S = 1
    S = (blank)
    AENNR = (EC Change Number or Blank)
    DATUV = (Today's Date or date for change)
    C = "X"
    In CHANGE_AUSP
    OBJEK = (Material Number for the Material Characteristic being changed)
    ATINN = (Chararacteristic to be changed)
    M = 0
    KLA = (Class Type)
    ATWRT = (New Value for Characteristic)
    C = X

  • Costing variant/valuation variant

    dear gurus,
        can any body explain the costing variants,valuation variant,costing sheet,costing type,how it is integrated in production order in controlling tab.can any body explains the customizing part of product costing and overview.
    if any body is having the product costing material please send to [email protected]
        please through some light on product costing
                                                                            -gide

    Hi,
    Every cost estimate we create is based on the costing variant.
    In the costing variant we define the control parameters and settings for costing
      Settings contains info such as prices that will be used to cost the materials and activities
    Control parameters are used for the automatic determination of of qty str ie Bom and Routing
    Every costing variant contains a valuation variant and a costing type , date control , qty str control.
    Valuation variant:
    Valuation variant defines the price with which the material and activities are valuated
    determines 1.which price is taken from material masterrecord to calculate the material cost
    2.
    which price is taken from cost center accounting to calculate the costs for internal activities
    3. which price is taken from purchasing info rec to calculate the the costs for ext activities / subcontracting
    4. which costing sheet is used to calculate the over head costs
    Costing type:
    costing type defines the valuation view to be costed and defines the purpose of costing.
    Date control :
           controls the validity of the cost estimste , qty str date.
    Valuation class:
    For material costing the valuation class controls the cost element to which the planned cost of the material are assigned and the cost element under which the actual costs are updated when the material produced is delivered to stock
    Valuation category:
      specified the criteria according to which partial stocks are distinguished from one another
    Price control indicator:
      the price control indicator specifies whether the stock of the material is valuated with standard price or moving avg price
      costing sheet:
                The costing sheet links all the functions for overhead calculation.
        In the costing sheet we determine the following
        1.The direct costs to which the over head is applied
        2.The condition under which the over head is applied
        3.Whether the over head is applied as a percentage basis or on a qty basis
        4.The amt of overhead percentage
        5.The validity period of the over head
        6.Which object is credited ( order , cost center) and which cost element in the case of actual posting
       We enter  the costing sheet in the valuation variant in customising
    Regards,
    nandha

  • Getting a material Price change in a certain period

    Hi everyone,
    I would like to seek your help regarding a problem I have in MM module. I am not an MM person but I need something that came from MM module.
    What I need is the price change of a material in a certain period. Is there any FM that I can use to do this? I need it to compute the ratio how a component material affects the price change of the header BOM material. So if we check the FI document posted for the header BOM material price change, explodes it and check if the components of that material had also undergone a price change in that period.  So how will I check the price change done on that component material?
    Thank you.

    Hi,
    I need to compute ratio so I need the price change. In the report, you need to drilldown first to see the document.
    thank you.

  • 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,

  • Material Master: Copy rule for purchase variant prices

    Hello together,
    in the material master (transaction MM42) on variant level the purchase prices can by copied from the generic article to the variant; for this a copy rule can be applied; one of the copy rules can be selected an be used.
    Now, the customer would like to copy additional conditions, such as freight, to the variants.
    Is it possible to implement an own copy rule? Is there any Badi or user-exit?
    Thank you for your information in advance.
    Best regards,
    Kurt.

    Any answers ?

Maybe you are looking for