Net value calculation in returns

Hi Experts,
Scenario.
Line Item 10 - M1- TAN - 10 -  Rs. 1000.00
                11-  M1- TANN- 5 - Rs. 0.00
This means i am offering 50% discount. If i take returns of 10 items then i need to issue credit memo for Rs. 500.
System need not check free item even if customer returned 11 items.
Can i automate this process?
Regards,
Deepu Pillai

Hi,
I do not find any option to delete or edit the message. I intended to post this in SD.
Moderators, pls delete the message.
Thanks
Deepu Pillai

Similar Messages

  • Net value calculation in pricing

    Hi Experts,
    Net value in SO and customer gross in billing showing incorrect value
    Base price inclusive of duty - 100
    So excise base value u2013 90.66 statistical condition
    ED- 9.07
    ECESS- .18
    SHECESS- .09
    The issue is net value in SO showing 109.34 (1009.07.18.09) instead of Rs.100. The same value is passing in accounting for customer gross also. I need to arrest 9.07.18+.09 to be calculated in net value and customer gross account.
    May you pls advise?
    Regards,
    Deepu Pillai

    To achieve this, you have to do backward pricing, means- After entering Total value i.e.100 in your eg. You have to derive the base price.
    like Total value ( Incl:Duty) = 100 = Base price + Duty( EdECSSHECess)
    Assume Base price = X
    100 = X + (10% of X)+(2% on 10% of X) +( 1% on 10% of X)
    ---   = X + (X/10) + (2X/1000) + (1X/1000)
    Then , you will find Base Price i.e. Base price = (Total * 1000)/1103
    If your Total = 100, then base price = (100 * 1000) / 1103 = 90.66
               ED = 10% on Base price = 10% on 90.66 = 9.07 ( 2 decimal rounding)
                ECS = 2% on ED = 2% on 9.06 = 0.18
                              SHECess= 1%onED=1% on9.06= 0.09
                                       Total = 100( Price Incl:Duty)
    So to achieve this you have to write new calculation routine & assign it in alt cal type.
    ( Create Statistical cond, type called "Total Price" & assign this cond type above the base price).
    Note: Discounts have not been taken into account, if you want discount should be taken into account, then the base price you have to assign this New routine in "Assesble value" condition type)
    Hope it helps.
    Regards,
    Reazuddin MD

  • Considering Stats. cond. type value in Net value calculation

    Hi All,
    In my pricing procedure
    Basic price = 100
    Cash disc =10            Stastical(I dont want to post in any GL acc.)
    Net value = 100 (Because system is not considreing 10 Rs when calculating net value because it is stats. con.)
    Can any body tell me the provision by which the sytem consider stas cond. type when calculating Net value.
    help me
    Sunil

    yes, i dont want to post into GL acc. but reduce in the net value.
    This is my client requirement.
    Because the tax is calculated on the net value(reducing Cash dis.) but they dont want to maintain any recird for that cash discount.
    thanks

  • Net Value Calculation

    Hi All,
    In down payment request have assigned condition type(AZWR) to pricing procedure. In sales order i gave pr00 as 100 rupees. I have given AZWR as 10% of pr00. So down payment amount is coming 10 rupees. But it is adding up in the net value.
    How this amount will add up in the net value?
    Reward points for helpful answer.
    Regards
    Ashis

    Hi,
    If u r recieving advance from customer directly thru FI route ,system would generate accounting doc (parking doc ) as a reference which goes to particular G/l account.
    Use that doc number as reference and map it to downpayment condition record thru SD route in vk11,so that when ever u create a sales order system generates downpayment document with ref to this cond record.
    If customer cancels order ,condition record for advance recived still exists which can be used to next transaction as advance.
    but crucial part is once u have done PGI and billing for the advance recieved ,u will have to mark this condition record as deletion or expired.sothat system will not use this or duplicate into other transactions.
    regards,
    Siddarth.

  • 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

  • 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

  • Net Value in sales order item

    Hi All,
    Any one know how the system set net value in sales order item? (VBAP-NETWR)
    I mean, what kind of condition type will be considered in net value calculation.
    Thank you

    Hi,
    In Sales Order net value (NETWR) is always value before tax, it means the condition type determined before tax condition will be considered in sales order Net Value.
    In other words if conditon type have a category defined as D-Tax and Cond. class as D- Taxes, the value of this condition type will not be considered in Net value.
    regards
    Vivek.
    Edited by: Vievk Vardhan on Jan 7, 2010 2:00 PM

  • Net Value erro

    Hi,
    I have condition types
    Z001 = 1000 usd
    z002 = 2000 usd
    z003 = 100 usd
    When i assign these condition types in the pricing procedure, the values are correctly picked up in the sales document.
    But, in the net value, the value is only 100 usd. it automatically picks up the value of the last condition type  in the pricing procedure only instead of summing up all the values (3100 usd)
    i am maintaining Altctyp = "2" in the pricing procedure.
    is there any other setting i need to maintain to get the net value calculating correctly?

    Hi Sriram,
    Please note that you can pnly have one Basic Price condition active at a time in Pricing. ( Condition Class : B - Prices)
    All other will be deactiviated by FOrmula of Incorrect.
    Moreover, The price maintained in the last Condition step will be Active.
    E.g.
    Step : 10   PR00 - INR  2000
    Step : 20   PR01 - INR  2500
    Step : 30   PR02 - INR 1800
    Net Total : INR 1800
    In above case Net Value will be reflected as INR 1800 since this is the last step calculated.
    If you need to add the value then you can add any number of  Discount or Surchage conditions wich can add up in NET.
    E.g.
    Step : 10   PR00 - INR  2000
    Step : 20   KV00 - INR  2500
    Step : 30   ZZZZ -  INR 1800
    Total : INR 6300 ( here KV00 and ZZZZ are Surchage conditions - Condition Category A and /- sign "".)
    Hope this is clear to you.
    For anythign further, pls. revert.
    Thanks & Regards,
    Dnyandeo H Ainarkar

  • FM SPE_CALCULATE_PRICE - Java Call does not return Net Value of Sales Order

    Dear Experts,
    we want to make a call of FM SPE_CALCULATE_PRICE from the SAP NetWeaver Developer Studio to achieve that we receive the Net Value of a Sales Order. When we try to test the Scenario in SAP CRM (Creation of a Sales Order) Itself all is working fine. But if we try to make the call from Developer Studio it does not work for some reason. We have applied SAP Note 1936255.
    I am attaching:
    - the Pricing Trace we receive as a result from SAP.
    The Java Code we use is the following:
    Code JAVA
    import com.sap.mw.jco.*;
    import com.sap.mw.jco.JCO.ParameterList;
    import com.sap.mw.jco.JCO.Structure;
    import com.sap.mw.jco.JCO.Table;
    public class callIPCDemo {
    public static void main(String[] args) {
      System.out.println("--- START ---");
      // connect to SAP system
      JCO.Client client = null;
      try {
      client = JCO.createClient(
        "400", // SAP client
        "XXXX", // User ID
        "XXXXXXXX", // Password
        "EN", // Language
        "XXX.XXX.XX.XXX", // IP des hosts
        //"QPMR-CR20", // Hostname
              "00"); // System number
      client.connect();
      System.out.println("Connection OK\n");
      catch (Exception ex) {
      System.out.println(ex);
      return;
      // print RFC attributes
      System.out.println(client.getAttributes());
      // create JCo repository
      JCO.Repository repository = new JCO.Repository("testIPCcall", client);
      // Function Module SPE_CALCULATE_PRICE
      IFunctionTemplate ft = repository.getFunctionTemplate("SPE_CALCULATE_PRICE");
      JCO.Function function = null;
      try {
      function = ft.getFunction();
      } catch (Exception ex) {
      System.out.println(ex);
      return;
      // IS_HEADER_INPUT
      ParameterList importParameterList = function.getImportParameterList();
      Structure HeaderInput = importParameterList.getStructure("IS_HEADER_INPUT");
      HeaderInput.setValue("005056A7005E1ED3A7AD22549B279B91", "DOCUMENT_ID");
      HeaderInput.setValue("CRM", "APPLICATION");
      HeaderInput.setValue("ZCRM02", "PRC_PROCEDURE_NAME");
      HeaderInput.setValue("EUR", "DOCUMENT_CURRENCY_UNIT");
      HeaderInput.setValue("EUR", "LOCAL_CURRENCY_UNIT");
      HeaderInput.setValue("X", "PERFORM_TRACE");
      // IS_HEADER_INPUT-ATTRIBUTES (substructure/table)
      Table HeaderInputAttributes = HeaderInput.getTable("ATTRIBUTES");
      HeaderInputAttributes.appendRows(3);
      Table valuesTable = null;
      HeaderInputAttributes.setRow(0);
      HeaderInputAttributes.setValue("DIS_CHANNEL", "FIELDNAME");
      valuesTable = HeaderInputAttributes.getTable("VALUES");
      valuesTable.appendRows(1);
      valuesTable.setValue("01", 0);
      HeaderInputAttributes.setRow(1);
      HeaderInputAttributes.setValue("SALES_ORG", "FIELDNAME");
      valuesTable = HeaderInputAttributes.getTable("VALUES");
      valuesTable.appendRows(1);
      valuesTable.setValue("O 50000151", 0);
      HeaderInputAttributes.setRow(2);
      HeaderInputAttributes.setValue("SOLD_TO_PARTY", "FIELDNAME");
      valuesTable = HeaderInputAttributes.getTable("VALUES");
      valuesTable.appendRows(1);
      valuesTable.setValue("005056A7005E1ED3A7ACEFCAD95FBB91", 0);
      importParameterList.setValue(HeaderInput, "IS_HEADER_INPUT");
      // IT_ITEM_MAIN_INPUT
      String itemGuid = "005056A7005E1ED3A7AD3F004CD85B91";
      ParameterList tableParameterList = function.getTableParameterList();
      Table tableItems = tableParameterList.getTable("IT_ITEM_MAIN_INPUT");
      tableItems.appendRows(1);
      tableItems.setValue(itemGuid, "ITEM_ID");
      tableItems.setValue("005056A7005E1EE39289A0FB457C9D8A", "PRODUCT_ID");
      tableItems.setValue("M", "EXCH_RATE_TYPE");
      tableItems.setValue("10", "QUANTITY");
      tableItems.setValue("PC", "QUANTITY_UNIT");
      // IT_ITEM_ATTRIB_INPUT
      Table tableItemAttributes = tableParameterList.getTable("IT_ITEM_ATTRIB_INPUT");
      tableItemAttributes.appendRows(2);
      tableItemAttributes.setValue(itemGuid, "ITEM_ID");
      tableItemAttributes.setValue("PRODUCT", "FIELDNAME");
      tableItemAttributes.setValue("005056A7005E1EE39289A0FB457C9D8A", "FIELDVALUE");
      tableItemAttributes.nextRow();
      tableItemAttributes.setValue(itemGuid, "ITEM_ID");
      tableItemAttributes.setValue("PRC_INDICATOR", "FIELDNAME");
      tableItemAttributes.setValue("X", "FIELDVALUE"); 
      // IT_ITEM_TIMESTMP_INPUT
      Table tableTimestamps = tableParameterList.getTable("IT_ITEM_TIMESTMP_INPUT");
      tableTimestamps.appendRows(3);
      tableTimestamps.setValue(itemGuid, "ITEM_ID");
      tableTimestamps.setValue("PRICE_DATE", "FIELDNAME");
      tableTimestamps.setValue("20140225000000", "TIMESTAMP");
      tableTimestamps.nextRow();
      tableTimestamps.setValue(itemGuid, "ITEM_ID");
      tableTimestamps.setValue("PRT_DELIVERYDATE", "FIELDNAME");
      tableTimestamps.setValue("20140225000000", "TIMESTAMP");
      tableTimestamps.nextRow();
      tableTimestamps.setValue(itemGuid, "ITEM_ID");
      tableTimestamps.setValue("PRT_ORDERDATE", "FIELDNAME");
      tableTimestamps.setValue("20140225000000", "TIMESTAMP");
      // execute function module
      try {
      client.execute(function);
      } catch (Exception ex) {
      System.out.println(ex);
      return;
      // check result
      JCO.Structure structureHeaderResult = function.getExportParameterList().getStructure("ES_HEADER_RESULT");
      System.out.println("Net Value: " +
        structureHeaderResult.getValue("NET_VALUE"));
      JCO.Table tableHeaderResult = function.getExportParameterList().getTable("ET_TRACE");
      System.out.println(tableHeaderResult.getNumRows());
      for(int x = tableHeaderResult.getNumRows(); x <= tableHeaderResult.getNumRows(); x = x + 1) {
      tableHeaderResult.setRow(x);
      System.out.println("Trace: " + x + tableHeaderResult.getValue("ACCESS_TRACE_XML"));
      // disconnect from SAP system
      client.disconnect();
      System.out.println("--- END ---");

    Thanks.
    I'll have to discuss VTAA pricing types with the Business Analyst, since there are many records and I'm not sure what I'm looking at.
    In regards to your second point, it's not in calculation. It'll stay at that number until you save, check the conditions tab in the header or reprice the document.
    What's interesting is that it doesn't do this for all materials.
    For example:
    Material 1 - priced $25
    Material 2 - priced $25
    Net price would be $50, which is correct.
    But say we use Material 3 - priced $25 as well. For this one, the total net price could show up as $30.
    Can pricing types be specific to materials or material groups? What is the pricing type exactly and why 'A'?

  • Credit for Returns showing different Net values...

    Hi,
    I used VF03 to see a billing document, it was a Credit for Returns and it had one line item. It showed the Net value as say 25000.00. I clicked that line item and then clicked the icon at the bottom "Item Pricing Condtn" and in the next screen under the "Conditions tab" , the net value shown is like 15676.00.
    Why is the Net Value different from what was shown in the first screen ? What may be happening ? Any tips ?
    And also the net value in the first screen then changes when you move back to the first screen !!
    So everytime when you open the document  in VF03 it shows 25000.00 and then when u return to that screen (after above mentioned steps) it shows the new value 15676.00.
    thnks
    Edited by: sdnuser1 sdnsurname on Sep 17, 2010 9:09 PM

    Hi SDNuser,
    Check if any routine is written for calculation of any condition type in pricing unde requirements, Altcalctype or Altcalcbaseval.
    Also check if some logic has been implemented in User exit RV60AFZZ, for billing document pricing under forms:
          USEREXIT_PRICING_PREPARE_TKOMK     
          USEREXIT_PRICING_PREPARE_TKOMP                 
    Regards

  • How to hide net value of $0 on Credit Memos from rejected return?

    We are creating a credit memo request with a second line item which contains rejected returns.  Basically line item 1 contains the actual qty which we are refunding and line item 2 is the qty which we will not be refunding.  When we create the the credit memo from this document in VF04, the line item two is showing on the credit memo with a net value of $0.
    Is there a way to hide this net value of $0 or rejected return items from coming over onto the credit memo.  We would like to just show positive values on the CM.
    - Chuck

    The reason for rejection is set in when the credit memo request is craeted and the net value of $0 still appears on the credit memo.. how ever the pricing values are in an unprocessed (yellow) status.
    So after running a few test when the billing block was set on the credit memo request.. I noticed that the credit memo request was still open after VF04, would appear as unprocessed, and always show up when VF04 is ran.
    Is there some other way to get the net value of $0 to NOT appear on the credit memo beyone reason for rejection and billing block.  Maybe something in the configuration copy control??

  • Freight Calculation based on the net value of the Line item

    Hi SAP Gurus,
    I have one requirement for Freight calculation(Sales order is created through an IDOC) :
    In the idoc,we will receive a freight dollar amount - which will be the total amount of freight.(example 100)
    We will also receive sales dollar for each line item ,which is then passed to the pricing procedure, for a total amount of sales for that Sales order.
    (examples below, for a total of 1500)
    The 100  is to be posted to a freight G/L account.
    The 100 is further divided by each profit center  of the materials on the Sales order.
    The freight is split out amongst the  profit center , based on the net value of the line item.
    Freight value to be allocated = Line item value/total value of the sales order * Freight amount.
    Total of the sales order =1500
         Line item value     Freight value calculation     Profit center
    Material A:      800          800/1500*100  = 53     Profit center A
    Material B:     500          500/1500*100  = 33     Profit center B
    Material C:      200          200/1500*100  = 13     Profit center C
    Please let me know how to achieve this functionality in pricing procedure or what changes i need to make in Freight condition type.
    Thanks in advance,
    Bhakar Saha

    Were you able to resolve this issue of allocating freight costs to line items/profit centers using the net value of the line items?

  • Net value issue while creating return order with reference to billing

    Dear All,
    I created SO / DEL/ BILLING for qty 100 say net value-20000.When i created Return order with  refrence to billing document,
    net value appearing same ( 20000) for 50 quantity.Pl do advise asap as its required urgently.
    Thanks in advance.
    Regards
    raj
    Edited by: raj_sapsd on Aug 20, 2010 9:18 AM

    surelly problem in VTAF
    F2 to RE
    DATAT: 103
    DATAT: 103
    DATAT: 003
    Coping requirement 021
    item level TAN  and ietm cat proposal G2N
    DataT: 153
    Datat: 104
    datat: 004
    Coping requirement 303
    Update doc Flow X
    only possibilites Removed my Moderator
    Edited by: Lakshmipathi on Aug 21, 2010 9:31 AM
    Please avoid asking for points

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

  • Making net value statistical but MWST should be calculated correctly

    Hi,
    We have a requirement where we need to raise debit or credit notes, for correcting incorrect VAT invoices. The customer wants it done like this: Create new debit / credit memo request types, by copying DR / CR. These will have a pricing procedure which has the net value statistical but the MWST should be calculated correctly. Then debit / credit memos will be created for these requests. How to do this ?
    I have tried making the net value statistical, but then the MWST becomes zero as the tax base is zero. I tried giving discounts like RB00 but this reduces the tax base value and hence the tax becomes zero.
    Thanks beforehand !!

    Dear Friend,
    I faced a similar issue recently at client site & this is how I solved it:
    I created a new Pricing Proc for these cases (& new Document Pricing Procedure - DoPP) & made settings in OVKK... which you have already done...
    Now in the new Pricing Procedure, I made my basic Price Condition as Statistical.
    The Tax (Tax Condition - MWST in your case) was calculating normally from Basic Price Condition (statistical)
    I also inserted a new Condition Type which was Manual Condition Type to Enter Re. 0.01 (1 Paisa) because without a single Revenue Account you cannot post Sales Invoice (Including Credit / Debit Memo).
    The above worked fine & client accepted the solution..
    Hope this helps...
    Thanks,
    Jignesh Mehta

Maybe you are looking for