Sub topic 1
Documents in SAP: Headers, Items, and Numbers
Prerequisites
Assume you know basic SAP GUI navigation, the SD, MM, and FI modules, and the difference between a document header and an item. You should also recognize a document number and be able to open a document in display mode.
Documents have headers and items
An SAP business document records one business event. Examples include a sales order, delivery, purchase order, material document, billing document, or accounting document.
The header contains data that applies to the whole document. Examples include the document number, creation date, customer or vendor, company code, currency, and organizational data.
An item contains data for one product, service, or account assignment. Examples include material, quantity, plant, storage location, price, and delivery date. One header can contain many items.
| Level | Typical data |
|---|---|
| Header | Document number, date, partner, company code |
| Item | Material, quantity, plant, value |
A document number identifies one document within its number range. Some numbers are assigned automatically by SAP. Others can be entered by a user, depending on configuration. The number alone does not always identify the document globally. You may also need the document type, company code, fiscal year, or item number.
What document flow means
Document flow is the network of reference links between related documents. When SAP creates a follow-on document, it records which earlier document and item provided the source.
For example, a sales order can lead to a delivery, then a billing document, and then an accounting document. The links let users answer questions such as:
- Which delivery fulfilled this order item?
- Which invoice was created from the delivery?
- Why has an order item not yet been billed?
Categories and types label documents
A document category identifies the broad role of a document in processing. A document type is a configuration key that controls more specific behavior, such as number ranges, allowed transactions, and copy rules.
Do not treat a type code as a universal meaning. The meaning depends on the application and configuration. Always check the document description and the relevant module.
Reading flow in the SAP GUI
Open a document in its display transaction, such as VA03 for a sales order. Choose Environment > Document Flow, or use the document-flow button when available. SAP displays preceding and subsequent documents, often with status and quantity information.
Select a row and open it to inspect the related document. If a link is missing, check whether the item was processed, whether a later document exists, and whether the user has authorization to display it.
Exercise
What is the difference between a document header and an item?
Show answer
The header contains data for the whole document; an item contains data for one product, service, or account assignment.