Sub topic 4
Reading the document flow in the SAP GUI
This chapter assumes you can open a document in display mode (VA03, VL03N, VF03, ME23N) and that you know what a header and an item are. It covers how to open the document flow, how to read each column, and how to avoid common mistakes when you read it.
What the document flow screen shows
The document flow screen shows the chain of documents that SAP has linked to the one you started from. It is a display of stored reference links. It does not recalculate anything, and it can only show links that exist.
Open a sales order in VA03 and choose Environment > Display Document Flow. A tree appears with the document you started from and its predecessors and successors. A typical result for a fully processed order looks like this:
- Standard order 4711
- Outbound delivery 80001234
- Goods issue (a material document, for example 4900001122)
- Invoice 90000123
- Accounting document 100000456
The same screen is available from the delivery (VL03N) and the billing document (VF03). Wherever you start, you see the same chain, because every link is stored once and read in both directions.
Reading the columns
The tree has several columns. The labels vary slightly by release and by the layout you choose, but the content is consistent.
| Column | What it tells you |
|---|---|
| Document | The document category text and number, such as "Delivery 80001234" |
| Status | How far the document has progressed, for example "Being processed" or "Completed" |
| Quantity and unit | The quantity this document covers, as a base for comparing against the predecessor |
| Reference value | The value of the document, used mainly for billing documents |
| Document date | The date the document was created or posted |
Read the tree from top to bottom, and read the indentation as "was created from". A delivery indented under an order was created with that order as its reference. The category text tells you what kind of link you are looking at. It is derived from the document category, which the next chapters on VBFA cover in detail.
Item level versus header level
The document flow depends on where the cursor is when you open it. In a sales order, if you open it from the header, you get the flow for the whole document. If you select one item on the item overview first, you get the flow for that item only.
This matters when an order has several items that are processed differently. Item 10 may be fully delivered and invoiced, while item 20 is only partly delivered. The header view shows both branches mixed together, which is correct but harder to read. The item view isolates one branch.
Steps to trace a chain
- Start in display mode on the document you know, for example the sales order in VA03.
- Select the item you care about, or leave the selection empty for the whole document.
- Choose Environment > Display Document Flow.
- Read the tree from the top. Note each document's status and quantity.
- To jump to a document, select its row and choose Display Document. SAP opens it in the transaction that belongs to its category.
- For an accounting document, the jump opens the FI display (FB03), where you can inspect line items and check whether it has been cleared.
Use the jump rather than copying numbers into new transactions. The jump guarantees you are reading the document the link points to, and it avoids typing mistakes in long numbers.
Where the flow crosses modules
The document flow tree is one display, but the links behind it come from different modules. The table below shows what you see and who owns it.
| Row in the tree | Module that creates it |
|---|---|
| Sales order, delivery, invoice | SD |
| Goods issue (material document) | MM, posted from the delivery |
| Accounting document | FI, created by billing release to accounting |
The tree makes these look like one continuous chain. Behind the scenes, the SD-to-SD links are stored in the sales document flow, while the accounting link is stored as a reference on the accounting document. A later chapter explains how this works. For now, treat the tree as a unified view.
Reading purchasing documents
Purchasing does not use the same screen. In ME23N, open the purchase order and select an item. In the item detail area, the Purchase Order History tab lists the goods receipts and invoice receipts that refer to the item. Each row shows the transaction or event type, the material or invoice document number, the posting date, the quantity, and the amount.
The key differences from a sales flow are:
- The history is always per item. There is no header-level history.
- It shows only what happened to that PO item (receipts, invoices, credits). It does not show the vendor's earlier requisition or the later payment.
- Goods receipts and invoice receipts are separate groups of rows. Totals of quantity and value are shown below the list.
The PO history and its table are the subject of a later chapter, so use the tab here as a reading tool only.
Common errors when reading the flow
Reading an empty tree as "nothing happened"
If the flow shows only the document you started from, there are no stored links. That can mean the document is new. It can also mean a follow-on document was created without a reference, for example an invoice entered manually in FI. Do not conclude that no follow-on documents exist. Check the other direction, for example the billing documents for the customer, or the accounting entries for the reference text.
Mixing up the status with the quantity
A delivery with status "Completed" means the delivery's own processing is done. It does not mean that the order is fully delivered. Compare the quantities in the tree against the order quantity. A completed delivery for 6 of 10 pieces still leaves 4 pieces open.
Assuming the tree includes payment
The document flow shows the accounting document that billing created. It does not normally show the incoming payment or the clearing document. To check payment, jump to the accounting document and look at its clearing information in FB03. The chain to payment posting is covered in the order-to-cash chapter.
Looking at the wrong item
When an order has many items, the item-level tree can look incomplete because you selected an item that has not yet been delivered. Go back and check which item row was selected before you open the flow.
Quick checks that make the flow reliable
- Confirm that the starting document is the one you meant, by checking the customer or vendor name and the date.
- Compare quantities along the chain, not only statuses.
- Open the accounting document and check that the reference field points back to the billing document.
- Check partial branches by repeating the flow at item level.
Exercise
A sales order has two items. The document flow opened from the header shows one delivery and one invoice. You want to know whether item 20 was delivered. What should you do, and why?
Show answer
Select item 20 on the item overview and open the document flow again with Environment > Display Document Flow. The header view mixes the branches of all items, so a delivery shown there may belong only to item 10. The item-level view shows only the documents linked to item 20. If it shows no delivery, item 20 has not been delivered.
Exercise
You open the document flow of a billing document. The tree shows the invoice and an accounting document, but no payment. Does this mean the customer has not paid? How do you find out?
Show answer
No. The document flow does not normally show payments or clearing documents. To find out, jump to the accounting document with Display Document, which opens FB03, and check whether the customer line item is cleared and which clearing document it refers to.