Need error mssg for contract qty in sales order

Hi SD Gurus
I have created a Quantity contract for XYZ material with say 100 qty. Now if i create a Sales order with reference to the contract, in the sales order i can manually change the quantity to more than 100.
Here the system just gives me an warning message that qty has exceeded the contract qty.
I want to make it a error message. In short i do not want to create a sales order of more than the contract qty.
Checked completion rule for contract item category KMN. But its just giving warning message.
Regards
Abhijeet

Hi
Abhijeet
Please find my post on the same subject/ problem. Please click below link...
Call off order restriction
Check this as well...
Copy control to copy quantity from Order to contract
>OR
Please follow the path
SPRO --- Industry Solution Oil & Gas (Downstream) -MCOE (Marketing, Contracts and Order Entry)--Define contract restrictions agsinst yr sales doc type in the field of QTY PUT E.
Hope this helps you..
Thanks and Have a Nice Day !
DK:)
Edited by: Dwarkesh Thakkar on Jun 27, 2011 7:47 PM

Similar Messages

  • Table name for backorder qty on sales order.

    Hi,
    I'm new to SAP NetWeaver; would like to know what is the table name
    that retain the backorder qty for a sales order.
    Thanks in advance,
    Nghiem.

    There may not even be a table for that value, it's good possible that's it's calculated during transaction runtime.
    To find out which tables are read try the following:
    - start transaction ST05
    - start a second mode
    - start VA03 in the second mode
    - enter your order number, do not press enter yet
    - switch back to transaction ST05 and enable trace for your user
    - switch to VA03 and press enter
    - switch to ST05 and turn trace off
    - display trace
    Markus

  • Single condition for contract and domestic sales

    Dear All,
    I just want to know is there any possibility to go with one condition type for contract and regular sales as in case of regular price will be determined automatically and not modifible, where as based on the requirement contract price condition will be created.
    Now under this process there is a problem and it is picking contract price in regular sales order also, but i want contract price need to be triggered only when it is referenced.
    Thanks
    Srini

    Hi,
    As I understood you want to have same Condition type (Say PR00) to have in  both Sales Document types. (In other words to have same condition type in both pricing procedures used for Contract & Sales Order)
    Since you want to set "Not modifiable" when it's in the sales order & when it's in Contract you want to manually enter same condition, this is not possible.
    Because, "Manual entries" control is inside the Condition Type.
    IMG Path:
    Sales and Distribution -> Basic Functions -> Pricing -> Pricing Control -> Define Condition Types -> Maintain Condition Types
    Therefore you can set it only for a condition type. Where is for PR00 it's either "Manual entry has priority" or "No limitations" or "Automatic entry has priority" or " Not possible to process manually"
    Therefore you cannot have same condition to satisfy both requirements. In that case you have to have 2 condition types,
    Best regards,
    Anupa

  • Do we need IPC in CRM B2B Webshop for creation of ERP Sales order

    Hi Experts,
    can you pls guide in following scenario in CRM 7.0
    We  are using CRM B2B WEBSHOP, We are creating ERP SALES ORDER .
    We have requirement to display price break up like base price, different discounts, taxes, freights while creation of Sales order on the webshop.
    I would like to understand,
    1) whether we need IPC to show price breakup in SALES ORDER in CRM WEBSHOP.
    2) if yes, do we need enhancement at IPC to display complex discount types on webshop ?
    3) do we need to download entire pricing ( customizing +condition records ) from backend ECC to CRM.
    If anybody has worked on similer scenario ,requesting to help.
    Any points , documents ,step by step guide will be highly appreciated.
    thanks in advance,
    regards,
    PD

    Hi,
    ipc is inbuilt in Kernel to CRM 7.0
    BR,
    Darshan

  • Reserve available Qty at sales order with activating "Check W/out RLT" in OVZ9

    Dear Experts,
    I have below requirement:
    1. My client wants to sell the goods which are kept in Show room only (No Requirements are transferred to MRP, No future schedule line created).
    2. If stock is there in showroom,then for those stocks only availability check should be checked and confirm (reserve) the order or else order should not be saved.
    3. As and when client saves sales order for 1 Qty, Avlbl check in CO09 should be reduced by 1 Qty. If it is not reduced client can book N number of such orders (which is not accepted)
    4. Qty should be booked against each order (no Qty no sales order should be saved)
    5. No Planning, No MRP views maintained for that material but availability Checking Group is 02.
    6. Once the order is saved that material is blocked for that order only unless client cancels that order, material will not be allowed to use further. 
    7. OVZ9, OVZI and VOV6 screenshot attached,
    thanks in advance
    Regards
    Ramesh G

    You have mentioned all the steps and settings that you have maintained. It looks per these settings (with SAP standard ATP functionalists), most of the requirements steps can be fulfilled.
    For step 4. Qty should be booked against each order (no Qty no sales order should be saved), you need to use user exit to fulfill the requirement. The logic could be if there is no confirmation at the schedule line, the system provides hard error with relevant message and not allow to save.
    Check user exit USEREXIT_CHECK_VBEP in Include MV45AFZB, or user exit USEREXIT_SAVE_DOCUMENT_PREPARE in Include MV45AFZZ to provide relevant error message.
    Regards,

  • Sales order with reference to Contract and another sales order

    Hi Gurus,
    I would like your suggestions on one of the business requirement i have.
    We are creating a new EDI interface with few of our customers to create sales orders. While creating sales orders, it should validate if there are any open contracts available and if yes, then the sales order should be created with reference to it. so far good but there are chances that sold to party on the contract could be different from sold to party on the EDI order sent by customer (customer can have more than one sold to party on their system). IDOC's are failing in this scenario and not able to create a sales order since sold to partys are not matching. I need your help.
    Can we do some thing in customer master to handle this scenario?
    or
    Create a new sales doc type (YEDI or some thing) and create sales order from IDOC without reference to contract. Business will look into all YEDI order and create the actual sales order out of it but the challenge here is i cannot refer contract to the actual sales order or YEDI order.
    Is it possible to create sales order with ref to a contract and another sales order?
    Please help
    Thanks
    Venkat

    Hello Venkat
    What is the linkage between sold to party of contract and sold to party of order..If customer has more than one sold to party.
    Why don't you use customer hierarchy....link all sold to party of a customer to hierarchy node.for example...you create a hierarchy  node 1000 and assigned customers 2000 and 3000 to it.you have contract for 2000..so when you create a sales order for 3000 check in knvh table it's customer hierarchy 1000 and get all sold tos assigned to hierarchy...which is 2000....check if contract exist for sold to's..If yes then create order with reference.
    Let us know if it works for you.
    Thanks
    Amit Gupta

  • Credit re-block after confirmed qty in Sales order

    I have a problem with credit checking in sales order. Credit goes on hold again after I comfirmed qty in sales order.
    My steps are as follow. (I don't have stock in warehouse but I need to create sales order).
    1. Create a sales order 120 L
    2. Credit goes on hold and it is not confirmed qty
    3. VKM3 or VKM4 to release credit block. qty is still not confirmed as I don't have stock.
    4. Add stock 120 L to warehouse
    5. VA02 to update confirm qty 120 L in schedule line
    6. After saved the order, credit goes on hold again.
    Why credit reblock again? Please advise. Thank you very much.
    Darin

    hello, friend.
    the sales order goes under credit control again each time you re-determine schedule lines.  i believe the system considers the following possibilities:
    1.  customer credit situation has changed over time
    2.  material selling price has changed over time
    3.  material cost of goods has changed over time
    however, let's wait for the other consultants to give their opinions.
    regards.

  • Ristrict user not to go for delivery with out sale order.

    Hi,
    I need some Help in ristricting the user from entering the Delivery document with any sale order.
    As per the requirement all the documents should run in a proper fassion.
    sale order> Delivery> Invoice.
    Purchase Order> GRPO> Invoice.
    If any change in the flow the user should not be allowed.
    Is there any possibility to implement this can you please help me in doing such.
    Thanks,
    Mahi.

    Hello Mahi,
    Is it not a trigger, it is inside store procedure of SBO_SP_TransactionNotification, which is standard part of the SAP B1 installation...
    read the following blog of Lisa :
    /people/lisa.mulchinock/blog/2009/05/22/the-sptransactionnotification-stored-procedure
    ALTER   proc [dbo].[SBO_SP_TransactionNotification]
    @object_type nvarchar(20),                     -- SBO Object Type
    @transaction_type nchar(1),               -- [A]dd, <u>pdate, [D]elete, [C]ancel, C[L]ose
    @num_of_cols_in_key int,
    @list_of_key_cols_tab_del nvarchar(255),
    @list_of_cols_val_tab_del nvarchar(255)
    AS
    BEGIN
    -- Return VALUES
    declare @error  int                    -- Result (0 for no error)
    declare @error_message nvarchar (200)           -- Error string to be displayed
    SELECT @error = 0
    SELECT @error_message = N'Ok'
    DECLARE @docnum nvarchar(50)
    --     ADD     YOUR     CODE     HERE
    if @object_type='15' and @transaction_type='A'
    BEGIN
      if exists(select top 1 'A' from dln1 T0 where T0.BaseType != '17' and T0.DocEntry = @list_of_cols_val_tab_del)
      begin
         set @error = '-1'
         set @error_message = 'delivery without sales order is not allowed!'
      end
    END
    -- SELECTthe return VALUES
    SELECT @error, @error_message
    END
    Regards,
    J.

  • Itu2019s showing confirmed qty more that order qty in sales order

    Dear Guru's
    I am working on production server issue; the issue is delivery has been created more that sales order qty.  When I am seeing sales Oder schedule lines itu2019s showing confirmed qty more that order qty in sales order what could be the reason can any help me on this.
    Regards
    DNR

    Hi DNR,
    first up, appreciate if you can use your real name instead of DNR , I'd love to see your actual name.
    Coming to the question, a deliery can be created more than the ordered quantity. And if you pick whats delivered - that can show as confirmed too..
    Standard SAP just throws a warning indicating this over delivery. And incase you want to prevent this happening - you can trigger an user exit to change this warning to error.
    Config is also possbile if you have setup your cust mat info record or sales order to check over delivery and set the item cateogry for delivery. You can go to t.code 0VLP( Zero VLP) select Over Delivery -  'B' for delivery item category.
    Regards
    Sadhu Kishore

  • What are theSNP Settings required for Forecast Consumption with Sales Order

    Hello APO Folks,
    I have one SNP scenario:  (We don't have GATP)
    Forecast for Finsihed Product - "PNG_Fert" in Location "1000".
    I have forecast quantity of 500, now our requirement is - when SNP heuristic run will take place (without any sales order quantity) then there should not be any planned orders creation.
    Planned order creation should happen Only if any one places sales order from ECC , which comes to APO then against that sales order forecast quantity should consume and should create the planned orders equal to the nos. of sales order quantity.
    So if I have forecast of 500 qtys and sales order of 90 qtys then heuristic run should yield/create the planned order of 90 qtys and there should be 500-90 = 410 forecast quantities remaning.
    Please let me know which strategy will be used and other setting in ECC and APO for SNP. I
    The setting with strategy 50 in ECC and 30 in APO worked properly with PPDS - RRP3 view but from interactive planning /sapapo/sdp94 it is not working, so there will be different setting for SNP.
    Thanks in Advance,
    Regards,
    Vishal
    Edited by: Vishal24a on Oct 13, 2011 9:15 AM

    Vishal
    Can you please explain what issue you are facing when you load the product in planning book. First thing is do you see 410 against forecast and 90 against sales order key figure ? If yes then it means the forecast is getting consumed properly by SO.
    As far as your other requirement  goes (planned order should only be created for sale order quantity) you have to change your total demand macro calclation logic. Your total demand key figure should show 90 instead of 500 - so just include sales order in your total demand calculation (stock balance macro) and run heuristic. Your requirement will be satisfied
    Thanks
    Aparna

  • COGS determination for Free of cost sales order

    Hi All,
    We have an issue regarding the COGS determination for Free of cost sales order. We created a free of cost sales order. But i need to know whether this sales order items will hit to COGS or not? If so how do i check whetehr its has been charged to COGS or not? and we have an issue raised saying thst one material in this sales order has not being charged to COGS. So please help me to solve this issue. Ihave checked the account assignment in GBB-VAX. And is there anyting to do with the settlement profile for COGS determination?.
    Thanks and regards
    Uday

    Hi,
    During PGI a material document and accounting doc gets created which would hit COGS account.
    You're talking about one specific sales order in which for one material it didn't hit COGS account or any order you're creating now with that material has an issue? If its a specific material which has an issue always..then something is wrong with that material master setup. Also you can go to the reported Sales order--doc flow to the PGI document and check the accounting doc and if its not posted..check the analysis why its not posted?
    And if its one off then I would suggest 2 options:
    1) Reverse the goods movement, cancel the delivery or if billing has already been done..cancel the billing as well. And re-do the cycle. This always ensures correct posting.--> Recommended option.
    2) Manual adjustment in FI.
    And settlement profile is Controlling concept..not sure you would get any help on this in this forum.
    Regards
    RS

  • How to maintain Authorized buyer for a customer in Sales Order.

    Dear all,
    We have a corporate customer, which has 10 authorized buyers. We have created a Customer number for this company.
    But at time of sales order creation, we need enter the authorized buyer name in sales order for the record purpose.
    we are not creating any authorized persons in the system.
    but our management want to see the person name who is buying behalf of the corporate customer.
    for that we need to prepare a report.
    I think SAP must be having a standard solution to address this requirement.
    I request you to help me to resolve this issue. Your suggestions will be highly appreciated.
    thank you
    Raghu Ram
    Edited by: Raghu Ram on Apr 21, 2008 8:24 AM

    HI,
    I think u want to create agent who is buying material on behalf of customer. For report purpose u can create commision agent in Partner det . procedure for this purpose.
    Thanks,
    Pramod

  • Services for Object button in Sales Order

    Hello Experts,
    We are not getting Services for Object Button in Sales Orders. Actually we need to attach some documents to Sales Orders.
    Thanks in advance.
    Mamta.

    Dear Friend,
    If you are not getting Services for Object Icon in Sales Document, then follow this:
    T-code - SU01 u2013 Here Enter User ID & click in change icon.
    Then click on Parameters Tab & Add Parameter u2013 SD_SWU_ACTIVE. .
    This will definitely solve your problem...
    Thanks,
    Jignesh mehta

  • Business Content for Product Cost by Sales Order

    Hi,
    We need to do reporting on costs associated to Sales Orders. The corresponding R/3 Area is "Product Cost by Sales Order" in Cost Object Controlling. We have looked at the standard cube for Cost Object Controlling (0PC_C01) but this cube only contain costs related to manufacturing orders, whereas we need to look at costs associated with sales orders after Result Analysis.
    Have you guys any ideas which content that might support this, if any?
    Many thanks!
    / David

    Hi Christian,
    please refer to SAP Note 584791: <a href="https://websmp208.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=0000584791&nlang=E">BW-BCT-CO: Costs not extracted on sales orders</a>.
    Unfortunately there's no DataSource providing the data you need for your analysis scenario. A custom development is needed (<i>awful!!</i>)
    <b>Note 584791 - BW-BCT-CO: Costs not extracted on sales orders</b>
    <b>Symptom</b>
    In R/3, costs are posted directly to sales orders. The costs have to be analyzed in the BW system. In the standard system, however, this data is not extracted into the BW system.
    <b>Other terms</b>
    0CO_OM_OPA_1; 0CO_OM_OPA_6
    <b>Solution</b>
    1. There are currently no DataSources for costs on sales orders in the standard BW Business Content. Unfortunately, there are currently no resources scheduled for a new development in this area either.
    2. Therefore, the DataSources and the Business Content must be created in the customer project within the framework of consulting as a customer solution concerning the generic extraction options of the BW Service APIs or function modules you have programmed yourself for extracting data.
    3. Technical background information about costs on sales orders:
    The transaction data is available in the following R/3 tables
    COSS and COSP - Totals records or COEP - Line items.
    This concerns records for the VB* object numbers.
    The master data of the sales orders is contained in the VBAK and VBAP tables.
    The 0CO_OM_OPA_1 and 0CO_OM_OPA_6 DataSources only extract costs for orders with master data in the AUFK table. These types of requests always have OR* object numbers. Therefore, these DataSources cannot be used for sales orders.
    However, you may be able to assign requests from the AUFK table (for example, maintenance orders or production orders) to a sales order through the AUFK-KDAUF table field.

  • ADDDITIVE COST FOR PRODUCT COST BY SALES ORDER SCENARIO.

    Dear friends,
    We are using costing for sales order & we have maintained the costing variant under the path IMG> Controlling> Product Cost Controlling> cost object controlling> Product cost by sales order >premliminary costing & order based costing>product costing for sales order costing>Costing variant for Product costing >Check costing variant for product costing.
    Under this we have maintained the Costing variant, Now we need to have Additive cost. But didnt found the tab in the costing variant where as when we check in T.code OKKN which is a part of Product cost planning we can find the Additive cost tab.
    How to run addtive costing run for Product cost by sales order scenario & please guide me with one example.
    Or else is there any configuration where we can assign standard costing variant PPC1 instead of Costing variant SOC1 ( which is a costing variant of Product cost by sales order.
    Please guide me
    regards,
    Sandeep

    Hi Sandeep,
    You may please try using Unit Costing for Sale Order.
    It is over an above the sale order costing you have done. So in case you want to post any additional known cost, you may do the unit costing for the sale order after the sale order costing.
    Trust this helps

Maybe you are looking for

  • Unable to boot from backup copy of Mac OS 10.4.11 on and external drive

    I used disk utility to back up a copy of 10.4.11. I am trying to test it to be sure the backup works in case I need to go back to it. Hardware Overview:   Model Name:    MacBook Pro 15"   Model Identifier:    MacBookPro1,1   Processor Name:    Intel

  • @MDSHIFT

    I am writing a calc script for Hyperion Planning 11.1.1.2 that will calculate new maintenance revenue for 15 months based on on accumulation of license revenue with a 60 day delay. A simple example is: Year 1 Jan = 0 Feb = 0 Mar = Jan * rate Apr = Ja

  • Graph between cursors

    Hi,  I have a problem with cursors. I have a waveform graph with some signal and two cursors. (annex 1) I would like to see a signal which is between the two cursors on the second waveform graph. Thank you for your help Solved! Go to Solution. Attach

  • Why is the quality of the DVD not as good as original mpeg layer 3

    I have produced a wedding album slideshow in keynote (this allows me the 'flop' transition giving the appearance of the pages being turned) I tried exporting staring into iDVD but the slideshow quality was awful on the DVD. I have now tried exporting

  • Change Bank Account on Printed Checks via F110

    Hello Gurus- I have a requirement to change the account number on the printed checks which is done by the House Bank configuration.  I was wondering if there was anything else I should consider or keep in mind when making changes to accounts numbers