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.

Similar Messages

  • Adding item positions with reference to contract in sales order

    Hi all,
    I would be very grateful if some of you could help on this:
    I have a requirement to add lines with reference to a contract while the user is creating or modificating it via VA01 or VA02. The logic flow will be as follows:
    if the user enters a new item position with reference to a contract, and the qty entered exceeds the qty in the position selected of the contract, we have to skip the standard error message and try to spli the quantities in several positions with the same material in the contract.
    As an example:
    the contract 000000000001 has 5 lines:
    line     material       qty
    01       mat1           100
    02       mat1           50
    03       mat1           50
    04       mat2           n/a
    05       mat2           n/a
    if the user picks up the line 02 of the contract to create a new line in the sales order, and enters 180 as qty, the sap standard will raise an error, saying the qty has exceeded the contract qty. Ok, we have to skip that error (maybe could we set it as a warning??) and 'split' the qty as follows:
    in the sales orders, 3 lines will be created automatically
    line    material     qty
         mat1         100
         mat1         50
         mat1         30
    and of course, the released quantities in the contract must be updated: i.e the contract should be as follows:
    line     material       available qty
    01       mat1           0
    02       mat1           0
    03       mat1           20
    Any ideas? : )
    What i've done by the moment is to check is that 'split' is possible, in userexit_save_document. If not (e.g. if the user enters 220 for mat1 in the previous example), a custom error will appear. If it is possible, then the sales order will be created (only with the line the uswer entered) and I will trigger somehow a FM processed in background to modify the sales order.
    my question now is: how can i add lines to the created sales order, making reference to some contract lines?
    I've seen BAPI BAPI_SALESORDER_CREATEFROMDAT2 is used to create a document with reference, but can i use it to MODIFY an existing sales order?
    any help would be greatly appreciated.
    thanks a lot for your help.
    regards.

    Hello,
    there's a function module called 'BAPI_SALESORDER_CHANGE', which could change a sales order. The problem could be,that these BAPI's enque the salesorder. So if you start them in background via an userexit, you have to be sure that the salesorder is updated and dequeued by posting.
    An other way could be to use the exit 'userexit_check_vbap' in MV45AFZB. It's called after creating a new position or changing a position. All existing positions at that time in a internal table 'XVBAP', which you could change. (But be carefull, that you don't create an endless loop !).  
    The check about the contract quantity is in a form routine called 'vbep-wmeng_pruefen_folgebeleg(sapfv45e)'.
    Have a look into the form 'vbap_pruefen_ende' in FV45PFAP_VBAP_PRUEFEN_ENDE. There's the whole thing done including the call of the userexit.
    Regards Wolfgang

  • 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

  • Exchange Rate is copied from Contract to sales order

    Dear SD Guru,
    Good Day!
    I have an issue with the currency. The sales order picks up the exchange rate in the contract and it might not be correct.
    The contract was created a year ago and the sales order is still referring to the old exchange rate because the pricing date in the sales order is copied from contract.
    Is there any way to not copy the pricing date over to sales order and let the sales order picks up the currency table OB08?
    Thanks,
    CC

    Hi There,
    What i suggest is to create one routine at Item level in VOFM and maintain that routine in VTAA copy control at item level.
    In sales order the details are copying based on your copy control settings. Please also ensure is there any existing routine for determining the new values from sales order.
    Thanks,
    Raja

  • Copy PO Number from contract to sales order

    Hi,
    My clients requirement is that when i create sales order with reference to contract the PO Number should be copied from contract to sales order other wise we have to enter PO Number every time while creating the sales order.
    Please guide me.

    Hi
    Small change in the program will copy the PO number from Contract to sales order.In case need take help of ABAPer
    Data which is not copied
      LOCAL: VBKD-FKDAT.
      LOCAL: VBKD-FPLNR.
      LOCAL: VBKD-WKWAE.
      LOCAL: VBKD-WKKUR.
      LOCAL: VBKD-DELCO.
      LOCAL: VBKD-BSTKD.
      LOCAL: VBKD-ABSSC.
      LOCAL: VBKD-BSTDK.
    In your data declaration, you have
    LOCAL: VBKD-BSTDK
    Please comment out this line and your purchase order should be copied over. You might also have to comment out some of the other fields which are declared locally if you wish to copy them as well.
    Ramesh

  • 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 over currency from contract to sales order directly

    Hi!
    I would like to have the currency mentioned in the contract to copy over to the sales order when a sales order is created with reference to the contract. Currently thats not happening . Is theer a way by which i can use the copy control to get the currency copy over form the contract to the sales order directly when a SO is created with refernec to the contract.?
    Thanks

    Could anyone please give suggestions as to how have the header currency copied over from the contract to sales order when created with refernec to the contract?
    Thanks

  • Copy Billing plan from Contract to Sales Order

    Dear Expert,
                 We created the Contract with Billing plan related to specific "WBS "Element". Then, tried to create the sales order with reference to that Contract. But billing plan details maintained in contract is not getting copied to sales order. can anybody give your experience to solve this issue.
    Warm Regards,
    Nag

    Hello Nag,
    Did you check your copy control routines in transaction VTAA? You need to see if these fields are included in the routines maintained for copy control between your contract and sales order.
    I hope this helps.
    Best regards,
    Ian Kehoe

  • 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

  • Copy sales office from contract to sales order

    HI,
    How can i copy sales office from contract to sales order.is there any requirement in the standard process?
    Regards,
    Ramky

    Dear Ramky,
    I think, the requirement will get full-filled with Standard Settings, itself:
    Check with Copy-Control Settings (in T. Code: VTAA) b/w Sales Order--Contract.
    For the Combination (Contract-to-Sales Order), select "Item" from Left-hand Dialog-Structure, and afterwards, select "Item-Category".
    Now, on to next screen, maintain as following:
    Copying requirements 303
    DataT 151 General item data
    DataT 102 Bus.data/item compl.
    Best Regards,
    Amit

  • 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

  • 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

  • Creation of compliants with reference to r/3 sales order.

    dear friends
    Is it possible to create compliants in CRM with reference to r/3 sales order? if answer is yes please provide  the solution how to configure the same.
    regards
    naveen

    Hi Naveen
    I dont know why you want to create complaints with respect to the sales order.
    The usual process the companies follow is to create complaints wrt to the invoice number.
    But incase you wish to create complaints wrt to sales order, then you can use implementation of a BAdI CRM_COPY_BADI_EXT for the same in the CRM system which will allow you to create a complaint in CRM System wrt sales order in ECC.The path for the same in CRM system is IMG>CRM>Transactions> Settings for Complaints> Integration>Business Add-Ins for Document Referencing> Business Add-In: Create Complaints with Reference to External Document
    Secondly maintian the assignment between the Business Object type of referenced doc and Transaction type using path IMG>CRM>Transactions> Settings for Complaints> Integration>Business Add-Ins for Document Referencing> Assign Business Object Types to Transaction Types
    Now go to CRMD_ORDER and open the transaction type CRLP, you will get pop-up for creation of complaint where you can choose the transaction type and business object type and reference sales order number/ invoice number and create the complaint.
    Hope this will help
    Regards,
    Rekha Dadwal
    You gain a point for every point that you reward. So reward helpful answers generously

  • 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

  • Problem creating process order with ref of sale order

    Dear all,
    Kindly give solution for this scenerio..............................
    I am creating Process Order with ref of sale order manually in cor1. In the COR1 screen copy from field i gave my ref sale order, so that particualr order and batch is assigned to that order only.
    My problem was suppose if sale order is created for 10 tonns, but my batch size and resource capacity is 2 tonns only. so first time i change my batch quantity 2 tonns instead of 10 tonns and created my order and confirmed.
    if i go to second time the same process i am doing creating process order with ref of same sale order but it comes again 10 tonns instead of 8 tonns. why it comes like this already i confirmed 2 tonns in this sale order?
    my requirement is if any process order is created with ref of any sale order and again if i am creating any process order with ref of same sale order left quantity only system should show.
    for this what i have to do kindly help to this
    regards,
    s.sakthivel

    Dear KK,
    Pls check whether ZKIN, ZKQT, ZKOR have all the properties similar to IN, QT, OR respectively. If they are different, please ensure that you know the reason why they are different. This check has to be done at tcode VOV8
    Some fields like sales document category, Transaction group, screen seq group, Doc pricing procedure need to be similar to the parent document unless you know why you have changed them.
    Once this check is done, check the copy controls in VTAA. Before that try creating these documents separately without reference. This shoudl work fine only after which you need to check copy control. If this is not working fine, then there is some problem with the document type settings in VOV8. Testing this is possible only if Reference mandatory field is left empty. Make sure that is properly configured.
    Once this is done, check copy controls in VTAA. You can just copy the copycontrol between IN and QT and QT and OR and create for ZKIN to ZKQT and ZKQT to ZKOR.
    Once this is done, check whether your item category settings are properly done , also the schedule line settings. The tcodes are VOV7, VOV6, VOV4, VOV5 etc.
    Now check whether your material master and customer master are consistent with the item category settings(Item category group).
    Now create the transaction. It shoudl work fine.
    Reward if this helps.

Maybe you are looking for

  • Display image in jsp by retrieving it from DB2

    I insert image in to db2 table using the code given below PreparedStatement preparedStatement = connection.prepareStatement("INSERT INTO BOOKCOVERS VALUES(?,?)"); File imageFile = new File("c:\\redbookcover.jpg"); InputStream inputStream = new FileIn

  • Photoshop 7 running slow on Windows 8

    I have Photoshop version 7 running on a new Windows 8 system. I ran in previously on a Windows 7 system. I don't know all the system details, but i know there is plenty of RAM (16 gb), plenty of space, plenty of everything, and it is compatible, howe

  • Sub conttacting purchase order with Project link

    dear all, i have a confusion. when we create normal sub con PO, it works fine. but when i create  it w r t project link (account assignment Q & item catagory L) at the time of goods issue against purchase order it show error : no materials available

  • Running out of Memory,, opened at once 3 programs, mail, safari, finder

    Why my i7 Mac Pro with 16GB, 500GB HD is getting out of memory. Just purchased. No MS Office and Adobe installed yet

  • Search.conduit: none of the solutions I've found are working.

    search.conduit.com has been inserted into my search engines. This redirects me to a variety of sponsored search links anytime I a) attempt to search for something via the typical (google/yahoo etc.) address bar, search box, or search engine, b) anyti