MM-PUR default scales for condition types for service (ME31K

Hi,
We have faced the following problem:
The business case was, to have default scales for certain condition types for a service for a purchasing contract.
We didn't find it in SAP, so we wrote an OSS. SAP answered that it's not possible now, nor in the future.
So we decided to look around in SAP, and found out that it was half possible.
I've abused the exit USEREXIT_XKOMV_BEWERTEN_INIT of program RV61AFZB.
In this exit I provide the internal table staffel for program SAPMV13A with the correct information (via ASSIGN ('(SAPMV13A)STAFFEL[]') to <staffel>.)
In this way, if a user adds a service, this exit will get reached and the scales are filled. If the user then clicks on conditions and then double clicks the condition type with the scales, all the default scales are shown to the user. If you then click on save, the next screen is the service screen, if you then click on save again, all the date is stored in the database. (bit of a work around, but this works)
However, I can't figure out how to save the scales data, when you only add a service and then push the save button without viewing the conditions. Quite logically actually because I'm skipping two whole screens with pbo and pai modules, in these modules internal converting takes place.
Has anyone encountered this problem before and how did you solve it then ?
Alternatively what is the SAP standard way to add pricing condition scales on condition types of a service of a purchasing contract? As you know there is no BAPI yet to change/create a purchasing contract.
I was thinking, to add the scales by updating the tables directly via ABAP, I know that's not a clean way to do it, although it isn't too risky.
Kind regards, Rob Dielemans

Dear Rob,
Is this solution properly working for you?
I think my problem is similar: purchasing outline agreement (contract) refuses to apply relevant scale prices in the item line. Always uses the first price - without considering order quantity depencies.
Regards,
Tamás
Edited by: Tamas Szabo on Mar 31, 2009 3:50 PM

Similar Messages

  • Wrong calculation for condition type for misc. provision in service PO

    Hi Gurus,
    In service PO line item, we have maintained customised condition type for misc provision. this is % based on net price. It has been assigned account key and accrual key. It's manual. Logically, it should calculate the value based on the total of the net values of all service lines and post a single entry for all concerned service lines. What system is actually doing, it calculates the value correctly for total of net values of service lines in that PO line item but post it to the account as many number of times as the number of service lines in that line item.
    This is when service based IV is active for the PO line item. If I deactivate this, then it post the account once only which is ok.
    Please explain this behaviour. Also, I want to activate service based IV, what should I do to this condition type. Is there any condtion base formula or condtion value formual to be assigned in the pricing procedure?
    Thanks in advance,
    Sudhir Dahake

    Hi,
    Check if some user exit/ routine is written for the condition type.
    Check user exit RV60AFZZ, RV60AFZA, RV60AFZB,RV60AFZC for some code.
    If it is a manual condition check COPY CONTROLS or if it is automatic check condition records from which it is calculated based on qty, price, material type, etc.
    Regards,
    Amit

  • User exit for condition type for redeterming in sales order

    Hi SD Experts
    One condition type is created With the key combination Order type and Inciters
    When the contract is created and on the bases of Inciters given the value is calculating correctly
    But when we change the other Inciters in sales Order is not redeterming
    since this condition type key fields are added one it may not be  redeterming
    is there any user exit ?
    Pls help in this regard
    jeevan.S

    Use the exit USEREXIT_NEW_PRICING_VBAP in program MV45AFZB. This userexit can be used to perform new pricing, depending on the change of datafields.
    Regards,
    GSL.

  • Condition type for landing and clearing charges for imports

    All SAP Gurus,
    Which standard condition type to be for Condition type for landing and clearing charges for imports?
    Regards,

    If both Condition types are Quantity basis then you can Create New Condition types by Referring FRA1 & FRC1 Condition types.
    Else Create New Condition types called ZCCH for Clearing Charges by giving the Following inputs:
    Condition class A
    Calculation Type A
    Condition Category B
    Plus/Minus A
    Also in Control data Check Accruals option and in Scales tab give Scale Value as 2 if want.
    Create New Condition types called ZLNC for Landing Charges by giving the Following inputs:
    Condition class A
    Calculation Type A
    Plus/Minus A
    Uncheck Accruals options and save.
    Regards,
    Ashok

  • Can we make default vendor code for condition type

    We have created a condition type for cess. While creating with this condition, by default system should select a particular vendor.  How to make default Vendor for that particular condition type.  So that users cannot make mistakes while creation PO with the condition type.

    Hi Guru,
    I have one doubt. if access sequence is not defined for this purchase condition  then, in that case the txn MEK1 will not work. Then in that case how to use MEk1 transaction?
    Could you please explain me in detail as to how to go about it & meet this  requirement?

  • Z condition type for surcharge need to be displayed in billing doc only.

    Hi ,
    I am having going to create condition type for surcharge, this condition type need to be diplayed only in billing doc.condition value should be calculated based weight of the material in delivery doc and scales in condition record.
    scales values are as below:
    Access key:
    sales org/dis channel/ route /sales unit(KG)
    DE10/02/DETX1/   1 Kilo   =   30 u20AC
    skales: 
    DE10/02/DETX1 /  31  Kilo =  35 u20AC 
    DE10/02/DETX1/  41 Kilo  =   40u20AC
    DE10/02/DETX1/  51  Kilo =   45u20AC
    then for 52 Kilo we have price for these item with 52 Kilo =  45 u20AC
    where exactly need to do the config and development changes for displaying in condition type in billing doc only.
    Thanks in advance.
    Regards,
    RAM

    In the Pricing Procedure , maintain requirement as 24 against the Z Condition type.Now it will reflect the value only in Billing Document.
    Best Regards,
    Ankur

  • Different tax code for condition type

    Hello Gurus,
    I have defined a calculation schema for import POs.
    I would like to automatically determine the default tax code on the invoice verification depending on the condition type, for examle:
    Cond type                     Tax code
    ZF01 Freight            --> C0 0%
    ZS01 Custom agent --> C1 13%
    Any ideas?
    Regards,
    Nelson.

    If you wish to default the tax code for the planned delivery costs this must be obtained from an independent source which is OMR2 If you do not wish to default the tax code, then the only alternative is to select the tax code when in transaction MIRO.
    At least withing the standard I don't know any solution for that =/
    Sorry & good luck!
    Plauto

  • Condition type for fee - no change of moving price or balance sheet account

    Hi, hope you can help me.
    We need a new condition type for a kind of fee which has to be paid to the vendor and used in the purchase order.
    This is a condition type which
    - has to be part of the invoice
    - has to be posted as a kind of accrual
    - must not! change the price of the material or the balance sheet account
    If we use freight conditions the moving price is changed.
    Because it is dependent on the material (and therefore a condition record works great) we can't or better don't want to use a second position in the purchase order.
    Does anybody have a solution for this one?
    PC

    Thanks for the answer!
    This is what I already tried, but it still changes the balance sheet account and the moving average price.
    This is what I customized:
    Condition ZXYZ
      Cond. class   A
      Calculat.type C
      Cond.category B
      Item condition yes, delelte, amount/percent and Qte relation yes
      Scale base C
      Accruals yes
    In the Calculation Schema it's defined just before the Actual Price, with Statistical-checkbox marked and Account key ZE1, Account key - accruals / provisions ZE2.
    Do you have any idea what I have to change or what else to try?
    Thanks a lot!

  • Provision account key missing for condition type FRA1 in schema ZIMPOR

    Hi,
    While maintaining the condition value in PO, the below message displayed.
    "Provision account key missing for condition type FRA1 in schema ZIMPOR"
    Thanks and regards
    Murugesan

    Go to
    Spro>MM>Pur>Conditions>Define Price Determination Process>Define Calculation Schema
    here select ZIMP and click control data
    in that maintain "Account key" for FRA1 cond type in the Account key Column..
    (Second column from right side)

  • Condition Type for commissions across sales orders

    Hi,
    I have a requirement for which I need inputs:
    We have sales employee who will get commissions based on the total sales they make. The relevant sales employee will be brought into SAP as a business partner (specific account group and hence partner function).
    A tiered commission would be set up for each of the sales employee, for e.g. 1 to 10,000 , commission is 2 %, 10,000 to 30,000 commission is 3 % and above that is 5 %. The commission applicable should be determined at the time of sales order creation. The commission applied to an order should be determined based on all the sales orders for the sales employee and not that specific sales order. For e.g. if the sales employee has already got one sales order of worth 6000 and he gets another order of worth 9000, then as per the example, he is entitled to 2 % for 4000 of the order (his total sales now reacheds 10,000 and he moves now into the next bracket) and is entitled to 3% for 5000 of the order value. Also in case any order gets cancelled then the cumulative sales value for the sales employee should take care of the cancelled order.
    I have a condition type where by I maintain the scale and the corresponding commision rates for the sales employee. I have ticked the condition update setting so as to cumulate the order value. I have the following questions:-
    1. How do I ensure that the rate applicable for the specific order takes into consideration the past sales orders for the sales employee and not only that sales order.
    2. How do I determine the condition record based on parter function (partner funtion for the sales employee)? I did bring in the partner role in the pricing communication structure but that does not work.
    3. How should I take care that the cancellation or sales order takes out that value from the cumulative value for the condition record. As of now it does not.
    A quick response would be highly appreciated.

    Hi Kastubha,
    Thanks for your reply. I am trying now to use rebates for this functionality. However I have few questions and I am unable to progress beyond a point:
    Let's say that for a sales employee i set the rebate agreement. The sales employee's commission is as follows:
    1 - 10,000  (1 %)
    10, 000 - 30,000 (3%)
    30,000 and above (5%)
    The calculation type for condition type is percentage, scale type is graduated to interval scale.
    I am trying to use scale in rebate agreement to set up the commission structure for the sales employee. However, there is only accrual rate that I can enter. There is no place to enter the accrual rates as per the scale.
    Because of this, what is happening that the rebate record determined is the accrual rate and not what is as per the scale. Also I need the condition record to keep track of total sales for the employee so that it knows what commission rate to apply based on how much the sales employee has achieved.
    Am waiting for you inputs.
    Best Regards,
    Sunil

  • Manual Pricing for Condition type pricing

    Hi experts,
      I am changing the price in sales pricing of cj20n transaction manually and it get updated, working good.
    Is it possible to get the updated manual pricing in all the transactions related to CJ20N transaction.
    Thanks&Regards,
    Vino

    Hi..,
    Yes. Its possible.
    I want give some function support on this as worked on condition types in another transaction.
    You needs to be check that if your pricing procedure is having that condition type or not and also you have to check that condition type is mannual or not.
    First get your pricing procedure...
    For this goto V/08 transaction code and select your pricing procedure there -> double click on control folder-> there you can get all condition types for that procedure -> and check ur condition type is mannaul or not.
    Thanks,
    Naveen.I

  • List of sales condition types for a material

    Hi,
    I have a material and maintained pricing and discount condition types for that material. I guess VK33 helps to view what condition types maintained for that material.
    However when I tried VK33 and selected the material from the conditions from the node on the left hand side and entered the sales org, dist. channel and material and executed after I clicked on the display icon on the condition type, Sales org, Dchl material no conditions are displayed.
    Please let me know how I can view the list of sales condition maintained for a specific material.
    Thanks.

    Hi Giri,
    Thanks for the response.
    In VK13 I should enter the condition type then I can hit condition information so that the details of all records maintained for a specific condition type will only be displayed but not for other condition types.
    In V/LD, I am getting the list only for individual prices. If I insert 17 u2013 Discounts and surcharges by customer or 18 u2013 Discounts and surcharges by material, I am unable to get the list. Is it anything because of the u2018release statusu2019?  We had not checked the u2018release statusu2019 field for the tables assigned to access sequence for the condition types.
    As per the requirement business wants to view the list of u201CDiscounts and surcharges by customer/materialu201D. I think this is possible if I run the report provided by inserting values 17 or 18 but the unable to view the list. Any config settings required to activate?
    Please let me know how to view the list of condition types.
    Thanks

  • New Condition type for pricing

    Hi,
    I have a requirement wherein I want to create new condition type for add on cost of material with manaual entry . this condition is to be given in inforecord.
    How to proceed? also, this contion type to be inserted in pricing schema??

    Dear Smitha,
    You may ask what is the condition type?
    For example:
    - discounts, surcharges or tax taxes add to net price
    - delivery costs, cash discounts add to effective price
    Discounts or surcharges may be percentage based, quantity dependent, or absolute.
    Best Regards,
    ian, Wong Loke Foong

  • New condition type for freight

    hi,
    i want to create new condition type for freight like some different ways of transportation like (roadrailair), three are at a time, which user exit i want to take and where it will trigger

    hi,
    as you have to have three condition types for sales order
    ROAD - VENDOR1 - ZVE1
    RAIL - VENDOR2 - ZVE2
    ROAD - VENDOR3 - ZVE3 - into sales order.
    create a screen exit and add this in your delivery addational tab page - MANUAL ENTRY BY THE USER.
    with
    LEG 1 - ROAD - VENDOR1 - ZVE1
    LEG 2 - RAIL - VENDOR2 - ZVE2
    LEG 3 - ROAD - VENDOR3 - ZVE3
    create a Z table which captures the information for this.
    and link this table to FB70 - t.code
    and settle it individually as per FFA.
    balajia

  • Condition types for Material

    Hi,
    I have got a scenario where the customer is going to maintain "Z" condition types for a material(1 for sales price and 1 for purchase price). I can read the correct price for this material at the Sales Order maintenance and PO maintenance using some standard function modules
    SALES_CONDITION_READ/ME_PO_PRICE_SIMULATION.
    as these condition types are maintained in the pricing schema and hence are returned in the correctly.
    I have problem when I try to read the purchasing price for this condition type(material) while creating the sales order. Here I have only the material information to read the price. Can anybody suggest how I can read the correct purchase price while creating the sales order.
    Thanks in advance.
    Best Regards
    Malthi

    HI Malthi
    I would recommend you use BAPI: <b>BAPI_SALESORDER_SIMULATE</b>. This will give you the conditions how the sales order is going to look when itz created.
    This BAPI is mainly used for:
    1. Checking ATP Qunatities
    2. Conditions/Prices
    Hope this helps.
    Kind Regards
    Eswar

Maybe you are looking for

  • Weird Parsing Error in Safari 5.0

    I've just updated my web browser to Safari 5.0 and I'm in a "Introduction to JavaScript" class. I'm trying to do a lab which: 1). Creates a website that includes: - Your name (First and Last) 2). Sets up a unordered list with Three links to your favo

  • AppStore, Safari, Dashboard crashes at launch on Mountain Lion 10.8.5

    I'm running into this weird error and can't figure out what to do. Anyone experience this? This happens on components that uses com.apple.WebCore. The stacktrace looks the same when I run AppStore, Safari, and Dashboard. My friend said that WebKit li

  • [SOLVED] Windows Guest VM in QEMU with OVMF freezing on boot

    I'm having some issues booting Windows 8.1 with ovmf. I've taken out the references to vga passthrough for debugging this issue. This is a fresh installation, I have a separate installation that works just fine (albeit bloated), and I don't know wher

  • Help needed to create drop down list for a field.

    Hi, I have to create a parameter/select-options on the selection screen having  drop down values and also having multiple selections allowed. Please help me to attain this functionality.Its urgent. Thanks, Sandeep.

  • Auto Speech Alignment for foreign language dubbing

    I just watched the excellent "How to use Auto Speech Alignment in Audition" video on Adobe TV, and noticed that he mentions that ASA can be utilized to add foreign language dubs to a video. I find myself in that very process at the moment, and would