Copying Quantity from Contract to Order

Dear all,
I am having problems copying quantity from qtty contract to sales order. I am creating multiple sales orders against the same contract and would want only the open quantity (total contract qtty - qtty for which sales orders have been created)  to be copied into the order qtty. However, the original contract qtty is getting copied in all the sales orders. To clarify with an example:
Contract <-> wk1 <->Material 1 <-> Quanitty is 10
I created Sales Order 1 of OR type for Qtty - 3 in reference to the contract. The original qtty displayed was 10, I changed it to 3.
Now I go and create another sales order with reference to the same contract. The default quantity displayed in the sales order is 10 and the system is allowing me to go ahead with the delivery. I want the qtty to be displayed as 7 and system to stop delivery creation if the user tries to create an order for more than this qtty.
Please suggest a solution.

Hi,
this can be easily controlled through copy controls
go to t.code  VTAA click display to change icon
select QC to OR click on item category and select KMN
go to detail icon and copy qty field and select appropriate (like keep it blank) ur problem may be solved
  I think it comes when copying, some one might have changed it.
regards,
sadanandam kasarla

Similar Messages

  • Copying Qty from contract to order...facing problems...

    Hi,
    1. Im creating orders(O) wrt to Qty Contract(C).
    When I create C -> O1 & C-> O2. The cumulative qty of orders(O1, O2) exceeding that of C. But system is allowing it with just warning. I want to issue error so that users should not create orders(exceeding qty from same contract).
    I checked all settings of copy control from CQ ->OR, but nothing is working out!!! Pls help on how to do it?
    2. Same issue when creating contract from another contract (in another scenerio)
        C1 -> C2. Here also system is accepting when C2 qty exceeds C1 qty. Pls help.

    For this you have to take assistance of an ABAPer in your team.
    As per my knowledge, the message number for your case is V1 501.
    For changing the message status of the message.
    Message Status Change
    - Go to SE91, input V1 in Message Class and 501 in Number and execute
    - Block the said message and press CTRL + SHIFT + F3 form your keyboard
    - Select Programs and click on green tick
    - Place your mouse on white box of left side and again press CTRL + SHIFT + F3 form your keyboard
    - Do repeat the third and fourth points thrice
    - Double click on the Description
    - Finally, take the assistance of ABABer and check the code
    Or
    Kindly refer following SAP Notes:
    Note 122691 - Message when exceeding the release quantity
    Note 182782 - No messages when quantity changed
    Thanks & Regards
    JP

  • 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

  • Modification in copy control from Contract to Sales order

    Hello Gurus...
    We are using a standard copy control routine to copy header and item level data from Contract to Sales order.
    Now what happening is the price for some items is changing after creation of contract. But when the sales order is created it is copying old value from contract.
    I want to modify the routine in such a way that I can redetermine the price for the item.
    I can not change configuration as the same is used by multiple company codes and the change is required only for some company code.
    Any suggestions please?

    Hi there,
    You have do some customizing in the pricing type at the copy controls in item level.
    Define a copy control routine at the item level in VOFM. In the routine put a condition that the system should read the value in the pricing type. As per your requirement if the company code / sales org is 1000 / XXXX for eg, then the system should apply the pricing type that will carry out the new pricing at the order (I am not connected to SAP right now so not sure what that pricing type is). If the company code / sales org is apart from 1000 / XXXX, it should default the pricing type that is there in standard copy control VTAA.
    Check if that is possible with your ABAPer. What I feel is that you have to hard code the pricing type value (that will carry new pricing) in the new copy control routine.
    Regards,
    Sivanand

  • Text is not copying into Header Text Type from Contract to Order & Invoice

    Salute Masters!!
    I have done related configuration in VOTXN for Sales Document & Billing.
    After creation of Contract, given Text in New Header Text Type, itu2019s not copying into Sales Order or Invoice.
    Although, which was configured earlier one, for that Header Text Type, text is copying into Order & Invoice both properly.
    Firstly; I have given the same Access Sequence for the New Header Text Type, It was copying the same matter which was given into Old Header Text Type, then I have created new Access Sequence & assigned changed Access Sequence for the New Header Text Type, even then it is not copying.
    I have checked other Configuration those are OK!
    Assignment of Sales Document Type to Text Determination Procedure, it is OK!
    Please provide the solution.
    Thanks in advance.
    Warm Regards,
    Sanjai Srivastav

    Hi
    Hope the issue is resolved , if not please check these settings - VOTXN
    1. Create Text Type for your Sales order -S001 and Billing Invoice - B001
    2. Create Access Sequence - Z001.
    3. Include your Both Text Type in respective Procedures.
    Now
    WHen you will assign the Text into your Text Procedure - Assign same Access Sequence in both the case.
    In your Sales Order text procedure - Assign
    1. Assign Text Type S001  and Access Seq Z001
    2. Select the Access Seq on the left side in the VOTXN T-Code , a POP up will come and then input Your Access Seq into that
    3. You will get another screen, Here give the Seq No-1 and VBBK Header Text and Again Assign TEXT type S001.
    Now go to Invoice Text Procedure
    1. Assign Text Type B001 and Access Seq Z001 and SAVE.
    Once you will do that the step 2 and 3 will automatically get copy in the backend.
    To Check
    2. Select Access Seq on left side and in the Pop Up input access Seq. Now there you will see the system has copied the
    fields from the Order.
    Now try running the scenario. same you can do for Contract and Order.
    Hopefully this will Help you.
    please let me know if any concerns
    Thanks
    RB

  • Service product not copied automatically from contract

    hi
    i'm creating a notification referencing a contract item   and thereafter creating a service order from the notification.
    i'm finding that in some cases the material corresponding to the contract item is getting copied in the service product of service order, while in other cases it is not.
    i could not find any difference between the two materials.
    pl help is solving the issue

    A Project is automatically generated from a sales order, when material in line item have been allocated in CN08, This determines which WBS structure is to be used as the basis for project creation, which has also been linked to a STD network, Bcoz SD/PS assign is ON i the STD PRJECT DEFINATION control data.
    ON - A WBS leg is created for each sales order line item including similar Network.
    In OPSA only one root must not be ticked.
    Setting in Material Master.
    Delivery Plant in SALES ORG VIEW 1
    Item Category Group SALES ORG VIEW 2
    MRP type: NO MRP indicator ND
    Strategy group: 85
    Individual /coll reqmt: left blank /1 individual reqmt.
    MAETRIAL must be configurable.
    let me know if u need more help
    CHECK all this setting in your reqmt.
    ONE more thing, u will get the RESULT in CNS41.
    u will find Project from sales order like CNS41, DB profile- tick selection criteria as sales doc.
    value from sales doc will be planned revenue for corresponding WBS.
    Creation of project from sales order in SAP Project system is described as assembly processing.
    In the Project System only networks can be generated directly from a sales document during assembly processing. Indirectly the system can also generate work breakdown structures, when it creates the network.
    1.You start assembly processing by creating a sales document for a material. This sales
    document can be inquiry,quotation, sales order.
    2. The system then
    Configures the material, if necessary
    Creates a network using the standard network as a template
    Configures the network, if necessary
    Schedules the network backwards from the required delivery date
    Checks material availability
    Costs the network and transfers these costs to the sales document.
    3. When you save the sales document, the system saves the network together with the sales
    document. If applicable, it also generates a project definition and work breakdown structure.
    The project number is derived from the sales document number.
    Regards,
    ANSAR

  • Copy Control From Contract to Sales Order

    Dear All,
    I have created a Quantity Contract of 100 Target qty. I have created a Sales order with reference to the contract of 20 Order quantity and delivered 21 Delivered quantity. When I create another Order with reference to the Quantity Contract the quantity that is copied to the Order quantity is 80, which is wrong. It should copy the Contract Target - Delivered Qty which is 79. But it is copying Contract Target Quantity - Order Quantity.
    Please let me know how can we control this.
    Thanks and Best Regards
    Shehryar Zuberi

    Hi Shehryar,
    As per your theard you have created the Sales Order with referece to the Quantity Contract 20 Qty( Out of 100 Qty). you are telling that you deliveryed 21 qty.hope this could not be possible. the system is right because based on the sales order the delivery can done and the sales order is stating the qty as 20 and how could you delivery 21 if you are creating the delivery w.r.t. the Sales Order 20 Qty.
    When you create the second order with referece to the Quantity Contract it will give 80 only . Please check the scenario once.
    Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • Copy Header Condition from contract to order

    I have a question,
    In our scenario we have contracts that are neither value based nor qty based. They are mostly dummy contracts which hold some data in custom created views of the contract header. We have copy routines that fetch this data and transfer to the header of the sales orders.
    Question is:
    In Pricing, when a header level condition is created at the contract level for an item and when the item gets copied to the order what happens is:
    e.g  Item 10.      header condition: 5% VAT (500 Rs) &#61672; when it gets copied to SO &#61672; at the header level of the order it shows VAT (500 Rs).
    The percentage does not appear. Would you know why this occurs.
    Thanks!
    Natasha
    Message was edited by:
            Natasha

    Hi,
    FIRST OF ALL YOURS SUBJECT AND THE DETAILS ARE ENTIRELY DIFFERENT.
    coming back to yours query:
    In item level only you'll get the entire detail pertains to item conditions, check whether you have the condition type with header level? if yes then it will show the details in header level.
    Your e.g shows that you have item level condition not header level.
    Please check

  • Copying Conditions from contracts to follow up transaction

    Hi all,
    The scenario is I am maintaining some condition types in the price agreement tab of an individual contract at item level. I want to use these maintained condition types in the pricing procedure of the follow up document i.e. I want the pricing proc. of the follow up doc to read the condition records for the corresponding condition types that were maintained at the contract item level.
    In "copy control in business transactions" customizing I have maintained "copy price agreements" for both src and target transaction types and item categories respectively.
    Kindly help me out!
    Regards,
    Roy.

    Hello,
    You should maybe use the BADI 'CRM_COPY_BADI' to make your own copy control.
    Regards,
    Frédéric

  • Condition Type is not copying from contract to sales order

    Dear All,
    The value the i am giving in the sales contract is not copying into sales order. Sytem again asking to enter the value.Is there any setting to be done forthat.
    Regards,
    Suresh Yadav.

    Hi,
    If the *CONDITION VALUES* are *manually* entered then the values will not be copied from the *SOURCE TO TARGET* document
    Please check in the  Contract whether the vales derived from Condition records are entered manually.
    If you want the prices to be copied automatically then they have to maintained through CONDITION RECORDS in *VK11*.
    Please maintain the CONDITION RECORDS and check whether they have copied or not
    Please also cehck the COPY CONTROLS from CONTRACT to SALES ORDER in VTAA transaction -- at item--->pricing type. and set it a s  D
    Please check the above settings and let forum know the feedback.
    regards,
    santosh

  • Item number to be regenerated when copying from contract to sales order

    Hi,
    I am copying items from contract to sales order, say there are 10 items in contract. I copy all items leaving 5th & 7th item in contract. The numbers in sales order has to be in sequence (regenerated leaving the 5th & 7th line item) rather than it is copying the line item number as in the contract. Can any one kindly suggest me how to handle this in sales order.
    Thanks
    Ghanesh

    Hi,
    In VTAA
    QT to OR at header level
    REMOVE TICKMARK OF COPY ITEM NUMBER
    Then system will genrate new item numbers in targer document.
    Kapil

  • VKGRP should copy from contract to sales Order

    Hi Guru's
    I have a problem related with copy control from contract ot sales order. sales group should copy from contract to sales Order while Sales order reffers to customer Master. In contract sales group comes from Customer Master, after saving the contract if i change the sales Group and create sales order with reference to contract. sales group doesn't get updated from the contract. system refers customer master only.
    Any suggestions
    thanks,

    Hi,
    I see that you can address this in following ways.
    1. copy control between Sales order - Contract - header level routine.  Here you may be able to influence the copy of the customer group details.
    2. You can use the user exit which will trigger during Contract creation ( Move field to VBAK) or you can think of using save_prepare user exit.
    Thanks & Regards,
    CLN

  • Net weight of the material is not copying from contract to sales order

    net weight of the material is not copying from contract to sales order?
    plz help me

    Hi,
    If the *CONDITION VALUES* are *manually* entered then the values will not be copied from the *SOURCE TO TARGET* document
    Please check in the  Contract whether the vales derived from Condition records are entered manually.
    If you want the prices to be copied automatically then they have to maintained through CONDITION RECORDS in *VK11*.
    Please maintain the CONDITION RECORDS and check whether they have copied or not
    Please also cehck the COPY CONTROLS from CONTRACT to SALES ORDER in VTAA transaction -- at item--->pricing type. and set it a s  D
    Please check the above settings and let forum know the feedback.
    regards,
    santosh

  • Batch Number Not copied over from Production order to Confirmation

    Dear Experts,
    In the production order, I specify the batch # for the components.  But when I do the confirmation, the batch number for the components is not getting copied over. 
    Can anyone suggest what has to be done.
    Regards
    Tom

    Dario, I have not saved my confirmation.  But when I execute CO11N and go to "Goods Movement" tab, I expect the Batch to be copied from the production order for the components.  But the batch field is Blank.
    How do we make the batch field to be copied over from the production order.
    Thanks in advance.
    Regards
    Tom

  • Copy partners from PO to inbound delivery

    Hello,
    When creating an Inbound delivery with reference to a purchase order, is there any configuration that all partners to be copied over from the PO to the inbound delivery. Currently only the vendor is copies (VN). Is there any copy control in MM? Or the only solution is an user exit.
    Thanks in advance,

    Hi,
    Is there any specific Copy Control Routine or User Exit that copy Partners from a Purchase Order Header to Delivery Header?
    Please provide me the Routine Name/Number or User Exit Name.
    Thanks,
    RV

Maybe you are looking for