Copy control in contracts

Good afternoon!
I´m having problems regarding copy control between contracts and release orders.
Here´s an example:
Contract 40000019 has an item for 100 pcs.
I input a order which is referenced by this contract, and the system proposes a quantity of 100 pieces. The quantity is changed to 50 pcs manually and is delivered afterwards.
When I input a second order, the system proposes again 100 pieces.
First question: Is there anyway to make the system propose only the un-delivered quantity? i.e. the remaining 50 pieces?
Second question: how do I make the system not to copy rejected items?
Thanks in advance,
Adriano Cardoso

Hi ,
In standard system settings once we take the reference it will copy either whole quantity or nil quantity.We can make the quantity field as empty by making changes in copy controls.If you want to make the balance quantity for delivery ,then need to adda  piece of code for your copying requirement for field VBAP.KWMENG and check the quantity already delivered by going in to VBFA table then pick all the subsequent documents for the contract.
It is also important to check the field update document flow tab in copying controls to restrict the quantity.
Hope it helps.
Regards,
Pasapula.

Similar Messages

  • 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

  • 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

  • Item Category Completion rule and Copy Control for contract reference

    Hi
    We are creating sales document wrt contract. The item category completion rule for item category WVN is C i.e. item is completed after target quantity is fully referenced.
    We dont want to change this but we want that even if the target quantity is fully referenced one particular type of sales document should still be allowed to be created with reference to this contract.
    Please guide how can I achieve this.
    Thank You
    Brajendra Shrivastava

    Hi
    Is it possible to remove the item category completion rule and then restrict one particular document type or item category for only one time reference . In other words to apply completion rule at document type or tiem category level.

  • Copy controls from quotation to contract

    Hi,
    My client want to create contract w.r.t quatation.
    I maintained the copy controls for the same but target quantity is not getting updated in contract w.r.t qutation
    2)while creating contract without reference order quntity is not getting updated.
    Pls suggest what i may missed
    Thanks in advance

    Hello Dear
    This is NOT standard SAP process flow.
    But make sure u have copy control at HEADER and ITEM CATEGORY level.
    And as your qty is not getting copied that means some thing is wrong with Routines( copy control and data transfer).
    Thanks,
    Dilip Sadh

  • Contract creation - copy control contract to contract

    Hi guys,
    I need to create a contract order in reference to another contract order. But in the copy control, I saved Header-diff.customer in order to put another Sold-to party when I create the second contract document.
    Then, I want to use the button "Create with reference" with VA41 Tcode. Put in Contract :
    Contract number
    Releasing partner : a different sold to party in comparison to the contract in reference.
    But when I finally visualized the contract SAP is going to create, the sold to party is still the old one from the referenced contract.
    I can do this when I create a sales order with reference to a contract, but I can't do it from a contract to create another contract ...
    Do you think there is mean to do it please ?
    Thanks a lot
    Alex

    Hello Santosh,
    And thanks for your answer.
    It's possible to create a sales order with reference to a contract with different sold-to-party. I made it.
    The thing is, I want to do the same from a contract to another contract by using the element "releasing partner" when you click on the button "create reference to".
    Do you see that ?
    Thanks
    Alex

  • Copy control Settings from a Quotaion to Value contract/Quantity Contract

    Hello Friends,
    I would like to know whether it is possible to create a Value/Quantity contract in R3 with reference to a Quotation,Currently I am not able to see the copy control settings between quotation and Value/Quantity ,Also it help me a lot if you can provide me the copy control settings -Header and Item level
    Thanks and Regards
    Mohammed Roshan

    if you run VTAA you would try to create a copy control as follows:
    source: QT (quotation)
    target: CQ (quantity contract)
    say, take the existing record QT->AA (just an example) highlight it and hit 'Copy As'. Type 'CQ' in Target SalesDocTyp field.
    hit Enter. Hit 'copy all'. (if you get a message regarding the "-" or "+" quantityt set this field blank (empty)
    save it and test.
    good luck!

  • Copy controls in reference with contract to sales order

    hi,
    sap gurus,
    good monring to all,
    what are the copy control settings for
    contract - sales order
    can any explain the controls.
    regards,
    balaji.t
    09990019711.

    Hi
    Balaji
            Please go to SPRO -
    S&D -- SALES - SALES DOCUMENT ---SALES DOCUMENT HEADER - -- DEFINE SALES DOCUMENT TYPE select yr order type and diplay the same then go to General Control there reference mandatory field is there. If you assign G then contract is mandatory for your SD doc. type. Please take F4 help and check the different ref. mandatory field. ( T code VOV8 )
    Hope this will help u.
    If u get help pl reward.

  • Possibility of creation of Master Contract through Copy controls not direct

    Hi,
    Our requirement is to create a Quantity Contract from opportunity through copy controls. At the same time the system should not allow to create a Quantity contract directly through the transaction code crmd_order.
    Is there any way to block the creation directly but allow to create by copy controls.
    Thanks in advance,
    Venki

    hi
    what i understood from your requirement is that you do not want to create contract directly,but u desired that its always get created in follow up to the opportunity
    then as i told you earlier too,have you did that in customisation of your transaction type
    like selecting the option blocked for online mentainance
    that way the contract transaction wont be able to get created directly using CRMD_ORDER
    but as you wanna create in follow up to the opportunity
    so you can select contract as short cut in opportunity transaction type
    this way u get ur issue solved
    we use BAdi when standard isnt enough to solve the probs,if above customisation doesn solve ur probs then use this BAdi CRM_ORDERADM_H_BADI.
    best regards
    ashish

  • Master Contract configuration in Copying Control

    Could u please give me a detailed process on defining the Master contact and what all the settings in the copy control - with their Usage (Like 303 is used for Header-Same Customer). However we can use Copy to Header-Different customer as well.
    So whats the basis purpose of these routines in the copy control and do we have any way in SAP to find the exact meaningof these standard routines

    Hi,
    Master Contract:
    The master contract is a document under which you can group contracts as lower level contracts. It contains the general terms which apply for all the lower level contracts over a specified period.
    Use
    You group contracts as lower level contracts under a master contract to ensure that
    The terms in the master contract are granted in all the lower level contracts
    The data in all lower level contracts remains consistent
    You can group the following documents under a master contract:
    Quantity contracts
    Value contracts
    Service contracts
    The link between the master and lower level contracts is controlled by the referencing procedure which is assigned to the master contract type in Customizing. The referencing procedure determines which data is copied from the master contract into the lower level contracts
    Structure
    A master contract contains header data only. In the master contract, you can record:
    Business data
    Partner data
    Contract data
    Billing plan data
    On the overview screen of the master contract, there is a list of all the lower level contracts which refer to it. You can branch from this list into the individual contracts.
    Master Contract: The master contract is a document under which you can group contracts as lower level contracts. It contains the general terms which apply for all the lower level contracts over a specified period.
    Check these links on Master Contract
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/55fd0d545a11d1a7020000e829fd11/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/55fd34545a11d1a7020000e829fd11/content.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/55fd27545a11d1a7020000e829fd11/content.htm
    ME3 transactions that display lists of contracts
    Linking a Contract to a Master Contract
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/55fd34545a11d1a7020000e829fd11/content.htm
    Regards
    Goutham

  • Copy Control within Sales Order (Contract)

    Hi Guys,
    I have a requirement to stop the copy of the Exchange rate from the Header Level of the Contract to the Line Level of the Contract. Its under under billing on both Header and Line level. Contract is created via VA41.
    I have tried VTAA, however I cannot find exactly where I can make this change, is this the right area, if so would you be kind enough to pin point the area?
    Thanks for your help!
    Cheers.
    Emal

    Hi,
    Please use following use exit to do so
    As I believe you are not using with reference of other contract to create contracts, the copy control is used when you create the new docuement with refernce with other docuement.
    V45W0001 Function module exit for copying sales header data into items for contracts.
    This enhancement contains the user exit: EXIT_SAPLV45W_001
    Activities:----
    1. Create your enhancement, using a project (CMOD). You can either use an existing one or create a new one.
    2. Activate the project.
    The ABAP coding will only run once the project has been activated. Until then the enhancements will not take effect.
    regards
    Vivek.

  • Copy Control - Address Details from Quantity Contract to Purchase Order

    Dear Experts,
    When I create a Purchase order w.r.t a Quantity Contract, in some cases the address details (such as street address, phone #, e-mail etc.) are copied from Quantity contract and in other cases they are copied from the vendor master. I compared the vendor masters and quantity contracts in both the scenarios and cannot figure why this is so.
    The way I create a PO is to use the selection variant option in ME21N to pull in the Quantity contract and then 'Adopt' the details.
    Is there a address copy control functionality somewhere at the vendor master level that governs this behavior?
    Examples:
    1) Vendor A has telephone 888-888-8888 on vendor master data and QC 5000001 has 999-999-9999 as telephone for the same vendor in the quantity contract. When I use this QC, 999-999-9999 copies over to PO and this is desired/correct
    2) Vendor B has telephone 888-888-8888 on vendor master data and QC 5000002 has 999-999-9999 as telephone for the same vendor in the quantity contract. When I use this QC, 888-888-8888 copies over to PO and this is not desired/incorrect
    Any insight would be helpful
    Thank You
    Siva
    Edited by: Sonshine on Feb 23, 2012 3:53 PM

    Hi Arminda,
    The note refers to the Plant/shipment Delivery address and I am having trouble with the communication address (supplier address, email, fax, telephone etc.) of the vendor.
    Any other inputs?
    Thanks
    Siva

  • Repricing the SAP contract generated from follow up doc in copy control

    Hi,
    I am facing issue with the conditions copy at item categories level at the time of follow up document in copy control.
    The challenge is like this:
    There is an option for the conditions copy for line item level upon which the corresponding pricing is generated.
    D -- Copy all Conditions
    C -- Copy manual conditions
    The issue here is at config level they will maintain only Copy manual conditions depending upon whether it is a follow-up / Copy it should change the behavior as Copy all Conditions.
    I tried to do this with crmv_event(After with reference::50) though but the problem is its triggering after the pricing got generated.
    Welcome you ideas to resolve the issue.
    Thanks & Regards,
    Madhu J

    Hello Ravikanth
    With status management it's not possible to prevent the creation of follow-up documents in CRM.
    You have to use the badi CRM_COPY_BADI. Here the exception DO_NOT_COPY must be raised. But it's not possible to gray out the path of the follow-up transactions e.g. for 'varian quote'.
    I hope this could be helpful.
    Best regards,
    Maggie

  • Plant and Storage Location determination at Item level during Copy control

    Hello Freinds,
    We are experiencing issues within Sales Order creation when the line item is referencing a contract. The plant and storage location is being determined from the contract - this should not be done, we have an enhancement in place for sales order plant/storage location determination which is how these values should be determined.
    Kindly suggest, if it can be achieved through configuration setting at Copy control level, to avoid the Plant and Storage location determination from Contract in to Sales Order.
    Thanks,
    Anup Bansal

    Hello
    You can mention the additional logic of redetermining Plant and storage location whenever copied from contract.
    In a sale order, i think you are maintaining a enhancement in prog MV45AFZB & user exit userexit_source_determination.
    YOu can maintain the coding at same place.
    thank you
    Anirudh

  • Copy Control : Sales document to Sales document

    Dear Experts,
    We have a requirement relating to copy control between sales document to sales document i.e Creating a contract with reference to an already existing data.
    Please consider the following example:
    Contract A
    Valid from: 01-01-2010
    Valid to: 31-12-2010
    Material Code: X1
    Material Pricing Group: Y1
    To enable the users to create a contract with reference to this existing one i set up the copy control between the document types:
    Source document type: ZM05
    Target document type: ZM05
    In VA41 transaction i chose "Create with Reference" and chose the contract tab and entered Contract "A" number.
    In the overview screen the system populates the valid from date as : 01.01.2011 - At item level validity dates is copied same as of contract A.
    Second observation is certain material specific data such as material pricing group does not get copied. Client wants such details also to get copied over into the new contract.
    Could you please provide your valuable inputs on where we can make the settings to copy the data exactly as it was maintained in the existing contract ?
    Thank you
    Regards
    Siddharth Sridhar

    Hi,
    Go to tcode: VTAA and set the the pricing type as 'G' Copy pricing elements unchanged and redetermine taxes and you can try again.
    If you still dont understand, you can send message to me and I will show you some printscreen as I cant show you the print screen here.
    Thanks.

Maybe you are looking for