Thousands of documents are posted in SAP every day. How we can know from module that document is coming or generated.
The easiest way to analyze it with the help of document type.
So, coming to the question now what is Document type in SAP?
Document type is a key that is used to classify accounting documents and distinguish between business transactions to be posted. The document type is entered in the document header and applies to the whole document.
Uses of Document types:
The document type has the following functions:
Differentiating between business transactions. The document type tells us immediately what sort of business transaction is involved. This is useful, for example, when displaying line items for an account.
Controlling the posting to account types (vendor, customer, or G/L accounts). The document type determines which account types that particular document can be posted to.
Assigning document numbers. A number range is assigned to every document type from which the number of the document in the SAP system is selected. The original documents from one number range should be stored together. In this way, the document type controls document storage.