Copy Control for Sales Document to Sales Document

Hi Gurus Good Morning to Every body,
here my quesry is I have two sales order types.
ZST1 and ZST2.
first i created a sales order in sales document type ZST1, system has generated a no.
now here i am creating a sales order(ZST2) with reference to above sales document no.which has generated in above step.
then i save this document.
here my question is when i am taking with reference of the same sale document no second time which has created in ZST1
system is automatically copying but here i want to generate a warning message or error message.
but system is not doing like that.
system is copying full quantity with out generating a message.
dear guru's please give the need full help.
with regards,
Edited by: SDGURU on Oct 12, 2009 11:38 AM

Hi,
This can be done at the ITEM CATEGORY level
Goto the transaction code VOV7 and choose your item category and maintain the COMPLETION RULE with B, then once the Source document was fully referenced then next time when you  want to create the sales order with reference to the order referenced already, system will throw error.
Try this,
Hope it will serve your purpose.
thanks,
santosh

Similar Messages

  • Copy control for inbound delivery

    Hi All,
    I need some help for copy control for inbound delivery. Can any one let me know where is the customization for this?
    Is it t.code VTLA.
    Path in IMG:Logistics Exectuion-->Shipping>copy control--
    >specify copy control for delivery
    But I am not sure if the above is the correct customization path.
    The reason....
    for target document type EL(Inbound delivery) the source document type is DL (order type schduling agreement). Ideally for inbound delivery the source document type should be purchase order. But I can't find the purchase order document types in F4 option.
    All documents which are showing are sales order.
    Awiting your reply.
    Regards,
    Sushanta

    Specify Copy Control for Deliveries
    In this menu option, you define control data for the document flow of deliveries.
    You can specify for a particular delivery type, which document type is to be assigned to copied reference documents, and which item categories are to be copied.
    You must also make specifications for copying requirements and data transfer, as well as quantity and value updates in document flow. This must be done for each copying procedure at header and item level on a detail screen.
    Note
    If you define new sales document types, item categories or schedule line categories by copying existing ones, the SAP system automatically copies all specifications for the document flow. You may want to check the copy controls for newly created sales document types, item categories or schedule line categories.
    Actions
    1. Check the document flow defined in the standard SAP R/3 System.
    2. Define to what extent you have to modify its specifications to meet your requirements.
    3. Define the document flow for deliveries with reference to sales document types.
    Note
    Make sure to maintain copy control for the following areas:
    Sales documents
    Deliveries
    Billing documents
    If you cannot find an entry, check the copy controls in other chapters.
    Complete overview of copy control:
    In the chapter on sales, you can find copy controls for:
    Sales documment by sales document
    Billing document by sales document
    In the chapter on deliveries, you can find copy controls for:
    Sales document by delivery
    In the chapter on billing, you can find copy controls for:
    Sales document by billing document
    Delivery by billing document
    Billing document by billing document

  • Copy control for sale office in delivery

    Hi,
    In our delivery note the field sale office is blank... we need that this field will be filled by copy control or user exit from document sale (order sale)... always the deliveries are for the same sales office.
    Any clues for achiving this?
    Best Regards
    Juan

    Hi
    As mentioned in the above answer, please follow the following steps.
    1. Got VOFM - > Data Transfer -> Deliveries.
    2. Copy Routine 1 to 601.
    3. Go in the code of routine 601 and add the following line.
    MOVE CVBAK-VKBUR TO LIKP-VKBUR.
    4. Activate the routine.
    5. Go to copy control for deliveries Tcode - VTLA.
    6. Select the necessary combination of order type and delivery type.
    7. change the assignment of routine for header data to 601 and save.
    you shud be abe to achieve the desired result.
    Regards
    Yatin

  • Pricing type in copy control for billing documents

    Hi Experts,
    In copy control for billing documents, there is a pricing type M - copy pricing elements, turn value?
    What is the effect of this pricing type?
    thanks

    Pricing type 'M' is used in copying control - billing document to sales document and in particular for sales document type 'RK' - Invoice correct request.
    Pricing type 'M' is used as 2nd pricing type to correct the field VBRP-WAVWR with +/- sign.
    So in short, for pricing type M, no prices are re-determined, but values are corrected with +/- sign.

  • Copy control for opportunity to Sales order not working

    Guys,
    I am working on CRM 2007. I set up the copy control for transaction types so that I can convert my Custom Opportunity type to a Sales order.
    However when I am in my Opportunity and click on Follow of transactions, my order type is not availabel in the selection list.
    I was able to set it up for Lead to Opportunity but opportunity to Sales order is not working.
    Any help on this?
    Ani

    HI Anirudh,
    I have a similar requirement such as Copying line item from Complaints to Returns application.
    Procedure:
    1. Firstly i create an complaint
    2. create a follow up document as Returns
    3. I enter an product in the complaints and when i click on Copy to returns the line item has to be copied.
    Here is the requirement. The line item is copied, but here the problem is, .... The line item doesn't get copied unless and until the instance of the target is retrived.
    Could u please help me on this ?

  • Copy Control for Sales Order

    If you want to copy one particular pricing type (say "H") to a limited number of sales order (say 10). How would you do it without letting it take effect on all the other sales orders ?
    Let me rephrase the question.
    In the copy control settings, there is a pricing type that you can define for Sales Document to Sales Document at the Item Category Level.
    Originally it would be at "A".
    So now you want to change the pricing type for 10 sales orders previously created without affecting any other. How would you do that?
    Thanks

    Hi Noel,
    You can control through copy control settings for the future documents not for the already created document.
    And you also mentioned that the specific pricing type only for ten orders that you can do it manually,you put the pricing type what you want in the copy control settings then create 10 sales orders then change that pricing type to standard one then it will continue the stanadrd process
    I hope it will help you
    Rwegards,
    Murali.

  • Copy Control for F2-RE

    Dear friends:
    For Sales Returns, we would like to make a copy control from Billing document to Return Order (F2-RE)
    In standard copy control for billing document - sales document, (F2-RE), item category REN is not available.  Only TAN is available.  How in the normal sales returns, the copy control is set?
    With regards,
    Seshappan Viji

    Dear Sheshappan,
    Use trnasaction code VTFA and select tgt document F2 and source doc as RE and go to Item Ctgry. select TAN and copy and maintain Intem ctgry REN.
    I think this will solve your problem.
    get back to me if eny error.
    regards,
    Srikanthraj

  • Copy controls for Consignment

    Hi ,
    I  have been working on all the  consignment types,i have tried to copy the standard document types i.e. cf,ci,cp,cr to zcf,zci,zcp,zcr but what happens is i am able to process the order by in delivery i get an error saying that tables have not been copied ,i went to "maintain copy controls for sales document" and checked if all the tables have been copied or not in the item and schedule line  ,and i found out that it was not , so i am trying to create a new copy control for zcf ,zcp....etc ,i have checked my cp ,ci they are all blank so if any body could send me some details across for the same or suggest any other alternatives it would be great so that i could key in the details in the respective category
    Thank you,
    sneha

    Hi,
    If you are getting the Table name in which the Entry is missing, Goto -> SM31, Enter the Table name -> Select Customizing -> Continue without Specifying Project.
    System will take you to the desired node in which the entry needs to be maintained.
    Please check with this and confirm.
    Reward Points if it Helps !!!!!
    Harsh

  • Copy control for invoice list cancellation

    Hi Friends,
    I wish to maintain the copy control for invoice list cancellation, as the case study as follows
    My client maintain invoice list, but due to certain reasons ,one of the invoice from invoice list has to cancel , the error I am getting as "Sales document F2 cannot be invoiced with billing type LRS."
    Also , explain as to what fields  need to maintain in copy control for the same.
    Kindly help me at the earlist
    Thanks in advance
    Shailesh

    Hi
    As far as I know, invoice cancellation or invoice list cancellation is not done by copy control. or...that is the one and the only document in SD which can be created without copy control.
    I think it is only sufficient if you include the cancellation document type in the invoice list type in the configuration of Billing document types.
    I think that alone should solve your problem.
    Reward if this helps you.

  • Copy Control for EEWB fields not working

    Hi Experts,
    I have added one custom field to CRMD_ORDERAM_H using EEWB, now i want this field to be copied from Quotation to Sales order. I have tried with the following options:
    1. Created new implementation Ztest for the Badi CRM_COPY_BADI with new filter value.
    2. Assigned the implementataion in Copy control for transaction types.
    3. Badi is getting triggered, but I am not able to copy the value to the sales order.
    I have written the following code in ORDERADM_H method:
    METHOD if_ex_crm_copy_badi~orderadm_h.
    constants
      INCLUDE crm_object_kinds_con.
      INCLUDE crm_object_names_con.
      INCLUDE crm_appointment_types_con.
    local data
      DATA:
        ls_orderadm_h_com    TYPE crmt_orderadm_h_com,
        lv_allowed           TYPE crmt_boolean,
        lv_ref_kind          TYPE crmt_object_kind,
        ls_input_field_names TYPE crmt_input_field_names,
        lt_input_field_names TYPE crmt_input_field_names_tab.
    IF cs_orderadm_h is not INITIAL.
        lv_ref_kind = gc_object_ref_kind-orderadm_h.
        CALL FUNCTION 'CRM_ORDERADM_H_OBJ_ALLOWED_OW'
          EXPORTING
            iv_ref_guid            = cs_orderadm_h-guid
            iv_objectname          = gc_object_name-orderadm_h
          IMPORTING
            ev_allowed             = lv_allowed
          EXCEPTIONS
            admin_header_not_found = 1
            OTHERS                 = 2.
        IF sy-subrc <> 0 OR lv_allowed <> 'X'.
    nothing to do
          RETURN.
        ENDIF.
        CLEAR ls_input_field_names.
        CLEAR lt_input_field_names[].
        ls_input_field_names-fieldname = 'ZZDEP2PVNDPGM'.
        INSERT ls_input_field_names INTO TABLE lt_input_field_names.
    ls_orderadm_h_com-guid = cs_orderadm_h-guid.
    ls_orderadm_h_com-ZZDEP2PVNDPGM = is_ref_orderadm_h-ZZDEP2PVNDPGM.
        CALL FUNCTION 'CRM_ORDERADM_H_MAINTAIN_OW'
          EXPORTING
            is_orderadm_h_com             = ls_orderadm_h_com
       IV_EXTERNAL_CALL              = FALSE
    IMPORTING
       EV_GUID                       = cs_orderadm_h-guid
          CHANGING
            ct_input_field_names       = lt_input_field_names
       CT_DOC_LINKS                  =
       CT_DOC_FLOW_FIELD_NAMES       =
    EXCEPTIONS
       HEADER_CREATE_ERROR           = 1
       HEADER_CHANGE_ERROR           = 2
       PARAMETER_ERROR               = 3
       PROCESS_TYPE_ERROR            = 4
       DELETION_NOT_ALLOWED          = 5
       NO_AUTHORITY                  = 6
       OTHERS                        = 7
        IF sy-subrc <> 0.
           MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.
    ENDMETHOD.
    able to get the values to ls_orderadm_h_com  and lt_input_field_names, but the value is not getting copied.
    Any idea on this?
    Thanks in advance.
    Regards,
    S Reddy

    Hi Reddy,
    You don't need to call functions like 'CRM_ORDERADM_H_MAINTAIN_OW' to update that attributes.
    All you have to do is to fill changing structure CS_ORDERADM_H that belongs to your target document, with the values you desire (the value for ZZDEP2PVNDPGM field for example). Then fill changing structure CT_INPUT_FIELD_NAMES with the field names that you want to update ('ZZDEP2PVNDPGM' for example).
    Kind regards,
    Garcia

  • Copy Control for Transaction Types

    Hi,
    Was wondering if someone could help on following topic. We need to specify the possibility of copy control (follow-up) for certain transaction types in CRM 6.0. I've specified the source TT (ZAPP) and the target TT (ZCON) in customizing activity : Define Copying Control for Transaction Types.
    ZAPP = Custom Appointment Activity
    ZCON = Custom Opportunity
    Now, when I want to create a follow-up for ZAPP in the WebUI (via dropdown 'More' and action 'Follow-Up'), I always get an extensive list of transaction types (about 30) rather than only the opportunity that I originally specified. Any ideas?
    Thank you,
    Sebastiaan.

    Hi Kai,
    Many thanks for your answer. Indeed, the COPY_DOCUMENT is a very good alternative as it also directs the flow for follow-up. However, I have a question in regards to using this method. I can see that there are parameters that need to be provided (like PROCESS_TYPE etc) but apart from that is it also possible to change fields in the copied document.
    e.g. Currently the description of the copied document gathers the description of the action definition, but how can you pass the description of the previous document for instance? Is this also done via the actual parameters?
    Thank you,
    Sebastiaan.

  • Copy Control For Individual Purchase Order

    Hi, experts,
    can you explain to me concretly how to customize the copy control for individual purchase order? We have of course the item category TAB (billing relevance: delivery-related billing) and Sales Order (delivery related billing type: F2). How will the copy control customized with tranc.VTFL? Please give me hints at both header level and item level. I appreciate your help.
    Best regards,
    Fan.
    Edited by: Fan Mou on Jul 22, 2009 11:49 AM

    Hi Fan Hou,
    The individual Purchase order scenario is as:
    Sales order  >Purchase Requisition>Purchase order-->Good receipt --> Delivery and PGI --> Billing(wrt Delivery)
    The  creation of purchase requisition and thereby purchase order is controlled by the schedule line(in std CB). The goods are received with ref. to PO.
    As far as copy control is concern it will be as
    1)OR-->LF and item category will be TAB
    2)LF-->F2 at header level .( can refer the std, )
    at item level it will have item category TAB.and will be as
    Copying requirements  004
    Data BARK/BURP  001
    Billing quantity  B(Delivery quantity less invoiced quantity)
    Pos./meg. quantity +
    Pricing type G
    For further reading /reference you can go through the:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/70/a7853478616434e10000009b38f83b/frameset.htm
    Hope this will help you.
    Revert us in case of any issue.
    Regards,
    Atul

  • Mapping Copy Control for Business Partners in 7.1

    Hi everybody,
    while in 7.0 IMG activity "Define Mapping Rules for Copy Control" in "Copy Control for Change Management" offers 3 options (partners, texts and dates) it offers only texts and dates in 7.1. Can anyone tell me where I can define any kind of mapping to copy a partner for one document to it's successor in 7.1?
    Thanks in advance!
    Cheers,
    Andy

    Hi Andy,
    sorry to say but Daniels way doesn't work. In 7.1 ChaRM and Incident the transaction type copy has changed in a way that we invoke the CRM standard Copy Control and have a BadI there only for specific things.
    Partner copy runs via CRM standard partner copy. That means:
    1.) You have assigned an access sequence in each partner Determination (area Partner Functions in Procedure) for the partner function: 
    2.) You have customized an access sequence is defined here:
    So, please just customize the partner copy as you would in CRM standard.,
    Best regards,
    Michael

  • Copy control for conditions

    Hi Guys,
    i am having one requirement.
    My client is using one condition from so long time,  they defined so many condition records for that condition type.
    Now the case is,  if i am using the other condition type with the resemblence of that condition type(exactly same with key combination) in another pricing procedure(because of some constraints we are not using  same condition type).  I want all condition records to be copied of that old condition type to this new condition type.
    So, in this process i came to know, there is a configuration for copy control of condition.  Plz share some config points in this regards.
    Regards,
    Rajesh.

    Hi Raj In,
            Jacqueline's solution is good for your requirement. The field RefConType is on Master data Box. Bear in mind, if you'll use this solution you should continue loading condition records for the old condition not by the new. If you don't want that, so you need to define condition copy rule for those condition in:
    Sales and distribution --> Basic Functions --> Pricing --> Copy control for conditions
    Then, to make the copy of the condition records use trx VK32.
    Thanks in advance,
    Mariano.

  • Copy control for J1IIN.

    Hi Gurus,
    How the data is copied form billing document to J1IIN?
    Is there any copy control for this?

    hi,
    Its done thru tax procedure, TaxINJ/TAX INN. you have maintained condition types jeccs, jecx in billing. that same data is copied ahead to accounting.
    regards
    swapnil

  • Follow-up transaction copy control for opportunities

    Our CRM system is currently configured to permit follow-up opportunity creation.  When follow-up transactions are created all product categories are copied to the new opportunity.  We would like to stop this.  All header and business partner data should be copied as present, however product information should not be copied.  (i.e. follow-up transactions currently work, we only want to switch off product data copying)
    I am not familiar with follow-up transaction customization, and not sure exactly where to start.  Should I be modifying the current BAdI or is there a standard customizing option to switch off copying of product categories?

    Hi Derek,
    Just try this:-
    Go to SPRO->IMG->CRM->Transactions->Basic Settings->Copying Control for Business Transactions->Define Copying Control for Transaction Types.
    Search for entry Source=oppt and target=oppt.In this entry, uncheck the check box-Copy Item Number and see if it resolves your issue or not?
    Thanks and Regards,
    Rohit

Maybe you are looking for

  • Java bytecode operation 'invokevirtual' does not keep consistency

    I have following codes. public class Parent { @Override public int hashCode() { return 0; public class Child extends Parent { public void test() { this.toString(); this.hashCode(); As you see in the above codes, Child inherits toString() from Object

  • Uploading Error in KM Content Management

    hello i have created a folder in Content Management -- Explorer in documents inside documents i have created my know folder now when i try to upload some documents from my HDD it gives me the following error "Books.txt" does not exist, or file is emp

  • What is JDK? Where we use JDK?

    What is JDK? Where we use the JDK? IS it JAVA related?

  • Lightroom saying files too big

    When importing a folder under LIBRARY I get a message telling me "The following files were not imported. The files are too big" Anyone know what the size limit is or why I would get this error. The files are 7 of 50 all the same size. Peter

  • My iPhone 4s stolen paid extra for insurance

    My iPhone stolen, there is a police report, called at&t and line suspended not one offer or even a suggestion to use a replacement, operator didn't give any info on how to replace or what steps are needed to get a new phone, paid for warranty and ins