SAP SD – Document Flow

Document Flow

Related Trainings
SAP Training

SAP Access

SAP SD Training

 

Introduction

Each document is either created on its own or created with reference to another document. For example, a sales order can be created with reference to the quotation, whereas the quotation itself can be created on its own. The following diagram illustrates all the possible document flows in SAP.

Transaction Codes Tip: The transaction codes can for the respective document flow configuration transactions can be easily identified by visualizing the picture below. If ‘A’ stands for Sales documents , ‘L’ stands for Deliveries and ‘F’ stands for Billing documents, then the transaction for configuring the Sales document to the delivery document is VTLA. So it is VTXY with X as the target document and Y as the source document.

Let’s see some examples of different types of document flow using examples of standard commonly used sales scenarios.

Sales-to-Sales Document Flow : For example you can create a Sales Order from a Contract or a Quotation.

Sales-to-Delivery Document Flow : For example you can create a standard or a rush delivery from an order. Similarly you can create a consignment delivery from a consignment.

Delivery-to-Billing Document Flow : A standard invoice is created with reference to a delivery.

Billing-to-Billing Document Flow : Invoice cancellations are typically done with respect to the original invoice.

Billing-to-Sales Document Flow : In case of debit memo requests or credit memo requests, the original invoice is used as a reference document.

Without going further, let’s dig a little deeper into the concept of “Reference”. Whenever we mean a document is referencing another document, this means that information is copied over from the previous document into the subsequent document. What is the need for information to be copied over..? There are many reasons for this. For example, this reduces burden on the person entering the subsequent document. Also, this ensures that information is accurately copied over without mistakes.

Let’s take an example. A customer has called us and asked for a quotation. Our sales force has responded with a quotation.

Quote Creation

The quotation could contain a bunch of data like who the customer is, his/her internal number with us, date of the quotation, date valid until, prices, discounts, surcharges, taxes, materials, quantity etc.

Quote Data

The customer then places an order referring to the prices in the quote.

Create Order with reference to the quote

During the process of creating the order referring to the quotation a bunch of date needs to be copied. Example data could include prices, customer data, materials and quantity, discounts given etc. In order to do these efficiently copy control routines are used. Copy control configuration is also part of the document flow.

Copy data from quotation to order

Configuration:

Let’s look at the configuration for a Quotation to a sales order. The rest of the configuration ( Order to delivery , delivery to billing etc ) are very similar.

Menu Path is SPRO -> IMG -> Sales and Distribution -> Sales -> Maintain Copy Control for Sales Documents

Copy Controls Menu Path

Double click on Sales to Sales copy controls.

Select Sales to Sales

Select the row corresponding to QT ( Quotation ) as the source document and OR ( Standard Order ) as the target document.

QT to OR

You will be presented with a screen that contains a bunch of numbers. These are either data transfer routines or copy requirements.

Data Transfer Routines

Data Transfer Routines : These routines are pieces of code that are either standard or custom written where the logic to transfer the data from the previous to the subsequent documents is placed. For example, Data transfer routine 101 is used to transfer Business Data of the document header from the source to the target document.

Copying Requirements : Copying requirements is again a piece of code that evaluates whether the copy of the data should happen or not. If the conditions in the code re not met, then the document flow is stopped. An example is checking for the same customer – Meaning the order should be placed for the same customer as the quotation has been created for.

Copy Item Number : This copies the line item numbers in the source document to the target document. So, line number 20 in the quotation will exactly be line number 20 in the sales document

DEMO

Let’s create a quotation and create an order with respect to the quotation to see how this works.

Step 1 : Creation Quotation for customer 1400 and with material M-01

Create Quotation

Step 2 : Create a sales order referring this quotation No. 20000035. Enter the transaction [VA01] and click on the “Create with Reference” to enter the quotation with reference to which we wish to create the sales order.

Create with Reference

Step 3 : Enter the Quotation Number in Quotation field of the pop-up. As you can see from the pop-up screen, you can create orders with reference to an inquiry, contract, scheduling agreement, a billing document etc.

Enter the quotation number

Step 4 : After creating the quotation, if you want to track back and see with respect to which document the current order has been created, click on the document flow button.

Document Flow Button

Step 5 : The document flow will be displayed. If deliveries were created with respect to the order, they will also be shown.

Display Document Flow

5 Responses to “SAP SD – Document Flow”

  1. Mathews Mammen March 28, 2012 at 12:57 pm #

    Hello Siva,

    Could you please let me know, what exactly the difference betweek the document flow & the reports likes Standard & Flexible Reports

  2. Guru January 16, 2012 at 11:57 pm #

    Sales order 13581 is created with reference to quatation 20000056

  3. Turnpike November 28, 2011 at 5:10 pm #

    Hello,

    Could you please let me know the possible “Status” values? I’ve only got the “open” and “completed” status… Are there any more possible ones?

    Tks in advance
    Turnpike

    • siva November 29, 2011 at 9:44 am #

      If you are talking about status values, there are many of them. Try searching on JEST and JCDS table. The entire list of possible values is available in table TJ02

  4. Ehsan July 9, 2011 at 3:02 am #

    Hi Siva,

    My question is ; I suppose you configure this only once when you start a new company or a new project.Is this very possible that an another prior consultant has already copy control configuration between sales documents, delivery documents and billing documents?

Leave a Reply