Average Sale Price - Division Issue in Formula

Hi All,
I have created a Calucalated Key Figure usinga formula : <b> 'Sales USD' DIV 'Sold Quantity'</b> means Sales divided by Sold Quantity.
But I have a problem in displaying decimal value of average price as below:
Sales USD     = $ 29,677,088.040
Sold Quantity = 4,178.000
$ 29,677,088.040 / 4,178.000 = $ 7,103.180 is the correct value.
But instead query is displaying $ 7,103.000 only... Decimal value is not displayed for all rows.
Can some one help me on this.

Hi,
check T006(units) table in BW  for quantity.  feilds ANDEC(No. of decimal places to which the key figure should be rounded) and DECAN(no.of decimal places to be displayed). Is ANDEC  zero for sold to quantity?
Jaya

Similar Messages

  • MIGO-Sales price for material (NL1S ROH1 ) could not be found

    Hi Experts
    When i doing MIGO , i am getting following Error Message .i.e.,
    *Sales price for material (NL1S ROH1 ) could not be found*Message no. M7158
    Diagnosis
    The sales price valuation is active in the valuation area.
    The system could not determine a sales price on the specified posting date for material NL1S ROH1 in unit of entry in plant .
    Sales price conditions may not be defined for the material in plant .
    Procedure
    u2022 If you have a goods receipt for a purchase order or an order, the sales price is taken from the purchase order or the order concerned.
    Check the sales price in the purchase order or the order.
    u2022 if you have goods movements without a reference, you can specify the sales value (sales price including sales tax) manually.
    If the screen does not have the field Sales price, then you have a Customizing error: the sales price valuation was activated in the valuation area, but the field selection of the movement type was not changed accordingly. In this case, contact your system administrator.
    u2022 Check the definition of the sales price.
    Note that for distribution centers, the sales price of the consumer distribution chain maintained in the distribution center's master data is used.
    Proceed
    If you post this movement without the sales value, the movement will be valuated with value zero. This can change the average sales price.
    Please Advice us ...
    Thanks in advance
    Regards
    Rajesh .P

    Hello,
    Please check the following:
    -check with SE16 at table T001K whether you have sales pricing active for your valuation area,does your material belong to a very special material type
    -Check SAP Note 84480 ,109881
    -No sales price exists, no goods movements can be posted for an article subject to value-based inventory management. You must maintain the sales price in all cases.
    Please refer the link below:
    http://help.sap.com/erp2005_ehp_04/helpdata/en/12/085e95470311d1894a0000e8323352/frameset.htm
    hope the information is helpful
    regards

  • Average moving price in a past sales order

    Dear gurus,
    How can I check the average selling moving price in a past sales order. For example, I want to see the average selling price in a set of orders which has been created in March or May this year as we are in August.
    How do I do that?
    Thanks
    Chris

    Hi
    In the moving average price procedure (price control u201CVu201D), the system valuates goods receipts with
    the purchase order price and goods issues with the current moving average price.
    The system automatically moving average price calculates( the latter) upon every goods movement by dividing the total value by the total stock quantity.
    This is the concept of MAP (It changes dynamically with each and every MIGO or SD goods issue happens with that material in its master record )
    MAP is a dynamic parameter and it changes with each and every sales order in MMR
    MAP for the past single order can be seen in VPRS condition type provoded if you have choosen the appropriate price control there
    average selling price in a set of orders which has been created in March or May this year as we are in August.
    This statement is meaningless
    Regards
    Raja

  • Issue in Exporting the Sales Price List and Purchase Price List for the Materials from SAP Business ByDesign (SAP Cloud)

    Hello Everyone,
    I would like to have a discussion on the issues, which I am facing at the time of Exporting the Sales Price List and Purchase Price List for the Materials from
    SAP Business ByDesign (SAP Cloud).
    (1). Sales Price List :
    We have maintained Customer Group Specific Sales Price List for the Materials in the following Location.
    Location :         Product and Service Portfolio Work Center > Pricing > Price Lists > Customer Group Specific Price List (Type of Price List)
    Target :             We want to export the entire records in some reports or excel sheet.
    Records :          Number of Materials in the Customer Group Specific Price List is more than 2,00,000
    Issues : 
                                         (A). In the SAP Business ByDesign Screen we can filter by number of records but we can export till  50,000 records.
                                                 And if we are trying to export records more than that limit, then it throws "HTTP 500 Internal Server Error".
                                         (B). We could not find any SAP standard reports in Product and Service Portfolio and/or Business Analytics Work Center
                                                for getting the entire record set of the Sales Price List, so that we can have the entire set of records together.
    Searching For :
                                          (A). Is there any SAP reports or data source available for getting the entire Sales Price List records?
                                          (B). Can we have any other filter conditions for exporting the Sales Price List records in a single shot or module wise?
    (2). Purchase Price List :
    We have maintained the Purchase Price List for the Materials in the following Location.
    Location :           Product Portfolio Work Center > List Prices > Active List Prices (Type of Price List)
    Target :               We want to export the entire records in some reports or excel sheet.
    Records :            Number of Materials in the Purchase Price List is more than 4,00,000.
    Issues :  
                                           (A). In the SAP Business ByDesign Screen we can not see more than 10,000 records and the actual number of
                                                   records are more than 4,00,000. We could able to download the records till 10,000 but that is not sufficient.
                                                   We want to export the entire records in an excel sheet.
                                           (B). We could not find any SAP standard reports in Product Portfolio and/or Business Analytics Work Center for
                                                  getting the entire record set of the Purchase Price List, so that we can have the entire set of records together.
    Searching For :
                                           (A). Is there any SAP reports or data source available for getting the entire Purchase Price List records?
                                           (B). Can we have any other filter conditions for exporting the Purchase Price List records in a single shot or module wise?
    Please go through the attached screen shots for the references and more clarity on the issues.
    I am waiting for the valuable responses.
    Thanks and regards,
    Susanta Dey Sarkar
    Bangalore, India
    19th March, 2015

    Dear Michael,
    The number of records :
    2 Million (Approximately) is for the Sales Price List Material Price Data
    4 Million (Approximately) is for the Purchase Price List Material Price Data.
    Regards,
    Susanta Dey Sarkar

  • Extrusion Sales price based on multiple parameters of the Finished Material

    Hi Gurus,
    Scenario: Extrusion Industry- Finished Material price to be calculated, based on the following parameters:
    1. Basic Price of the Finished Material
    2. Alloy Market Price
    3. Temper Price
    4. Type of Finish based Price
    5. Length ordered based price
    A. Customer wants the Sale Price of the Finished Material to be sum of 12345.
    B. Customer wants to Change the Basic price for few Customers.
    C. Customer wants to Change the Sale Price of the Finished Material based on the Market fluctuations with respect to the Alloy used in the production of the Finished Material.
    How to address, this type of Scenario ? Those who have come across similar scenarios in Extrusion Industry can share their experiences ?
    Do we need to go with Variant Pricing ? If so, do we need to go with KMAT or FERT ?
    Thanks & Regards
    Sreekanth

    hi,
    1. Basic Price of the Finished Material
       Kondition xxx1  Access : 1. Kunnr / Matnr   ex      ( B )
                                                 2. Matnr
    2. Alloy Market Price
        Kondition xxx2    Access : alloy - price
                                    with formula over the weight of the Material
    3. Temper Price
        Kondition xxx3
    4. Type of Finish based Price
        Kondition xxx4
    5. Length ordered based price
        Kondition xxx5    with Formula over the length
    6. Summ of 1 - 5
    7. xxx6 Manual Price   with exclusion of xxx1 to xxx5      for C - manual Price
    or
       xxx7 Rabatof sum 6   for the scenario c -- for scenario c, there is to less information, what there should be done.
    so far, i dont see a reason for variant pricing.
    hans

  • How to Prohibit Sales Price Lower Than Material Standard Cost

    Hi Moderators:
    I got a problem from our sales departement, because they found a manual mistake, that was, somebody who maintained a incorrect sales price in the condition record which was lower than the standard price in the material master data! This must be a error!
    My question is, how to customize in SAP system and prohibit to maintain the sales price (LT standard price) in the condition record? Maybe system could issue a "Warning" or "Error" message to the user before saving the changes!
    I'm highly appreciated that you can help me to solve the problem. Thanks in advance.
    Have a good day and best regards
    Z.T

    Hi Zhang
    If I have understood correctly, you want that, when the "Selling Price" is less then the "Cost" , system should give you warning or should prohibit from futher processing.
    That means, system should not allow negative Profit.
    If this is the requirement, then you can not set it in the Condition record.
    You need to make the settings in the Pricing Procedure.
    Go to your Pricing Procedure and for the condition type VPRS(Cost) make the below mentioned settings.
    Sub Total -  B,
    Requirement --- 4'
    AltCTy  - 5  and save the settings.
    Now when you create an order with Negative Profit ( Selling Price is less then Cost),system will give you warning and if  you will try to save then system will regard this document as Incomplete.

  • While creating quotation/sales price an error occur

    hi experts
    i have done cost planning using ECP , i have created inquiry and also assigned DIP profile to inquiry and Project Definition as well. Now , when i am creating sales price/quotation thru DP81 iam getting an error message." Error during material determinationfor sales document item 10000000/0010"
    please help me in solving this issue..
    Thanks

    Hi,
    The DIP profile defined is not proper;There is a good pdf file available for DIP settings online.pls go through that before config of DIP.
    Just a brief of DIP for Usage :Quotation & Sals Prcng
    1.Allocate sales doc type for DIP
    2.Usage quot
    3.Charateristic for selec for DIP(for e.g cost element,WBSE)
        3.1 No summarisation deactive (will give individual details)
        3.2 Structuring active (will give break up during quotation)
        3.3 Define the set name
        3.4 Single values active
    4.Source ECP 100%
       4.1Selection criteria name of Set (give the set name which contains all the cost elements)
    5.Material determination (enter the service material no to which the details to be collected;transfer cost and quantity)
       5.1criteria (cost elemtn set)
    enter the proper DIP profile in project profile
    check for the status in ODP2
    regards
    anish

  • Logistics Information System-Sales price conditions Analysis -(konv-KSCHL)

    Hi All,
    It,s possible make sales price conditions analysis  with Logistics Information System (LO-LIS) -table konv for sd sales?
    Has anyone done something similar? (Sum the value of conditions by period of sd sales)
    Thanks, Carlos Duarte

    Hi,
    Please check whether the entries maintain in LIS update or not?
    Path:
    SPRO --> IMG --> Logistics-General -->Logistics Information System --> Logistics Data Warehouse --> Updating --> Updating Control --> Settings: Sales --> Update Group
    --> Assign Update Gropu at Header Level
    Maintain following data, sperately in two rows:
    Sales Org: say,1234
    DstCh:
    Division:
    Customer Statistic Group: +
    Statistics group for sales document type: 1
    and
    Sales Org:
    DstCh:
    Division:
    Customer Statistic Group: +
    Statistics group for sales document type: 2
    SPRO --> IMG --> Logistics-General -->Logistics Information System --> Logistics Data Warehouse --> Updating --> Updating Control --> Settings: Sales --> Update Group
    --> Assign Update Group at Item Level
    Maintain following data, sperately in two rows:
    Sales Org:
    DstCh:
    Division:
    Customer Statistic Group: +
    Material Statistic Group: 1
    Statistics group for sales document type: 1
    Statistics group for the item category: 1
    and
    Sales Org:
    DstCh:
    Division:
    Customer Statistic Group: +
    Material Statistic Group: 1
    Statistics group for sales document type: 2
    Statistics group for the item category: 2
    Best Regards,
    Amit.
    Note: Once, you will maintain Settings for LIS-Update, it will update onwards transactions and will not update for already done transactions.

  • Javascript for hide sale price and grouping not working in IE9

    the following code is not working in IE9. does anyone know how to fix this? anyone else having this issue?
    <script type="text/javascript">
    var opt = document.getElementById('grouping');
    if(opt.innerHTML == 'Choose One ') opt.style.display='none';
    </script>
    <script language="javascript"><!--
    var onsale_{tag_productid} = "{tag_onsale}";
    if (onsale_{tag_productid} == "0") {
         document.getElementById("rrpprice_{tag_productid}").style.display = 'none';
    //--></script>
    <script type="text/javascript">
    document.getElementById('catdesc').style.display = "none";
    </script>

    You can look at this link:
    http://vanderwal.com/limited-edition-nautical-panoramic-prints/g16-the-north
    -light-and-sachem-pond-block-island
    But it needs to be viewed in IE9 because that is where the issue is. For
    some reason the JS is not hiding the sale price or the grouping.

  • Mb11 sales price

    HI
    I have tried in mb11 t.code 241mvt type its goods issue for asset,i entered my article that time showing error Sales price for 18.02.2011 121934 EA bb01 could not be found,
    Message no. M7158
    how to rectify warning error or how to activate or deactivate sales price.
    Regards
    sam

    Hi ,
    You can do it through Special Price.
    Go to Inventory ->Price List->Special Price -> special Price for Business partners
    http://www.pioneerb1.com/wp-content/uploads/2012/06/How-to-Define-Special-Prices.pdf
    Thanks
    Mohammad Imran

  • Calulate sale price of material

    hi all
    how to calculate sale price of a particular material can anybody help,suitable points will be rewarded

    Hi,
    There are few ways to do this. Whether you require master data or transaction data.
    If you require master data price , then you can go to Vk13 t-code, put the condition type as PR00 and press enter. It will give a list of radio buttons based on access keys. You need to choose the valid combinations of the access keys and execute. Then the sale price for the given material will be available.
    basically you need to go to a ny table starting with A5, this you need to check with your SD consultant, who has mapped the price in the system, based on access keys. Then from A table you will get the conidtion record no - KNUMH. Pass this value and line item no in KONP table to get the price. The field name is KONP-KBETR.
    Or else go to MBEW table. Pass in material and plant as valuation area, and get the fields VERPR( Moving Average Price/Periodic Unit Price) or STPRS ( Standard price).
    Regards,
    JLN

  • BW 3.5 - Issue with formula variable with replacement path

    Dear experts,
    I'm facing an issue with formula variable with replacement path.
    Just to clarify, I know replacement paths is raising a lot of questions but I've been using this functionnality extensively in the past, both in 7.0 and 3.5, so I'm not looking for basic information about how to use it.
    I'm trying to setup a simple report that would show total values per plant of Purchase Order < 100 €
    To do so I've setup a calculated key figure as follow:
    VAR1 * ("PO value" < 100 ) * "PO value"
    VAR1 is a formula variable with replacement path on 'purchase order' and value attribute 'constant =1'.
    (The report has to show values summarized by plant but should not show the detail PO by PO, so I'm not looking at a solution based on condition)
    The report as characteristic "plant" in rows and my CKF in columns.
    Now let's take an example. I have 3 POs in Plant 1:
    PO1 -> 150€
    PO2 -> 90€
    PO3 -> 80€
    Because of the variable with replacement path, the result in my query should be:
    plant1 = 170 (even though characteristic "purchase order" is not in my rows, system should evaluate PO one by one and return values only for those two that are below 100).
    But the result coming is 320, which is wrong.
    I've done the same report on many other 3.5 systems and it worked perfectly, and I am not able to get proper support from SAP OSS who keep saying that this functionnality is not ready in 3.5 (although I've provided screenshot of this working on another 3.5 system!!! how frustrating...)
    They have also pointed to problems of Before and After aggregation but that has absolutely no impact. Once again, the scenario is working perfectly on other 3.5 systems with the same query design, so i'm sure it has nothing to do with Query Designer options.
    Would anyone have ever come to an equivalenet problem? I'm wondering whether the DB itself could not play a role in the variable with ref  characteristic 'constant =1' ...
    Any though is welcome!
    thanks

    Hi,
    The text variable is replaced when the exact date is clear for this key figure column according to the restriction.
    To achive this, please make sure that either the variable is directly restricted in the key figure selection, or that the date characteristic is in drilldown.
    Regards,
    Patricia

  • 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

  • Issue with formula collision

    Hello Experts,
    I am facing an issue with Formula collision, below is an expample
    My requirement is to use Column formula for the value (????) in the below table.
                                  Restriction (C1)     Restriction (C2)     Formula(C1-C2)
    Restriction (R1)     4              2                                 2
    Restriction (R2)     8              3                                 5
    Formula(R1+R2)     12              5                              ????
    I have tried using the below settings
    1) Formula(R1+R2)  "Standard"
    2) Formula(C1-C2)  " Use result of this formula"
    But still getting row formula being used, please advice.
    Thanks,

    Select the Formula which you created Formula(C1-C2)
    In the properties tab Go to Calculations--> Select the Check Box Cumulated
    In the Drop Down for Calculation Direction Select --> Calculate Along Columns
    If you require you can also select the Check Box Also Apply to Results
    Hope it Helps.
    rgds, Ghuru

  • Function Module or BAPI for Sales price calculation and Pricing worklist

    Hi Retail experts,
    We frequently change purchase conditions, but not that frequently for cases like perishables, so sales price calculations needs to be done each time. This means pricing worklist generation and release is done often and then sales price recalculation is done each time article wise and for various organization level.
    We have 15000 articles for which purcahse conditions changes, it is impossible to generate and release pricing worklist and do sales price calculation for each article
    So solution may be to find a FM/BAPI for the following transactions and automate them.
    Do you know FM/BAPI for VKP5/VKBP or VKP6, WVN0, WVN1 transactions.
    Regards
    Bob

    HI Madhu,
             Thanks for the reply,
    I am looking for BAPI or FM which will check all pricing condition types( like MRP of the Material(table A304), discounts(A800,A802,A803,A804) for that customer and Tax) and give me the value(KONP-KBETR).
    I can only pass Customer, material, quantity etc.. so that BAPI or FM has do all standred checks/ validation and give the
    KONP-KBETR for all condition types like MRP, discounts, Tax. we are developing the custom program for sales order creation so we require the all this before saving the sales order.
    Regards,
    Nagesh
    Edited by: nageshdb4u on Mar 5, 2011 12:05 PM

Maybe you are looking for

  • SAFARI AND OTHER PROGRAMS ENDING UNEXPECTEDLY??

    Safari and other programs are ending unexpectedly, vuze is also doing it during downloads???? any solutions?

  • Inserting oracle objects / collection using JDBC

    Hi people, I want to insert objects with collections(nested tables) into oracle database using my java JDBC. I believe there are two ways, one using strong types and the other as weak. I am using the weak types. This is what I have got so far: create

  • Plugins Loading Slower In Photoshop CC 15.2.1 - Mac

    Since updating to the latest version, two plugins I created for Photoshop CC are loading very slow. At times I need to click in the panel to make it load. Prior to the update the plugins loaded fine and the still load quickly in Photoshop CC ver 14.2

  • How to use databank values in utilities.getSQLService() statements?

    Hi, I have configured conections.csv file containing fields Connection,Hostname,Port,Service_name,DB_User_Name,DB_Password and used the following statements to connect to the database:           getDatabank("connections").getNextDatabankRecord();    

  • Extended Program Check - Warning

    Hi SDNers, I did my program well. but when i am doing Extended program check it shows warning that 'do not use fields, field symbols (itab) globally'.  This is the only warning i can not eliminate it. i dont want to hide using "#EC NEEDED. I have sea