To make the Pricing Condition types inactive in Pricing Procedure

Hi Experts,
I am facing a senario where, in a sales order, pricing procedure, if one of the pricing condition type does not exist, then two other condition types (even though they are determined by condition records), should be either made inactive or should not appear in the pricing procedure.
Example: If I have 3 condition types in Pricing Proc say
YYY1, YYY2, YYY3, then the scenarios are
a. If one of the condition types YYY1 is not determined, then, YYY2 and YYY3 should not be either determined in the sales order or should be made inactive. This same logic applies to both YYY2 and YYY3.
b. If all three condition types are determined in Pricing Proc of the sales order, then, the price should be considered.
If it was just YYY1 then, I could have done it in VOFM by writing a routine and assigning it to YYY2 and YYY3 in pricing proc. However, the scenario is to check the other condition types as well and make YYY1 inactive if any of the other condition type does not exist. Both condition types are determined after YYY1 which is another difficulty.
I tried creating a dummy condition type  and assigning it to Pricing Proc (at the end of Pricing Proc). For this dummy condition I put in a pricing requirement which checks for all three condition types and if one does not exist, then it make other conitions inactive.
However, this does not work in VA02 and VA03 as XKOMV is either not getting filled up or even if is getting filled, it is not having the condition type. It some times has condition records, and sometimes not... (not very sure why)
So, I was thinking of using user exit for the same. However, I was unable to find a suitable user exit for the same where KONV table can be read or XKOMV can be filled.
Can you please suggest if any user exit can be used for this or if we can implement it in a different way?
Regards,
Mukund S

Hi,
I think you can use condition exclusion functionality to select best pricing condition from a set of conditions in pricing.  You can compare conditions in many ways.
I believe you can plot a solution with little research.  The below link is for your reference.
[http://help.sap.com/saphelp_40b/helpdata/fr/93/743483546011d1a7020000e829fd11/content.htm]

Similar Messages

  • How to make the PR00 condition type madatory

    Hi Guys,
    We need to prevent any sales order without PR00 from being posting. Where should we set this customization?
    Best Regards
    Jerome

    Hi,
    Go to Pricing Procedure in V/08... Select your pricing procedure and mark PR00 as mandatory condition by selecting mandatory check box for PR00.
    This will resolve your problem...
    Muthu
    Edited by: Muthupandiyan C on Mar 6, 2009 2:00 PM

  • Condition Type dependant on Pricing Date

    Hi,
    I want to know how to make a particular condition type dependant on pricing date. e.g We have a pricing procedure where a couple of condition types are only displayed, when I go to the header details in VA01 and put the pricing date manually in the Sales Tab.
    Thanks
    Amol

    Hi Amol,
          Go to V/06 and goto perticular condition type detailes screen, At bottom there is control data 2 in that there is field called 'pricing date' you enter "B" in that field, I think it will fullfill your requirement.
    If it is helpfull please reward me with points,
    Regards,
    Murali

  • How to get the created condition type and make it possible to view it in PO

    Hi,
    Can anyone tell me  how to make my condition type created will appear in the condition type selection list.
    Regards,
    Sairam

    Dear,
    You can see the <b>Pricing Procedure</b> & the<b> condition type</b> & analysis in the <b>Conditions</b> tab of the item detail of the PO.
    Pl note the pricing procedure attached to the vendor thro' the <b>Schema group Vendor</b> and analyse for yourself by creating a PO for this Vendor.
    Thanks ,
    Nagarajan

  • Sales Order Pricing - Condition Type:PR00 inactive

    Hi
    In Sales Order Item level pricing, condition type PR00 become inactive.  It shows reason : Inactive via formulae of incorrect.
    Sales Order is partially delivered & billed.  For remaining deliveries, system not allowing for billing, showing sales order is incomplete.
    Condition Type PR00 maintained manually.  Order quantity changed several times.
    Please guide me on this.
    Regards
    Uma

    Dear Umasankar
    Check in VK12 for the material whether the From To Date is maintained for current period.
    Also go to  V/08 and check your pricing procedure whether any invalid account key is defined.
    Thanks
    G. Lakshmipathi

  • Pricing : Condition type value need tog get from the lowest of 4 other cond

    Hi,
    I have one requirement in one pricing procedure.
    I need to calculate condition value of one condition type from the lowest value of other 4 condition tyeps. These condition types values are not defined as a subtotal.
    So if I decide to write a formula on condition values, is there
    any way to select these values and choose the lowest of them?
    Please also advice if there is any other way such as condition exclusion
    or so?
    Thanks and regards,
    Anand

    Anand,
    As you have mentioned you can use condition exclusion for such a requirement.
    here is a detailed description of how you can achieve this: use the menu path IMG> Sales & Distribution> Basic Functions> Pricing> Condition Exclusion> Condition exclusion for group of conditions.
    When you execute this IMG acitivity you get a window with three options
    1.Define Condition Exclusion Groups
    2.Assign condition types to the exclusion groups
    3.Maintain condition exclusion for pricing procedures
    We will use these three options one by one, we start with the first
    1. Define an exclusion group, lets say EX01 and give a description
    2 Assign the four condition types that you want to compare to this exclusion group under this option
       lets say EX01 ZK01
                   EX01 ZK02
                   EX01 ZK03
                   EX01 Zk04
    3. under this third step, select the pricing procedure that you are working on and from the left margin click on 'Exclusion'. click on 'New Entries' and make the following entries (example)
             Sno.   Cpr         ExGr1
              10      A            EX01                leave ExGr2 blank, Save your entries
    Check if your purpose has been met or not. Do give your feedback
    Regards,
    PATHIK

  • Pricing Condition Type should split the Value

    Hello Gurus,
    I am working on Billing Plan for Contracts. In the contract I enter the condition type with Rs.24000. The same net value should split in the  billing plan by months for 12 months as Rs2000.00. Any inputs on this?
    Regards
    Venkat

    Hello,
    In v/06 make a new condition type for 'Monthly Value'.Eg.  ZP00
    Cond. class   A Discount or surcharg
    Calculat.type A Percentage         
    maintain vk11 for ZP00 as 8.333%
    In the pricing procedure , add the new condition type after main price condition as below.
    STEP    CNTR  CTyp         DESCRIPTION                     FROM    TO    MAN MDT             STAT  
    100             0     PR00     Price                                                               CHECK         CHECK
    200          0     ZP00     Monthly Value     100                                      
    please check the same and revert back.
    Thanks & Regards,
    Hegal

  • Pricing condition type and the procedure it belongs to

    Hello Experts,
    Pricing is found in basic function in spro.
    Under this we maintain the condition types.
    But how does the SAP system know for which pricing procedure a condition type belongs?
    Is a condition type uniquely usable by 1 pricing procedure only?
    Am i right to say the pricing procedure is set in the condition type properties screen?
    Have a nice day.
    regards
    Tom

    But how does the SAP system know for which pricing
         procedure a condition type belongs?
    System recognizes a condition type for which pricing procedure it belongs to, based on the document pricing procedure assignment you set in OVKK.
    Is a condition type uniquely usable by 1 pricing procedure only?
    No as long as the data maintained in V/06 is same, you can assign to en number of pricing procedures.  For example, you cannot have a different data maintained under the tab "Control data 1" in V/06 for one scenario and another value for another scenario.
    thanks
    G. Lakshmipathi

  • Pricing Condition Type - Not visible to the customer

    Dear All,
    What all the config need to set up in the pricing procuder for a condition type to ensure customer did not wish to see the value for the particular condition type on the invoice. However it should have the ability to value in the condition type automatically post to the correct accounts at the time of invoicing.
    Thanks in advance.
    Victor

    Hi victor
    If nobody should change the condition type at billing level or sales order level also  means then go to V/06 and set the field  Manual Entries - D .
    Secondly, in VTFL change the pricing  type to C or D then changing the condition type manually is not possible
    Regards
    Srinath

  • Function module to change the value for pricing condition type

    Hello experts,
    I want to change the value for pricing condition type for an item in the transaction CRMD_ORDER.
    I used many function modules but none are working.
    Please kindly suggest a function module that will change the value for a condition type .
    I have used the following function module but its not working, please correct the coding if anything needs to be changed or added. Please help me .
    Thank you.
    CLEAR PRCD_COND.
         SELECT SINGLE * FROM PRCD_COND WHERE KPOSN = WA_ORDERADM_I-GUID AND
                                              KSCHL = COND_TY.
      IF SY-SUBRC = 0.
    *    MOVE-CORRESPONDING PRCD_COND TO L_COND_CHG.
    *    CLEAR L_COND_CHG-KBETR.
        L_COND_CHG-STUNR = PRCD_COND-STUNR.
        L_COND_CHG-KBETR = COND_PRC.
    *    L_COND_CHG-KSCHL = COND_TY.
        INSERT L_COND_CHG INTO TABLE T_COND_CHG.
    L_HEAD_GUID = CRMD_ORDERADM_H-GUID.
    L_ITEM_GUID = WA_ORDERADM_I-GUID.
    INSERT L_HEAD_GUID INTO TABLE HEAD_GUID.
    INSERT L_ITEM_GUID INTO TABLE ITEM_GUID.
        CALL FUNCTION 'CRM_ORDER_READ'
         EXPORTING
           IT_HEADER_GUID                    = HEAD_GUID
           IT_ITEM_GUID                      = ITEM_GUID
         IMPORTING
           ET_ORDERADM_H                     = LT_ORDERADM_H
           ET_ORDERADM_I                     = LT_ORDERADM_I
           ET_PRIDOC                         = IT_PRIDOC_RD
           ET_DOC_FLOW                       = T_DOC_FLOW
    *     CHANGING
    *       CV_LOG_HANDLE                     =
    *     EXCEPTIONS
    *       DOCUMENT_NOT_FOUND                = 1
    *       ERROR_OCCURRED                    = 2
    *       DOCUMENT_LOCKED                   = 3
    *       NO_CHANGE_AUTHORITY               = 4
    *       NO_DISPLAY_AUTHORITY              = 5
    *       NO_CHANGE_ALLOWED                 = 6
    *       OTHERS                            = 7
        IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    MOVE-CORRESPONDING LS_PRIDOC_RD TO L_PRI_COND.
    INSERT L_PRI_COND INTO TABLE PRI_COND.
    LOOP AT IT_PRIDOC_RD INTO LS_PRIDOC_RD.
    MOVE-CORRESPONDING LS_PRIDOC_RD TO L_PRIDOC_CHG.
    L_PRIDOC_CHG-PRIC_COND = PRI_COND.
    L_PRIDOC_CHG-REF_GUID = LS_PRIDOC_RD-GUID.
    L_PRIDOC_CHG-COND_CHANGE = T_COND_CHG.
    INSERT L_PRIDOC_CHG INTO TABLE PRIDOC_CHG.
    ENDLOOP.
    LOOP AT LT_ORDERADM_H INTO LS_ORDERADM_H .
    MOVE-CORRESPONDING LS_ORDERADM_H TO L_HEADER.
    INSERT L_HEADER INTO TABLE HEADER.
    ENDLOOP.
    LOOP AT LT_ORDERADM_I INTO LS_ORDERADM_I.
    MOVE-CORRESPONDING LS_ORDERADM_I TO L_ITEM.
    INSERT L_ITEM INTO TABLE ITEM.
    ENDLOOP.
    L_FIELD-FIELDNAME = 'STUNR'.
    INSERT L_FIELD INTO TABLE FIELD.
    L_FIELD-FIELDNAME = 'KBETR'.
    L_FIELD-CHANGEABLE = 'X'.
    INSERT L_FIELD INTO TABLE FIELD.
    L_INPUT-FIELD_NAMES = FIELD.
    L_INPUT-REF_KIND = 'E'.
    L_INPUT-REF_GUID = LS_PRIDOC_RD-GUID.
    L_INPUT-OBJECTNAME = 'PRIDOC'.
    INSERT L_INPUT INTO TABLE INPUT.
        CALL FUNCTION 'CRM_ORDER_MAINTAIN'
         EXPORTING
           IT_PRIDOC                     = PRIDOC_CHG
         IMPORTING
           ET_EXCEPTION                  = EXCEPT
         CHANGING
           CT_INPUT_FIELDS               = INPUT.
        IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    REFRESH EXCEPT.
    CALL FUNCTION 'CRM_ORDER_SAVE'
      EXPORTING
        IT_OBJECTS_TO_SAVE         = HEAD_GUID
    *   IV_UPDATE_TASK_LOCAL       = FALSE
    *   IV_SAVE_FRAME_LOG          = FALSE
    *   IV_NO_BDOC_SEND            = FALSE
    *   IT_ACTIVE_SWITCH           =
    IMPORTING
       ET_SAVED_OBJECTS           = SAVED
       ET_EXCEPTION               = EXCEPT
       ET_OBJECTS_NOT_SAVED       = UNSAVED
    * CHANGING
    *   CV_LOG_HANDLE              =
    * EXCEPTIONS
    *   DOCUMENT_NOT_SAVED         = 1
    *   OTHERS                     = 2
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    COMMIT WORK AND WAIT.

    Hi,,
    To be able to call a function module in an update work process, you must flag it in the Function Builder. When you create the function module, set the Process Type attribute to Update with immediate start
    Alternatively u can use this function module.
    CRM_STATUS_DATA_SAVE_DB
    BAPI_CUSTOMERCRM_CHANGE (If u wish to use a bapi for this).
    Also , Let me know what error you got when implementing other function module.Does the function module didnt return any error but still the value is not changed for pricing condition type?

  • Statistic Condition Type inactive when duplicated

    Hi gurus,
    I wonder if there's any way to make a statistic condition type become inactive when the user inserts another equal one.
    Example:
    Here is my procedure: ZP0001 with this condition type ZC01 set statistic.
    If I create a new sales order and I insert this condition in the procedure twice, the system does NOT deactivate any of them. It just let them occur at the same time.
    If I go like this with a non statistic condition type, then the system deactivate all duplicated types and only remains the last one inserted.
    Do you know if this behaviour is possible for statistic condition types in any way?
    Thanks in advance,
    John

    Hi,
    a statistical condition type can not be inactive because it is not taken into account in the calculation per definition as statistical.
    One more sentence to clarify to the sentence before. It will be inactive but still displayed - as this is the nature of a statistical condition.
    So far so good. But I know exactly what your problem is, when your statistical condition type is present twice you would like to surpress the earlier record.
    We had a similar requirment once. We had two different statistical condition types which were displayed at the same time. 
    The requirement was to only display one of the two condition types. When A was present B should not be shown. I tried with condition exclusion but it did not work for statsitical conditions (as they can not be set inactive...). But it worked very good with a pricing requirement we created ourselves.
    Good Luck.

  • Pricing conditions shwoing inactive

    Hello Experts,
    In sales order pricing, condition types are showing inactive icon.
    The condition value will determine through condition record.
    How i can remove or make it active conditions.
    Where the problem lies?
    Kindly reply immediately.
    Please note that the inactive conditions don't have the Condition class as B i.e. Prices.
    Even then the problem is occuring.
    Regards,
    Neha

    Hi,
    Did you want to say its not considered in the pricing.
    Your conditions price has not be picked up for the pricing something like that?
    Have you seen in V/08 in your pricing procedure.
    Whether statistical has been ticked for your condition type or not.
    If its there then remove it and try it again.
    If your problem is something else then let me know
    Regards
    Raj.

  • Problem with pricing condition type in case of proforma invoicing

    Hello All,
    the problem is related to a pricing condition type in case of proforma invoice where the details are as follows -
    Name of Condition Type - ZADC - Add 10% on Cost                                         Access seq.   Z038 Diff
                                                                                    Plus/minus    A Positive
    Cond. class -  A Discount or surcharge
    Calculat.type -  A Percentage
    Cond.category - Blank
    Manual entries      D Not possible to process manually
    Amount / Percent - Checked
    Item Condition - checked
    Scale Basis - Quantity
    Currency Conversion - Checked
    Quantity Conversion - Checked
    This condition type has been kept as statistical in the pricing procedure. Still in the proforma invoice the condition type is not getting reflected automatically , whenever I am updating with " carry out new pricing " option the condition type is getting populated.In case of other commercial invoices this very condition type is getting populated automatically without any updates.Along with this point to be noted is that the Condition type in which the actual costi is captured has been kept active.
    What more needs to be configured or what are the changes to be done to populate the condition type automatically as statistical during the time of proforma invoicing?
    Thanks & Regards
    Priyanka Mitra

    Hi,
    Kindly do the pricing analysis and check whether you have the following error such as
    Inactive condition type because of subsequent price,
    Regards,
    Ravi

  • Pricing condition type not working

    Hi all,
    A pricing condition type is present which is supposed to make the netvalue to zero after the order reason is changed to rejection using va02. But even after the order reason is changed to rejection and we tried to genrate new pricing document, the netvalue is not becoming zero. How can I debug this? The condition type is not determined by using condition records.
    Thanks in advance.

    Hi Smith
    This should be working in the following ways.
    1) Order Reason/Rejection Reason being a field in the Key combination with 100% Discount triggering Zero Net Value
    if this the case, then you should check in Condition Analysis wheather the value has conrrectly flown in the condition table , if not why it has not flown in to the condition table (It could be missing value in the condition record or a prblem in the field catalogue user exit-  you need to take Developer's help as suggested by others)
    2)  Using a Requirement and changing the Net Value Zero without any condition table field.
    If so, put a break point in the requirement and check why this has not been successful in this scenario.
    I hope the replies would help you to some extent in solviing the issue.
    Thanks
    Subbu

  • Condition type inactive

    hi all,
    why condition type is inactive in sales order item level.
    when i save invoice it shows error in pricing.
    pls let me know.
    Regards
    Rams

    You can get a better idea by going to the sales order at the item level in the condition tab, highlight your condition type and click on Analysis. It will give you an idea why it is inactive.
    If it is a price condition type then there must another price condition type below so it is overwriting the first condition type.
    Regards
    AK

Maybe you are looking for

  • Standard or customise imac

    i am thinking of getting the imac 27" and wondered would it be better to customise it or keep the standard spec. standard at the moment is: 3.4GHz Quad-core Intel Core i5, Turbo Boost up to 3.8GHz 8GB 1600MHz DDR3 SDRAM - 2X4GB 1TB Serial ATA Drive @

  • Characters in query not recognized in silverlight SQL management tool - firefox & mac

    I have several problems working with the Azure SQL management portal ( silverlight ) on my Mac ( current issue is with Firefox but I have had the same problem with Chrome ). Problem : Queries I type in through the online editor come back with strange

  • Track List and Grouped Album Art not right

    I purchased a 2 disc album from iTunes. I did nothing but click buy. I have not changed any default settings. When viewed under "+view grouped with artwork+", most tracks are separate instead of being grouped together under one album image. There are

  • Import solaris media - please remind me

    Hi, I am on N1SPS 5.2. I've already imported created profiles for various releases of Solaris throughout the year, but I've forgotten what to do! Can someone please remind me? What I have so far: Solaris 10 807 media NFS mounted to my workstation, wi

  • Bank statment cross company postings

    Hi, we want some of the items in bank statement post to bank clearing account in another company code. How we achieve that Following are the details Company code = ABC House bank  =  def In bank statement from house bank Def there are items that need