Quantity Contract - target quantity exceed

Dear Gurus,
is there a way to stop PO creation with reference to contract when contract target quantity exceed?
Warm regards,
Fuffo

Ciao Fuffo,
spro -> material management -> purchasing -> defien attribute of sysetm message, select :
version 00
appl.    06
number 078 (Target quantity exceeded by  & &)
set the catergory of the message to E... and save
now when ypu create a PO in reference to MK contract and the quantity is greater than the contract quantity System stop you with an error message.
Buona Giornata
Mauro

Similar Messages

  • Order Quantity and Target Quantity, both as editable in Sales Order

    Hi All,
    We have a requirement in which order quantity and target quantity, both should be allowed as editable fields in overview screen while creating a sales order or contract. Currently, only one quantity field is editable (order quantity in sales order and target quantity in contract).
    First question, is this possible?
    Second, If possible, then please tell the configurations need to maintain?
    Note: The material is relevant for delivery (so schedule lines allowed).
    Thanks & Regards,
    Vishal

    Hi Lakshmi,
    Thanks for the reply. I think I did not clarify the actual requirements. Let me explain it again:
    I understand that generally, Target qty is in contract and Order Qty is in sales order. But actually, here query is,
    When I create Sales Order (VA01), then while entering Material, user should see both quantity columns (Order Qty and Target Qty) in editable mode.
    So is this possible? If yes, then please guide.
    Please revert back if any further clarifications is required.
    Thanks & Regards,
    Vishal

  • Which CRM table stores the release quantity and target quantity

    I found one table named CRMD_SCHEDLIN, one field is Quantity, is it the target quantity or not? If not, which CRM tables stores this info?
    Thanks!

    H Tracy,
    As far as i could find the table CRMD_SCHEDLIN is the only table which stores quantity. the sum quantities of each line item gives you the target quantity of the order i think.
    Please check the source code of function module CRM_SCHEDLIN_I_GET_ORD_QTY_OW you may get soem idea.
    Thanks,
    Rajini A.

  • Target quantity exceeded from contract

    Hi,
    I want to configure that in creation of an purchase order with reference to quantity contract, the system will not display the warning message of "Target quantity 100 EA of contract item exceeded by X EA"
    When deletng the warning message from the "system messages" list, we recieve an error message in the purchase order.
    Is this possible?
    Hila David

    Do not delete any standard messages.
    What you could do is to control the message through SPRO: SRM server -> cross application basic settings -> message control -> influence message control ->
    select PO type: BUS2201
    double click on "message control"
    Create an entry for message class = BBP_PD / No = 562 / type = "-" (switch off)

  • Check on open target quantity (contract/agreement)

    Hi
    We would like a check on open target quantity on the contracts assigned to a pur. req. when this is converted (ME58). If the open target quantity larger than pur. req. quantity then we want a new pur req. to be created for the next contract in the source list.
    Do any of you know if there is something standard we can use there?
    thanks!

    Hi
    Thanks for your answers!
    I can't use Quota arrangement, because I wish to use up the first contract from supplier 1 and then switch to contract for supplier 2. I do not wish to supply from both at the same time.
    Regarding the meassage about that contract is exceed will not work either because contracts are made by different organization.
    We want some automatic in case of If the open target quantity larger than pur. req. quantity that will recalculate the pur. req. to the remaining quatity of the contract and create new pur. req. to the next contract.
    I hoped that there was a standard solutionf for that.
    br. sune

  • Copy of target quantity from Contract to Sales Order

    Hi all,
    The desired document flow is Quotation --> Contract --> Order.
    Thru copy control the target quantity from quotation flows in to the contract, but the target quantity is not copied into the sales order from the contract.
    The document type with the item category for the document types are as follows :
    Quot. Doc type ZQT (Copy of AV)    and item category AVN (Standard item)
    Contr Doc type EWK2 (Copy of WK2) and item category WVN (Maint contr item)
    Order Doc type ZSD (Service Order)    and item cateogry WVN(Maint Contr item).
    Please suggest a solution.
    Regards,
    Udaynath.

    dear udaynath
    check copy control settings
    Copy Control is used ,
    Copy control is basically used to transfer information from one document to another. In other words it helps in connecting and sharing information between two documents in a cycle like from example between quotation and a sales order. The following controls available at copy control configuration -
    You can store copying requirements at every level in copying control. Copying requirements contain the specific requirements for each business process and can be stored at every level. The reference document can only be created if all these requirements have been met.
    Examples of copying requirements that have been included in SAP standard system are –
    a. Header level – copying requirement 001 checks, for instance, whether the sold to party in the source and the target document are the same
    b. Item level – copying requirement 301 checks, for instance, whether the item that is to be used as a copy has a reason for rejection or completed status.
    c. Schedule line level – copying requirements 501 ensures that only schedule lines with an open quantity greater than zero are copied.
    To control the copying procedure, at each level you create:
    a. Data transfer routines – these routines control how fields are copied from the preceding document.
    b. Copying requirements – you define requirements that are checked when you create a document with reference. If these requirements are not met in any particular case, the system issues a warning or error message and if necessary terminates processing.
    c. Switches – there are switches for setting specific controls for each transaction. for example, you can activate or deactivate the transfer of item numbers from the preceding document at the header level for sales documents..
    possible scenarios:
    1- sales document - sales doc' VTAA
    eg: inquiry - quotation
    inquiry - order
    quotation - order
    quantity contract - order
    2- sales doc - delivery doc - VTLA
    eg: sales order - deliver ( OR- LF)
    returns order - return delivery
    3- sales doc - billing doc - VTFA
    eg;Cash sales - cash sales billing
    credit memo req - credit memo
    4- delivery - billing - VTLF
    eg: standard del - invoice ( LF- F2)
    5-billing - sales VTAF
    eg: standard invoice - credit memo req
    Invoice - Invoice correction req
    6- Billing - Billing VTFF
    eg: Invoice - credit memo
    flow will be done , only if their copying requirement condition meets
    like header sold to party is same.
    it has data transfer routines DataT-in which it has routines by which system transfers what data has to be copied.
    Update document flow-- this has to be mark if we want the system record the previous document numbers in track.
    rewards if it helps
    siva

  • How to control Order/Target Quantity with reference to Contract Quantity

    Hello GURUs,
    In my current organization, there is one scenario in which i have to control target quantity in sales contract e.g., i have created sales contract of 100 MT (contract no : 123), and with reference to that contract i have created another contract for say 100 MT (contract no : 456), after that i have changed quantity (of contract no 456) to 150 from original quantity 100. In this case system allows to do so, which is not correct, and i want same to be control based original contract quantity.
    Is there any solution in standard system to control the same? If there is any then pleas let me know.
    Thanks,
    Pratik

    Hello,
    Let me clarify your requirement:
    You have created Contract no. 456 (100 MT) with reference to another Contract No. 123 (100 MT).
    Now you want that system should not allow to change quantity in Contract no. 456 & keep it as it is (100 MT) in Original Contract No. 123.
    Now, if the above requirment is from Sales Order created with reference to Contract then it can be easily don thru Item Category Controls.
    But as the second COntract (456) is entirely a new Contract with it own contral parameters (validity dates, etc) system will allow you to change Quantity & other feilds).
    You requirment is not standard & will have be achieved thru applying a User Exit. Speak to your ABAPer & he would do the needful .
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • Open Target Quantity and Open Target Value in Contract

    Hi,
    When we execute transaction 'ME3N', it displays the report which is having columns as 'Open Target Quantity' and 'Open Target Value'. I have the similar requirement to read this 'Open Target Quantity' and 'Open Target Value'  of contract.
    Is there any table which stores these values or is there any function module which gives the value of 'Open Target Quantity' and 'Open Target Value'.
    Thanks,
    Siddhi

    Hi,
    Thank you for the reply.
    I tried to find that way too. But I was not able to get the table / field for 'Open Target Quantity' or 'Open Target Value'.
    Now, I am looking for the logic to get the 'Open Target Quantity' and 'Open Target Value' in contract.
    Can anybody please help me with getting this logic?
    Thanks,
    Siddhi

  • Problem when changing the target quantity for a contract

    Hello,
    I have a problem when i try to change the target quantity for a contract through the BAPI 'BAPI_CONTRACT_CHANGE'.
    I filled the tables 'item' and 'itemx' with new values. the BAPI 'BAPI_CONTRACT_CHANGE' returns no error, but after using the BAPI 'BAPI_TRANSACTION_COMMIT' I get an info message from SAP and the modification does not pass.
    In debugger I could locate the error. In fact, the appeal of FM 'ME_UPDATE_DOCUMENT is done with a table XEKKN with the new values of the quantity and a KZ code equal to ' I ' to insert, then it must have the value ' U 'for update .
    Is someone can help me to solve this problem?
    Thank you in advance.

    Have you tried selecting the page, and then changing the theme directly on that page?

  • Contract and target quantity

    Hi all,
    I am raising a sales order against a customer who has a contract with the company.   I want the target quantity to be reduced each time a release order is raised.  Can somebody explain me the copy control settings of contract to sales order.  Also throw some light on the item category and schedule line.
    thanks in advance.

    Dear svgopal,
    In copy controls of contract to order (VTAA) in header level flag the complete reference .
    Wit this setting target quantity will be automatically reduced once you raise the sales order with reference to contract .
    Check and revert.
    Raghu.k

  • Not recalculate value "Release Quantity" in a Quantity Contract

    Hi all, did you get a solution for this issue? In a quantity contract, for an item we defined the target quantity = 72 and linked this item to 2 Service Entry Sheets, each one with entered quantity = 36, and then were released. After that, for one of this Service Entry Sheet  the release was reset and all items were deleted.  However, the value for the field "Release Quantity" in the contract doesnu2019t was recalculated. The value continue being = 72, and should be 36. Therefore, at the time to try to create another Service Entry Sheet appears the error "The entered quantity exceeds the target value in the contract".
    Thanks in advanced for you help.

    Can you check the result of report RMCONTK1 in test mode?
    Also check notes
    1237184  ME21N/ME31K/ML81N: Problems when referencing srv.
    614965   Inconsistent quantities for contract release orders
    Regards

  • QUANTITY CONTRACT WARNING CONFIGUARION

    Hi,
    I have a scenario here. I wanted to configure system so that in case of creation of order with reference to qnty contract, system should allow me to exceed the target quantity with warning message. This should not impact the copmpletion status of the contract item. Ie, once the target qnty is referenced, the contract item should appear as completed.
    An early response is solicited.
    Regards
    Ram

    In std SAP, Quantity contract behaviour is the same as you have posted.
    When you create release order (wrt: Contract) ,if referenced qtty exceeds the target qtty, system only displays warning message.
    As per quantity Contract item category configuration :MVN (item completion rule -C), contract document line item status will shown as "Complete" once full target quantity is referenced.

  • Help needed in showing Order Quantity in Quantity contract

    Dear, Gurus
    I know it is possible to show the Target Quantity and Order Quantity both in the Display view of my quantity contract. It is said that you have to click the update document Flow which I know I have done in copying control. But no matter how many release orders I make the only thing displaying in my contract is still the Target Quantity and I want the Order quantity to also show but it isn't. I am using Item cat Tan for my Release Order and Item Cat KMN for my Quantity Contract.
    i have copied OR to ZORS (Release Order)  and CQ to ZCQ.
    Copying Control
    Target is my Release Order Source is my quantity Contract
    copying Req is 301
    pos/neg quantity is +
    copy schedule line is checked
    copy quantity is A
    Pricing Type is G
    X=Update document Flow.
    Please help.

    Dear Mr. Jimmy,
    Thanks for the reply. I tried writing the query in the stored procedure but its not working.
    It would be grateful if someone can send me the query for this to put in the Transaction Notification.
    Regards,
    Bharath S

  • Release strategy for quantity contract

    Hi Gurus,
    In quantity contract ..  target value will not filled by the value(in header details) as it is quantityt contract.
    We may have different line items with different cost..
    my doubt is how the release strategy will be triggered for the quanityt contract and how the system will consider the whole value of the contract..
    please explain/clarify
    regards
    subbu

    Hi,
    The release strategy for the contract will work in the exact mechanism as for the PO i.e. it will be determined  based upon the total net value of the entire purchasing document.
    Cheers,
    HT

  • Quantity Contract + Free goods determiantion

    Hi All,
    We are currently working on a project where we create a
    Quantity contract and the sales order is created keeping the contract as the reference.
    The problem which we are facing is as follows
    1. The free goods are not getting determined when we create a sales order keeping the quantity contract as the reference.
    2.Free goods are getting created if we create a sales order without any reference.
    Can any one of you help me out with a solution for the same.
    Regards,
    Pandi

    Free goods determination with referance to contract
    1.     Create a normal material
    2.     Create a contract for the customer for the material with order type QC with proper
            Validity periods and enter a target quantity
    3     Create a pricing procedure for the contract which should  be same as the pricing
           Procedure which  you will use in
           Standard order which you will refer this contract
    4    Create free goods condition record for that customer and that material using condition
           Type NA00 with t code VBN1
                                                                                    5     T Code for contract creation is VA41
    6     Create a normal sales order and refer it to the contract created
    7     All records are copied in the sales order from the contract and the target quantity of
           the contract is copied in the order quantity of the line item
    8     Example if tgt qty is 50000 then it is automatically gets copied as 50000 in the order                                                                               
    Quantity of the line item
    9     Now change that fig to the no you want
    10   Suppose if you order 100 then 10 free is decided automatically if the condition
           Record is maintained for 10+1
    Hope this will help you
    Regards
    Raja

Maybe you are looking for