Rounding off Issue (Net Value not equal to Net Price * quantity)

Dear Gurus,
Here is an interesting issue.The default calculation done in the pricing procedure is two decimal places.Now we consider a real scneario,consider the net value of 324 quantities of an item calculated is 36,049.86 .When it is divided by quantity  the resulting value of net price is 111.265 but the system shows 111.27 by rounding it off.
Now here comes the problem,my client needs the rate to be shown on the order script to be two decimal places and the net value should be equal  quantity * net price.So if we apply this,
324 * 111.27 = 36051.48
But the net value calculated by the system is 36,049.86.So it can be consluded that:
"Quantity * Net Price Shown is not Equal to Net Value calculated by the System"
Need an urgent resolution,project is stuck on this
Regards,
Sam Ahmed
Edited by: Lakshmipathi on Nov 3, 2011 12:14 PM
Please dont add URGENT in subject or in your post

Here is the pricing procedure,
We start with the amount condition types
                                        Unit Price        Units Condition Value
ZMRP     MRP                     1,700.00           10     PAC     55,080.00      
ZTRP     Trade Price     1,445.00           10     PAC     46,818.00      
ZDPR     Dist. Price     1,445.00           10     PAC     46,818.00         (GL)
Using Trade Price we apply the product discount of 23%
ZPRD     Product Discount     23.000-     %                    10,768.14-
Then we send discount amount to the gl by using condition type ZDIS
ZDIS      Discount Value     100.000-     %           10,768.14-      (GL)
tHE RESULTING NET VALUE IS  36,049.86      as 46818.00 - 10,768.14
     Order Item value     111.27      1     PAC     36,049.86      
And the Net Price is 111.27

Similar Messages

  • Invoicing Plan Net Value not equals to Ordered Value

    Dear Xperts,
    Need your advice.
    Is it SAP standards, when an invoicing plan BPO is created with reference to an outline agreement the net value at the outline agreement (header statistic) is taken from the BPO net value (Quantity X Price) NOT BPO ordered value (Quantity X Price X Months).
    Scenario Simulated:
    (1)     Contract Detail (value contract)
    Target Value = RM12,000 (price RM1000 ; 12 months validity)                                                                     
    (2)     Purchase Order
    Quantity = 1 pcs ; Price = RM1000 ; Invoicing Plan = 12 months
    Ordered Value = RM 12,000
    Net Value = RM1000
    As a result the utilization value (contract header statistic) is:
    Target Value : RM12,000
    Net Value : RM1000.
    This will lead to a misleading info of utilization value of the contract.
    Your experts explaination is highly appreciated.

    Anybody?

  • Subcontracting challen po net value not come in challen

    Hi
    While I taking print of subcontracting challen po net value not come in challen
    any reply
    Regards
    Kailas ugale
    Edited by: Csaba Szommer on May 9, 2011 10:36 AM

    Hi
    check this link it may helpful to you
    same question was put by me in forum some day ago
    [net value not coming in subcontracting challen|subcontracting challen print;
    Regards
    Kailas ugale

  • KO23 Object currency assigned  value not equal Line item assigned value

    Dear all:
                    I have one problem.  Some Internal Order budget  use KO23  view about Object currency assigned value not equal Standard Reprt
    S_ALR_87013019 - List: Budget/Actual/Commitments  assign value.
    I don't knew what happen ?
    So I wish someone can give me a hand. Tel me how to fix this problem.
    thank you !

    Hi Jason,
    First of all:
    The displayed account code must be translated into the internally used code ("_SYS...") when using segmentation - when not using segemntation it is just internal code = displayed code.
    The code displayed is just a sample to give you a hint in case you are already familiar with the SAP Business One application.
    Therefore the sample code does not talk about where you got e.g. the value for FormatCode from ("FormatCode" is e.g. a field in table OACT where the account name with segments is (redundantly) stored without separators).
    The user should know on which account he/she wants to book a line on; maybe you might want to give some help to the user by displaying a dialog with suitable - or preselected accounts?
    In addition I am sure you know how to assign a string value to a string property - without explicitly writing it, right?
    HTH,
    Frank

  • FIXED type Attribute value not equal to the default

    Hi
    I am in the processing of doing AP Inbound process. During My process I have created Invoice XML and XSD and mapped with XML Gateway OAG XSD.
    BPEL able to pool the directory and process the XML file. But I am getting below error at XML Gateway error log.
    FIXED type Attribute value not equal to the default
    value ''.
    Could any body let me know when do I get normally this kind of error.
    Regards
    Kiran Akkiraju

    If you have imported the source code you could use a workaroud i have found. Create a new workspace and a new Project. In it create with the wizard a new Struts Controller Page Flow. After, create a action class, and some jsp pages.Then put some Struts components with the Components Palette.Be sure that in the newly created pages, jdeveloper has put the struts taglib. Now you can rebuild your project.
    It seems that jdeveloper does some internal libraries configuration, but when you import the source code, it doesn't do it.
    Hope it helps
    Nicolas Fonnegra M.

  • Total confirmation quantity not equal to planned confirmation quantity

    HI
    In co11. if i entered more than operation quantity
    its showing warning message
    Total confirmation quantity not equal to planned confirmation quantity
    Message no. RU117
    how can i change into error msg???
    thanks in advance

    Dear,
    Go to OPJB then select
    00000000     RU  117 Total confirmation quantity not equal to planned confirmation quantity  E- Error.
    It will work for you.
    Regards,
    R.Brahmankar

  • Free goods by header net value not Quantity

    Regards
    My client wants to make a sales promotions as the free goods SD. The difference is that free goods should not be given by the bought quantity of certain material, they should be given from the header net value of an order.
    For example:
    If a customer have an order with header net value of 100$ from only materials that has certain material pricin group, it should receive one free good.( All the materials in the order have the same material pricing group)
    If a customer have an order with header net value of 200$ from only materials that has certain material pricin group, it should receive two free goods.
    If there are ways to make this happen please let me know i would really appreciate it.
    Thanks
    Edited by: Ronald Caroli on Feb 13, 2008 9:13 PM

    Hi ronald,
    The userexit option is very tough to do.
    You are using a right userexit, but how are you coding it? Whats your design and flow?
    The BDC are programmable recordings of a standard transaction. Hence you will be able to record the way in which you add a line item to sales order. Ths recording is automatically converted into lines of code by SAP. Then you insert your checks and balances between these lines of code to make it behave the way you want the sequence of transactions to work.
    My thought was to make a recording of adding a new line item, in change sales order transaction(va02), with item category as Free of Charge(FOC). Then in the code, I wanted to check for material pricing group, if found correct, then would go finding the net value of sales document. If the value is above the limit, calculate the target quantity. Then follow the rest of the recording and add a new line with FOC as item category.
    But this was a seperate transaction, which could be applied seperately and not to be done automatically in sales order. This was becuase say if you switch off the promotion tomorrow, then you will not have to worry abt removing the same functionality from sales order, you just need to de-activate the transaction.
    Then there would be issues of doing hardcoding the net value limits, free good quantity in the user exit which is not at all recommended.
    Hope this helps.
    Abhishek

  • Prepayment not equaling manual net salary

    Dear Gurus,
    Iam runninig prepayment for 1000 employees . But prepayment of 5 employees is not coming equal to net salary(All earnings - All deductions) when calculated manually.
    I dont know why iit is making error in only some employees. Please can anybody help me.
    Regards,
    Muhammad Noman Shafique

    Hi Muhammad,
    Which legislation are you working for ?
    There should be a balance with the name Net or Net Pay
    For these employees, what is the value you see in the table pay_pre_payments for the month.
    Do they have multiple Payment methods defined ? Say with 50% cash and 50% EFT.. or something similar ?
    If that is the case, you might only be checking a part of the payment.
    Its tough to debug such cases w/o seeing the complete details of the setup and employee data.
    Cheers,
    Vignesh

  • How to avoid rounding off large Double values?

    For converting from String to Double, consider a piece of code as below:
    String str = "999999999999999.99999";
    Double d = Double.valueOf( str );In this case, d will contain the value 1E15 and not 999999999999999.99999.
    Is there any way by which we can avoid this rounding off?
    TIA,
    Ninad.

    > String str = "999999999999999.99999";Note that you have a total of 20 decimal digits here.
    A double only has 53 bits to represent the mantissa
    so it can only accurately represent about 16 decimal digits.

  • Update Record Field if Value Not Equal

    Hello All,
    I am using Toad for Oracle 10. I have a MERGE INTO Process that updates tbl_requisition based on FK - fk_allotment_id that equals parent table tbl_allotment PK - pk_allotment_id. Both tables have create, update and deletes triggers. The process is executed when a Apply Changes/update button is clicked from tbl_allotment. So, all the record data from tbl_allotment updates tbl_requisition record if the fk and pk keys are equal. My problem is if a record is updated within tbl_requisition. Now the record from tbl_requisition is different from tbl_allotment. If any value is updated from tbl_allotment for the matching pk_allotment_id = fk_allotment_id record from tbl_requisition. tbl_allotment record data will override the updated value within tbl_requisition. I would like to only update the values that were updated/changed and are not equal from tbl_allotment to tbl_requisition. Can anyone assist me with this?
    Begin
    MERGE INTO tbl_requisition req
    USING tbl_allotment alt
    ON (req.fk_allotment_id = alt.pk_allotment_id)
    WHEN MATCHED THEN
    UPDATE SET
         req.FK_JOBCODE_ID = alt.FK_JOBCODE_ID,
         req.FK_JOBCODE_DESCR = alt.FK_JOBCODE_DESCR,
         req.FK_JOBCODE_PAYRANGE = alt.FK_JOBCODE_PAYRANGE,
         req.FK_PAY_RANGE_LOW_YEARLY = alt.FK_PAY_RANGE_LOW_YEARLY,
         req.FK_DEPARTMENT_ID = alt.FK_DEPARTMENT_ID,
         req.FK_DIVISION_ID = alt.FK_DIVISION_ID,
         req.FK_NUMBER_OF_POSITIONS = alt.NUMBER_OF_POSITIONS,
         req.FK_DEPARTMENT_NAME = alt.FK_DEPARTMENT_NAME,
         req.FK_DIVISION_NAME = alt.FK_DIVISION_NAME,
         req.REPORT_UNDER = alt.REPORT_UNDER;
    EXCEPTION
      WHEN NO_DATA_FOUND THEN
        dbms_output.put_line('No data found');
    End; Thanks for reading this thread and I hope someone can provide some assistance. If the create tables or anything is needed that is not a problem to provide.

    Thanks for responding Frank and providing the EXCEPTION information also. Here are my create tables and insert statement. I changed the child table from tbl_requisition to tbl_allotment_temp, same process though.
    CREATE TABLE  "TBL_ALLOTMENT"
       (     "PK_ALLOTMENT_ID" NUMBER,
         "FK_DEPARTMENT_ID" VARCHAR2(5),
         "FK_DIVISION_ID" VARCHAR2(100),
         "FK_JOBCODE_ID" NUMBER,
         "FK_JOBCODE_DESCR" VARCHAR2(100),
         "FK_JOBCODE_PAYRANGE" NUMBER(*,0),
         "FK_PAY_RANGE_LOW_YEARLY" NUMBER(*,0),
         "NUMBER_OF_POSITIONS" NUMBER,
          CONSTRAINT "PK_ALLOTMENT_ID" PRIMARY KEY ("PK_ALLOTMENT_ID") ENABLE
    CREATE TABLE  "TBL_ALLOTMENT_TEMP"
       (     "PK_ALLOTMENT_TEMP_ID" NUMBER,
         "FK_DEPARTMENT_ID" VARCHAR2(5),
         "FK_DIVISION_ID" VARCHAR2(100),
         "FK_JOBCODE_ID" NUMBER,
         "FK_JOBCODE_DESCR" VARCHAR2(100),
         "FK_JOBCODE_PAYRANGE" NUMBER(*,0),
         "FK_PAY_RANGE_LOW_YEARLY" NUMBER(*,0),
         "NUMBER_OF_POSITIONS" NUMBER,
          CONSTRAINT "PK_ALLOTMENT_TEMP_ID" PRIMARY KEY ("PK_ALLOTMENT_TEMP_ID") ENABLE
    INSERT INTO tbl_allotment
    (FK_DEPARTMENT_ID, FK_DIVISION_ID, FK_JOBCODE_ID, FK_JOBCODE_DESCR,
    FK_JOBCODE_PAYRANGE, FK_PAY_RANGE_LOW_YEARLY, NUMBER_OF_POSITIONS)
    values
    (00002, 0000220000, 100408, 'Revenue Analyst',
      2210, 38389, 5);Once data is created for tbl_allotment, this insert statement inserts the data to tbl_allotment_temp.
    INSERT INTO tbl_allotment_temp(
         PK_ALLOTMENT_TEMP_ID,
         FK_JOBCODE_ID,
         FK_JOBCODE_DESCR,
         FK_JOBCODE_PAYRANGE,
         FK_PAY_RANGE_LOW_YEARLY,
         FK_DEPARTMENT_ID,
         FK_DIVISION_ID,
         NUMBER_OF_POSITIONS)
        VALUES (
         :P3_PK_ALLOTMENT_ID,
         :P3_FK_JOBCODE_ID,
         :P3_FK_JOBCODE_DESCR,
         :P3_FK_JOBCODE_PAYRANGE,
         :P3_FK_PAY_RANGE_LOW_YEARLY,
         :P3_FK_DEPARTMENT_ID,
         :P3_FK_DIVISION_ID,
         :P3_NUMBER_OF_POSITIONS);Once any update occurs to tbl_allotment, this process updates tbl_allotment_temp based on temp.pk_allotment_temp_id = alt.pk_allotment_id.
    Begin
    MERGE INTO tbl_allotment_temp temp
    USING tbl_allotment alt
    ON (temp.pk_allotment_temp_id = alt.pk_allotment_id)
    WHEN MATCHED THEN
    UPDATE SET
         temp.FK_DEPARTMENT_ID = NVL (alt.FK_DEPARTMENT_ID, temp.FK_DEPARTMENT_ID),
         temp.FK_DIVISION_ID = NVL (alt.FK_DIVISION_ID, temp.FK_DIVISION_ID),
         temp.FK_JOBCODE_ID = NVL (alt.FK_JOBCODE_ID,    temp.FK_JOBCODE_ID),
         temp.FK_JOBCODE_DESCR = NVL (alt.FK_JOBCODE_DESCR, temp.FK_JOBCODE_DESCR),
         temp.FK_JOBCODE_PAYRANGE = NVL (alt.FK_JOBCODE_PAYRANGE, temp.FK_JOBCODE_PAYRANGE),
         temp.FK_PAY_RANGE_LOW_YEARLY = NVL (alt.FK_PAY_RANGE_LOW_YEARLY, temp.FK_PAY_RANGE_LOW_YEARLY),
         temp.NUMBER_OF_POSITIONS = NVL (alt.NUMBER_OF_POSITIONS, temp.NUMBER_OF_POSITIONS);
    End;Once the data is created within tbl_allotment the data is also inserted within tbl_allotment_temp. If tbl_allotment_temp.NUMBER_OF_POSITIONS value is changed from 5 to 10 is fine. The problem is when a update occurs within tbl_allotment and the updated field is not NUMBER_OF_POSITIONS. The changed field values from tbl_allotment should only update the field data within tbl_allotment_temp.
    UPDATE tbl_allotment_temp
    SET
    NUMBER_OF_POSITIONS = 10
    UPDATE tbl_allotment
    SET
    FK_JOBCODE_DESCR = 'Revenue Test'Now within tbl_allotment_temp only field FK_JOBCODE_DESCR should be updated to Revenue Test but my MERGE INTO process will update all the field values. So the updated NUMBER_OF_POSITIONS value 10 will now be 5. I would only like to update any changed value from tbl_allotment to tbl_allotment_temp. If any record value from tbl_allotment_temp was changed that value should not be updated from the MERGE INTO Process within tbl_allotment unless those values have been updated within tbl_allotment. Let me know if this is not clear so I can clarity more Frank.
    Edited by: Charles A on Aug 29, 2011 8:41 AM

  • Invoice correction request (net value not updating)

    Hi guys,
    I have a problem when creating an Invoice correction request (RK).
    When I change the Target quantity in the item (L2N), the Net value is not updated. So I have to go to Conditions and Carry out new pricing.
    Any idea to fix this.
    Best regards,
    Eduardo

    Hi Eduardo
    Check the copy control  VTFA , what is the pricing type it is being used and what is the quantity field maintained  -ve or +ve or kept blank .
    Even Go to item data->conditions tab and click on analysis you will know the problem why it is not changing the gross price
    Regards
    Srinath

  • Problem in Routine after rounding off the condition value

    Dear all,
          I have attached the routine for rounding off value for condition value for T.Code va02. Routine is working fine but the problem is after the execution of routine it goes in some standard program LV61AA55 where again the rounded value gets changed . Maximum points will be allocated ..
    Thanks anr Regards

    FORM FRM_KONDI_WERT_925.
    *{   INSERT         D01K911062                                        2
    data : wa_xkomv like xkomv,
            v_kwert like xkomv-kwert,
           W_INDEX  TYPE SY-TABIX.
    read table xkomv into wa_xkomv with key kschl = 'JIN6'.
    W_INDEX = SY-TABIX.
    v_kwert = 1 * wa_xkomv-kwert / 100.
      V_KWERT = WA_XKOMV-KWERT.
    read table xkomv with key kschl = 'JHSC'.
    CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT'
       EXPORTING
         I_AMOUNT                 = v_kwert
       I_AMOUNT1                =
       I_AMOUNT2                =
       I_AMOUNT3                =
       I_AMOUNT4                =
       I_AMOUNT5                =
       I_EXADDTAX1_AMOUNT       =
       I_EXADDTAX2_AMOUNT       =
       I_EXADDTAX3_AMOUNT       =
      IMPORTING
        E_AMOUNT                 = v_kwert
       E_AMOUNT1                =
       E_AMOUNT2                =
       E_AMOUNT3                =
       E_AMOUNT4                =
       E_AMOUNT5                =
       E_EXADDTAX1_AMOUNT       =
       E_EXADDTAX2_AMOUNT       =
       E_EXADDTAX3_AMOUNT       =
    xkomv-kwert = v_kwert.
    xkwert = v_kwert.
    modify xkomv INDEX W_INDEX transporting kwert.
    *}   INSERT
    ENDFORM.

  • Net value not being updated from Pricing Element/Pricing condition

    Hi All,
    User confirm activity of 40 hours in CJ20n of Project System. When we are creating RRB(Resource Related Billing) request for billing of 40 hours using DP91, Net Value is coming Zero where as pricing condition for the item is upodating Basic Price from quantity of 40 hours.
    Please adise, why Net Value field is not being updating.
    Regards
    Rajesh

    hi monty,
    first of all please check the validity and other criteria by which sytem populates the pricing records in to the sales order.
    this can be easily done by refering to past "pricing" posts.
    also
    kindly check on the reference status whether this order is getting referenced and pricing values from a preceeding document like  sales quotation,because if the conditions mentioned by you are not in the preceeding saes document then it will not get populated ,hence you have to update pricing by going on to the conditions tab,
    update me so that other solutions can put to you
    regards
    Mohit Singh

  • Freight value not taking in net value--Urgent

    Hi,
    While creating purchase order freight condition valude FRB1 not taking in net value.
    Please help its is urgent.
    Regards,
    Ravindra

    Hi Ravindra
    You need post seperate invoices in case where the vendors are different, If the supply vendor and freight provider are same, you can post both costs in once invoice. Select the goods+delivery costs to make one invoice verification.
    In general, freight value will not be added even the vendor is same. Inturn both item cost and delivery cost are processed in one invoice.
    If you want, you can include the freght in net by maintaining the freight condition as not an accrual.
    But, just for this sake, you should not modify your pricing procedure.
    warm regards
    sairam akundi

  • Net Value not updated

    Hi,
    I have created a pricing procedure with a few tax conditions but somehow while using this procedure in the Sales order I see that the net value of the order is not getting updated.
    I am able to add value for the tax conditions but the net value isnt getting updated.
    Please advise.

    Net value = Total before taxes
    So, when you add new tax conditions or change values in the tax condition record the Net value will not change but Tax values and the Invoice totals (Gross value) will change.
    Hope this helps, if not, provide us more details in order to understand your problem better.
    Thanks.

Maybe you are looking for