
If the source of a document flow is the contract item, the flow is very long as it includes all subsequent items and has to be read completely for each processing step, particularly when each subsequent document is saved. This does not, of course, help to improve performance. The same also applies to sales documents with a large number of subsequent documents, such as a frequently-used quotation.
As of Release 4.5A you are able to improve the performance of the system in this regard by changing your settings in Customizing for copying control. To do this, go to Sales and Distribution --> Sales --> Maintain copying control for sales documents --> Copying Control: Sales Documents to Sales Documents, and set indicator '2' in the Update document flow field.
Setting indicator '2' has the effect that the system does not create
document flow records from the source document item for its preceding
or source document items, if the subsequent document is a delivery, goods issue or billing document.
Example:
Source document: customer contract, target document: sales order
The sales order creates a document flow record for the customer
contract. The delivery, goods issue and billing documents for the sales
order only create document flow records for the order itself, not for
the contract. For example, the document flow does not refer to the
contract delivery directly but in two steps: Delivery -> Sales order -> Contract.
Indicator '2' is very useful for improving performance particularly for contracts with several releases, if the source document is a contract and the target document is a release order. The document flow for the contract item is reduced by 25% in contrast to when you use indicator 'X'.
The functions in the SAP standard system are not affected when you change the indicator from 'X' to '2' and it has no affect on determining the status of documents and the document flow display.
If you change the indicator from 'X' to '2' in a system that is already running (for example, for contract release orders), you can also use program SDVBFA21 to delete the now redundant document flow records for deliveries, goods issue and billing documents, which the system created earlier (for example, from previous contract release orers).