Bottom/base price check in Sales order processing

Hi
In my company we are using process Sales Order > DO > Billing. Same pricing procedure for sales document types and billing types. No pricing procedure for DO. Our management wants to implement bottom price check in sales order processing e.g there must be one sale price on which sale invoice will be booked and there must also be one static price maintained and system will check after all taxes and discounts calculation that net value should not be less then bottom price.
Currently we are using user exit in enhancement MV45AFZZ. Our ABAPER has written logic in this of following scenario. We have maintained commercial price in ZCOM condition type and bottom price in ZBAS condition type. Lets take and example
ZCOM = Sale price= 500
ZDIS = Discount = 100
Net value/Amount for credit check 500-100 = 400
ZBAS Bottom price = 450
In above scenario system should not allow to save sale order/billing document and give error "Sale price is below bottom price" Then user will change the discount from 100 to 50 and Net value will be then 450 and system will allow to save sale order/billing document.
I want to to do this in Pricing procedure pricing routines. Please tell me is it possible with calculation types? Im wondering if we can do this in enhancement then we must write the same logic in VOFM pricing routine and we can control this from there too. In our current ABAP check everything is working fine but I just want to minimize the use of ABAP checks and enhancements and control the things from functional side not from ABAP.
Please let me know if someone need more clarification or someone have any productive suggestions in this regard. If there is any other solution it will be highly appreciated.
Thanks in advance.

Similar functionality is already there, where if the net price of an item differs from "Customer expected price" (conditions EDI1/EDI2) then SAP automatically pushes the order into incompletion. You can ask the developer to see how EDI1 is used in the pricing logic.
However, the condition EDI1 is used to check if the item value is different to Customer expected price in case of EDI orders and is not standard for your requirement. But you get my drift, that you can have your own condition in the pricing procedure that will fetch the base price value and can be used in the logic to show an error message (to stop order processing) or push into incompletion log similar to condition EDI1

Similar Messages

  • Base price calculation in sales order using Routines.

    Dear all,
    I have a requirement related to usage of routine in pricing procedure. The requirement is as given below.
    A base price for a material is entered in the contract manually using a customized condition record.Later a sales order will be raised with reference to contract. now we need to bring the price entered in the contract to sales order after some calculations done using a customized "Z TABLE"
    We are trying to use routines to trigger to calculate the base price in the sales order.
    Please suggest what type of routine to be used in such cases(ex formula,pricing etc)
    Also please go through the below mentioned example for better understanding.
    Contract price : Quantity 3: base price 10,000 per day Total : 30,000 perday
    ZTABLE : number of days per month will be maintained in the table based on the working days.
    Sale Order : Quantity 1 : Month working days 23 total 2,30,000 (We need to calculate this total and display as base price in sales order)
    Please suggest how to address this using routines.

    Dear Mudigonda,
    As per your scenario you are creating sales order with reference to the contract and here in contract you are maintaining the manual price . that means the same manual price has to copy to sales order level then as per the calculation rule it will multiply with your Z table value .
    For this requirement you can make some changes in copy control from contract to sales order, here at item category level you have to change pricing type to 'B' so that what ever your manual price value will populate to sales order level after that due to calculation rule value will change .
    Regards,,
    C.B Reddy.

  • CO: put a standard price check on sales order (URGENT PLEASE)

    Daer Gurus,
    I want to put a standard price check on sales order.
    Will you please help me?
    Thanks in advance,
    Best Regards.
    Juan
    Edited by: juan on Mar 7, 2008 1:01 PM

    Hi,
    1. I don't think it is possible to change system design. Better remove this function to avoid waiting time, if not necessary.
    2. Not sure about second question.
    Thanks & Regards,
    Nagarajan

  • VKM1 Triggers new price check on sales order

    When a user manually changes a pricing condition on a sales order and VMK1 is done at times the VKM1 will trigger a new price check like if doing 'Update' B - Carryout new pricing.   So it changes the pricing condition back to its condition record value and does not use the manually changed value.  It then shows in the SO change log as having been done via VKM1.  What was done was the credit status on the order was changed from B to A using VKM1.  Why would this trigger a new price check on the SO?

    The critical fields can be seen in t.code OVA8.
    You can also try to use Deviation % and Number of days fields in the same t.code and check the results.
    Regards,

  • Sale order Processing status

    Hi gurus,
               Where we check the sale order processing status configuration ?
    Regards,
    T.Murugu

    Dear Murugu
    If you see the document flow of the particular sales document, you can see the status.
    If you want to know where the control is, go to VTLA, for the combination of your order type and delivery type, select your item category and execute.  There you can see a field Update document flow.  You have to check this box for status updation.
    thanks
    G. Lakshmipathi

  • Availability check of raw material during sale order processing

    Dear experts,
                           When i am entering the finished good in sale order processing,system should check the raw material availabilty.Is it possible in STD sap
    Regards,
    murali.R

    thanks to you all for your reply,
    My customer is bright bar manufacturer,They just buy the steel bar & process it & sell it to the customer.So there is only one RAW MATERIAL.
    Their all the activities are mainly based on raw material.So customer wants.....when we enter the finished good system should check the RM stock,based on RM STOCK,sytem should do the availability check...& confirm the delivery date
    I have mapped customer requirement,after modifying item category & assignment......
    Sales BOM explosion & delivery group is maintained for header material.availability check is on at component level & header level.So now system consider the raw material stock & it conform the dates when  i do availability check combinely.
    I would like to know how it will affet the MRP incase of alternative BOM....FURTHER PROCESSING
    Is it the right practise.....Please reply...............

  • Manual price change on Sales Order line

    Hi everyone,
    Say I have a product A and have entered this in the price list Product A = USD 100 per unit.
    I create the order and process the order, do ship confirm, but at the time of creating the invoice, I want to change the price to 97. or 95 or whatever. This is not fixed and depends probably on various business factors not in anyone's control.
    I tried to manually change the price on the sales order line, but it is not allowing me to change, saying 'no manual discounts available'. My questions are :
    1. How can I manually change the price of a product at the time of invoicing?
    2. I have not defined any modifiers or qualifiers. Is this required, and if yes, what type and how to do it.
    3. At what level can the price be changed? at order booking or even after ship confirm?
    4. If I change the price today, this price change will be applicable to what orders? All orders with booked statuses, or all orders which are not yet ship confirmed, or all orders not interfaced or all future orders entered after this price change is saved?
    5. Do I need to make this price change in the price list also?
    Pls reply asap.
    Thanks a lot in advance.
    Sudhindra Desai

    Hi Sudhindra,
    Check out if this helps:
    1. How can I manually change the price of a product at the time of invoicing?
    You cannot change the price once invoicing is done or when the Order Line Status becomes 'Closed' . Any change at the order entry level can only be effected till the Order Line Status is in 'Entered' Stage.
    2. I have not defined any modifiers or qualifiers. Is this required, and if yes, what type and how to do it.
    We have defined a modifier for our business purpose where by we can manually change the Price at the order entry level. If you require I can send you the screen shots of the setups we have done. I would need your e-mail id for that.
    3. At what level can the price be changed? at order booking or even after ship confirm?
    Price can be changed till the order is in 'Entered Stage'. It cannot be changed once it is 'Booked'
    4. If I change the price today, this price change will be applicable to what orders? All orders with booked statuses, or all orders which are not yet ship confirmed, or all orders not interfaced or all future orders entered after this price change is saved?
    I did'nt understand this question actually. I think the price change is done on an order to order basis, if it is done for a particular order I don't think so it would affect further orders. If i'm changing the price in my price list then surely it would affect future orders.
    5. Do I need to make this price change in the price list also?
    This depends on ur business situation. If the price change is permanent u can make the changes in the price list also. Our business situation demands a base price to be defined in the price list even though the price we enter at the order entry level is always different from what comes from the attached price list.
    Hope this helps you.
    Regards,
    Anil Wadhwa

  • Price Update on Sales Order - After partial delivery and invoice

    Hi all,
    I have created a sales order of 10 tons and a despatch advice of 5 tons and invoice of 5 tons. Now when i want to update price on sales order then system give me "Update" button in grey.
    My client wants to update price on those sales orders too which are partially despatched. Is that possible to do this in SAP? If yes then how?
    Please respond.
    Best Regards,
    AI.

    Hi
    I can suggest 2 alternatives .
    !.Create  a debit memo request sothat prices can be updated along with other details and changes can be tracked.
    For voluminous data  you can create a BAPI for Sales order creation and give related paramenters.
    2. Create a BDC and update pricies for all partially processed sales order in KONV table using KNUMV .
    This a bit tricky ,as there are chances of dumps and sensetive data becomes unstable ,also when you change by updating condition ,you dont get earlier prices and change is not controlled and almost irreversible.
    I suggest first approach ,with better tracking , analysis and less disturbance to standard system.
    Check business object  Sales Order
    Function module : BAPI_SALESORDER_CREATEFROMDAT1
    You can take help of ABAP developer for creating BAPI.
    I hope this helps
    Regards
    Mandar

  • In third party sales order process how  business come to know that the vend

    Hi SD Gurus,
    In third party sales order process how  business come to know that the vendor has delivery the goods to the customer?
    Where Business will check whether Vendor has delivered the goods or not to the customer?
    Thanks & Regards,
    Nivas

    Hi,
    Process
    VA01 - Create sales order (Schedule line CS and item category TAS) >> ME52N - PR is generated after save of sales order >> ME21N - Convert PR in to P.O >> Then vendor will send goods to customer and will send invoice to our company >> MIRO - Invoice receipt from vendor >> VF01 - Final invoice to customer
    When you enter vendor invoice then you come to know that vendor sent qty. same will be billed to customer(Billing relevance in item category should be F)
    Kapil

  • 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.

  • Price chnage at sales order level but not in billing

    Hi
    I want to maintain the price manually in sales order but donot want to allow user to change the price in billing. I understand it is controlled at condition type level but not at document level.
    Need your advise as  to how we  an achieve it.
    Regards,
    Neeraj Srivastava

    Hi Neeraj,
    You can achieve this by following below setting:
    Go to into the condition for which you  want to maintain price manually.
    put C in manual entry field.
    Set check mark for Header cond., Item cond  & Delete only. Remove check mark for Amount/percent & value. Save it.
    Go to pricing procedure and mark this condition for manual entry and mandatory.
    Only thing in this is you need to put this condition in sales order manually &  maintain price for this condition before pressing "Enter". Once you press "Enter" it will go in gray  mode.
    Ramchandra

  • Can we edit Gross Price field in Sales Order

    Hi experts,
    According Help document (help - under Sales A/R/Sales Order-Sales document content tab ) as follows, userwe should be able to edit gross price field in Sales order
    Enter in this field the unit price including tax. SAP Business One calculates automatically the unit price before tax and the tax amount, based on the tax code in the row. After pressing the TAB key, the Unit Price field and the Tax/Unit field are updated accordingly.
    The tax amount is calculated as follows:
    *Gross Price / (1 + Tax %) * Tax % = Tax Amount*
    But when I set up in form setting visible and active for Gross Price,  though I AM NOT ABLE TO EDIT GROSS PRICE FIELD
    Is it bug in SAP ? I
    BR
    Samir Gandhi

    Hi Samir Gandhi,
    You may check SAP Note Number: 1060666 to see if it applies to you.
    Thanks,
    Gordon

  • Credit check at sales order

    Hello Experts,
    I have few questions regarding the credit check in FI-AR credit mgmt and SD.
    Currently we have a credit check in AR credit mgmt during the delivery order creation. But the management has decided to crap this and to put a credit check at sales order level.
    Can someone tell me if there is any business process change in doing this?
    Whats the concept of Horizon in dynamic check?
    Can someone clarify the concept of Business Partner in SAP FSCM credit mgmt?
    Any help in this regard is highly appreciated and duly rewarded.
    Regards,
    Sriram

    hi,
    pl check this :
    [Credit management|http://www.sap-img.com/sap-sd/credit-management.htm]
    Dynamic Credit Limit Check with Credit Horizon
    The customer's credit exposure is split into a static part; open items, open billing, and delivery values (see above), and a dynamic part, the open order value. The open order value includes all undelivered or only partially delivered orders. The value is calculated on the shipping date and stored in an information structure according to a time period that you specify (days, weeks, or months). When you define the credit check, you can then specify a particular horizon date in the future (for example: 10 days or 2 months, depending on the periods you specify). For the purposes of evaluating credit, you want the system to ignore all open orders that are due for delivery after the horizon date. The sum of the static and dynamic parts of the check may not exceed the credit limit.
    regards
    sadhu kishore

  • Expected Price ED1 EDI2 Sales Order & Incompletion issues re: Delivery/Bill

    Hi,
    We are using ED1 and EDI2 conditions for expected price on the sales order to trigger incompletion.  This works fine, and it's possible to use V.25 to release or manually adjust the pricing conditions to match.
    However we have problems in the way it is working re: Header/Item - if say we have two lines, line10 EDI1/2 prices are ok, complete; line 20 EDI1/2 conditions also added but incorrect and therefore incomplete.
    Now when user trys to create a Delivery - they can create a delivery for line 10 but the line 20 errors because it is incomplete.  This at line level would be ok, if we could subsequently Bill this line, but doing this through VF01 errors because of message 'VF055 (VF)055 Pricing error in document'
    The only way to clear it is to clear line 10 on the sales order, say V.25 which then allows Line 10 to also be Delivered and Billed.
    The above is with incompletion status group 06 which should prevent Delivery & Billing.   Alternatively we could use Incompletion status 02, which blocks Delivery but allows Billing.
    However this is inconsistant with the EDI1/2 conditions - Delivery seems to be blocked at the Item Level, but Billing at Header Level.
    Is there a solution?  Ideally we want the either:-
    i) Delivery to prevented if any line is incomplete for EDI1/2, or
    ii) Billing to be prevented only if the line Billed on the Delivery is incomplete on the Sales Order, not any line.
    Any advice appreciated.

    Hi,
    I suggest you check copy control (delivery->billing) at item level in tr. VTFL.
    Do you use standard routine in 'copying requirements' ? If needed you can also create custom routine that would not raise error for your scenario.
    Regards,
    Dominik Modrzejewski

  • Price in the Sales Order

    Dear SD,
    Normallly we enterd the Price in the Sales Order for a Finished Goods.  Is there any other way, that Sales Order Directly Picks the Cost from Pricing Procedure.
    REgards

    Hi,
    I understood that you need the following clarifications.
    1.     VPRS:  This is cost price. For example, you are doing trading business and you buy an item for Rs. 125. This is cost price. This price is maintained in material master in Accounting view in the field Standard Price.
    2.     PR00: This is selling price. This includes the profit. In this example, say it is 200. This is maintained in Condition records. The transaction code is VK11.
    3.     Pricing Procedure: Both of the condition types (VPRS, PR00) are maintained in the pricing procedure. Please check the standard pricing procedure RVAA01.
    If the condition type is not maintained in your pricing procedure, you can add the condition type VPRS in your pricing procedure and assign the requirement as 4 (Cost). Enter tick mark in u2018Statisticsu2019. 
    If you create a sales order, you will get the value of PR00 (selling price) and the Cost price (VPRS) in the sales order. Sales order is a document that can be sent to the customer to confirm the sales. So, here you do not want to show the cost price of the item. That is why the condition is not selected for print. If you are dealing with your associate companies and you want to print the cost price in the sales order, you can print the cost price VPRS in the sales order. To do this, select u2018Xu2019 in print column of the pricing procedure for Condition type VPRS. Hereafter you can print the cost price of the item in the sales order. But it should be printed appropriately with the help of an ABAPer.
    4.     VPRS u2013 Statistical: VPRS is always maintained as statistical. This is not used for updating financial entries while creating billing; but it is used to find the profit margin. Whenever the cost price of the material changes, we have to update the cost price (VPRS) by transaction code MR21.
    5.     Stock value: While calculating warehouse stock by transaction code MB52, the system takes the value given in the material master in accounting view. The value shown in VPRS and Value taken for stock valuation are one and same. Stocks are evaluated on cost price; not on selling price.
    Hope this information will be useful to you.
    Regards,
    K Bharathi

Maybe you are looking for

  • Developer 10g 9.0.4.2 for Linux -- why does web report run so slow?

    Hello, I have a particular report that runs for 10 minutes, getting to formatting page 45 of 50, and then just stops when running from the web with RUN_REPORT_OBJECT, destype=file desformat=pdf. However when I run it from the builder or with rwrun.sh

  • How to configure PRO*C  in ORACLE 8i  ?

    Hi all, I have installed ORACLE 8.1.6 in my LINUX system. I thinku proc is not configured though precomp folder exists . How can I configure it ? please help me in this regard. Thanks in advance, Trinath somanchi, Hyderabad.

  • Error with the PL/SQL below as  ORA-06550: line 35, column 3

    declare    c pls_integer := 0;    l_detail varchar2(4000);    i pls_integer;    l pls_integer;    l_max_rows   integer; begin l_max_rows := nvl(:P2_ROWS,10); if :P2_SEARCH is null and :P2_LastName is null and :P2_FirstName is null and P2_Course  is n

  • RMI Performance Comp. with Forte

    Hi All, I know that this topic has been discussed on the list already, but I would like to find out whether the current state of Sun's RMI implementation is like I imagine it, and I want to compare with our Forte Service objects too. Basically, these

  • Photoshop cs3 updater

    when i launch photoshop cs3 10.1 the updater launches and then crashes. photoshop is now also crashing after opening a few large files. the files are 700MB. so they are big, but i have been working these same files for weeks. i am running OSX 10.6.2