Document Type & Number Range Tcode in SAP FICO

โšก Smart Summary

Document types and number ranges in SAP FICO classify every accounting document and assign its unique identifier, controlling allowed account types, reversal behavior, and whether numbers are generated internally by the system or entered externally by users.

  • ๐Ÿ—‚๏ธ Document Type: A two-character key, such as DR or SA, classifies each document and controls allowed account types.
  • ๐Ÿ”ข Number Range: The number range assigns each document its unique identifier within a defined start and end interval.
  • ๐ŸŒ Scope Difference: Document types are client-level, while number ranges are company-code specific and maintained in FBN1.
  • ๐Ÿ”€ Internal vs External: Internal ranges are numbered automatically by the system; external ranges are entered manually by users.
  • โœ… Customizing Request: Saving new document types and ranges requires a customizing request to transport the change.
  • ๐Ÿค– AI Assistance: SAP Joule helps recommend document types, explain settings, and answer configuration questions in natural language.

Define Document Type and Number Range in SAP FICO

What is a Document Type in SAP FICO?

A document type is a two-character key that classifies every accounting document in SAP, such as SA for G/L documents, DR for customer invoices, or KR for vendor invoices. It controls which account types may be posted, the number range used, and the reversal document type.

Document types are defined at client level, so all company codes share the same set. This keeps document classification consistent across the entire organization.

What is a Number Range in SAP?

A number range defines the interval of numbers SAP assigns to documents of a given type, for example 1900000000 to 1999999999. Each document type is linked to a number range key, and the range itself is maintained per company code with transaction FBN1.

Number ranges come in two forms:

Number Range How the number is assigned
Internal The system assigns the next sequential number automatically (numeric only).
External The user or an external system enters the number manually (can be alphanumeric).

Steps to Define a Document Type in SAP

The following steps show how to create a new document type using the SPRO customizing path.

Step 1) Enter Transaction Code SPRO in the SAP Command Field.

Define Document Type and Number Range in SAP FICO

Step 2) In the next screen, select ‘SAP Reference IMG’.

Define Document Type and Number Range in SAP FICO

Step 3) In the next screen, “Display IMG”, follow the menu path: Financial Accounting -> General Ledger Accounting -> Business Transactions -> G/L Account Posting -> Carry out and Check Document Settings -> Define Document Types.

Define Document Type and Number Range in SAP FICO

Step 4) In the next screen, press the ‘New Entries’ button from the Application Toolbar.

Define Document Type and Number Range in SAP FICO

For maintaining a new document type:

Step 5) In the next screen, enter the following:

  1. Enter a unique Document Type Key.
  2. Enter the Document Type description.
  3. Select a number range for the Document Type.
  4. In the Account Type Allowed section, select the account type you would like to post.
  5. Enter the appropriate selection in the Control Data section.

Define Document Type and Number Range in SAP FICO

Step 6) Press the ‘Save’ button.

Define Document Type and Number Range in SAP FICO

Step 7) In the next screen, enter the Customizing request number to create the new G/L document type.

Define Document Type and Number Range in SAP FICO

Steps to Define a Number Range in SAP

After the document type is saved, define the number range that supplies its document numbers.

Step 8) Press the ‘Number Range Information’ button in the properties section.

Define Document Type and Number Range in SAP FICO

Step 9) In the next screen:

  1. Enter the Company Code for which you want to maintain the number range.
  2. Press the ‘Change Interval’ button.

Define Document Type and Number Range in SAP FICO

Step 10) In the next screen, press the ‘Insert Interval’ button.

Define Document Type and Number Range in SAP FICO

Step 11) In the next screen:

  1. Enter a unique number range key.
  2. Enter the fiscal year for which the range is defined.
  3. Enter the Start Number and End Number of the range without overlapping other number ranges.
  4. Mark it as External if you want to insert the document number manually during document creation.
  5. Press the ‘Insert’ button.

Define Document Type and Number Range in SAP FICO

Step 12) In the next screen, the new number range is listed.

Define Document Type and Number Range in SAP FICO

Standard Account Types and Document Types in SAP

Account Types in SAP

Account Type Description
A Asset
D Customer
K Vendors
M Material
S General Ledger Accounts

Standard Document Types in SAP

Document Type Description
AA Asset posting
AB Accounting doc
AE Accounting doc
AF Dep. postings
AN Net asset posting
C1 Closing GR/IR accts
CI Customer invoice
CP Customer payment
DA Customer
DB Cust.recurring entry
DE Customer invoice
DG Customer credit memo
DR Customer invoice
DZ Customer payment

FAQs

No. Document types are defined at client level in table T003, so every company code can use them. Document number ranges, however, are company-code specific and are maintained per company code with transaction FBN1.

SAP makes automatic reverse entries only for document types with internal numbering. Because external numbers are entered manually, you must define a separate reverse document type with internal number assignment so reversals can be numbered automatically.

They can be. When you define an interval you enter a fiscal year, so a range may be year-dependent and reset each year, or year-independent by using 9999. Year-dependent ranges restart numbering at the start of every fiscal year.

Yes. The SAP Joule AI copilot and configuration assistants can suggest standard document types, explain account-type settings, and answer number range questions in natural language, helping consultants set up SAP FICO faster with fewer mistakes.

SAP Joule, the generative AI copilot in S/4HANA Cloud, interprets natural-language questions, retrieves the relevant configuration step, and links to the right IMG path, giving consultants intelligent, context-aware guidance during customizing.

Summarize this post with: