Net value becoming double in a query

Hi experts,
We have a query based on an Infoset of Sales order header and AR_4.
In the query output, against a customer the netvalue is becoming double in case of 2 acc doc, 3 times
in case of 3 acc docs, 4 times in case of 4 acc docs like this it is increasing accordingly.
How to solve this issue and get the netvalue only once ?
Regards,
Nishuv.

Hi,
"You will have to use calculated key figure for each of your key figures from the SALES doc cube(in this case net value) in the report and use exception aggregation with reference characteristic as accounting document number."
Where should i maintain the exception aggregation i.e in the query designer level or while defining the
key figure properties in modeling ?
If in modeling, for netvalue in the aggregation tab should i mention the reference characteristic as acc
doc no or sales doc no and option as Last or ?
And also after loading data into the cube with these changes how to call that keyfigure in the query ?
Please clarify these doubts.
Regards,
Nishuv.

Similar Messages

  • How to set a BEx Query Condition in Design Studio (e.g. Net value GT 0)

    Hi experts,
    I have set a simple condition in my BEx Query...
    e.g. key figure "Net value" GT 0 to become only positive values in the query result.
    In the Query runtime the condition works successful, but in the Design Sudio view the defined Query condition doesn´t work.
    In my Design Studio crosstab I have tried to switch between the display setting "Conditional formating Visible" true/false, but without success.
    By the way, before I have posted this thread, I had a look at this two blogs...
    Design Studio 1.0: Create a Scorecard Using SAP BW BEx Query Exceptions
    Design Studio 1.2  - a Second Look
    Any ideas or experiences?
    Thanks and regards,
    Michael

    Hi Michael,
    I think you are mixing up two different BEx terms. Conditions are filters on key figures (show me only the results with a value bigger than 50). Exceptions do not filter the result set, but provide a formatting based on the values in the result set (if value is bigger than 50, make its cell red).
    The Conditional formatting setting in Design Studio refers to the BEx exceptions. For the BEx conditions there isn't such a setting available. You just have to activate the condition in your BEx Query and use that for your data source in Design Studio.
    If you want a workaround to enable/disable conditions from Design Studio, check this blog I wrote: HackingSAP.com - SAP Design Studio and Conditions It shows how you can use variables to adjust the conditions (and also activate) from within Design Studio.
    Cheers,
    Xavier

  • Net Value in sales order becomes zero after changing the employ responsible in Web UI

    Hi All,
    We are in CRM 7.0 with EHP1, when we change employ responsible in the sales order and save, Net value is becoming zeroes.
    This is effecting most of the transactions. There is no custom development, every thing is standard.
    Could any one suggest me this.
    Thanks.
    Best regards,
    Hari

    Hi Raj,
    Thanks you for your reply.
    Could you please let me know where I can see this combinations in configuration. Actually this is happening for standard transactions also.
    I checked customer pricing proc for that BP and Document Pricing proc for that T type. They are maintained for the specific salea area.
    Regards,
    Hari

  • How to get the Net value in SD Bex query

    Dear All,
    We have a  key figure called Net Value in SD query 0SD_C03_.  But in validating data with ERP system to this bex the value is not matching.
    In this Query we are maintain sales doc category -C and Item category.
    Because the  Net value is depends on all the above mentioned condition.Please let me know the solution to validated the data with ERP to above Bex query.
    Please let me know the possible t codes in ERP to validate  the  above query.
    Thanks
    Regards,
    Sai 

    I dont think you can capture the offset applied value in a exit as the value is dependent on the variable itself and nothing to capture the result after the offset has been applied.
    why dont you capture the variable value itself and apply the logic to do an offset in the customer exit?

  • Contract net value for Header Statistics is not correct

    There is issue with value contract. The net value for Header Statistics is not showing correctly for some contracts. Especially, when we delete the PO line items or reverse all entries (GR and IR) for PO line item.
    Contract has one line with account category ‘U’. The target value is 300,000.00 and total quantity released to date is 160,000. The net value for Header Statistics should be 140,000 but it is showing 600,000 which is over (double) the target value and user cannot release any further PO reference to this contract.
    Earlier I defined net price for line item 300,000 and I changed net price to zero and execute report RM06ENP0 but it doesn’t work.
    Please share your experience and thoughts.
    Thanks,
    Shah.

    Hi Jurgen,
    There are few Purchace orders with multiple line items and each line item for Purchase orders referencing the same line and same contract.
    There is only one Purchase order has two deleted lines against this contract.
    Theses deleted line's net price has changed to zero and there is no PO history.
    Contract released order value is correct as there is only one line, but net price is wrong. and user is getting error for target value is excedeed by $nnn when trying to create purchase order.
    Thanks,
    Shah.

  • Line item Net value is not coming in Header Net Value

    Hi All,
    I have four conditions
    1) A condition with condition cat.Price this is annual price condition and condition value comes from condition record.
    2) B condition with condition cat.Discount & Surcharge this is monthly dis. and condition value comes from condition record.
    3) C condition with condition cat.Discount & Surcharge this is monthly dis. and condition value comes through pricing routine(formula value).
    4) D condition with condition cat.Discount & Surcharge this is monthly dis. and condition value comes by USER EXIT (this value is basically pervious month condition C Net value) .
    5) E condition with condition cat.Discount & Surcharge this is monthly dis. and condition value comes through pricing routine (formula is condition C - D and resultant value should come in condition E)
    When i am creating sales order for Jan month sales order
    condition A , B, C is considered and value of condition E comes perfectly in net value column of line item and in net value of sales header matches.
    But When i creating sales order for Feb month sales order header net value
    condition A , B, C, D is considered and value of condition E comes perfectly in net value column of line item and in net value of sales header does not match. In net value of header system is considering only Condition value C.
    So my query is why system is considering condition C value and why not the Net value of line item.
    My PP is as follow:
    Step          Cond.type      From       to       Man      Reg     St   subtotal      Req   Caltype  Bastype      
    10     A                    X       2     
    20     B                    X       2     
    30     C                    X       2         601
    40     D                    X       2     
    50     Net value     30     40          X        1
    60     E          50                 2         25            5
    70     Total           60     
    Please help me where is going wrong.
    Thanks & regards
    Sree

    Hi Sanjay
    Just go to V/06 and check wheather header data has been checked or not. That could be the reason it has not copied to header data
    Regards
    Srinath

  • Sales order report with Net value (NETWR) and Tax amount (MWSBP)

    Hi all,
            I would like to know if somebody know if exist a report of sales order where it can see the Net value and the Tax amount per sales order.
    Regards,
    Mariano.

    You can read those details directly in the table VBAP.
    There are fields for COST, Subtotal1, to subtotal 6, which carries values for netvalue, discounts etc. Depending on the system pricing procedure sub total set-up you can read the tax from one of the sub-total fields.
    You can develop an ABAP query by joining tables VBAK and VBAP, to get the required outputs if needed. Or you can download the VBAP values into an Excel application, where user can manipulate the details.
    Regards,

  • Difference impact on Net Value

    Hi All,
    Similar questions have been answered but this has not solved my queries so I have to post.
    the user wants to post the difference in amount received and invoice amount in some loss account. this is happening but in doing this, I have to give that difference condition as Non-static in V/08 which changes my net value of document. is it correct??
    Usually, Net value is material price +/- any discount/surcharge etc. exclusive of Tax. but after I receive my Invoice amount that is Net value + tax, the customer still gives amount lesser than the final invoice amount. and my user wants to post this shortfall as loss(or write off). should it impact the net value? currently, it is effecting it. the example is :
    1000 Rs. MRP (ERL) (this includes all discount)
        10 Rs. Vat (MW1)
    1010 Rs. Invoice amount.
    1008 Rs. Paid by customer Mr.X
    all these entries are getting posted as :
    Mr. X 1008 Dr
    write off 02 Rs. Dr
    Sales Revenue 1000 Cr
    Vat 10 Cr
    Now, in doing this, the Net value of this sales doc becomes 998 Rs instead of 1000. is this correct?
    Thanks,
    Binita

    Hi santosh
    Sub total will the PR00 - Discount sum
    Net price will be Sub total - Special discount
    how do I mention that sub total will be PR00 - Discount. I configure like this
    10 PR00
    20 ABC (Customer discount)
    30 XYZ (Material discount)
    40 Discount Sum                      from20    to39
    50 Sub total                             
    60 123 (Special Discount)
    70 Net price
    80 MWST (output tax)
    90 Total
    when I indicate from 20 to 39 besides Discount Sum, system will sum the discounts between step 20 to 39. How do I write at sub total like this, so that system will deduct the discount sum from PR00. Similary how do I write Sub total - Special discount.
    Could you please explain bit more detail.
    Thank you.

  • Net Value of Entry Sheet Calculation

    HI,
    Please guide on how can sap system calculates the net value of entry sheet.
    E.g : My services PO has discount
    1. At the services PO under conditions, I just put the gross amt  after the discounted amount = 2,907,448.28 with qty = 1 AU
    2. At the services tab, I put in the the actual gross amt 3,060,472.07  and the discount condition 153,023.79-. So the net value total = 2,907,448.28  with quantity =1%
    The following are my entry sheet :
    1.   1,805,678.33      qty  0.640%
    2.   912,020.49     qty 0.348%
    When I enter the 3rd entry sheet the value becomes negative and system does not allow me to save the entry sheet. Is this because in the condition UoM is AU and in the services UoM %
    3.     -16 XXXX.XX qty 0.012%
    Why this happens and how to correct them.
    First please let me understand how the net value calculated or where could I obtain the documentation

    Mitra Kamalan wrote:
    HI,
    >
    > Please guide on how can sap system calculates the net value of entry sheet.
    >
    > E.g : My services PO has discount
    > 1. At the services PO under conditions, I just put the gross amt  after the discounted amount = 2,907,448.28 with qty = 1 AU
    > 2. At the services tab, I put in the the actual gross amt 3,060,472.07  and the discount condition 153,023.79-. So the net value total = 2,907,448.28  with quantity =1%
    > The following are my entry sheet :
    > 1.   1,805,678.33      qty  0.640%
    > 2.   912,020.49     qty 0.348%
    >
    > When I enter the 3rd entry sheet the value becomes negative and system does not allow me to save the entry sheet. Is this because in the condition UoM is AU and in the services UoM %
    > 3.     -16 XXXX.XX qty 0.012%
    >
    > Why this happens and how to correct them.
    >
    > First please let me understand how the net value calculated or where could I obtain the documentation
    Hi ,
    i have just checked the whole scenario and found that system is behaving correctly. the possible reason for value becomes negative could be that some entry sheet might have been done already against the PO or the tax code has been changed while posting sevice entry sheet.
    The error is not related to UOM AU & %. Do check in PO history the total Qty for which Service Entry Sheet has been done & whether the value of SES matches with your calculations.
    Rgds
    Honey

  • Pricing Procedure calculation for Net value

    Hi Gurus,
    I have  issue with pricing procedure for net price.
    My pricing procedure is as follows.
    Step    Cond.type       from    to      Subtotal        req.type        cal.type        Basetype
    10      CPLF    0       0               0       0       0
    20      CA              0       0               0       0       0
    30      CPY             0       0               0       0       0
    40      CWE             0       0               0       0       0
    50      CPY1    30      40              0                           601 0
    60      PCP             0       0               0       0       0
    70      NCC            50       60              0       0       0       0
    80      Subtotal 1      70                      1
    90      VC              0       0               0       0       0
    110     FPA             0       0               0                          600  0
    150     INCR    0       0               0       0       0
    160     BINC    0       0               0       0       0
    170     PINC            0       0               0       0       0
    180     CINC            0       0               0                           602 0
    190     PRIN    0       0               0       0       0
    200     FINC
    210     Subtotal 2      200                    2        0       0
    220     ADT             0       0               0       0       0
    230     FTAX    0       0       0                                           603 0
    240     Subtotal 3      210                     3       0       0
    My query is when i am doing pricing for line items
    1) For line item 1 net value of the item will be subtotal 1
    2) For line item 2 Net value should be through condition type calculation.
    3) For line item 3 net value should be through calculation of routine
    4) For line item 4 net value should be Subtotal 2
    5) For line item 5 net value should be Subtotal 3
    So please tell me who to do?
    regards
    Srinivas

    Hi,
    Can you please explain what type of pricing you want to for your sales order.
    I am confused with your line items.
    Can you explain what kind lines item you are entering in your sales order.
    Are they proper material for which you have maintained condition record in MM01.
    Because for all the line item system will calculate price by the pricing procedure which you have shown.
    So in short system will calculate different price for different line item.
    After calculating the whole price it will make the total of net amount of all the line item.
    And that net amount will be shown in the header data of the sales order.
    Regards
    Raj.

  • Values are doubled in analyzer??? why???

    I have created this query:
    free characteristics: calendar day/sold to party/ material
    key figures:billed quantity/billing value
    when I run this query in analyzer I get the exact double values than the ones I should get. I mean in R3 the correct values that I check from another report there are halpf, which is the correct. In BW analyzer the values are doubled
    Why does this happen???
    I also have anotheer problem, I can get values up to 07/2008? the job probably has an error ever since and does not run automatically?? any ideas?? where should I look?(transactions)
    Thank you

    Hi,
    when I run this query in analyzer I get the exact double values than the ones I should get. I mean in R3 the correct values that I check from another report there are halpf, which is the correct. In BW analyzer the values are doubled
    Why does this happen???
    --> First check data in infocube, i think data loaded wrongly, hence double records. check for particular material or customer for a month.
    I also have anotheer problem, I can get values up to 07/2008? the job probably has an error ever since and does not run automatically?? any ideas?? where should I look?(transactions)
    --> Please check your other post
    Hope it Helps
    Srini

  • Shipment cost(net value) changes in VI02/VI03

    hello,
    In VI02 or VI03,when I see the shipment costs(net value)for one item has some value say 100 eur.I am double clicking that line item where the shipment cost(net value) will be different value say 10 eur.Once again when I double click that line item,in the next screen i can see condition types with different charges.
    now when i come back twice to my first screen, I see that shipment costs(net value) is displayed as 10 eur instead of 100eur.
    What may be the reason behind this? Is this Standard SAP functionality?
    Regards
    goutham

    Hello,
    I didnot select the button update i just double clicked the line in the Shipment costs item tab where it will take me to the sub-item conditions details.Then if we come back to original screen,price is changed.
    Regards
    Goutham

  • Net value is not reflecting from order to Invoice

    Hi,
    I need some clarification here: I can able to see the Net value in the sales order  but the same thing is not reflecting in to the invoice.
    What could be the reason and Error message is : Pricing error in ITEM  000010 in Invoice.
    Your suggestions are most welcome.

    Dear,
    there may be the incomplete in the order. one condition is missing in the sales order.
    This is because of condition record of particular condition is not maintained at the time of sales order.
    you can update the pricing in the order if Invoice is not generated . If invoice is generated you can update in invoice itself.
    If your query wiill be resolved then reward me.
    Regards,
    Narasimha

  • How to get line item net price and net value?

    I have using "BAPI_SALESORDER_SIMULATE" to SIMULATE to create SO,
    the return table
    ORDER_ITEMS_OUT-NET_VALUE is not equals than created by VA01 .
    how to get line item net price and net value?

    Hi,
    Can u elaborate ur query ?
    By this FM you cannot create a SO . Use FM --> BAPI_SALESORDER_CREATEFROMDAT2
    Regards,
    MAdhukar Shetty

  • Net Value is minus in complaint ?????

    Hi all,
    I'm implementing complaints.
    I'm using the standard complaint pricing procedure.
    After entering a price in condition OPR0 the end value and the Net Value are calculated to:
    Price * quantity * -1
    Does any one know why the value become minus ?
    Thanks in advance,
    Eran

    Hi Amith,
    Keep calculation  C for that condition.
    Regards,
    Madhu.
    Edited by: madhurao123 on Sep 14, 2011 4:09 PM

Maybe you are looking for

  • How to stop Leopard corrupting CS2/CS3 Photoshop files?

    Ever since upgrading to Leopard 10.5.3 (including updates since then)--the DAY AFTER I installed 10.5.3--I have had intermittent corruption of Photoshop files (.psd, .tif, .jpeg). The only constant from the dozens of times this has happened is that i

  • Swf file has stopped playing in 'live' browser only

    Hello everyone, Hope you can help with this, whilst working on my site one of the swf files stopped playing when viewed in the browser (live). The file plays ok from Dreamweaver from both local view and remote view. Went onto web server cpanel and pl

  • How can we block double invoicing ?

    Hello Experts , I have done PO for quantity 1 , with GR based IV ticked & invoice receipt ticked . When I create IR for this , it allows me to create it twice with quantity 1. Whether there is any way we can block this ?  (GR is statistical since it

  • Remove plugins Final Cut Pro X

    I've installed several trial plugins for Final Cut Pro X that I'd like to remove now.  These include trial Effect/Transition plugins from companies such as Shefield Softworks, Nattress, SugarFx, PHYX, FxFactory Pro, etc.   I moved the plugins from th

  • Proportional Scaling with bounding box does not work

    Problem: When I attempt to proportionately scale  objects with the bounding box, by selecting a corner / handle and  holding Shift as I drag, it doesn't work. I'm not doing it wrong  or in the wrong order of selection, etc., I've done it this way for