GROUP CONDITION ROUTINE IN PO

Hi all,
in M/06 I have put flag GROUP CONDITION  and I have choosen GROUP CONDITION ROUTINE 3 (material Pricing group).
Calculation Type= Quantity
Scale basis= Quantity
I have created 2 condition records for 2 materials with scales.
These 2 materials have the same material price group.
Why when I do purchase order the system doesn't accumulate the item quantities?
If I do the same configuration in SD the system sum the quantities and get the right scales for each material.
Does the  group condition routine 3 valid only for SD documents (Sales Order) and not for MM documents (Purchase Order)?
Thanks a lot
Best regards
Alba Battolini
Moderator message: Thread locked because of violating forum rules: subject in capital letters. Please read and  follow the forum rules
Edited by: Jürgen L. on Mar 9, 2012 4:38 PM

HI,
Condition type for Planned delivery cost, like FRA1, FRB1,ect, have Acc. key& Accrual key like FRE, FR1 in PO pricing procedure(calculation schema)
Deselected the indictor of Statistics.
By doing it will included the deliverycost into the net price by removing Statictis indicator.
Regards
KK

Similar Messages

  • Group Condition types & routines - pricing

    Do we have to code the group condtion routines all the time? If I just have the group condition box checked without any routine coded, I am seeing that SAP is grouping all the items in the sales order using the same access. Please let me know. Thanks.

    Hi,
    This depends on your requirement. If you have defined the condition at the material pricing group level, then no need. The routine is used only if you want the condition to be read differently for each item (with the scale base value being total of all the items).
    You can find some help in the below link:
    http://help.sap.com/saphelp_erp2005/helpdata/en/de/7a8534c960a134e10000009b38f83b/frameset.htm
    There are some helpful SAP Notes if you need further clarifications:
    39034     Group condition routine
    854978     Function of cumulated scale base values (in SD)
    109708     Scale processing for group conditions
    Hope this helps.
    Regards
    Nikhilesh

  • Price going negative due to group condition

    Hi All,
    We have some item lines in order which are grouped together for Pricing group condition. i.e., what ever the price value of the group condition type, it is being shared among all the group items.
    When ever we add new item lines of the same group, price of all the item lines in order which are in same group are got affected. But, we have a problem when some item lines in group are already billed.
    Since some item lines in group are already billed, the price value of these items could not be changed. So, to compensate this value, the last item in group is going negative. i.e., Price of last item line in group is shown as negative (eg. -699.00).
    How to avoid this scenario? Why is the price going negative?
    Thank you,
    Regards,
    Rajesh.

    I didnt think the pricing engine in SAP would pick up items which are already billed.
    Anyhow, you can try using group condition routine for that condition type to group only those items which are not billed so far. You can explore KONH, KONP tables to get the fields to query or check on for finding out if line item is billed. Also refer to already existing routines (1,2,3) in the system on how to use 'xvakey'. You may need an ABAPer to help you with it.

  • Get Delivery date(EKET-EINDT) in MM Pricing routine(group condition)

    Hi All,
    I have created an MM pricing routine RV65A092 in VOFM. So when creating PO(ME21n), this routine will trigger..
    Now the problem is I need EKET-EINDT for grouping condition. It was mentioned to call program SAPLMEPO and get EKET data.
    Please help me how to get delivery date in that routine  which is filled in Item level during PO creation
    Thanks
    Ram

    Hi Ram,
    For SD you have the SAP Note 531835 - Using field PSTYV in the condition access. For MM is simmilar, although you must use the enahncements. Instead use the userexits that note says, use the enhancement LMEKO001 (EXIT_SAPLMEKO_001) to populate fields ZZ in KOMK and LMEKO002 to populate KOMP.
    I hope this helps you
    Regards
    Eduardo

  • Group condition.

    Hi,
    I have a requirement as below: I have a group condition(ZR09 which is scale based) which has to be calculated as follows: For every line item the net value is added and finally the condition ZR09 is applied. Now the problem is I have certain cases where the condition ZR09 is inactive(Because of exclusions). Currently the value of ZR09 is calculated based on whole line item net value.
    The requirement is if for a particular line item the group condition ZR09 is inactive then the corresponding net value of the line should not be considered for calculating the group condition. I have written a scale based formula for this and assigned in the condition type. It works fine during creation of the sales order but when I add a new line item to an existing sales order the problem comes and the calculation of group condition is done based on certain other values.
    Did any one faced this situation earlier. Again I think this issue can be solved by some customizing(Which I am not sure of). Can anyone suggest a work around for this?
    Regards,
    Murari.

    Hi
    See Note 315792 - Group conditions of the same amount on item. It suggest how to create a VOFM and set it in V/06 for this condition in group key routine to avoid this kind of problems.
    I hope this helps you
    Regards
    Eduardo

  • Scale type D for group conditions

    Hi all,
    I am creating a new group condition and am trying to make it scale type D - graduated-to-interval scale. However because this is a group condition, SAP is giving me an error (Scale type 'D' cannot be used for group condition 'X').
    What is the best solution to this?
    I would like to give discounts based on:
    Sales quantity:
    1-100 = 15% off
    101-200 = 25%
    201-300 = 35%
    301-400 = 45%

    Hello
    This is b'coz your condition type with active Group condition Indicator. That means, here the system calculates the basis for the scale value from more than one item in the document.
    So, the scale D maintain in Scale basis for those condition type, does not go with it and throws an Error.
    Thus, if you want to scale functionality for condition type with group condition indicators use GrpCond.routine to maintain routine.
    Routine number for creating group key identifies a routine that calculates the basis for the scale value when a group condition occurs in pricing.
    For instance.
    Check routine 3-Mat.Pricing Group. This is an example of a structure of group key formula.  A structure of group key formula can be used to influence the basis the system uses when reading the scale of a group condition.  The formula is assigned to a group condition type in customizing.
    Formula '3' adds up the quantities / values of all of the line items in the sales document that have the same material pricing group (field KONDM) as the current sales document line item.
    A company defines a particular discount (condition type Z001) with scales based on weight.  When a sales order line item is priced that is eligible for the Z001 discount, the user would like the system to read the scale with not just the weight of the current line item, but the combined weight of all items in the sales document that have the same material pricing group as the current line item.  To accomplish this, the user defines condition type Z001 as a group condition and assigns structure of group key formula '3' to it in customizing.
    I hope this assist you.
    Thanks & Regards
    JP

  • Group condition - consequence

    What are the consequences of setting a conditon type to group condition? We are not using "RoundDiffComp" or "GrpCond.Routine" for the specific conditon type.
    Kind regards

    We are not using scales at the moment in our pricing. We need to have system to accept 0,- price for a given condition type and material. At the moment, system is not accepting this. Have searched OSS and in a note there was a reference to acheive this using group condition or creating a new VOFM with code and set this in the pricing procedure for the given condition type.
    So, my question is which one is the best to use.........maybe VOFM if we in the futere will use scales - or am i wrong?

  • Group condition with varying keys

    Hi every one,
    How to declear group condition with varying keys.
    gajanan

    Hi Rudrag,
    What Karan has mentioned is absolutely correct.
    To simpify it,
    Suppose you have two materials M1 and M2 for which you want to give customer/material specific discount.
    Create one material pricing group (e.g, 01) in customising, assign the Material Pricing group 01 to both the material in their respective material master in Sales org 2 view.
    In V/06, open the condition type K005, activate the "Group condition" check box and assign "Routine 3" in the "Gorup condition routine" check box by selecting the value from the drop down.
    Now create condition record for Condition type K005 in t.code VK11 for the two materials for one specific customer.
    For example, for cudtomer C1 and Material M1, discount is Rs.10 per Piece(PC).
    Go to scale and specify in the scale that if 10 Pieces then discount is Rs.15 per piece.
    Similarly, for Custome C2 and Material M2 maintain a condition record for discount is Rs.20 per piece.
    Go to scale and maintain and specify that, if 10 pieces order then discount will be Rs.25 per piece.
    Now create a Sales order for the Customer C1 with the two material M1 and M2 with quantity 4 pieces and 6 pieces respectively.
    System will add up the quantities of both the material as 4+6=10 pieces.
    Even though, there respective order quantities are 4 pieces and 6 pieces , but still both the item will avail the discount for 10pieces level beacuse of the group condition settings.
    But, the rate of the discount will taken from there individual condition record.
    That means, M1 will get discount of Rs.15 per piece. So for  4 pieces discount will be Rs.60.
    Similarly, M2 will get discount of Rs.25 per piece. So for 6 pieces  discount will be Rs.150.
    If there is no setting for group condition then, M1 would have got discount of Rs.40 and M2 would have got discount of Rs.90.
    I hope this is clear.
    Regards
    Pradyumna

  • Re: Group Condition

    Hi Gurus,
    Can anyone tell me what is the use of Group Conditions in Condition type PBOOand FRA1
    Thanks in advance

    Hi,
    Group condition is a condition that relates to several several items of the document. In case of group condition, the values (prices, quantities etc.) of the relevant items are added and the total used as the base for the condition. This allows more favorable values to be taken as the basis for the scale computation.
    You can assign a routine for this group condition, in which you can maintain your own logic for grouping by simple ABAP coding.
    Umakanth R

  • About the group condition in conditions(urgency)

    hi,everybody
        About the group conditions,SAP said that it can appeared in PO header and  caculated the price in some items.I tried it,it don't application in some items,but applied all items in PO document.so how can I only use it to some items that I want,but not all items!
        thanks all.
        urgency

    Dear Albert,
    Hi alrert,
    You can do this by,
    Solution1: in group conditons "GrpCond.routine", you can give the how system should distribute the Group condition value. here by Standard SAP, we have 1- overall document, 1- Across all condition 3 - material pricing grp, 30 - brazil routine.
    Here if your ABAP team is strong then ask them define the routine as per your requirement.
    Solution 2: Define that condition type header as well as item level in M/06, then manually alter them in PO.
    Solution 3: Create a seperate PO with excluding those items which you do not want to distribute.
    Thanks,
    Krishna Reddy

  • Pricing issue-With reference to group condition

    Hi Friends,
    Below are the details of the issue i have,
    Letu2019s say we have 3 service line items in a service order
    Line item 1-Do not charge the customer (controlled through accounting indicator)
    Line item 2-Charge customer (controlled through accounting indicator)
    Line item 3-Charge customer (controlled through accounting indicator)
    Now we have maintained group condition in pricing. So if line item 1 has 20 min, 2-30 min and 3-40 min of service the pricing will be as under,
    System adds 203040=90 min in total and than search for the scales accordingly (due to the group condition check) as the condition type is also scale based. But we donu2019t want to charge for the line item 1 due to some business rule. Thus the system should not consider line item 1(20 min) and add only 30+40=70 and look for the scales accordingly. Once the right scale has been found, it should divide the same in line item 2 and 3 equally. eg- if the scale returned was 60, it should be divided as 30 each between line item 2 and 3 and not as 20 between all 3 line items. We tried to make the scale of line item 1 to zero on certain business rule by creating a new routine. The problem now is, after getting the right scale the system divides it between the 3 line items instead of 2. Let us know if you have any solution to resolve this issue.
    Highly appreciate your help
    Sameer

    Hi Sameer,
    not sure which type of routine you did try to use. You should check whether a group key routine could help you to control the items, which should be grouped. Another option could be to prevent automatic determination of the group condition on the first item by a specific requirement formula (e.g. this could check the item categroy or the account indicator).
    Best Regards,
    Michael

  • CRM 5.0 IPC Group Condition

    Friends,
    We have a requirement to implement a group condition in CRM IPC 5.0.  We have it implemented in R/3 and it works fine.  We have replicated the code in the IPC and it is being hit.  The code is quite simple.  We copy to subtotal 1 a the net line value if the condition ZDC1 exists on the line.  We then want the group basis calculation to only include the totalling of those lines that had ZDC1.
    As I mentioned, this works fine in R/3.  In CRM it is including the value of all the lines regardless of whether there is a ZDC1 condition or not.  The Java code is getting hit and doing the transfer of the value to subtotal 1 at the right time. 
    Is there something else we should be setting up in the custom fromula for a group condition?  I see in the IMG in CRM where I can add formula and implementation attributes.  Is this something I need to do to get the group condition to work correctly?
    Regards.
    KB

    We put code in to write the condition out to a log file to ensure that the correct values were being calculated.  Once we did this, the condition started working.  No clue why.

  • Get sales order in condition routine of VF01

    Hi
    I need to get the sales order number (or at least the delivery number) in a condition routine which is called in VF01.
    I can't find any structure/internal table/variable where it is passed.
    Does anybody have an idea where to find the information?
    Thanks & best regards,
    Basti

    Ok
    lets play with CALL STACK.
    go in debug mode in the routine
    (I suppose you use the old debugger, with the new one is the tab number 4)
    the call stack is the memory of the caller in your program.
    if you double click on a line down, you will see the code corresponding of the program that call your method/routine/form ... 
    and you could get the memory also
    In my example, I take a local variable corresponding to the first line (no 1). If I try to see the content in my last program (SAPLSD41) I can't, but if I put the call programme between ()  I can.
    do you understand the logic ?
    regards
    Fred

  • Shipment Cost: Group Condition Type calculated on a special weight...

    Here is the scenario: A shipment (truck) combines multiple deliveries, grouped on a stage when same destination (happens often).
    A condition per LB is to be calculated on the cumulated weight per destination (per stage) BUT not simply on the gross weight, but on the heavier of 2 special weights: the business here uses a special formula according to the packaging, and it gives 2 weights (stored in Z fields of LIKP), an actual weight and a cubic weight.
    The purpose is to identify for each delivery the heavier weight and to use cumulated the weight across the deliveries to the same destination to calculate the per CWT cost.
    This is my first issue: the condition type is defined at Delivery calculation base, Calculation Type Multi-dimensional, and as a group condition). How do I define to use the cumulated of each delivery heavier weight ? In the Scale for condition type view, I used the scale basis D Gross Weight (which is not right..), there is also a field for a Scale Base Value formula, I wondered if that is what I should use..
    My 2d issue: once the cost is calculated, I have to re-distribute it on the deliveries as per the proportion of their heavier weight compared to the total weight used for the calculation…Should that be an alternate Condition Base Value formula in the pricing procedure (where xkwert would be….the heavier weight….would that be then a new Z field to be filled in by the user exit determing the heavier value) ??
    Thanks a lot, it is a tough one, I know...who is the best ever shipment cost pricing consultant ? !

    Hi Guys
    Unfortunately I do not think that you will get an answer now. Either your question is not simple or we do not know.
    So in the interest of keeping the Forum tidy and easier to surf through could you please close your thread and either try one of the other forums or try another post. I do not think that most people will bother to look this far back anymore.
    Sorry I cannot help as I would if I could.
    Regards
    Frenchy.

  • Set up pricing - Group condition doesnt works

    Hi Gurus,
    Please provide me your inputs.
    Can SAP determine the sales price as described in the below two cases.
    Case 1:
    Sales price for material M1, from 01.01.2011 u2013 31.07.2011
    Quantity         Price
    0                         100
    25      90
    100      75
    Sales price for material M1, from 01.08.2011 u2013 31.12.9999
    Quantity      Price
    0      105
    25      94
    100      78
    Sales order (note the difference in pricing date)
    Total quantity = 38, second scale should be used
    Item      Material      Pricing date      Quantity      Price
    10      M1      31.07.2011      17      90
    20      M1      31.08.2011      21      94
    Many Thanks for your answers
    Sharan

    Dear Sumanth,
    Thanks a lot for your answer. I am relatively new to this subject. Please elaborate your answer for me to maintain the settings in copy control.
    The scenario is - New condition type ZPR0 is created with group condition. And the scales are maintained as mentioned in the problem.
    Lets say Order is created on  date - 23/11/2011 with two lines
    Line 1 - Material M1 - Quantity 17 - Pricing date 31.07.2011(Maintained at item level)
    Line 2 - Material M1 - Quantity 21 - Pricing date 31.08.2011(Maintained at item level)
    With scales maintained, because of the pricing date , system picks up individual scales and it doesnt accumulates the quantity. How to tell system to accumulate quantity and then check scale based on the pricing date.
    Thanks for your help again,
    Sharan

Maybe you are looking for

  • How to I remove a credit card from my account

    There are some apps on my phone that need updating. When I try to update them after logging into my iTunes account it keeps asking me for credit card info.. I dont have a credit card.. but I previously put my VISA DEBIT card on the account and it has

  • 3 Questions- Two about text boxes and one about something else! (10 Points)

    Hi, I'm doing a large project in java and have ran into several issues. These are summed up in these three questions: 1. How would I make certain words certain colours/formats? I have been told I should a JTextPane, but all my text is currently in a

  • T60 Boot HDD problem

    I have a T60  running Win XP Professional - I was experimenting with using a bootable CD with a small kernel verison of UBUNTU Unix what was supposedly able to run off the CD without any harm to my existing OS. Uh Hem.. Well that doesn't seem to be t

  • How do you select multiple contacts for transfer to another.  BT device?

    I Am trying to send specific contacts to the phone book on a Panasonic  'link to cell' phone.  How does one select specific contacts and then send them to the BT paired phone?

  • Substatus need to default with D   while creating Appraisal doc

    Hi  Friends Am  using few  FM  to create appraisal docs in  In Review status  and In planning status based on selection  screen choose radio button     now in  my new req   i need to  default  documents sub status with  D  (  Mid Year-Self Appraisal