100% found this document useful (1 vote)
10 views

Copy controls

Copy Controls in SAP SD are programs that facilitate the copying of data between documents, using predefined routines. They can be configured for various document types, including Sales Documents, Deliveries, and Invoices, with specific transaction codes for each scenario. The document outlines the structure, functionality, and requirements for implementing Copy Controls, including the importance of copying requirements and data transfer routines.

Uploaded by

stalinkbc2847
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
100% found this document useful (1 vote)
10 views

Copy controls

Copy Controls in SAP SD are programs that facilitate the copying of data between documents, using predefined routines. They can be configured for various document types, including Sales Documents, Deliveries, and Invoices, with specific transaction codes for each scenario. The document outlines the structure, functionality, and requirements for implementing Copy Controls, including the importance of copying requirements and data transfer routines.

Uploaded by

stalinkbc2847
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 12
COPY CONTROLS IN SAP SD Copy Controls are short programs that are used when copying from one document to another. They consist of programs known as routines that inform the system how the data is to be copied from the source document to the target document. The standard system already contains a number of these routines. However, it is possible to generate additional routines to fulfil business requirements not reached within the standard delivered system. Copy Controls comes into picture when we are creating a document with reference to another document. Copy controls will help to copy the data from source document to target document. We can configure or work with copy controls in 5 ways. T.Code:VTAA __T. Code: VILA T.Code : VIFL T.Code:VIFA___T. Code: VTAF IN-OT OR- LF Lp-F2 OR-F2 F2-RE QT-OR cs-BV LF -F8 OR-F5 F2-RK Qc - oR RE-LR Lo-F2 cs- BV F2-CR WK1-OR Cl-LF Lo-F8 RE-RE RE- SDF RO-LF Let cR-G2 ‘As seen above copy controls will be configured for the Sales Document to Sales Document (SD - $D), Sales Document to Deliveries (SD - Del), Deliveries to Invoice (Del - Inv), Sales Document to Invoice (SD - INV) and Invoice to Sales Document (Inv - SD), How to remember T. Codes? We already know the T. Codes of Sales Document (VAO1), Deliveries (VLO1N) and Invoice (VFO1). For the Copy controls we will divide T. Code in to two parts. From the Table we can see the T. Codes, Copy Control T. Cades will start with the "VT", So it's common. for all the 5 scenarios as shown in the table. The second part will be depending on Target Document and Source Document. For instance say our Source and Target Documents both are Sales document, then the T. Code will be “VT-AA". For Sales Document T. Code is VAO1 So, here for Copy Controls T. Code "VT" is common for all, and the remaining part of the T. Code is based on the 2nd character of the Target Document and Source Document. SD-SD (VA01- VA01), T. Code is "VT-AA" ‘SD - Inv (VA01 - VFO1), T. Code is "VT-FA" ‘SD - Del (VA01 - VLOIN), T. Code is "VT- Inv - SD (VO1 - VAO1), T. Code is "VT-AF Del - Inv (VLO1N - VO1), T. Code is "VT-FL’ By Srinivasulu Algaskhanpet (Sr. SAP SD Consultant) Page 1 COPY CONTROLS IN SAP SD T. Code Structure: T. Code will be VT -LA aoa Document (VA01) ‘Target Document (VLO1N) Now we will gt into the detalls of the copy control functionality 1 Sales Document to Sales Document (SD - SD): T.Code : VTAA Here we check with Quotation (Source Document) and Order (Target Document). ‘Sales Information oR Standard Order B50 BEV Credit Memo Req oR Standard Order EEN BEV Credit Mama Race From the above screenshot we can see that Target Document is placed first and Source next. And if we observe the Dialog Structure we can see Header, Item and Schedule Line Each level we have some functionality to copy Header, Item and Schedule line details in to the Target Document. ‘Now we will discuss about the field functionalities in Header. Select the OT - OR and double click to get into details Sagar as a “ai eee al eee eal Seendard Order Decoictin Guat aiar Deifplnerad Reeder deta] copprgreciroments Gt] Header Sane tomer Copy tem number atar [10i|Business Data Header] — C)ccmpleteroferenco bata [00s|Pacener nesser | By Srinivasulu Algaskhanpet (Sr. SAP SD Consultant) Page 2 COPY CONTROLS IN SAP SD Header Controls: Y Copying Requirements: Copy Requirements is a condition which system checks every time when we create document with reference to the another document. If the requirement fulfills then only system will allow to create a document with reference to anather document. If the requirement doesn’ fulfil then system will not allow us to create a document with reference to the another document. T. Code to create new requirement is "VOFI Standard Copying requirement is "001". "001" checks that following parameters while copying * Is the reference document is complete. © Isthe reference document is fully referred. © Isthe Currency same in source and reference document. Validity period of the reference document. * Is the Customer is same in source and reference document. * Is the Sales area is same in source and reference document. If any of the above condition fails we cannot create a document with the reference. Note: If the requirement is such a way that while creating Sales order with reference to Quotation, system should allow us to change the customer number in the sales order. This requirement is quite possible in Business. If we want to achieve this we can change the Copying Requirement from “001 to 002". It is possible with standard routine itself If say customer requirement is not possible with the SAP given requirement then we can go for creating new requirement using T. code "VFM", Y Data Transfer Routines (DataT): Data Transfer Routines will help us to copy the data from the Source Document to Target Document. Y Copy Item Number: If this field is checked system will copy line item number as it is from the source document to target document. If the field is unchecked then system will re-determine the line item number in the Target Document. Y Complete Reference: If this field is checked system will not allow us to select or deselect the items in Target Documents. If we uncheck this field then system will allow to delete the line item in the Target Document. ‘Above are the fields which controls the copy of the data from sales document to sales document "Header". ‘Next we will see the field controls which helps in copying the item data By Srinivasulu Algaskhanpet (Sr. SAP SD Consultant) Page 3 COPY CONTROLS IN SAP SD Item Controls: Select the source and target sales document and double click on Item, Tat | SdebocTipe sous [Sabactns oR Standard Order SI Siles Information oR Standard Order cBBo BEY Credit Memo Rea Target Salesdoctyp [OR |Btandard Order =| From SalesDoc Type __[@T Quotation + Cischedule tne (Atom Ttmet Descriotion GC VaiantConfiguration \cIM__Free af Charge Item Double click on the item category "AGN" Tage SdocTyp ff, Skate: Twos [oF] rencet epost [| ttemestegay it] ae ‘Standerditem | | cooyna eaueements [561] atar (Isi|General iten data] Pos,neg. quantity [Fl \Capy sched es coor aunty ia ‘batar {i02|Bus.date/iten compl.) Pricing type fy DataT [002/Factner iten | (e|Update document flow Cont, item copy made |) ‘Dhoo not cooy batch copy product soect, |] roux [isileoaeion Tleantgaston Diroespiode stature goods Copano. 1 By Srinivasulu Algaskhanpet (Sr. SAP SD Consultant) Page 4 COPY CONTROLS IN SAP SD Y Copying Requirement: The routine/requirement checks that certain requirements are met when one document is copied into another. The standard item requirement "301" checks that the completed items and rejectec should not be copied into target documents. Y Copy Schedule Lines: If we check this field then system will copy the delivery dates and confirmed quantities as it is from source document to target document. IF we un-check this system will re perform delivery scheduling in the target document. Y Update Document Flow: This field will have relationship with "Positive/negative quantity” field in copy control This field is also related to the "Completion Rule" field in the item category If we maintain update document flow then the line item data will be updated in "VBFA" table. The result of this is the status of the line item will be updated. And system always copy open quantity into the target quantity. If we don't maintain update document flow field then the line item data will not be updated in “VBFA" table. The result is, the status of line item will not be updated. And system will copy the total quantity into the target document every time we refer the document. ¥ Re-explode structure/Free Goods: If we check this system will re-explode the BOM or Free goods into the target document. If we uncheck, system will copy the BOM/Free goods as its from the source document to target document. Y Positive/Negative Quantity: This field will have relation with "Update document flow” in copy controls and "Completion rule” in item category. "Positive effect": Whenever we create a document with reference to another document, the referred quantity will be deducted from the open quantity of the source document and system always determines open quantity into the target document. “Negative effect”: |. We use negative effect in QC > RE. If we maintain negative effect, while creating return order with reference to contract, system will add the return order quantity to the open quantity of quantity contract. Il. While creating return order, system will determine the complete quantity into target. Y Copy Quantity: This field controls how the quantity should be determined into the target document, If we leave this blank, the system tries to copy the best possible quantity depending on the situation. For example, the system would copy the open quotation quantity if we are copying from a quotation to an order, and if we are creating a credit memo, it would copy the billed quantity. ‘When choosing any other values, the system always uses the quantity related to that value Pricing Type: This fleld controls how pricing should be copied from source document to target document. ‘A- Copy pricing elements and update according to scales. By Srinivasulu Algaskhanpet (Sr. SAP SD Consultant) Page 5

You might also like