Price condition - all items

Hi gurus,
I have a little problem from a client.
For example :
i have 3 items
  item A     gross weight 2kgrs
  item B     gross weight 1,5kgrs
  item C     gross weight 3kgrs
there is SD order with above items as follows:
  item A  2 pcs  (gross weight : 4kgrs)
  item B  2 pcs  (gross weight : 3kgrs)
  item C  4 pcs  (gross weight : 12kgrs)
Total gross weight (all items) : 19 kgrs 
Always the user appends one more item (let say D)
(that is a specific one).
     Item D  1(always)  pc.
For this item the pricing comes from a pricelist  like :
       Item D   10Euros  per Kgr
The problem is that the client wishes  to calculate 
total gross weight by price(from pricelistlist) and considers
the outcome as the price per 1pc for item D. That is
         19 kgrs *  10 Euros --> 190Euros (outcome)
I think, i have to create a condition type  for item D. Is that correct??  What kind of cond.type??(group??)
Also, is it possible a condition type to be included only for a specific item in a SD order and simultaneously to be excluded for other line items??

Hi banuman
As you want to go for another condition type , then you copy the standard PR00 condition type to ZR00 condition type  and then make changes in the ZR00 condition type.
Assign the new  access sequence in ZR00 condition type which has the key combination of customer / material .
So as the key combination is different ensure that you are maintaining condition record for ZR00  for the material D and not for PR00.Now when you create the sales order for A,B,C materials you will get PR00 condition type but for D you will get ZR00 condition type.
Hope this input will help you
Regards
Srinath

Similar Messages

  • ABAP: How to add a Price Condition Item to an order item

    Hi experts,
       Is it possible to add a Price Condition Item to an order item by BAPI or Function in sap crm? (like: 0k04 10 USD 1 EA)

    Hi,
    You need to use CRM_ORDER_MAINTAIN and have to use structure IT_PRIDOC to update or add new pricing data.
    But do remember, you have to call FM 'BAPI_TRANSACTION_COMMIT' once you are done with call to FM CRM_ORDER_MAINTAIN, else all your updation will remain in buffer and will have no effect in Database, which will let u feel as if things are not working they should be.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Change orders item price conditions

    Hi all !!
    I have to change/update orders item price condition in a report.
    I think is possible calling the function CRM_ORDER_MAINTAIN but I do not manage to do that.
    The CT_INPUT_FIELDS have these values:
    REF_GUID = item guid
    REF_KIND = 'B'
    OBJECTNAME = 'PRIDOC'
    Is it correct ?
    Which others parameters have to be passed to the function?
    Thanks in advance for your help!!
    Elena

    example:-
    *& Report  ZSALESORDER_CHANGE
    REPORT  ZSALESORDER_CHANGE MESSAGE-ID 38.
    Selection Screen Definitions *
    PARAMETERS: p_vbeln TYPE vbap-vbeln OBLIGATORY, "Order Number
    p_posnr TYPE vbap-posnr OBLIGATORY, "Order Item
    p_etenr TYPE vbep-etenr OBLIGATORY, "Schedule Line
    p_reqqty TYPE bapischdl-req_qty OBLIGATORY. " Order Qty
    Internal Tables/Structures/Variables for calling BAPI. *
    DATA: i_hdr TYPE bapisdh1,
    i_hdrx TYPE bapisdh1x,
    i_ret TYPE bapiret2 OCCURS 0 WITH HEADER LINE,
    wa_ret TYPE bapiret2.
    DATA: BEGIN OF i_sched OCCURS 10.
    INCLUDE STRUCTURE bapischdl.
    DATA: END OF i_sched.
    DATA: BEGIN OF i_schedx OCCURS 10.
    INCLUDE STRUCTURE bapischdlx.
    DATA: END OF i_schedx.
    START-OF-SELECTION Event *
    START-OF-SELECTION.
    *" Initialize internal tables.
    REFRESH: i_sched, i_schedx, i_ret.
    CLEAR: i_sched, i_schedx, i_ret.
    *" Fill required ORDER_HEADER_IN data.
    i_hdrx-updateflag = 'U'.
    *" Fill required SCHEDULE_LINES data.
    i_sched-itm_number = p_posnr.
    i_sched-sched_line = p_etenr.
    i_sched-req_qty = p_reqqty.
    i_schedx-updateflag = 'U'.
    i_schedx-itm_number = p_posnr.
    i_schedx-sched_line = p_etenr.
    i_schedx-req_qty = 'X'.
    APPEND i_sched.
    APPEND i_schedx.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    salesdocument = p_vbeln
    order_header_in = i_hdr
    order_header_inx = i_hdrx
    TABLES
    return = i_ret
    schedule_lines = i_sched
    schedule_linesx = i_schedx.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    LOOP AT i_ret.
    WRITE / i_ret-message.
    ENDLOOP.

  • In the Itunes Wishlist there is no price button that you can psuh to buy the items. So I cant buy my whole wishlist without doing it all seperatly and I dont know the total price of all the items. Please help!

    In the Itunes Wishlist there is no price button that you can push to buy the items. So I cant buy my whole wishlist without doing it all seperatly and I dont know the total price of all the items. Please help!

    Both the button and the total cost appear to have been removed in the current version of iTunes - I don't have them either and other people have posted about it as well. You can try leaving feedback for Apple and maybe they'll be added back in a future update : http://www.apple.com/feedback/itunesapp.html

  • Structure used in pricing with all item condition

    Hello Experts,
    I am creating a routine in which i need to read data from some other line item of sales order.
    Can anyone please tell me structure in which i get data for all item with all condition.I had checked XKOMV in which data is coming for only that particular item.
    Thanks in advance.
    Regards,
    Piyush

    If you know the document number you can find all condition type, for every item, by those steps:
    1.     TAKE VBAK-KNUMV;
    2.     GO TO KONV BY VBAK-KNUMV.
    G. Cicconi

  • ME21N : Donu2019t copy the price for all condition types from last po

    Dear.
    When I create a purchase order the price for all condition types are copied from last purchase order inside the info-record.
    But I have some condition types like FRA1 or FRA2 that I donu2019t want that system transfer price from last purchase order.
    How can I do that ?
    Thanks.

    Hi Cris,
    Go to SPRO>MM>PUR>Info Record>Define Price History> Here with your Purchasing organization if the tick is active that
    Specifies that the order price history (PO price history) is to be updated with the effective price.
    Normally, the order price history is updated with the net price.
    Procedure
    Set this indicator if you want the order price history to be updated with the effective price.
    Thanks
    Diwakar

  • Query to see all BP's with a special price for an item

    Hi There,
    I'm currently still learning the product and have been tasked with finding this out, so please bear with me and let me know if there is further information that is required.
    I have a customer running SAP B1 2007 who wishes to produce a report detailing all of the BP's that have a special price for an item. 
    Therefore it would ideally show the item number, all BP's who have a special price and what that price is.
    Is there a standard report that can be run for this?  Or would a query have to be defined?
    Any help would be appreciated.

    Hi,
    AFAIK, no standard report for this. But need not to worry, you just need
    SELECT ItemCode,CardCode,Price FROM OSPP ORDER BY ItemCode,CardCode
    above simple query to cater your need.
    Best Regards,
    Hendry Wijaya

  • How to create price list in all item..?

    Hi all,
    I want to modify the price list in all items because changing the price. If I have more 100 items, I have got difficult change on SBO one by one, there is not an efficient and need a long time. I used SBO 2005A PL 43.
    How to create it fast on SBO? How to create add on module to modify the price list in all items so I modify the price list is faster? I don't know relationship the tables to change the price list on SBO. Please let me know...
    Thanks in advance for your help....
    Agung

    Dear Mr Adrianto,
    In the stock module under price list there are different options. It could be possible to change the prices of Parent items according to thier children's prices.
    Also, you can use the option: Special prices for BP, if you need to change the prices for on BP.
    There is also the discount group if you want to reduce the price of items for the whole group. Please note that you can also increase prices when you use a percentage > 100%.
    Kind Regards,
    Marcella Rivi
    SAP Business One Forums Team

  • Header tax conditions....sum of all item level condition

    Dear Gurus,
    I do get item level conditions using KONV.
    Now as per my requirement, I need all these item wise taxes summed up at header level.
    i.e total tax per condition per item.
    Please help me.
    Regards,
    Roshan Lilaram.

    Dear Anil,
    I will get these details item wise.
    I need all these together.
    If i have three items then at the header level i get the total of all these three items.
    I hope i am making my issue clear.
    Regards,
    Roshan Lilaram.

  • CAML Query returning all items with date condition

    HI,
    I have a problem doing a query with CAML over the elements of a calendar in SharePoint 2013
    I just want to retrieve all items, which have been modified on a particular date. But below query returns all items from the Calendar.
    Any suggestion how to get specific items from the calendar. The same issue exists for start date  and end date.
      var oWebsite = clientContext.get_web();
        this.collList = oWebsite.get_lists();
        var camlQuery1 = new SP.CamlQuery();
       camlQuery1.set_viewXml(
       '<query><Where>'+
          '<Eq>'+
             '<FieldRef Name=\'Modified\'  IncludeTimeValue=\'TRUE\'/>' +
             '<Value Type=\'DateTime\'>2014-02-24T12:00:00Z</Value>'+
          '</Eq>'+
       '</Where></query>');
        this.collListItem1 = oList.getItems(camlQuery1);
        clientContext.load(collListItem1);

    Firstly try to make this change in your query and see if that helps
    camlQuery1.set_viewXml(
    '<View><Query><Where>'+
    '<Eq>'+
    '<FieldRef Name=\'Modified\' IncludeTimeValue=\'TRUE\'/>' +
    '<Value Type=\'DateTime\'>2014-02-24T12:00:00Z</Value>'+
    '</Eq>'+
    '</Where></Query></View>');
    Geetanjali Arora | My blogs |

  • Price condition equal to VPRS cost of goods

    I have a senario ,which we will create sales orders for customers with sales price equals to the MAP(moving average price) at the  time when the SO being input .And the sales price in sales orders should be copy to the billing whether  the MAP has changed or not .
    Now I have set up an pricing procedure ,which  use  VPRS  as the sales price condition type ,but here comes another question when I create billing according to the delivery . When I create the billing document ,the net value is defferent with the net value of the sales order ,because the MAP has changed during the goods issue.
    Is there any idea that can make sure the sale price equals to the MAP , and the billing net value is same as sales order net value?
    can you give me some advice ? thanks for you help!

    Hi,
    The pricing type (Copy control)  is an extremely important field. It is worthwhile keeping this entry
    in mind when creating your pricing condition types. As a rule of thumb, you should
    have all item categories for a particular sales document with the same settings.
    Generally, you may use pricing type B (carry out new pricing), G (copy pricing
    elements unchanged and redetermine taxes), or C (copy manual pricing elements
    and redetermine the others).
    When using condition B all manual pricing condition types are lost.
    If you want to copy the sales order to the invoice without changing the sales order
    conditions, use pricing rule G. This will copy the pricing conditions from the order into the
    invoice without changing them, but will redetermine the taxes.
    Regards...
    SBC

  • How to update multiple Price conditions in FM CRM_ORDER_MAINTAIN

    Hi All,
          need to update multiple price conditions in a contract Thru FM CRM_ORDER_MAINTAIN.
    please see the piece of code that am using...
      am able to update single price condition...but not able to populate 2 or more .......i,e..ADD A Condition
    i,e...DATA : ls_cond TYPE prct_cond_external_input,
           lt_cond TYPE prct_cond_external_input_t.
    DATA : ls_con TYPE PRCT_COND_DU,
           lt_con TYPE PRCT_COND_DU_TAB.
    Create Condition Type
    *ls_con-KNUMV = lv_header_guid.
    *ls_con-KPOSN = lv_item_guid.
    ls_con-stunr  = '134'.
    IF Y EQ 1.
      ls_con-ZAEHK = '001'.
    ELSE.
       ls_con-ZAEHK = '002'.
    *ENDIF.
    *ls_con-kschl = 'ZFP1'.
    **ls_cond-waers = 'CNY'.
    *ls_con-kbetr = '0.00'.
    *ls_con-kpein = '1'.
    ls_cond-kschl = 'ZFP1'.
    ls_cond-waers = 'CNY'.
    ls_cond-kbetr = '0'.
    ls_cond-kpein = '1'.
    ls_cond-knumh = lv_item_guid .
    CLEAR ls_Price_doc.
    ls_Price_doc-ref_guid = lv_item_guid.
    ls_Price_doc-ref_kind = 'A'.
    IF Y EQ 1.
    ls_Price_doc-ref_handle = '000000001'.
    ELSE.
      ls_Price_doc-ref_handle = '000000002'.
    ENDIF.
    *ls_price_doc-PRIC_COND[] = lt_cond[].
    *INSERT ls_con into table ls_price_doc-PRIC_COND.
    INSERT ls_cond into table ls_price_doc-COND_ADD.
    INSERT ls_price_doc INTO TABLE lt_price_doc.
    ls_input_fields-ref_guid    = lv_item_guid.
    ls_input_field_names-fieldname = 'KNUMH'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'KPOSN'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'KSCHL'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'KPEIN'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'STUNR'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'ZAEHK'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'WAERS'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'KBETR'.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    CLEAR ls_input_fields.
    Ls_input_fields-ref_guid    = lv_item_guid.
    ls_input_fields-ref_kind    = 'B'.
    ls_input_fields-objectname  = 'PRIDOC'.
    *ls_input_fields-logical_key = '0001'.
    ls_input_fields-field_names = lt_input_field_names.
    INSERT ls_input_fields INTO TABLE lt_input_fields.
    CLEAR ls_input_fields.
    CLEAR ls_Price_agreement.
    Clear ls_cond.
    I kept this under code. loop, for item records.....
    Though the internal table lt_price_doc. is holding all the records, it is updating only one record. can you any one pls guide me ,

    This example works fine for me. Modify it according to your needs...
    Price
                  IF it_item-value IS NOT INITIAL.
                    ls_cond-kschl = 'PR00'. " add price
                    ls_cond-kbetr = it_item-value.
                    ls_cond-waers = st_head-currency.
                    INSERT ls_cond INTO TABLE ls_pridoc_com-cond_add.   
                    index_2 = 1.
                    CLEAR: ls_cond.
                  ENDIF.
    Discount
                  IF it_item-discount IS NOT INITIAL.
                    ls_cond-kschl = 'ZPPP'. " add discount
                    wa_procent_calc = it_item-discount * 10.
                    ls_cond-kbetr = wa_procent_calc."it_item-discount.
                    ls_cond-waers = '%'."st_head-currency.
                    INSERT ls_cond INTO TABLE ls_pridoc_com-cond_add.   
                    index_2 = 1.
                    CLEAR: ls_cond, wa_procent_calc.
                  ENDIF.
                  IF index_2 = 1.
                    ls_pridoc_com-ref_handle = counter.
                    ls_pridoc_com-ref_kind = 'B'.
                    INSERT ls_pridoc_com INTO TABLE gt_pridoc_com.
                    CLEAR: index_2,ls_pridoc_com.
                  ENDIF.

  • ME22N change Exchange rate type at price condition level

    Hello,
    In ME22N exchange rate type is 'M' by default. When a price condition has currency different than purchase order this 'M' rate is used.
    Now I need to change this 'M' rate but for particular price conditions (and exchange rate type can be different for each price condition). Don't ask me why:-) This requirement comes from business consultant and he knows that there is no user exit for this. I need to modify standard. The problem concerns items price conditions.
    I'm not asking you for a complete solution, but maybe you can give me a hint where to start? What is the function module which perform price calculation (where exchange rate is used) in ME22N.
    I tried to change KOMK-KURST in price condition rule (the procedure which is called to check if price condition has to be calculated or not). It is called for each price condition and I know a name of price condition. But I think the exchange rate type is read at the beginning and stays unchanged even I changed KURST.
    I also found function module READ_EXCHANGE_RATE, which has rate type 'M' by default. I could put my modification in place where it is called. But it is not called when I press button Update price. It is only called when I change the currency of condition and press enter. This FM is called in few places in ME22N but not when I'm refreshing prices. Maybe during a refresh it has already an exchange rate? If so, READ_EXCHANGE_RATE could be a solution, but... It is not called when price conditions are created for the very first time (when I create PO item). Maybe system calls different FM?
    I also tried to use trace (ST05) to see where systems reads from TCURR, but I think some buffers are used and TCURR is not in trace.
    So now I'm stuck hoping for your help.
    Best regards
    Rafal

    Prabhu Peram wrote:
    Hello Rafal ,
    >
    > still im trying to understand your requirements , anyhow if you change/propose new exchange rate at header level , then system wont put type as 'M'.
    >
    The problem is that if I set a new exchange rate type, it will be the same for all price conditions. My requirement is to have different exchange rate type for each price condition. The pricing procedure will loop at each price condition, and depending on condition name I need to have different exchange rate type.
    Example:
    condition XMER is in EUR and must be converted to USD (factor should be 1,234)
    condition XMET is in EUR and must be converted to USD (factor should be 1,567)
    Now the factor is the same for all price conditions.
    I have found interesting table XKOMV. It contains price conditions and there is a field with factor value. Now I will look for the place where this table is filled with data or for the place where I can modify factor values before XKOMV is used in pricing procedure.
    Best regards
    Rafal

  • Restrict new price conditions in the return order and credit note

    Dear Expert
    We are facing a scenario where we make return order; the Price is copied from the invoice. And it is working perfectly. The system does not allow us to change the price.
    The issue we are facing here is that user can input new condition like discount /premium and change the net value for the return order pricing, and this will reflect in the credit note for returns.
    Is there a way to restrict the user from entering any pricing condition in the header or item conditions tab.
    although we cannot change the original price coming from invoice referenced for return order, but the user can input new price conditions as below. This must not be allowed.
    The price must come according to the Qty being referenced.
    While making the credit for returns, the user has a chance of further making changes to the net value by adding new conditions. Hence this must also be restricted for any changes.
    Thanks

    Hi
    Firstly,In copy control maintain anyone of the pricing types
    D: Copy pricing elements unchanged
    E: Copy pricing elements and values unchanged
    To avoid all these things go with  USEREXIT_FIELD_MODIFICATION but before going with the user exit,also check with transaction variant SHD0.
    Regards
    Srinath

  • Copy Quote discount price with 'line item proposal' in VA01

    Hi Expert
    Does anyone know how we can use 'line item proposal' to copy discount prices from Quotation into Sales Order via VA01?
    We want to copy all line items from a previous quote into new sales order, in our test all line item details was copied across except discount prices (condition type ZPM2). Any idea how we can include the discount prices in the copying.
    Any suggestion will be appreciated
    Thank you

    As already, mention in previous post
    this would not copy pricing.
    It will only copy material & order quantity.
    By using copying control VTAA, I intended to say.
    You should create a sales order with reference to Quotation. For this you need not make any modification to existing standard configuration for copying control for VTAA ( Target: OR & Source: QT ), which will take care of your requirement.
    Regards
    JP

Maybe you are looking for

  • How to put delay of 5 seconds in form builder

    Hello everbody I m using Forms 6i. I wants to put delay of 5 seconds in form due to some requirement. Is any body have idea how to put delay? Thanks in advance.

  • Integration of calender functionality in the Custome form in Oracle apps.

    Hi, Thanks for all the support. I required one more help about integrating the calender functionality in the costume form of r12 Oracle Apps. Can Any body just give me the steps for the integrating the calender functionality. in R12 Oracle apps form.

  • Get the existing tab by name at runtime

    Hi all, I need to get weather a tab exist by this name or not .. my scenario is I will have a properties file with a list of field properties along with information to which tab this field belong ...? At runtime I need to create a tabstrip... Then i

  • Netweaver Mobile Add-in Installation on NW700 with EHP1

    Dear all, we have a netweaver 7.00 EHP1 platform, on which Mobile Infrastructure also has to be installed But i am not sure how it can be done. Reading notes i saw that as of EHP1 it is not possible to install MI as Java Add-in Many thanks in advance

  • Editing CSS rules in SlideShow

    Hello Community, I need to create a new CSS rule for the ContentSlideShow from Spry. I want that the title of the headline is in a other color than the other text. I want the title "The Expendables" in #429af2 and the rest of the text in white. Can s