VPRS incorrect cost when using Split Valuation

Hello,
We are using split valuation thus each valuation type has a separate moving average price. When creating a  billing doc, my pricing procedure is called which includes VPRS. The problem is the cost returned is not for the correct valuation type which is passed in the billing document (Field BWTAR). The cost returned in pricing is the moving average without any valuation type. Does anyone know of any configuration to calculate VPRS based on the batch/valuation type provided in the billing document?
My pricing procedure includes condition VPRS which is set to SUTOT = B, Reqt = 4 and statistical. The condition type is set to defaults (Cond Class = B, Calculation Type = C, Condition Category = G).  The article master has field Price Control set to V and split valuation is enabled.
The billing document type being used is FP (POS Interface)
The item category is DLN
Any help would be greatly appreciated.
Thanks,
Pierre

Hello Pierre
I am not totally knowledgeable on this subject but want to give my best shot.
I think you need to ensure that the system takes (redetermines)  the cost from Valuation segment in the material master.
1) So make the cond category a T (Moving price). Don't change VPRS but copy it and set up ZPRS and then use it in the pricing procedure as an alternative to VPRS.
2) You may also  need to work on the copy control- Item cat level-  especially Pricing Rules- Probably you need to set up a custom one which says 'keep manual prices as they are, but redetermine cost". Then you need to set up USEREXIT_PRICING_RULE  from Program RV61AFZA to make this work.  . Use OSS note 24832 to set up your new pricing rule.
3) Also check out 'Price Source' field- in copy control again-  to see if it helps you achieve your objective.
Also about VPRS, OSS note 547570 says  "If the condition control (KSTEU) is set to 'H', the cost was taken from the goods issue. If it set to 'A', it was redetermined from the valuation segment of the material master, in case of 'D' or 'E' it was copied from the preceding document:.  But I don't know how you can  use this information.
Go through these OSS notes and those mentioned within for a good idea of VPRS.
372772 - How does the system determine the cost?
547570 - FAQ: VPRS in pricing
24832 - Pricing rules / TVCPF
371844 - Correction of incorrect costs
372760 - Several problems with VPRS
Hope this helps, Let me know.

Similar Messages

  • Actual Cost when using Valuated Stock

    Hi All,
    I am using valuated stock in my project. The process would be,
    Reservation -> MRP Run -> PR -> PO -> GR -> GI.
    In this scenerio,I am expecting the actual cost, when I do the goods issue. However, the actual cost comes to project when I do the Goods Receipt (GR).
    Where the setting is missing?
    Regards
    Prabu K

    Prabu Kaliappan wrote:
    > However, the actual cost comes to project when I do the Goods Receipt (GR).
    >
    > Where the setting is missing?
    Actual Cost you are seeing while doing GR is only a statistical postings, because you have maintained statistical cost element for the inventory GL.
    The real actual cost will hit project only after GI.

  • Incorrect Results When Using an In-Line View and User Function in 10g

    My developers are complaining of incorrect Select statement results when using an in-line view along with a user defined function. Below is the statement:
    select test_f(wo1)
    from
    (SELECT a.WORK_ORDER_NBR, b.work_order_nbr wo1/*, facility_f(A.FACILITY),
    A.PLANNER, A.WO_STATUS, mil_date(A.WO_STATUS_DATE)*, A.WORK_ORDER_TYPE,
    A.WO_DESCRIPTION
    FROM TIDWOWRK A, TIDWOTSK B
    WHERE B.WORK_ORDER_NBR(+) = A.WORK_ORDER_NBR))
    where wo1 is null;
    Test_f() is a user defined function and the above query returns thousands of rows. It should return 308 rows. It is apparent that the target database is not evaluating the "where wo1 is null;" clause.
    select to_char(wo1)
    from
    (SELECT a.WORK_ORDER_NBR, b.work_order_nbr wo1/*, facility_f(A.FACILITY),
    A.PLANNER, A.WO_STATUS, mil_date(A.WO_STATUS_DATE)*, A.WORK_ORDER_TYPE,
    A.WO_DESCRIPTION
    FROM TIDWOWRK A, TIDWOTSK B
    WHERE B.WORK_ORDER_NBR(+) = A.WORK_ORDER_NBR))
    where wo1 is null;
    In the above query return 308 rows. The user function was replaced by an Oracle function. The Where clause is now evaluated correctly.
    The query is executed from an Oracle 10g R2 database and retrieves data from a 9.2.0.6 database.
    I've seen a little information on Metalink. It appears that there was some trouble in 9i, but were fixed in a 9.2.0.6 patch. I don't see any information about a 10.2.0.2 database.
    Anyone have any experiences or a successful solution. I suspect that I will need to report this to Oracle and wait for a patch.
    Thanks,
    John

    I can only think of two reasons for this behaviour:
    1) You are executing these two queries from two different users and there is some policy on the table.
    2) The function doesn't do an upper, but returns null a lot of times, even when the input is a not null value, like this:
    SQL> create table tidwowrk
      2  as
      3  select 1 id, 'A' work_order_nbr, 'DST' facility from dual union all
      4  select 2, null, 'TRN' from dual union all
      5  select 3, 'C', 'DST' from dual
      6  /
    Tabel is aangemaakt.
    SQL> create table tidwotsk
      2  as
      3  select 'A' work_order_nbr from dual union all
      4  select 'B' from dual
      5  /
    Tabel is aangemaakt.
    SQL> create or replace function test_f (a in varchar2) return varchar2
      2  is
      3  begin
      4    return case a when 'A' then null else a end;
      5  end;
      6  /
    Functie is aangemaakt.
    SQL> select count(*)
      2    from ( SELECT a.WORK_ORDER_NBR
      3                , test_f(b.work_order_nbr) wo1
      4             FROM TIDWOWRK A
      5                , TIDWOTSK B
      6            WHERE B.WORK_ORDER_NBR(+) = A.WORK_ORDER_NBR
      7              and a.facility in ('DST', 'TRN', 'SUB')
      8         )
      9   where wo1 is null
    10  /
                                  COUNT(*)
                                         3
    1 rij is geselecteerd.
    SQL> select count(*)
      2    from ( SELECT a.WORK_ORDER_NBR
      3                , to_char(b.work_order_nbr) wo1
      4             FROM TIDWOWRK A, TIDWOTSK B
      5            WHERE B.WORK_ORDER_NBR(+) = A.WORK_ORDER_NBR
      6              and a.facility in ('DST', 'TRN', 'SUB')
      7         )
      8   where wo1 is null
      9  /
                                  COUNT(*)
                                         2
    1 rij is geselecteerd.Regards,
    Rob.

  • Columns incorrectly omitted when using states: AdvancedDataGridColumn, includeIn

    When setting the includeIn property of any column in an AdvancedDataGridColumn array, the first column that is set to include is the only column shown, regardless of the includeIn or excludeFrom directives of the other columns.  The code below should show a datagrid with two columns, but only the first one appears.
    Does anyone have any idea why?  The behavior is correct for regular DataGrid, only incorrect for AdvancedDataGrid.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application 
    xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="
    library://ns.adobe.com/flex/spark"xmlns:mx="
    library://ns.adobe.com/flex/mx"currentState="
    A">
    <s:states>
    <s:State name="A"/>
    </s:states>
    <mx:AdvancedDataGrid>
    <mx:columns>
    <mx:AdvancedDataGridColumn headerText="col 1" includeIn="A"/>
    <mx:AdvancedDataGridColumn headerText="col 2" includeIn="A"/>
    </mx:columns>
    </mx:AdvancedDataGrid></s:Application>

    This does not work for me, as I've added functionality to select which columns should be visible. Setting visible to false will hide the column initially, but this column will be listed in the select visible column options.
    That's why I need to understand what is wrong when using includeIn/excludeFrom.

  • VPRS shows no Value with Split Valuation - Valuation Category X

    After configuring Split Valuation - Valuation Category X (http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=193693045)
    VPRS is no longer showing any Value in the Sales Order. I have assigned a Batch in the Sales Order and tried to Deliver and VPRS still shows as 0.
    VPRS is working correctly for Material that are not maintained at Valuation Category X.
    Also, I have the Price maintained as Moving Average Price for the Materials with Val Cat = X.
    Does anyone have any ideas? Please I would appreciate the feedback.

    Thank you for the quick response.
    After check MBEW i was able to see that my new Batches were being assigned a Standard Price instead of MAP.
    I changed the settings in the Attributes of my Material Type to set the Price to MAP instead of Standard.
    Now it works perfectly - Thanks!

  • Exploded vs. Archived EAR structure (when using split development)

    Using the split development structure suggested in Weblogic 8.1 with wlpackage
    ant task, I noticed that the exploded ear and the archived ear generation creates
    a "flat" deployment structure. i.e. all the files inside the ear hierarchy are
    bundled without any intermediate respective jars.
    Is there a provision to package the ejb modules in one or more jar files when
    building a qa and/or production ear ? Is this possible to accomplish or do I need
    to write separate ant "targets" in the ant script that would manually jar up the
    necessary ejbs. If so, how would this work in conjunction when I have a "ant ear"
    target ?
    I also noticed that the medrec example app has application specific value/dto
    classes bundled in a separate jar file using a build.xml file. My question, when
    running wlcompile at a higher level how does it know NOT to put the value classes
    separately under APP-INF/classes, i.e. why does the build not build/see these
    common value classes twice.
    Thanks for your help!

    DP wrote:
    Using the split development structure suggested in Weblogic 8.1 with wlpackage
    ant task, I noticed that the exploded ear and the archived ear generation creates
    a "flat" deployment structure. i.e. all the files inside the ear hierarchy are
    bundled without any intermediate respective jars.
    Is there a provision to package the ejb modules in one or more jar files when
    building a qa and/or production ear ? Is this possible to accomplish or do I need
    to write separate ant "targets" in the ant script that would manually jar up the
    necessary ejbs. If so, how would this work in conjunction when I have a "ant ear"
    target ? You would have to do this manually. Typically wlpackage would have to
    modify your application.xml to archive the modules. For instance, your
    application.xml probably has uris like myweb, myejb in it now because
    that's how you named your directories. If we archived those, they'd
    become myweb.war and myejb.jar, and the application.xml would need to be
    modified to reflect the new uris.
    It's all possible for us to do, but we ran out of time during 8.1 to get
    this one in.
    >
    I also noticed that the medrec example app has application specific value/dto
    classes bundled in a separate jar file using a build.xml file. My question, when
    running wlcompile at a higher level how does it know NOT to put the value classes
    separately under APP-INF/classes, i.e. why does the build not build/see these
    common value classes twice. I'm not sure I exactly understand your question, but let me explain how
    wlcompile works and see if that answers your question.
    wlcompile looks at each directory under the srcdir and decides whether
    it's an EJB, a webapp, or a java module. It supports an
    includes/excludes list to let you filter those directories.
    Anything that's not recognized as an EJB or webapp is compiled into
    APP-INF/classes.
    -- Rob
    >
    Thanks for your help!

  • Incorrect indentation when using on-the-flying report generation and IF statement

    Reproduce steps:
    1. Use teststand version 4.2
    2. Turn ON on-the-fying report option.
    3. Report option -> INclude Step Results->Result Filtering Expression = Exclude Passed/Done/Skipped
    4. My simply code is
    For loop
       If something
          Do something
             If somethingmore
               Call Action and set Record Result = ON
            end if
      End IF
    End loop
    Issue:
        The test report generated for "Call Action" indents every new row. Because it is a long test, this make the test report very difficult to read. If there is a very long test, the test report is  become unreadable.
    Is there a solution for this issue?
    Thanks

    Hi Biet,
    Unfortunately this is a known issue with TestStand, which is documented in the TestStand 4.2.x Known Issues. This occurs in situations where you are using HTML reports with On-The-Fly Reporting and a Result Filtering Expression. To avoid this situation, you can do one of a few things:
    Use a different report format
    Turn off On-The-Fly Reporting
    Not filter the results
    If you must filter results, you can modify the process model slightly to improve the situation. Though this is not a complete workaround, it can help.
    First, configue your Report Options so that you are reporting All
    Results, rather than filtering. Leave On the Fly reporting ON. Next, we
    need to make a modification to your process model. In the process model,
    open the ProcessModelPostResultListEntry sequence. In this sequence,
    select the Process Step Result step, and select the Properties tab. On
    that tab, select the Preconditions category. The text for the
    precondition should be the following by default:
    !Runstate.Root.Locals.ReportOptions.DisableReportGeneration &&
    Runstate.Root.Locals.ReportOptions.UseOnTheFlyReporting
    Now, we want to modify this to be as follows:
    !Runstate.Root.Locals.ReportOptions.DisableReportGeneration &&
    Runstate.Root.Locals.ReportOptions.UseOnTheFlyReporting &&
    Parameters.Result.Status != "Passed" &&
    Parameters.Result.Status != "Done" &&
    Parameters.Result.Status != "Skipped"
    This
    new precondition essentially implements our own filtering. In the
    condition that I have supplied, we will not add entries to the report
    where the status is "Passed", "Done", or "Skipped". (You can add
    additional lines to add additional statuses to filter.) The limitation
    here is that the bug provides incorrect indentation, so the results may still be grouped slightly differently than they would be without the bug.
    I hope this helps!
    John M
    National Instruments
    Applications Engineer

  • Incorrect DNS when using DHCP. DNS server is considered to be a Virus??

    Running 10.5.5. Noticed extreme slow down in resolving domains in safari, firefox. I currently use Verizon FIOS. When looking in network settings it shows a DNS server as 85.255.115.30. This is not verizon's DNS server. When I delete that server out and add the Open DNS server's address internet works great. This is not an issue on Verizon's end because any ethernet connection to any internet provider will default to using that address for DNS. Only does it over ethernet. Tried deleting the port and re adding and still comes back. No issues when booted off another drive. Mcafee says that a Trojan changes the DNS on PC's. No PC's are networked to this mac. I cannot delete this DNS server under the DNS tab in advanced settings...?

    That IP address does seem to fall within the range known to have been used by the DNS changer trojan (try searching the web for "DNS changer", puper, OSX.RSPlug.A, 1023.dmg, etc.). That very likely means that at some point, malware managed to run with "root" privileges on your system.
    Under such circumstances, it would be safest to back up all of your data and reinstall the OS and applications from known "good" media.

  • Incorrect name when using my icloud email

    I have an icloud email, when I email people it spells my name wrong.
    I have checked with my apple ID and my name is spelt correctly.

    To change your sender name on an iOS device, go to Settings>Mail,Contacts,Calendars...tap iCloud under Accounts, tap your iCloud account at the top of the next screen, tap Mail at the bottom of the next screen, then enter the name you want to use in the Name field at the top.

  • Smart Folder in Finder displays incorrect list when using "File label" option.

    Hello.
    I created a Smart Folder in Finder, to display all files that have any color (label).
    But have a problem just with one file, and although it has no Label, it keeps displaying that file.
    Just to let you know:
    1) File is not in Trash or hidden.
    2) Checked several times the "information" of the file. Assign any color, then removed it.
    3) File is synched with Dropbox v2.0.5
    4) File is a Microsoft Excel and been working with it for a while with Office for Mac.
    OS X 10.8.3

    I'm having this problem, too. It with even show files with other color tags when filtering by another color. I tried changing the file color then changing it back to blank and it disappears temporarily, but if you view another folder and then come back the file pops back.

  • Split valuation Cost estimate

    What is the impact when we execute cost estimate using Split valuation materials ?

    Std cost estiatme would impact the Split valuation which would have the material with "S" Standard price to update the price when you release std cost estimate.

  • Raw materials on MAP with split valuation used in standard cost estimate

    We have a few raw materials which are purchased from different vendors and of different brands. We have opened split valuations for these raw materials. These raw materials are later used in manufacture of different finished goods. We use MAP for raw materials and Std. for finished goods. What configuration and processing steps will be required to run standards cost estimate and what will be standard price for a finished good considering the following example:
    Material X is finished good
    Raw Material A with split valuation @ USD 5 (brand aplha)   &   USD  10 (brand beta)
    Raw Material B without split valuation @ USD 1
    It is expected that we used brand aplha 60% of the time and brand beta 40% of the time and production batch size is usually 100 Kg.
    Please reply
    Edited by: Chris SAP on Sep 29, 2011 7:56 AM

    hi chris
    Hope you have configured the material A for split valuation. while calculating standard cost estimate for the material C. through ck11n, the system will pick up the header price from material master.
    But here you are saying that you have chances of using the material A, 60% of brand alpha and 40% brand beta
    Instead of using split valuation use mixed costing concept. create the material A with separate Ids and create two boms one with alpha and the other with beta.
    create procurement alternative in CK91N and mixed ratio with Ck94 and release the mixed cost estimate
    please go through this thread also
    Re: Difference between Split Valuation and Mixed Costing
    Krishna

  • How do I update standard cost for split valuation material?

    We are using split valuation on our maintenance material.  Maintenance material is held in an inventory account separate from our production material.  We have materials that are set up with a Parent material as variable, and child materials  which are NEW or REFURBISHED or CORE.
    The Child materials are set as standard cost.  Some of the standards are old.  Unlike our production materials, which have their cost standards on the Costing 2 tab of the material master, split valuation child parts have their costing on the Accounting 1 tab.
    I attempted to update a cost standard by loading a future price manually in the material master.   I was able to load a future price, but could not get it to release in CK24.
    I have been unsuccessful in finding a process or procedure that tells me how to update a child standard once is already exists.  There was one blog that said that the standards could only be released using CK24N if the quantity is zero.  I attemped to update costs on part with zero quantity on hand. This was also unsuccessful.
    I am looking for a process- ie 1) load a future cost using tcode XYZ, 2) Mark and release cost using tcode XYZ, 3) validate changed inventory value using tcode XYZ.
    Thank you in advance for your assistance.

    Hi Govind
    If your valuation variant reads MAP as the strategy sequence - Then average MAP will be taken... i.e. the MAP in the parent accounting view of the material will be taken
    However, if your strategy sequence is intended to look for info records, then follow the link given in the earlier reply
    Regards
    Ajay M

  • What is the use of split valuation Accounting view

    Hi
    What is the use of split valuation Accounting view.is it compulsary to give for every materisl?
    regards
    Ashok

    Hii Ashok,
    The SAP R/3 System allows you to valuate stocks of a material either together or separately, that is, according to different valuation criteria. Split valuation is necessary if, for example:
    1. Stock from in-house production has a different valuation price than externally procured stock.
    2. Stock obtained from one manufacturer is valuated at a different price than stock obtained from another manufacturer.
    3. Different batch stocks of a material have different valuation prices.
    4. Value damaged and repair part differently from a new part.
    To used split valuation, you have to activate it using 'OMW0'.
    To change split material valuation once it has been set, you must
    1. first post out all stocks (for example, to a cost center or with movement type 562)
    2. then change the control parameters
    3. if necessary, change the automatic account determination
    4. finally post the stocks back in again
    In split valuation, you can distinguish between partial stocks of a material according to certain criteria and valuate them separately.
    The material stock is divided according to valuation category and valuation type.
    The valuation category determines how the partial stocks are divided, that is, according to which criteria.
    The valuation type describes the characteristics of the individual stocks.
    With the function "Setting" you can determine:
    which valuation categories exist in your company (global categories)
    which valuation types exist in your company (global types)
    which valuation types belong to which valuation category
    which valuation categories exist in a valuation area (local categories)
    Your entries are only relevant if you set split valuation as active in the function "Global settings".
    In the standard SAP R/3 System, the following valuation categories are default settings :
    B procurement type
    with the valuation types:
    "EIGEN" for in-house production
    "FREMD" for external procurement
    H Origin
    X automatic valuation (only for batch)
    To select split valuation ('OMWC'), proceed as follows:
    1. Determine the valuation categories and valuation types that are allowed for all valuation areas:
    global valuation categories via menu "Goto --> Global Categories"
    global valuation types via menu "Goto --> Global Types"
    2. Allocate the valuation types to the valuation categories.
    a) Select "Goto --> Global Categories".
    b) Position the cursor on a valuation category and select
    "Goto --> Global Categories --> Assignments --> 'Types->Category'".
    c) Activate the valuation types you want.
    3. Determine the local valuation categories for each valuation area.
    a) Select "Goto --> Local definitions".
    b) Position the cursor on a valuation area and select
    "Goto --> Local Definitions --> Allocate Categoires->Org.units (button Cats->(OU)".
    You obtain a list of the global valuation categories.
    c) Activate the categories to be used in this valuation area.
    The system creates the local valuation types based on the allocations under point 2.
    Only now can you create a master record with split valuation.
    Regards,
    Kumar

  • Use of split valuation

    Dear colleagues,
    A semi-finished product, letu2019s say material AA, is produced, in-house, in 2 plants, say plant 1000 and 2000, with different price. This material is then transferred to plant 3000 from both plants where it is transformed to finished product.
    In plant 3000 material AAu2019s price should be calculated with moving average price. In order to achieve this functionality can we use split valuation with valuation category H? if yes what are the prerequisites? 
    Thanks

    Hi there
    Basically if you want to have two diff price in two diff plants, then no need to have the Split also, ( Hopefully valuation area you maintained as plant), Coz accounting data you are maintaining for the plant,
    Plant: 1000-Material "XYZ"-Price 1  Eur
    Plant: 2000-Material "XYZ"-Price 1.5 Eur
    Std SAP will allow you to maintain 2 diff prices in 2 diff plants( i had thought you are asking in a plant)
    Now come back to Plant 3000, in order to achive this in plant 3000 for a material"XYZ" use the moving avg price in a master,,,
    For Ex: when you receive the goods from plant 1000(Vendor)= 100*1
    and receive the goods from plant 2000 (Vendor2)=100*1.5
    In plant 3000= Total qty:200 Total Value=250 MAP=1.25
    Hope it clears if my understanding from your question is not wrong,,
    Thanks
    Senthil

Maybe you are looking for