What is a Copy Control?
Copy Control functionality controls what data is copied from the source document to the subsequent document. For example, you can define a new sales order type and use the newly created sales order type for a new delivery order. For this purpose, you can specify a new copy control for data flow between these two sales documents. If you don’t maintain the copy control from a source document type to a target document type and try to create the target document copying from the source, the system will prompt you with an error.
There are 3 levels to execute a copy control.
- Data Transfer Routines
- Copying Requirements
Data Transfer Routines:
Data Transfer Routines copies the data from the Source document to the Target document, but before copying, it checks whether the Copying requirements are met or not. If the Copying requirement is not met then data will not be copied, rather system may give you error, warning messages and sometime it may terminate the processing.
Identifies a copying routine which checks that certain requirements are met when one document is copied into another.
Few examples of copying requirements are given below:
Copying requirement "001" at Header level checks that Sold-to-party and Sales area must be same in both source and target document otherwise data will not be copied.
Copying requirement "301" at Item level, checks the completion and rejection status of the item. If the item has been rejected or completed status then system will not copy the item to the target document.
Copying requirement "501" at Schedule line level checks that open quantity must be greater than zero otherwise it will not copy.
This is used for specific control. For example you want to copy item number or not.
You can use copy control for below source and target document as below:
- Sales document type from a sales document type
- Sales document type from a billing document type
- Delivery type from a sales document type
- Billing document type from a sales document type
- Billing document type from a delivery type
- Billing document type from a billing document type
The configuration can be accessed through the following path :
SPRO -> Sap Reference IMG ->Sales and distribution -> Sales -> Maintain copy controls for sales documents. Then choose the copy control. Let us choose sales document to sales document as an example.
Specify the target sales document and source sales document.
The copy requirement can be defined for each level as follows :
Header Level :
Copy requirement at this level checks whether the customer and sales area in the source document and target document are same.
Checking the copy item number checkbox, copies the item number to the target sales document type (OR) as if it is in the source sales document type (IN).
Checking the complete reference checkbox copies the entire source document data (IN) to the target document (OR).
The copy requirement at this level checks whether the item that is used as a copy has a reason for rejection or status completed.
- Positive/negative quantity:
This indicator is used to determine how the quantity in the source document is affected. i.e., whether the quantity has a negative effect or positive effect or no effect at all.
For example: Quotation to sales order : Positive
Sales order to sales order : No effect
Contract to return : Negative
- Copy Quantity:
Defines the quantity that is copied to the target document. If this is 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 you were copying from a quotation to an order, and if you were creating a credit memo, it would copy the billed quantity.
- Pricing type:
Specifies how the system treats pricing data when copying documents.
The following pricing types are available at the time of billing.
A: Copy pricing elements and update according to scale. The system
- does not determine any new condition types
- redetermines the scale prices for changed delivery quantities
B: Carry out completely new pricing. The system
- carries out a completely new pricing (manually entered pricing elements are not copied from the reference document)
- redetermines the taxes
C: Copy manual pricing elements and carry out a new pricing. The system
- carries out a new pricing
- copies the manually entered pricing elements
- redetermines the taxes
- Update document flow :
Specifies whether the system creates document flow records when you create a sales document item with reference or an item in a subsequent document.
Document flow records contain information about the quantities and values that have been copied from the source document to target document.
Schedule Line category :
Copying requirement at this level for instance can check whether only a schedule line with an open quantity greater than zero is copied.
Transaction codes for copy controls in SD
The T.Code for Copy Control between sales order and delivery is VTLA (Delivery with reference to an order)
The T.Code for Control between sales order and billing document is VTFA (Order related billing scenario)
The T.Code for Control between delivery and billing document is VTFL (Delivery related billing scenario)
The T.Code for Copy Control between sales order and Sales order is VTAA.It is used in the case of creating returns order/credit memo request/debit memo request.
The T.Code for Control between billing document and billing document is VTFF.It is used in the case of cancelling an invoice.
Configuring copy controls for delivery item categories:
IMG -> Logistics Execution -> Shipping -> Copying control -> Specify copy control for deliveries.
The following screen appears.
It consists of only two levels, Header level and item level.
Header Level :
Identifies a routine that checks that certain requirements are met before you can combine a number of sales orders into one delivery. You can require, for example, that the sales orders you want to combine must have the same sales organization, the same billing type, and the same partial delivery agreement.
Data Transfer :
Header Data :
According to this routine you specify, the system checks that certain sales document header fields in the source document meet the right conditions. If they do so, the system copies them into the target document.
Item Level :
The data which you need to enter will be same as like in the sales document.
The configuration path for configuring copy control for billing document is given below:
The following screen appears.
Choose one and proceed further. If the data needs to be copied from sales order to billing or from billing to billing or from delivery to billing, you can use this path also to configure.
Thus the basic configuration of copy controls and its purpose is explained.