Pricing type to re dtermine prices at invoice using order value for scales

Hi ,
  I have requirement to redeterime prices during invoice generation. All conditions should be redetermine but the scale basis should be determined from the order. For e.g if it is a quantity based scale and order is for 500 pcs  and the invoice is only for 300 pcs the system should use 500 to determine the scale value. Is there any copying rule/ field in STEU that can help me achieve this?
Regards,
Hari.

Hi,
There is not standard functionality for this requirement. If you want this then you have to opt for customed copy routine in pricing type...
For this u just  take help from ABAper and use the already existing pricing routines A and B by using these two source codes of routines and ask him to create new routine which meets your requirement..
Regards
sankar

Similar Messages

  • Invoice show zero value for service po

    Hi all,
    I have a service po with item catoegory B and account assignment K but when i do MIRO it does not shows the value of po simply says qty zero and value zero
    any suggestion
    Thanks

    Hi,
    In your PO have flagged service based IV in invoice item details. Please post the service entry sheet in ML81N accept and saved the entry sheet.
    Then, system will automatically post the goods receipt posting for the service entry sheet.
    Pleas echeck it PO -History before posting the invoice,
    Now post the invoice then system allow to simulate the invoice for the service PO.
    With Kind Regards,
    Thiru

  • Additional "Pricing Types"? - I need 3 pricing tiers per product

    Is there a way to add additional pricing types for individual products?  For instance, my client needs 3 pricing types (2 secure). Right now there are pricing types for consumer and wholesaler. We need pricing types for consumer, dealer, and employee. Can we create additional custom pricing types for these?
    The only way i can think to do it is by duplicating each product and their corresponding catalogs twice and putting them in their own secure zone. Although i think this should work, it will be incredibly time consuming with hundreds of products. Not to mention having to make product changes across all three copies. Is there a better way to do this?

    Karl, Although there's still not really a great way to do this we were able to make it work.
    We set up our three Pricing Types like this:
    1. (Consumer)
    We use the Consumer Price Type for this level.
    2. (Dealer)
    We use the Wholesaler Pricing Type for this. You need to set each of these customers as
    At this point I haven't shown you anything you don't already know.
    3. (Employees)
    We setup these customers as wholesalers (like 2). In addition, we give the a 10% catalog discount on all catalogs. This gives them 10% off of the wholesaler discount.
    This isn't a perfect system b/c you can't set the exact price of the 3rd tier but it works.
    I hope this helps.

  • Updating Condition Type from Pricing Type customer reserve 'Z'

    Hi ,
           I've created a sales order using BAPI. Now I want to update the condition type using pricing type 'Z' customer reserve . I'm using BAPI_SALESORDER_CHANGE.
    I'm passing the values as:
      condition-itm_number = '000000'.
          condition-CONDTYPE = 'Z'.
          condition-cond_count = '01'.
          condition-currency = w_temp_itab_so-currency.
         condition-CALCTYPCON = 'Z'.
          APPEND condition.
          conditionx-itm_number = '000000'.
          conditionx-cond_count = '01'.
          conditionx-updateflag = 'I'
          APPEND conditionx.
    But its not getting updated.
    Thanks and regards,
    Jyoti Shankar

    One option is
    you have to execute SE16, input table KONV where you maintain the tax condition type and execute.
    System will populate all SD documents that are having that tax condition type.  There you have to copy the field "Doc. condition" and paste it in VBAK table in SE16 so that you will get all sale orders.
    The other option is
    you need to identify what access sequence is maintained for that tax condition type which you can see in V/06.  Next go to V/07, select this access sequence and execute.  There check what tables are maintained.  For example, in your case, it could be table 110.  So you have to develop a query by table joining A110 and VBAK in SQVI where you can take sale orders based on sales organisation.
    thanks
    G. Lakshmipathi

  • Updating Condition Type based on pricing type in Sales order

    Hi ,
           I've created a sales order using BAPI. Now I want to update the condition type using pricing type 'Z' customer reserve . I'm using BAPI_SALESORDER_CHANGE.
    I'm passing the values as:
      condition-itm_number = '000000'.
          condition-CONDTYPE = 'Z'.
          condition-cond_count = '01'.
          condition-currency = w_temp_itab_so-currency.
         condition-CALCTYPCON = 'Z'.
          APPEND condition.
          conditionx-itm_number = '000000'.
          conditionx-cond_count = '01'.
          conditionx-updateflag = 'I'
          APPEND conditionx.
    But its not getting updated.
    Thanks and regards,
    Jyoti Shankar

    Hi G's
    Iam trying to get my fields hidden based on the conditon type i give, and not in a position make that hidden so, how can be that done,,
    The actual instance is:
    I am having different plants for the company and two plants have different taxation procedure and rest differemt and if i select plant with different taxation procedure the condition type should be supresses only for the particular plant...
    All your Support is Appreciated

  • Final price of the Sales Order calculation on payment term

    Hi,
    Out Business requirement  as follows.
    1) one ZNAP pricing condition will be maintained by the monthly wise by business for pricing. this is a  statistical condition only checking at sales order level only. this condition will check with Final price of the Sales order.
    Now the requirement is
    1) based on payment term of the Sales Order. plus if its a credit payment if the its CASH payment. these deduction should be added to ZNAP condition, and same will calculate with Final price, while creating Sales order.
    For Example:
    ZANP condition maintained  1000 USD.
    while creating the SO:
    If the payment term of the customer: PT30, ( it means payment with be in 30 days of the bill creation date)
    system should do the below calculations
    1) Scenario
    Sales Order: Final price :                                       1500  USD( maintained by the Sales User while creating the SO)
    ZNAP price                      :                                    1000  USD
    according payment term 30 days                            20 USD ( as per table maintenance for calculation of the payment term.)
    Calcuation:                                                          1000+20= 1020 (approximate need to add as interest rate)
    Then final it should display final price 1500-1020= 480 USD.
    2) Scenario:
    If the payment term Cash:
    ZNAP                                                            : 1000 - 20= 980 ( approximately and deduct, from the condition due to cash payment its like discount)
    calucalte"                                                       1500-980= 520 difference
    this purely internal pricing calculation with final price...
    pl let me know how to get this in the pricing. and payment could be 30 days, 45 days 60 days etc.
    Thanks.

    Hi M Sham,
    I believe your requirement can not be met with Standard pricing and you will have to create Routines for getting this result.
    From scenario I believe you will be doing below points:
    You should Create Z-Table with Payment Term and respective rates against those payment Term.
    You should create a statistical condition type(Ex. ZNP1) and create Calculation Type routine with Logic to get KOMK-ZTERM field and derive value from Z-Table and update XKWERT field.
    Calculate addition of ZNAP and ZNP1 (With +ve or -ve Signs)
    And then again make deduction of derived value from Finale Value.
    Do let me know if I have misunderstood your question.
    Regards,
    MJ.

  • Update prices in ME21N (purchase order)

    Hi,
    We need to re-calculate prices automatically when creating or modifying a purchase order taking into account changes in some pricing fields of the order.
    User has the standard option of updating the prices in 'condition' tab selecting the option he needs but what we need is to do this automatically if user changes some fields in the order.
    Does anybody know if we have the same functionality as we have in SD in exit 'FORM userexit_new_pricing_vbap/vbkd' with the function 'new_pricing' in MM or how can we solve this issue?
    Thanks in advance,
    Best regards,
    Silvia,

    Hi Silvia,
    Check the BADI that I suggest you. Read the documentation on line that I copy:
    Determine Pricing Type in Case of Changes in EKKO, EKPO
    Functionality
    The method DEFINE_CALCTYPE enables you to stipulate whether the system is to trigger a new price determination process. You can also specify the type of price determination (pricing).
    Result
    The method outputs the pricing type, which controls the price determination process.
    Parameters
    IM_X_OEKKO: Header data, old status
    IM_X_NEKKO: Header data, new status
    IM_X_OEKPO: Item data, old status
    IM_X_NEKPO: Item data, new status
    IM_X_OBEKPO: Transfer structure BEKPO (EKPO with further fields), old status
    IM_X_NBEKPO: Transfer structure BEKPO, new status
    CH_X_LF_CALCTYPE: Output of pricing type determined via BAdI ME_DEFINE_CALCTYPE.
    Notes
    The method DEFINE_CALCTYPE is intended exclusively for changing the variables CH_X_LF_CALCTYPE. Do not make any database changes in the method. No COMMIT WORK statements may be executed within this method.
    Ensure that your code supplements the standard code controlling the price determination process but does not disable it.
    Documentation for Business Add-In ME_DEFINE_CALCTYPE.
    As you can see, you can control the modifications on EKPO.
    Regards,
    Eduardo

  • Problem with RGB Values for Canvas Type ‚Horizontal Toolbar' in Webforms 10

    Hello,
    I have a problem with the canvas type ‘Horizontal Toolbar’ in Webforms 10g.
    When I try to set or change the RGB value of a ‘Horizontal Toolbar’ with the forms function
    Set_Canvas_Property(‘my_horizontal_toolbar’, BACKGROUND_COLOR, rgb-value)
    (at runtime) it has no effect in Webforms 10g for the canvas type ‘Horizontal Toolbar’ (the background color of the horizontal toolbar doesn’t change).
    But it works fine for other canvas types like ‘Stacked’ or ‘Content’.
    In Oracle 6i (Client / Server) this function works quiet well (even for the ‘Horizontal Toolbar’ canvas type).
    The reason why we are using rgb values instead of visual attributes in this case is, that the color of the ‘Horizontal Toolbar’ should be customizeable (via a RGB Field) for our customers (at runtime).
    Further more we are using the same technique for Text-Field-Items, Content- and Stacked-Canvases (and all works fine).
    Maybe it has something to do with the pre-configured IAS color-schema (blaf).
    But changing the color schema (e.g.: from 'blaf' to 'red') has no effect also.
    Thanks for your help.

    This is probably bug 777312. Call Support for the latest info on this bug and for help getting it fixed.

  • Creating multiple profiles, using unified profile types, to store multiple values for same properties

    Hi All:
    I am trying to create multiple profiles, using unified profile types, to
    store multiple values for same properties. Here my intention of using
    'unified profile types' is to create multiple profiles (to store multiple
    values for a property). All the properties are stored in the same database
    maintained by Personalization server. Also, I am trying to use the same
    'USER' ejb as profile class/home/pk/jndi.
    The scenerio is,
    define unified profile types (Business, Vacation) using Personalization
    admin tools, using com.beasys.commerce.axiom.contact.User,
    com.beasys.commerce.axiom.contact.UserHome,
    com.beasys.commerce.axiom.contact.UserPk,
    com.beasys.commerce.axiom.contact.User for Profile Class, Home, Pk class,
    JNDI name respectively.
    Define Property set 'HotelCommerce' with property
    HotelProp as single, restricted, text (valid values Single, Double)
    Now you can use the attached jsp files to login as a user and try to set the
    property value for HotelProp for each profile. As per my understanding, I
    was expecting that I can set different values for the property 'HotelProp'
    for each profiles. But unexpectedly, all the profiles get the same value.
    Question. is it the correct behavior? if yes, how can I achieve this
    functionality?
    if not, do you see any problem in my scripts?
    your answer asap is appreciated. we need to make decision on using
    Personalization server v/s developing our own Personalization server!!!:)
    thanks,
    -rajesh
    PS: I have tried 'Unified Profile Example' type too, but that did not work.
    [propsettest.jsp]
    [home.jsp]

    I am trying to create multiple profiles, using unified profile types, to
    store multiple values for same properties. Here my intention of using
    'unified profile types' is to create multiple profiles (to store multiple
    values for a property). All the properties are stored in the same database
    maintained by Personalization server. Also, I am trying to use the same
    'USER' ejb as profile class/home/pk/jndi.Hello Rajesh,
    This is not the purpose of the UUP. The UUP is used to allow existing
    database schemas to be aggregated with the existing Weblogic Personalization
    Server database schema to provide a single, customized user profile with which
    to maintain the user properties (
    http://e-docs.bea.com/wlcs/p13n/users.htm#1068901 )
    If you want to have properties that change value based on some "profile" or
    classification of a user, then you should use classifier rules to change the
    user from "OnVacation" to "AtWork" or "AtHome". You can use these classifier
    rules to select content for the user or conditionally execute logic (
    http://e-docs.bea.com/wlcs/p13n/rules.htm )
    Ture Hoefner
    BEA Systems, Inc.
    1655 Walnut Street; suite 200
    Boulder, CO 80302
    www.beasys.com

  • Pricing type issue in returns invoice

    Hi all.
    we have a returns sales order.The basic price has condition type ZPR1. The value of the same is 100 eur . the pricing date in return sales order is 20.1.10.
    now a returns delivery is made on 20.1.10 but the PGI is done on 1.2.10. Now as per standard SAP, the PGI date is 1.2.10. Now when the returns invoice is made , the bill date is 1.2.10 since PGI is 1.2.10(standard sap). Further the pricing date in returns invoice is also 1.2.10 since as per standard SAP, the pricing date in billing is equal to billing date.
    But the value of conditon type ZPR1 is 150 EUR. it has changed since the system is not picking up the value from the previous document i.e. 100 eur from returns sales order. The pricing type is X in copy control between LR delivery and RE invoice. Pricing type "X" is customised and it is defined as copy pricing elements unchanged(like pricing type G plus redetermine condition with cond categ U).
    plus users are not able to change the pricing date in invoice too manually
    further condition type ZPR1 has condition category as blank which means it shud not be redetermined to 150 eur from condition records at billing time.
    OSS note 24832 has been used for pricing type X. the coding is done as mentioned in this note. i have written to SAP but they say it is a consulting issue and not an issue with standard program
    my questions are as follows:
    a) the pricing date in billing is equal to bill date as per standard sap.So in this case, since the billing date is 1.2.10 and so the pricing date is 1.2.10 in returns billing. My question is, since the pricing type is X(pricing elements unchanged like G +redetermined cond cat U),the pricing date in billing shud be the date in the sales order which is 20.1.10.... is this makes sense ?
    how does it happen if one uses standard pricing type G(copy pricing elements unchanged), does the pricing date gets copied from sales order into billing or the pricing date is equal to bill date(copied from PGI) in billing but the conditon values are copied from sales order into invoice ?
    b) if one thinks that issue is with our customised pricing type X, what inputs shud i give to programmers. what are the copy control tables and fields and structure they need to look into to see how things are behaving and in which user exit ?
    regds

    HI Vasudeva,
    agreed but i have questions
    1) when pricing type is G, the system copies the pricing from sales order (price source is blank)
    no how abut pricing date. i mean in case of pricing  type G, where is the pricing date is copied from.... is it from sales order or the pricing date =billing date=PGI date  .................the standard way and condition valuesare copied from sales order)
    I mean iam intersred in relation between pricing type G and pricing date source.
    2) how can i influence pricing date caluclaion... where in copy control or eixt ?
    regds

  • How to change pricing type during invoicing

    Hello,
    How can I change the pricing type from 'B' (which is in the copy rule VTFL) to 'D' during the invoicing regarding specific criteria like sales organization ?
    Thank you by advance.
    Fabien

    If the unit price in sale order differs from pricing master data (VK11) and in copy control, if "B" is maintained for the field "Pricing Type", system will consider the price from master data in billing.  If you dont want this new price for that particular billing document, as suggested already, go to condition tab, click on "Update" button and again double click on "G". 
    But please note this will work ONLY  if accounting document has not been generated.  If accounting document has been generated, then this button (Update) in condition tab will become uneditable.
    On the other hand, if for any particular billing type itself, if you dont want "B" to consider, then in VTFL itself, change it to "G" or whatever you require.
    thanks
    G. Lakshmipathi

  • Price in invoice is not getting copied from Sales order

    Hi,
    In my case when i create a sales order...my VPRS condition is taking price 4.020,24 (@335.02/PC). When i create a Invoice it is coming with 4.020,22 value and .02 is coming in different condition type ZDIF ( Rounding diff) automatically. When i check my PGI accounting document there also price 4.020,22  hits the G/L account.
    Now able to understand why .02 value is going in the ZDIF condition ?
    Need help
    Regards
    Nitin

    Hi Nitin,
    Rounding condition is coming in picture because there will some difference in PR00 and VPRS.
    Generally VPRS is a statistical condition type and it is just used for viewing purpose not a part of calculation.
    So you can go to V/08, select your pricing procedure and then control data.
    In that find out VPRS condition type and click on statistical, then it wont come in calculation.
    If you want that this should be copied then you have to made changes in copy control.
    Go to VTFA if you are making billing document with reference to order document.
    Go to VTFL if you are making billing document with reference to delivery document.
    Select your combination of billing document and delivery document/order document.
    Then go to item level and select you item category and then click on detail
    In that you will find pricing type just change that pricing type to D.
    Now it will copy pricing as it is from sales order.
    Hope so it will solve your problem
    Regards
    Raj.

  • Unable to update Sales order item level prices after invoice is created

    Dear All ,
    I have the following issue .
    When the sales order was created Z001 price was populated based on the condition record and  the order was in complete status  Then we created delivery and  invoice , the invoice had the same price as that of sales orders.
    Due to some code change related to pricing condition type - Z001 the prices in the sales order is changed to "ZERO" , when the sales order is opened in VA02 .
    We now corrected the code related to condition type - Z001  and now need to get back the on the line items . I wanted to Update prices by clicking on icon " Update" in the line item condition tab . I am not able to do it as the update icon is grayed out.
    Can any one help me with ideas for  fixing this issue  or any SAP utility  program .
    Looking forward to your help .
    Thanks and regards
    Veera

    Hi
    Without reversing invoice we can't update price and this is standard bevaior which is logical too. For your scenario I am wondering why would you want to change price for a line item or order which is alrady invoiced and posted to FI. What difference would it make to change price in sale order when this has already been posted in FI?
    Thank$

  • How to assign a pricing type to the pricing procedure ?

    Business Scenario : When the prices change from the time the order is taken to the time the invoice is created, how can setup the system to  handle the changes automatically ? 
    I would like to know How to create a pricing type and How to assign a pricing type to the pricing procedure so that I can use the 'new pricing document' function in the sales document and 'Update prices' on the condition screens in the Billing document.
    Thanks for your input in advance.
    Oscar

    Hi !! Oscar,
    1) For pricing type definition you would require the help of a developer.
    2) However, most of the commonly occuring requirements are supplied with  standard SAP.
    You can assign a pricing type to pricing procedure as follows:-
    IMG>S & D >Basic Functions>Pricing>Pricing Control>Define & Assign pricing procedures>Maintain pricing procedure> Here, locate your pricing procedure , in the fourth coloumn using the drop down list, you can assign a pricing type to the pricing procedure.
    Now you can use the 'new pricing document' function in the sales document and 'Update prices' on the condition screens in the Billing document !
    Regards,
    PATHIK
    Message was edited by:
            Pathik Pandya

  • Pricing type in copying control

    Dear all,
    what is used of E pricing type in copying control if i am copying from billing document to return sales document.If i am copying same price from invoice to return document which pricing type will use.
    actually i am using D right now but same pricing is not copied,so instead of this can i use E pricing type.if i'll use E pricing type what will happen.in which condition E pricing type will use.
    regards
    ajit

    actually i did stock transfer from plant to depo.ata that time assassable value of material was like 100.00 where duty will be calculate on the basis of assassable value lie on 100 with 8 percentage value will be 8.00.
    when i create sales order system will pick current price of the material like 110 .00 per quantityl but system calculating excise duty on the 100.00  not on 110.its coming correctlly if i crate sales order.but if i am creating return with reference to invoice this assassable value is not copied & system calculating excise duty on the current price which is 110..which is wrong.
    actully i have maitained assassable value in table for some cutomer & system pickid assassable from that table.thgis table is linkd with 351 Routine in pricing proceduer.if refering any document from invoice to return,everything should be copied nut its not happening.i am facing this problem last 1 month.
    please give me relevent solution.
    regards
    ajit

Maybe you are looking for