Discount for Second line item

Hi All
While creating a sales order, the pricing should be determined based on Product line item.
For Example:
If Line item 10 has Product X and if the same Product X is taken again for line item 20 then the system should give discount based on preceeding product.i.e. If I select the same product twice i should get less price than while taking a single product.
Can Anyone help me to what condition type should be considered and how to solve this ?
Thanks
Ramya
Edited by: Ramya Nagurtha on Dec 30, 2009 5:59 PM
Edited by: Ramya Nagurtha on Dec 30, 2009 6:12 PM

Hi Shantoo
Thanks for your response. Let me clarify my question.
We are not giving a free good. The price should be reduced only when when we go for a second item.The condition type we used is 0K04.
The point is where we are refering the first line item.Can we do it through actions or is there any condition type referring preceeding item discount?
Can anyone please help me in this?
Thanks
Ramya

Similar Messages

  • CostCenetr not appearing in service PR for second line item

    Hi Experts,
    When we create a service shopping cart, if there more than one item in the shopping cart , in back end system in service PR under services tab column  Cost Center  is blank for second line item.
    How can we solve this?
    Regards,
    Anubhav

    Hi,
    Problem seesm to be with only one service category..
    Thanks,
    Anubhav

  • Problem in invoice printout for second line item of the contract.

    Hi,
    There are two line items in the contract. Both with different material and different plants. 1st line item with plant japan, and 2nd line item with plant singapore. But, when i try to take printout for 2nd line item after invoicing it, the address appearing in printout is of Japan instead of singapore.
    Any idea why this happening?
    Please revert back asap.

    Hi Chetan,
    If that is a header output, then there are issues at the design level itself. You have an output as header output and you expect the item level details to be printed in two different printouts.How is this handled in the program. Mostly header outputs are used to print the details abotu all the items in the doucment , not for a specific item. If you want to print a specific item only , then it is always advisable to configure the output as item output.
    Leaving that aside, the problem lies in the code. You may be selecting the item number when you are printing the details of the second item, but for printing address, you are not coding using the item number.
    To prove this test this scenario.
    Create an order with first item belonging to Singapore plant and second item Japan plant.
    Now create the otuput for item1----it will work fine
    Do the same for item2-----Now, the plant address will be of Singapore, while the material belongs to Japan.
    If this happens, it can be safely assumed that problem lies in the code. Do this test and then if the problem is in the program, discuss with your developer, he will rectify the bug for you.
    You can reward me if this solves your problem.

  • Not displaying ship to party for second line item

    Hi All,
    When I am creating Sales order, I entered sold to pary,PO number,PO date,material (first line item)and qty.In partner functions for first line item it is displaying ship to party.But whaen I entered second line item & qty,ship to party is not displaying .
    Please guide.
    Thanks,
    GTNR

    Couple of questions !!!!
    a)  Was system allowing you to save
    b)  has the data properly configured in Set Up Partner Determination for Sales Document Item
    c)  is the ship to party different for first line item
    d)  did you check in incompletion log
    G. Lakshmipathi

  • Logic to get same text for 2 line items

    hi all,
    i have an issue in my report,
    i have a final internal table. fileds in the table are
    bukrs  belnr gjahr buzei  sgtxt
    0010  12345  2008  01      text
    0010  12345  2008  02      -
    now the problem is if the belnr is same thn in the final internal table the above sgtxt shoud come for second line item if the second line item is initial ,i shoud get the output as
    bukrs  belnr gjahr buzei  sgtxt
    0010  12345  2008  01      text
    0010  12345  2008  02      text
    please help me how to write code for this

    Hi,
    Use this :
    Loop at itab.
    if itab-sgtext is initial .
    read table itab into wa with key bukrs  =  itab-bukrs
                                       belnr = itab-bukrs
                                       gjahr = itab-bukrs
                                        buzei = itab-bukrs
                                        sgtext <> space.
    if sy-subrc eq 0.
    itab-sgtext = wa-sgtext.
    modify itab transporting sgtext.
    endif.
    endif.
    endloop.
    Hope this helps.
    Rgds,
    Sandeep

  • Cash Discount Calculated for One Line Item and not for Other

    Hi All,
    We have devloped a Z program which is used to Write of InterCompany AR and AP recon Account to another GL Account. In this program to clear line item we have created a BDC which calls t-code FB05. Thsi program is running perfectly fine for all company codes.
    There is new company code SG20 for which it is not clearing the line items. It has created a Session in SM35, when we analysed the seesin we found that for some line items system is calculating Cash Discount and for some other line items it is not but the payment Term is same for all the douments with 3% 14days.
    I need your help in understanding that why for some line items system calculates the Cash Discout where as for others it is not calculation..also the Posting Date is same for all the documents.
    Please advise what could be the reson for this.
    Thanks!
    Regards,
    VIvek Srivastava

    Hi
    Cash discount is calculated based on the combination of baseline date and payment term conditions.
    Hence please check the baseline date for all the documents, in which the cash discount is not appearing.
    In your case, the possible reasons could be that 1) baseline date is different between these documents or 2) payment terms cash % is manually modified in the line item of the documents.
    Regards

  • Incoterms copping second line Item!!

    Hi
    I have created a condition type Shipping Charges and maintained access sequence, for this I have maintained condition record with three diferent values ( like Eg: incoterm Z50- 50 USD ).
    The issue is when creating order the Item details I am entering the Incoterm Z50, The value 50 USD is automatically determing for another line Item and Header as well. In condition Type I have never choose for header under Changes which can be made block also. Still the Incoterm value copping header also.
    As per my scenarion The incoterm I have to be add for one line item only.
    How to restrict that an Incoterm will be can add for one line Item? Please suggest me where can I rrestric
    By
    VJ

    Hi Mr Charles,
    The Condition type is I heve maintain for Item Condition. When I enter the incoterm in Item details Eg: Z50 Its getting include Shipping Charges 50 USD in condition tab in the item pricing, Then when I go to second Item Incoterm there also Z50 is appearing and the condition tab it's getting add the Shipping Charges value and header pricing as well...
    In condition type I customize As Condition Class: Discount or Durcharge
                                                       Calculate Type : Quantity
                                                       Cond Category : Freight
                                                       Rounding Rule  : Commercial
                                                      Manula Entries   : No restrictions and I choose the check box for Item Condition, Delete, Amount/Percent.
    Those are I have amintained in condition type..
    Please suggest me that still where can I restrict it the Incoterm value not to determine automatically for another line Item and header as well....
    Regards
    VJ

  • Free Goods for multiple line items of the same material

    Hi Friends,
    We have configured Free Goods to a particular material in such a way that if the customer orders 100 qty of Material A then he gets 10 qty of Material B free. This is working fine if there is only one line item of Material A with qty more than 100.
    However, if the order is created in such a way that there are two line items of material A for 50 qty each then the system is not giving the free material B, even though the total ordered qty in the sales order for material A is 100.
    How can this be configured in the system? Please Help.
    Regards,
    Abhishek

    What is the purpose of giving the same material as second line item.
    specify in the first line item itself.
    or els the condition record which you have specified that for 100 material of A gives 10 material of B modify it to 10 of A should give 1 material of B
    The first you will be useful for you.

  • Header Details to be Printed only for the line item details.

    Hi All,
    I have the following requirement.
    I have Page1 with the Logo, Header Window, Vendor Window, Send Invoice To, Delivere Invoice To and Main Window. Main Window Starts from the middle of the page. In the Page2 i have Logo, Header window and Main Window. In the Page3 i have only Main Window.
    In the Footer of the Main Window i have Placed the Terms and conditions which should always be Printed in the New Page. So in the footer i have given a command "Go to New Page " and given the page as Page3.
    The requirement is Logo,and Header Window should appear only for the Line items and not for the Terms and conditions.
    For the Page1 i have given the Next Page as Page2. Suppose if there is only one line item then it Prints in the first Page itslef and the control flows to the Page2 and since in the page2 i have given the condition for the Logo and header window to print only if line item is more than 1 and since Main Window is starting from the middle there is a blank Space appearing in the start of the page.
    The command i have given in the footer to trigger new page that is page3 is not getting triggered. If there are more than one line item then its printing the logo and header window and so there is no blank space appearing and it is working fine.
    Please let me know how to avoid this blank space and move my main window to the start of the Page if there is only one line item.
    Thank you.

    Dear Vasudha,
    I am a little bit confused regarding your query,
    "In the Footer of the Main Window i have Placed the Terms and conditions which should always be Printed in the New Page. So in the footer i have given a command "Go to New Page " and given the page as Page3. "
    When you say footer of main window does it mean , that you are using a table inside your main window and the command node your have inserted is in the footer of the table ?.I hope it is, because my suggestion is based on this assumption.
    Well my suggestion for your issue is,
    1.I  hope you are aware we can trigger a next page in two ways, one by setting the next page static attribute & second using  the command node which you have used.In your case you will have to use a combination of both.
    2.I feel your First page design is ok. Set its static next page attribute to PAGE2. Similarly set the static next page attribute for PAGE2 as PAGE2 itself. This should take care of your table which you have placed in the main window. If the table contains only one lineitem it will get over in the first page itself. If the lineitems are more in the table, it will automatically triggerPAGE2 (since static next page attribute for PAGE1 is PAGE2)  and the remaining line items will be displayed. Now no matter how many lineitems you have ,PAGE2 will be triggered repeatedly(since static next page for PAGE2 is PAGE2 itself) until the entire data in your table is displayed.
    In this way your requirement of printing the logo and header windows for the data lineitems only will be fulfilled.
    3.Now the last catch in your case is the printing of PAGE3(The terms and condition page) on an entirely new blank page.
       In the footer section of the table which you have used,  use a command node set to PAGE3.  After the command node and under the same  footer section now insert your terms and condition lineitem.
    Also Check the "at End of table" checkbox and uncheck " AT PAGE BREAK" under OUTPUT OPTIONS tab for the footer section.
    So now this footer section will be triggered only once after all the data in the table is displayed
    4. So now if there is only one lineitem, before the default second page is triggered the command node will trigger the PAGE3 and the terms and condition will be displayed.Else if there are more lineitems the page2 will be triggered again and again and finally when all the lineitems are over, the footer of the table will get triggered. So the command node will take you to the PAGE3 wherin the terms and condition will only be displayed.
    Hope this helps.
    Regards,
    Riju

  • Different Tax base in pricing procedure for a single sales order for different line item material.

    Hi,
    I have a scenario wherein in a sales order, for two different material, the tax base of pricing should get triggered on the basis of sold to party and the material entered at line item level.
    Logic triggers on the basis of Region of Customer & a unique field in the Material Master but problem comes in the calculation of Tax base as the sequence of condition type (from – to)  is already defined in the pricing procedure to pick from a particular step but in second line item the base is different i.e. the sequence of condition types that are maintained in pricing procedure should be different for Tax to calculate differently.
    Kindly suggest if the same can be handled in a single pricing procedure and dynamically taking care of condition type sequence through Alt Cal Base Formula, so far I’ve tried both Alt Cal Formula & Base but it is not working
    Client doesn’t want to go ahead by creating two different orders (through separate Pricing Procedure) for that. They want to have both materials in same order.
    Kindly suggest a suitable way to handle this scenario.
    Regards,
    Aashika Agarwal

    Hi,
    Click on the ''check availability'' button at item overview and then click on ''One-time delivery'' on the top. This will ensure that you will have only one delivery for whatever quantity is confirmed on that date.
    If you want to apply this rule for all orders across a sales area, then you can do the below configuration step :
    SPRO->sales and distribution->basic functions->availability check with ATP logic->Define default settings-> Here in avail. checking rule select A (one time delivery). This will ensure that all orders created for a particular sales area will have only one delivery.
    Hope this helps.
    Regards,
    Palani

  • Ref. PO no. is not coming in second line item at the time of delivery

    Hi All
    STO Scenario
    In PO it single Line item,  but in delivery we doing split batch. the system showing error that " Enter the    PO No." But in first line it it picking the Ref. Document No. while it not coming second line item.
    Please suggest.
    Regards
    Mahesh

    Hi Mahesh
        Proceed accordingly, first select te batch split by selecting line item and then go to environment for batch select once the batch selected then choose the belowmentioned magnifying glass, maintained other necessary field your delivery will be created.

  • Second line item in Shoppin cart is not displaying the details

    Second line item's district  value is not displayed when the detailed button of second line item is clicked.
    In the shopping cart , there are two line items are added. ( before ordering )
    click on the detail button of first line item, then click on the Ship to address tab . it is displaying the details of the first line item ship to address.
    For getting the value in the district field, BBP_doc_change_badi is implemented .
    The problem is when i click on the detail button of second line itme , the value in the district field is cleard.
    When i click on refresh buttion after that, the value is there.
    I debugged BBP_DOC_CHANGE_Badi~bbp_SC_change method,
    When the second line item is clicked, it populates only the value of first line item . After that if i click on any other buttion, the it_item in the badi populates the second line item value.
    Is this a standard error in SRM or is there any way to display the value of second line item when it is clicked at the first time

    Hi,
    In item category details insure there is tickmark for Schedule line allowed,
    In sales order at item level under shipping tab see storage location ,plant is appearing or not,
    Kapil

  • New contract account for every line item in subscription order....

    Hi Guys,
    I am having a problem with the subscription order.
    Whenever I change the subscription order and add a line item to it, SAP by default  creates a new contract account for that line item. Whereas I want to assign the same contract account to the second line item also.
    Can you suggest me any solution for this problem?
    Thanks in advance...
    Regards,
    Abhay

    Hello Abhay,
    This is the normal and correct function for SAP. If you would like for the subscriptions to be on the same contract that you subscriber has, an enhancement has to be developed.
    We had a similar requirement and an enhancement was developed per specifications.
    Regards,

  • Different Pricing date for two line items

    Hi guru's
    How to give different pricing dates for two line items
    in a sales order
    To elaborate
    I have two line items one i need pricing date order date
    second one i need pricing date should be delivery date
    Thanks in advance
    Srinivas

    Dear Srinivas,
             While creating sales order select the item which you want to change the pricing date then go to menu>GOTO>Item -->Click on Sales A here you can able to change the pricing date as you like.
    You can change the pricing date of the item in the sales order through sales order change mode but that sales order should be open.
    I hope it will help you,
    Regards,
    Murali.

  • Clearing field data for new line item in me51n PR Creation

    hello everyone!!
    As you can see from the below picture, i have created some custom fields which are to be fillup during PR creation. now when user trying to create a second line item under a PR then those custom fields are holding previous value. But it should be blank.
    please help.
    best regards.

    Please uncomment this:
    ORDER_ITEM_INX-target_qty = 'X'.
    You can check the 2nd example in this link for your reference.
    http://sap4.com/wiki/index.php?title=BAPI_SALESORDER_CHANGE
    Regards,
    Naimesh Patel

Maybe you are looking for

  • Editable pdf created in LiveCycle Designer 8

    I've created a seven page form in which I can embed photographs for site visit documentation. The form consists of multiple pages each with two image fields per page. The pdf form works great, but at times, not all seven pages are needed. I need to b

  • Oracle 10g connect too sloooooowly in server.

    I install Oracle 10g in a HP Server, have a question to ask: I use SQLPlus to connect Oracle from server, it need about 30 seconds. When I connect Oracle from client, it only need about 1 second. Why???

  • Editing class public section in ABAP editor

    Hi! Protected and private sections of dictionary classes' definition can be edited directly in ABAP editor by using "GoTo->Protected section", for instance. However, public section is display-only, probably for security reasons. Is there a trick to b

  • MOVED: Problem with Marvell SATA III ports

    This topic has been moved to Intel Core-iX boards. https://forum-en.msi.com/index.php?topic=143558.0

  • Cartucho tinta impressora photosmart 5520

    Impressora photosmart 5520 - não encontro cartucho de tinta para venda no Brasil, quando entro no site da hp para comprar nao aceita  o endereço do Brasil, só tem os estados  dos EUA, será que não dá para comprar pelo site da HP para ser enviado ao B