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

Similar Messages

  • 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

  • Free goods determined in Delivery over Order Quantity in Sales Order Item

    Hi Gurus,
    I've a problem about using free goods determination.
    First I created free goods master record with following information
    ZG1010012060075 From 100 PC -> Free good ZG1040012060075 2 PC
    Free goods Category = '2' (Exclusive)
    Free goods delivery control = 'E' (Delivery proportional to quantity in main item)
    Then I've created Sales Order with
    Item 10 ZG1010012060075 4,000 PC.
    Item 11 ZG1040012060075(Free good) has been automatically determined for 80 PC
    Then I've splitted Item 10 into 4 deliveries. The result of free goods determine in each delivery are as follow:
    Delivery#1)
    Item10 ZG1010012060075 = 1,176 PC
    Item20 ZG1040012060075 = 24 PC
    Delivery#2)
    Item10 ZG1010012060075 = 1,176 PC
    Item20 ZG1040012060075 = 24 PC
    Delivery#3)
    Item10 ZG1010012060075 = 1,176 PC
    Item20 ZG1040012060075 = 24 PC
    Delivery#4)
    Item10 ZG1010012060075 = 472 PC
    item20 ZG1040012060075 = 9 PC
    *Remark : Total quantity of 'ZG1040012060075'(free goods) = 92424+24 = 81 PC
    (Greater than 80 PC)*
    I think the system determined free goods in Delivery#4 correctly due to rounding up. But It might not be over the order quantity in Sales Order Item 11. Even though I've set the item category in delivery with Check overdelivery = 'B' (Situation rejected with an error message), the free goods are determined over order qty. BUT if I change delivery qty in delivery#4 Item20 from 9 PC -> 8 PC -> 9 PC, the error message occurred.
    My point is to fix the system not determine free goods in delivery items over order quantity in sales order item.
    Has anyone met this situation before? Do you have any idea about this issue?
    Best Regards,
    Prachya Lalitnorasate

    Dear Sai,
    Thank you for your advice, but it didn't solve my problem.
    I would like the system to determine free goods with proportional to main item AND In the last delivery main item delivered completely free goods must be determined equal to remaining open delivery item.
    Do you have any idea about configuration/customization?

  • Intrastat Germany Free Goods comes error "invoice value to be filled"

    Hi Gurus,
    I am running Intrastat in GTS for Germany.
    For free goods we are entering the statistical value but invoice value
    must be zero, because these are free goods.
    But GTS does not allow a Zero value as invoice value.
    What to do? Please help
    Thanks
    Dieter

    Hi,
    This may be fine for this case,  but as explained earlier the same item category is being used when you are doing the normal returns without any reference (stand alone returns).
    So how this will tackle if you remove the pricing indicator totally?  I need to complete the return order as usual but with zero pricing- only when it is referred to free goods invoice and when stand alone returns (or) when referred to F2 value invoice, in these cases the returns will be with value.
    Please get back to me with your answers.
    regards,
    Murali

  • No net value and quantity in the DSO

    Hi Gurus,
    I would like to ask questions related to SRM Data sources. In the SRM data source 0BBP_TD_SC_1 related to shopping carts, we have the concept of GUID.
    Here for main SC number there is a GUID, but for item level there is a different GUID. While uploading the data into DSO what is happening is that the net value and quantity value is coming as zero, since it is picking value from SC GUID which has the SC qty and Value as zero instead of Item GUID which actually has this data....
    I am not sure whether anyone has faced this issue and how it can resolved. I have already in rule details of transformation made the Summation as the criteria..
    Thanks and Regards
    Abhi

    You must be moving somewhere in between a character type 1,000.00 to a numeric type variable and hence the error because of the ','. Check this.

  • Header net value different in display and change mode in Sales Order.

    Hi All,
    I am facing a strange problem. When I check an order in display mode, I can see the header net value as 120047 Euro.  However, If I open the order in change mode, it shows value as 133099.
    Do not understand why?
    Please help me to solve the issue.
    Regards,
    Neha

    Dear Neha
    Can you please clarify as to whether any header condition type is flowing in the sale order, so that  I will try to give a suitable solution accordingly.
    thanks
    G. Lakshmipathi

  • Purchase Order header Net Value

    HI ,
    Can anyone advise how to get the net value from Purchase Order Header..
    The header net value is not the one from EKPO-NETWR ,, BUT it is showing from KOMP-NETWR , so is there any function module or any tables links where we can get the purchase order net value.
    thanks
    -suresh

    Hi,
    Try with folowings:
    KONH Conditions (Header)
    KONP Conditions (Item)
    Regards,
    Biju K

  • 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

  • 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

  • Cost of free goods in header

    dear all
    i have configured free goods,in the order the cost is coming for free goods at item level and it is not adding  to the header cost total.
    for eg:i have 2 items and 1 free item.costs r 300,400,500 respectively.
    in the header it is showing only 700 as cost.
    i observed the inventory doc is posting correctly with 1200(which includes free goods cost). 
    can anybody tell weather it should add up or not and how it can be done??
    thanks
    reddy

    Dear Yugandhar
    Check
    SPRO->Sales and Distribution->Basic Functions->Free Goods->Control Free Goods Pricing->
    Control Pricing For Free Goods Item Category you will find statistical value
    or in VOV7 below pricing you find statistical value
    Statistical values                                                                               
    Indicates whether the system takes the value of an item into account 
        when it determines the total value of a document.                    
    There are three options                                                              
          System will copy item to header totals                  
    X     No cumulation - Values cannot be used statistically     
    Y     No cumulation - Values can be used statistically                                                         
    Check if it is initial for your item category
    Standard for TANN is initial and pricing is B     Pricing for free goods (100% discount)             
    Do give your feedback
    Regards
    Jitesh

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

  • 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

  • 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

  • Free Goods  based on order value

    Hello,
    We would like to setup a new promo - if your order exceeds $X, get a specified material for free.
    Is it possible to setup and how?
    Thank you for all your help!
    Mila.

    Yes. This scenario is very much possible, although I haven't tried.
    Refer the following SDN thread, which discussed of a similar sort requirement:
    - Exclusive Free Goods Based on Value irrespective of the material.
    In case of any further information or clarification or face any difficulty in applying the same, please do revert.
    Regards
    JP

  • Free Goods - PRODH1 and PRODH2 are not populating

    Hello,
    We setup the Free Goods and created new access sequences with PRODH1 and PRODH2. While the whole PRODH is working,
    PRODH1 and PRODH2 are not. They don't seem to populate in KOMP. Which user-exit we need to populate them in?
    Thank you!

    Hello Mila;
    I'm facing the same problem as you with the material hierachies. I need to set up a free good promotion based on PRODHx but the KOMP is not being populated.
    We made already the adjusments in USEREXIT_MOVE_FIELD_TO_KOMP but still is not working. We are reading PRODHx from VBAP but now we have a problem with the UoM.
    Could you please share with us how you solve this issue?
    Thank you in advance.

Maybe you are looking for

  • Username with ascii characters

    Hello, i'm having and html form and i would like the user in the username field to type ONLY ascii characters. For example, in other fields of the form i would like the user to type his mother language but as far as the username and password fields a

  • How do I remove a computer from the "Scan To" list on HP OfficeJet Pro 8600?

    I had a computer configured to use my scanner. It's now gone, never to return. How do I remove it from the list?

  • Is there a way to force host collation with a registry edit on Adobe Acrobat 9.5.5?

    I found a fix that was designed for 8.0 and it worked on a 9.0.0 machine, however, I have a user with 9.5.5 and the following fix did not work for her: Force Host Collation in Acrobat 8.0 Disclaimer: This procedure involves editing the registry. Adob

  • My new iphone 5 losing storage, can someone please help me?

    i keep getting less and less space on my new iphone 5, i plugged it in and itunes told me the "other" section was using 11.2 GB of a 13 GB phone. I dont know what to do or what is going on, can someone please tell me what's happening. Tried restoring

  • Vsom 7.2.1 login error

    Hi,  I need help with Vsom server,  my vsom was ok and perfect, I just restarted , and now i am having problem with login screen, domain name portion is on searching, and dont let me log in,  i am using vsom 7.2.1,  attached is the screenshot of the