Scales in Scheduling agreement.

Hi,
This query i am posting again, as there is a need from my client for this regularly.
I need your expertise for meeting out this functionality.
Hi,
Pl findherwith the following sceario.
I had created a Scheduling agreement for 5000 units with the following quanity discounts
1000 - Rs. 10
2000 - Rs. 08
5000 - Rs. 05
The quantity discount is maintained through Scales.
After that i had maintained delivery schedules like this Say
1 st day 1000 units
2 nd day 1000 units
3 rd day 2000 units.
My requirement is , when i am trying to do MIRO for the first line item,
I should get the value as 1000 units * Rs. 10 = Rs.10000
For 2 nd line item
Value = Rs. 1000 units * Rs. 08 = Rs. 8000
( since the quantity of line item had exceeded 1000 units and sum of line item 1 & 2 is equal to 2000 for which the rate is Rs. 08)
So i should be able to post the invoice at Rs. 8000 instead of Rs. 10000.
Pl suggest with your valuable solutions.
Regards,
R. Dillibabu.

Pl try this with an ABAPer.
In Condition Types configuration, maintain a condition type by copying the discount condition type. In this new condition, Activate 'Group Condition' indicator. Maintain Group condition routine as required (Need to code with your logic).
Note: I have never tried this. But, I know that SD consultants use such conditions frequently.

Similar Messages

  • Scales in Scheduling agreement MM - ME31L

    Hi,
    I tested the scales with a condition in the scheduling agreement and the system always take the target quantity in the scheduling agreement to define the amount to use in the scale.
    Did anyone already had a requirement to configure the scales based on the schedule line received and not on the entire scheduling target qty ?
    Thanks !
    José

    Sorry for the double message.  In is a mistake on my side.  It is my first time on this forum...

  • Cumulative Scales in Scheduling Agreements

    Hi Guys,
    I need an advice how to maintain cumulative scales, i.a. as soon as we have ordered more than 10'000 pieces of a part <u>in total</u> we get a better price for every part <u>over</u> 10'000.
    So we have 3 schedule lines of 3000 pieces for price A. The forth schedule line of 3000 pieces should have price A for 1000 ea. and price B for 2000. Now each new schedule line should have price B.
    Is there any way to maintain this condition.
    Thanks for your help.
    Tobias

    Sorry for the double message.  In is a mistake on my side.  It is my first time on this forum...

  • BAPI for Scheduling Agreement Scales

    Hello,
    I want to add Scales to my Scheduling Agreement.
    Tried using BAPI_SAG_CREATE, I was able to successfully create a Scheduling Agreement but it says that "No scales exist". According to the FM documentation, scales are not supported during the creation of outline agreements.
    Tried using BAPI_SAG_CHANGE using the Scheduling Agreement created but I always get a dump and points me to a standard code.
    Runtime Errors         GETWA_NOT_ASSIGNED
    ABAP Program         SAPLMEOUT
    Include                      LMEOUTP14
    Row                          1,454
    Module type              (METHOD)
    Module Name           POST
    If these BAPI will not work, my last option would be BDC.
    Thanks in advance.

    first see the documentations.
    Regards
    Peram

  • Scales definition in Scheduling agreement

    Hi,
    In a scheduling agreement, you can maintain condition with scales.
    When you do so, at goods receipt time, the system does not look at how many you just received to define the scale to use but look at the target quantity on your scheduling agreement item and choose the scale appropriate for that qty.
    Does anyone already had a requirement to calculate the quantity received since the beginning of the scheduling agreement and define the appropriate scale according to that ?
    Thanks in advance.

    Sorry for the double message.  In is a mistake on my side.  It is my first time on this forum...

  • Scale maintained in info records but not picking up in scheduling agreement

    Hi,
    We have maintained scales for PB00 in info record (subcontracting), this scale is picked up in Subcontracting Purchase Order.
    But when we are trying to create Subcontracting scheduling agreement, this scale is not picked up by the system.
    Why the system is picking up scales for PO but not for scheduling agrmment?
    Regards,

    Hey there,
    Please check your InfoUpdate Indicator on the scheduling agreement.
    The indicator determines which prices and conditions are suggested in future PO items.
    Prices and conditions can apply to an entire purchasing organization or to a single plant within a purchasing organization.
    For example, if you create a purchase order for a plant for which an info record has been defined at plant level, the purchase order is based on the conditions in the plant info record and not on the conditions that apply to the purchasing organization.
    probably your info record is at the Porg level and not at the plant level and hence it's not picking it up.
    Hope this helps,
    Cheers,
    Dhaval

  • Scheduling Agreement with Scale

    Dear Friends,
    Pl advise how to go for scale price in GR for Scheduling agreements:
    GR Qty from 1 is rs.15/-
    GR Qty from 1000 is rs.12/-
    GR Qty 2000 is rs.10/-
    How to go about it. What will be the configuration settings. What will be the accounting entries in GR and IV.
    Pl let me advise the full procedure.
    Note: I already refereed SAP NOTE- 401941,But it was 2003 version.So is their any standard settings are available in ECC6 to address this above issue ??
    Regards
    AKS

    Hi,
    Note is also valid for 600 release. see note in details
    Valid releases
    Software Component                        Release
                                              from            to
    SAP_APPL
         SAP Application
                                              600          - 600
                                              500          - 500
                                              470          - 470
                                              46C          - 46C
                                              46B          - 46B
                                              45B          - 45B
                                              40B          - 40B
    In standard, scale prices have been defined for a scheduling agreement
    item. When a goods receipt is posted, the scale price applicable to
    the target quantity of the scheduling agreement item is applied for
    valuation purposes.
    For schedule agreements the SAP standard is to use the target quantity
    for price determination.
    User exit EXIT_SAPLEINR_003 exists using which you can influence the
    quantity and the date of the price determination at the time of the
    goods receipt for the scheduling agreement. However, you need to bear in
    mind that when you call up the user exit, the quantity of goods received
    actually to be posted does not yet exist. The schedule lines are
    available in internal table CETT which can be used.
    In the standard system, the EXIT_SAPLEINR_003 is run when a goods
    receipt is posted for the scheduling agreement or purchase order when
    item has the pricing date (price category) = "5" (goods receipt date).
    For scheduling agreement document type, pricing category is always 5 if
    time dependent conditions are used for that document type.
    BR
    Nadia Orlandi

  • Schedule Agreement scale price is maintained, Pulling wrong price in GR

    Hi Experts,
    When good receipts of different quantities are entered, they all pick up the lowest price/highest volume regardless of the quantity.
    Case 1: Delivery schedule for 2 different quantity with same delivery date like eg. qty 5 & 6 and del. date 03/03/2011
    Case 2: Delivery schedule for 2 different quantity with different delivery date like eg. qty 6 & 7 and del date is 03/03/2011 & 03/04/2011
    In case 1 when doing GR first for qty 5 it is not pulling the correct price from the scale quantity 5 of scheduling agreement.
    In case 2 when doing GR for qty 6 it is pulling the lowest price not pulling the price from scale quantity 6
    Scale:    qty   Price                   please suggest me a solution for this issue
                     1    $20/pc
                     2    $18/pc
                     3    $15/pc
                     4    $12/pc
                     5    $10/pc
                     6    $8/pc
                     7    $7/pc
                     8    $6/pc                    Thank you in advance for your help                                                       Ismail
    Edited by: iismsyed on Mar 9, 2011 3:50 PM Is anybody their to help me out in this issue or who face this issue before.

    Hi Marco Antonio,
    For schedule agreements the SAP standard is to use the target quantity  for price determination. 
    User exit EXIT_SAPLEINR_003 exists using which you can influence the quantity and the date of the price determination at the time of the goods receipt for the scheduling agreement. However, you need to bear in  mind that when you call up the user exit, the quantity of goods received  actually to be posted does not yet exist. The schedule lines are  available in internal table CETT which can be used.                                                                               
    Hope this can help
    Regards,
    Mauro

  • Wrong Schedule Agreement Scale price in GR posting

    Hi!!
    We have defined the scale price as follow:
    Scale type         Scale Qty      Unit         Amount   Curr     Unit    UoM
    From                           1           PC          199.96     USD     100    PC
                                    300                         190.50   
    The problem we have is that when the GR was posted by Qty 100... the proce taken was 190.50
    why is taking the range of >= 300 qty ?? and not the <=299 of 199.96?

    Hi Marco Antonio,
    For schedule agreements the SAP standard is to use the target quantity  for price determination. 
    User exit EXIT_SAPLEINR_003 exists using which you can influence the quantity and the date of the price determination at the time of the goods receipt for the scheduling agreement. However, you need to bear in  mind that when you call up the user exit, the quantity of goods received  actually to be posted does not yet exist. The schedule lines are  available in internal table CETT which can be used.                                                                               
    Hope this can help
    Regards,
    Mauro

  • Scheduling Agreement Info

    Hello,
    I have one query on Scheduling agreement.
    Let say i have created a scheduling agreement for material 1234 and vendor xyz and other deatils like quantity etc.
    After some time i changed the quantity from 100 to 200 and also changed the purchasing group.
    Then i note down the changes from Item>Statistcis>Display Changes for that line item. i.e. New values and old values.
    It showed me the quantity changed from 100 to 200 and also changed purchase group and thats absolutely fine with me.
    There are some other changes also that i wanted to understand. What are exactly those changes and how system calcluted those.
    Like Effective value of Item, Gross Order value in PO Currency.. So hw it calculated those values.
    Thanks
    Himanshu Nijhawan

    Hi There
    I Guess,, In info record if you have maintain the Scales for the Quantities,, For the 100 is one and for the 200 is diff,,
    Then when you change the Qty from 100 to 200 it will recalculate the Price and related condition types,,
    Thanks
    Senthil

  • Tiered Costing in Scheduling Agreement

    Hi all,
    I'm working with scheduling agreements and we have a requirement to have have the price picked up by tiers and I know that this will be accomplished by SCALES, However when I'm trying to configure the scale types I'm facing some difficulties.
    Here's the exmple how we would like the pricing to work for different tiers,
    Pricing Condition PB00 will be created with the following SCALES
    To  Quantity 1      HR - 10$
         Quantity 500   HR - 9$
         Quantity 1000 HR - 8$
    If the delivery schedule line is created for 1100 Hours then the price calculation should be : 500 x10$ + 500 x 9$+ 100 x 8$ = 10300$
    Please correct me if I'm wrong but I think we can accomplish this by "Graduated To" scales. I've tried changing the standard condition type PB00 with the scale type D, but the problem is whenever I create a scheduling agreement it's getting created with condition type PB00 with scale type "A" ( From scale)
    If I delete this condition and create a new one I get SCALE D.
    I was hoping if any one of you could give any heads up on this or suggest something that could help me in accomplishing the task cited above.
    Appreciate your help in advance,
    Cheers,
    Dhaval

    Hi Ramesh,
    Thanks for the heads up. I looked at the config for the schema dtermination and I see that the pricing procedure RM0002 has not been assinged to any vendor POrg schema in this configuration.
    I then looked at the config for the condition type PB00 --> pricing procedure RM0002 has been assigned to the condition type PB00 and since we don't have any entries maintained for RM0002 in the schema determination config I was just wondering if this is what is influencing the automatic proposal of the condition type PB00 in my scheduling agreement.
    Also can you please tell me what is a difference between a Purchasing Document (BIG) and Purchasing Document (Small) in the schema determination config.
    All I wanted to accomlish here is my teired pricing to work when I assign scales on the condition type in the scheduling agreement ( not in the PIR)
    What currently happening in my case is ....
    Example: Scale From 1 pc - 100.00 USD
    from 50 pc - 90.00 USD
    from 100 pc - 80.00 USD
    Target quant. 100 pc
    schedule lines 30 pc
    20 pc
    The problem is  that the goods receipt of 30 pc is valuated at the price 80.00 USD It always takes a lowest price on the scale.
    I've tried looking for OSS notes and also looked enough on the forums but I could not get any resolution to this question.
    I would appreciate if I could get any heads up from your side.
    Cheers,
    Dhaval

  • Pricing Condition in scheduling agreement

    Hi Gurus,
    I'm working with scheduling agreements and I figured that whenever I create scheduling agreements, pricing condition PB00 gets defaulted to the scheduling agreement,
    Can you guys be kind enough to tell me what configuration is driving this?? How can we make changes to the config settings so that I can have a condition type of my choice assinged to the scheduling agreenment??
    More over I have a requirement to have a tiered pricing in scheduling agreement. I do know that this is driven by SCALES in SAP however as per my requirements I need to have SCALES per formulas. In the condition type configuration we do have a field for SCALES where we can assign the formulas but whenever I click on this field a screen pops up with some ROUTINES.
    Can someone tell me how can I define the ROUTINES and the ABAP formula for this ROUTINE so that I can have my tiered pricing conditions accomplished??
    Any feedback on this will be highly appreciated!!
    Thanks folks,
    Dhaval Joshi

    Hi Ramesh,
    Thanks for the heads up. I looked at the config for the schema dtermination and I see that the pricing procedure RM0002 has not been assinged to any vendor POrg schema in this configuration.
    I then looked at the config for the condition type PB00 --> pricing procedure RM0002 has been assigned to the condition type PB00 and since we don't have any entries maintained for RM0002 in the schema determination config I was just wondering if this is what is influencing the automatic proposal of the condition type PB00 in my scheduling agreement.
    Also can you please tell me what is a difference between a Purchasing Document (BIG) and Purchasing Document (Small) in the schema determination config.
    All I wanted to accomlish here is my teired pricing to work when I assign scales on the condition type in the scheduling agreement ( not in the PIR)
    What currently happening in my case is ....
    Example: Scale From 1 pc - 100.00 USD
    from 50 pc - 90.00 USD
    from 100 pc - 80.00 USD
    Target quant. 100 pc
    schedule lines 30 pc
    20 pc
    The problem is  that the goods receipt of 30 pc is valuated at the price 80.00 USD It always takes a lowest price on the scale.
    I've tried looking for OSS notes and also looked enough on the forums but I could not get any resolution to this question.
    I would appreciate if I could get any heads up from your side.
    Cheers,
    Dhaval

  • Error generating release against scheduling agreement  (cause 6) in ME38

    Hello Experts,
    Need your inputs on the the below error getting generated in ME38
    Error generating release against scheduling agreement  (cause 6)
    Message no. 06857
    Diagnosis
    The function module for generating a scheduling agreement release (forecast delivery schedule or JIT delivery schedule) has run up against an error, causing processing to be terminated.
    In this case the cause of the error is 6.
    System Response
    The error may involve one of the following situations:
    1: The nature of the error cannot be specified precisely.
    2: The forecast delivery schedule or the JIT delivery schedule was generated but no message record could be generated.
    3: A document type for which the functions "Generate forecast delivery schedule" or "Generate JIT delivery schedule" are not defined may be involved.
    4: A material for which the function "Generate JIT delivery schedule" is not defined may be involved.
    5: A scheduling agreement that has not yet been released by all persons responsible may be involved.
    6: The factory calendar has not been maintained correctly.
    Procedure
    Error source 1:
    Check whether the vendor and plant shown in the PO actually exist in the system.
    Error source 2:
    Check the Customizing facility for message determination with respect to delivery schedules created under scheduling agreements (print operation '9').
    Error source 3:
    In Customizing, maintain the document types accordingly ( Define document types for scheduling agreement). Then create a new scheduling agreement with a document type for which release documentation is defined.
    Error source 4:
    Maintain the JIT delivery schedule indicator in the material master record.
    Error source 5:
    Have the scheduling agreement released by the person(s) responsible.
    Error source 6:
    If you are using a release creation profile without aggregation, you must maintain the factory calendar for the next 999 days
    Regards,
    Santosh

    Hello Mallinath,
    I referred the note and following are the observarion in the system.
    Step1:Run T-code SE16 (table T001W) to check the calendar ID of the plant.
    -----Referred the Calendor ID
    Step2: Check the JIT/Forecast delivery schedule of release creation profile in customizing. (T-code OLME -> Scheduling Agreement -> Maint. Rel. Creation Profile for Sched. Agmt. w. Rel. Docu.)
    Run T-code SCAL to adjust the period of the calendar ID which checked in STEP 1 according to the JIT/Forecast delivery schedule of the release creation profile which checked in STEP 2.
    (For example, if the JIT/Forecast delivery schedule of the release creation profile is "999" days, then the calendar should be extended for the next 999 days at least)
    ---------In this case factory calendor is valid till 2015 and according to note needs to change the factory calendor till 2018( or for 999 days) ?
    Waiting for your inputs.
    Thanking you,
    Santosh

  • Scheduling agreement,(GR value is wrong)

    I have one scheduling agreement, the price is 1.31 INR from 10.10.2007 and i made GR for this three times, it shows correct quantity and value in Purchase order history, in 18.10.2007 the one GR is showing me wrong value, per material isit, showing me 0.02 INR why?(we are putting the quantity is correct)
    for the vendor and material Inforecord is existed in that, also 1.31 per item is there, and validity of inforecord is up to 9999 year.
    what must be the reason,
    i have checked any body changed the value are not, but they have updated that from30.10.2007 they made value 1.32 Inr per material
    what are reason?
    sapman

    Hi,
    It looks like system has posted GR with difference in price i.e.1.32minus 1.31 i.e.0.02 , Please check was there any reversal of this GR?or any scales maintained in inforecord for quantity? is the accounting document also posted with same price?If accounting doc is posted correctly then it might be an po history updation problem just check
    BR
    Diwakar

  • Price Scaling behind Scheduling Agreements

    We create a Scheduling Agreement with reference to Purchasing Contract.
    Several of the Contracts have pricing scales behind the material, based on quantity ordered and these scales are also required behind the Scheduling Agreement.
    Our problem occurs when we goods receipt;  the valuation of goods is taken from the total amount being ordered rather than the quantity received e.g. The delivery schedule has a total scheduled quantity of 500KG; the price for 500KG = £3.50 per KG.  We have the first scheduled delivery of 250KG and a second to follow in 3 weeks.   The price for 250KG = £4.50 per KG.   The goods receipt of 250KG is valuated at £3.50 per KG but the vendor invoices us at £4.50 per KG.
    Is there a way to valuate the goods receipt in accordance with the price for the quanity received rather than the total scheduled quantity?
    We are using version 4.7.

    Hi Christine,
    I also found this User Exit EXIT_SAPLEINR_003.
    But i don't know how to pass in the GR qty which it is structure table (GOITEM-ERFMG)..
    I need to retrieve the qty to recalculate the price before the GR document is posting..
    Lina..

Maybe you are looking for