SAP FICO ERROR SOLUTION  |  Document Number Ranges (FBN1)

SAP FI Error: "In Company Code 1003, the Number Range 15 Is Missing for the Year 2020" – Causes and Step-by-Step Fix

An accountant posts an invoice, a journal entry or a payment, and SAP stops with a message about a missing number range. The accounts are right, the amounts balance and the posting period is open, but the system cannot give the document a number. The cause is a small gap in configuration: the document type points to a number range, and no interval with that number exists for the company code and the fiscal year. This guide explains what the message means, how document numbers are organized in SAP FI, how to create the missing interval in transaction FBN1 step by step, how large the interval should be and how to prevent the same error at every year change. If you run into any errors while following along, feel free to send a screenshot to pramod@learntosap.com for help.

❌ The Error Message at a Glance

SAP FI error in company code 1003 the number range 15 is missing for the year 2020
ItemValue in This Example
Message textIn company code 1003, the number range 15 is missing for the year 2020
Company code1003
Number range15
Fiscal year2020
ModuleSAP FI (Financial Accounting)
Where to fix itFBN1, define document number ranges for the company code
Message typeError: the document cannot be posted

To solve the issue of a missing number range for the year in a company code, you need to create or maintain the number range in your SAP system. The company code, the number range number and the year in your own message may differ from this example, and the same steps apply with your own values. The year 2020 is only an example, and the error occurs in exactly the same way for any other year in which an interval is missing.

📑 What You Will Learn in This Guide

  1. What the message means
  2. How FI document numbers work
  3. Document types and number ranges
  4. Why the error appears
  5. Where you meet the error
  6. Diagnose the problem
  7. Solution: create the interval in FBN1
  8. Fields of a number range interval
  9. Verify the fix
  10. How large should the interval be?
  11. Year-end checklist for number ranges
  12. Real-world scenario
  13. Common mistakes
  14. Troubleshooting
  15. Frequently asked questions

✅ What Does "Number Range 15 Is Missing for the Year 2020" Mean?

Every accounting document in SAP needs a unique number. SAP takes the number from a number range, which is a stretch of consecutive numbers reserved for a certain kind of document. When you post, the system reads the document type, finds the number range that belongs to it, and takes the next free number from the interval of that range.

The message tells you that the second step fails. The document type points to number range 15, but SAP cannot find an interval with the number 15 for company code 1003 and fiscal year 2020. Without an interval there is no number to give, so the posting is rejected. SAP does this on purpose, because a document without a number could not be found, audited or reconciled.

It is important to see that nothing is wrong with the posting itself. The accounts, amounts, dates and users can all be correct. The missing piece is a configuration entry. That is why the fix is made in Customizing, in the number range maintenance, and not in the document.

📝 How FI Document Numbers Work

FI document numbers follow a clear structure. Knowing it makes the message easy to read and the fix easy to plan.

ElementExampleMeaning
Number range objectRF_BELEGThe technical object that holds FI document number ranges
Sub-objectCompany code 1003Ranges are maintained separately for each company code
Number range number15A two-character key that document types point to
Fiscal year2020Ranges are maintained per fiscal year
From and to number0000008000 to 0000008999The limits of the interval
Current numberStarts at zeroThe last number that was used

A document in SAP FI is identified by three values together: the company code, the document number and the fiscal year. This is why two company codes can use the same numbers without conflict, and why the same number can appear again in a new fiscal year. It is also why the number range must be maintained for each company code and year separately.

The same number range number can be used by several document types. For example, vendor invoices and credit memos may share a range, while customer invoices use another. The sharing is decided in the document type settings, and it affects how many numbers are used per range.

💡 Document Types and Number Ranges: The Link

The link between a posting and its number range is the document type. When you post a document, you or the system choose a document type, such as a vendor invoice or a journal entry. Each document type carries the number of the number range it uses. This setting is maintained in the definition of document types, usually with transaction OBA7.

StepWhat Happens
1. The user posts a documentA document type is proposed or entered.
2. SAP reads the document typeIt finds the number range number, here 15.
3. SAP looks for the intervalIt searches for number range 15 for the company code and the fiscal year.
4. SAP takes the next numberIf the interval exists, the next free number is assigned.
5. The errorIf the interval does not exist, the posting stops with the message.

Because of this link you have two possible fixes. You can create the missing interval, which is the normal solution and the one described in this guide. Or you can change the document type so that it points to a range that already exists. The second option is rarely right, because it changes how documents of that type are numbered for everyone, so use it only after talking to the finance team.

💡 Why Does This Error Appear? Common Causes

Tip: If the message appeared right after the turn of the year, suspect a missing interval for the new year. If it appeared after months of normal work, suspect a full interval or a new document type.

📋 Where You Meet This Error in Daily Work

ActivityTypical Transaction
Posting a general ledger documentFB50, FB01
Posting a vendor invoiceFB60, MIRO
Posting a customer invoiceFB70
Posting an incoming or outgoing paymentF-28, F-53
Goods movements that create accounting documentsMIGO

Because many business processes create accounting documents in the background, the message can also appear in logistics transactions, such as a goods receipt. When several users report the same message, the cause is nearly always this configuration gap.

🔧 Step-by-Step: Diagnose the Problem

1

Read the message. Note the company code 1003, the number range 15 and the year 2020.

2

Find the document type of the failed posting, and confirm in OBA7 that it points to number range 15.

3

Open FBN1 in display mode for company code 1003 and look at the intervals. Check whether an interval with number 15 exists for the year 2020.

4

Note the existing intervals for the company code and year, so that your new interval does not overlap with them.

Note: Do not change or delete an interval that is in use. Existing documents rely on the numbers already used. Add a new interval, and avoid overwriting.

🔧 Solution: Create the Interval in FBN1

Follow these steps to create the missing number range interval.

1

Run transaction FBN1 (Define Document Number Ranges for Company Code). In the IMG the path is SPRO → Financial Accounting (New) → Financial Accounting Global Settings (New) → Document → Document Number Ranges → Define Document Number Ranges. Press Enter.

SAP FBN1 define document number ranges for company code IMG path
2

In the Company Code field, enter 1003 and press Enter.

SAP FBN1 enter company code 1003 for document number ranges
3

Check whether a number range already exists for the year 2020. If not, you need to create a new one. Click the Intervals button.

SAP FBN1 intervals button to maintain number range intervals
4

On the screen Change View "Number Range Intervals": Overview, click the Insert Interval button. Enter Number range 15, Year 2020, From number 0000008000 and To number 0000008999. Make sure that the interval does not overlap with any existing interval.

SAP FBN1 insert interval number range 15 year 2020 from 0000008000 to 0000008999
5

Save the entries. Confirm the changes and ensure that the number range interval 15 for the year 2020 has been created successfully.

SAP FBN1 save number range interval 15 for 2020 confirmation
6

Return to the posting that failed and repeat it.

Important: Screens and menu paths can differ between releases. Use the screenshots above as a reference for your own system, and check the limits with the finance team before you save in a live client.

📋 Fields of a Number Range Interval

FieldExampleMeaning
No (number range number)15The key that the document type points to.
Year2020The fiscal year for which the interval is valid.
From number0000008000The first number of the interval.
To number0000008999The last number of the interval.
Current number0The last number used. A new interval starts at zero.
Ext (external)EmptyTicked only if numbers are given by the user or an external system.

Leave the Ext box empty for normal internal numbering, so that SAP assigns the next number itself. Tick it only if the document type uses external number assignment. A wrong setting leads to other messages, for example that an external number is required, so check the document type first.

✅ How to Verify That the Fix Worked

If another message appears, the first error was only hiding the next. Typical examples are a closed posting period, a missing account or a blocked document type. Handle each message in turn.

💡 How Large Should the Interval Be?

In the example the interval runs from 0000008000 to 0000008999, which gives room for 1,000 documents. That is enough for a test or a training system, but it is small for a live company, and a full interval stops postings just as completely as a missing one.

ItemExample IntervalLarger Interval
From number00000080000100000000
To number00000089990199999999
Numbers available1,000100,000,000
Assumed documents per day200200
Days until used up5 days500,000 days

The figures are only an illustration, but they show how to think. Estimate the number of documents per year for each range, multiply by the years you want the interval to last, and add a safety margin. FI document numbers have up to ten digits, so there is plenty of room to be generous. For a range that is used by high-volume document types, such as vendor invoices or goods movements, choose a much larger interval than for rarely used types.

Keep the intervals of different number ranges in clearly separated blocks, for example one block per hundred million, so that a user can recognize the kind of document from the number. Document the plan and keep it with your configuration notes.

📅 Year-End Checklist for Number Ranges

Since the error appears so often when a year changes, a short routine prevents it. Repeat these steps every year, ideally a few weeks before the new fiscal year starts.

Some releases offer a copy function for number ranges, which copies intervals from one year to the next or from one company code to another. Check the options in your own system. Whatever method you use, always inspect the result in FBN1 afterwards, because a copy can bring unwanted current numbers or limits with it.

💼 Real-World Scenario: The First Posting of the New Year Fails

This is an illustrative example based on a typical support case. A trading company in Pune started its new fiscal year on the first of April. On the first working morning, several accountants reported that vendor invoices could not be posted. The message said that number range 15 was missing for the new year in company code 1003.

The SAP FI consultant opened FBN1, entered the company code and looked at the intervals. Intervals existed for the old year, but none for the new one. In the previous year the preparation had been done by a colleague who had since left, and nobody had put it on a checklist. The consultant created intervals for the new year for all number ranges that were in use, starting with 15, tested a posting in the quality system and transferred the settings according to the company process. Invoices could be posted within the hour.

Afterwards the team added "number ranges for the new year" to their year-end checklist and set a reminder four weeks before the year change. The error did not return the next year.

🔄 Moving the Change Between Systems

Number range intervals behave differently from most Customizing. They are client-specific, and the intervals themselves are often not carried by the usual Customizing transport. As a result, a range created in development does not automatically exist in quality or production.

SituationRecommended Action
You work in a sandboxCreate the interval directly and test.
Project landscape with DEV, QA and PRODMaintain the interval in each system, or use the transport function offered by the number range tool, following your company rules.
Production shows the error but QA worksCompare FBN1 in both systems. The interval is probably missing in production.
FBN1 is display-only in productionRaise a change request. Do not look for a workaround.

Use the same interval numbers in every system wherever possible. This keeps documents comparable and avoids confusion when data is copied back for testing.

❗ Common Mistakes When Fixing This Error

🔧 Troubleshooting: When the Fix Does Not Work

The same message still appears after saving

Check that the number range number, the company code and the year in the interval match the message exactly. Then start a new session and repeat the posting.

A message about an overlapping interval appears

Choose numbers outside the existing intervals. Look at all intervals for the company code and the year before you decide.

A message about an external number appears

The document type may use external numbering. Either tick the Ext box for the interval, or correct the document type, after talking to finance.

It works in quality but not in production

The interval exists only in one system. Create it in the other, since intervals are not always transported.

The error appears for another company code

Each company code has its own ranges. Repeat the steps for that company code.

The interval is full

Create a new, larger interval under another number range number, and point the document type to it, or extend the existing interval if there is room after its upper limit.

✅ How to Prevent This Error in the Future

💡 Best Practices for FI Number Range Design

Keep the design simple and documented

A small number of ranges, each with a clear purpose, is easier to maintain than many. Write down which document types share which range, and keep the document next to the configuration notes. When a new colleague takes over, this single page saves hours of research.

Plan for growth

Estimate the volume per range, add a generous margin, and leave gaps between blocks of numbers. A range that is too tight forces unplanned changes in the middle of a busy period, which is the worst time for them.

Separate high-volume and low-volume documents

Document types with many postings, such as vendor invoices and goods movements, deserve their own large ranges. Rare types, such as manual adjustments, can share a small one. This keeps the use of numbers predictable.

Monitor and review

Look at the current numbers of the important intervals once a quarter. If an interval is more than half used, plan its extension. A reminder in the calendar of the finance team costs nothing and prevents an outage.

🔒 Authorization Considerations

Number ranges are sensitive configuration. A wrong interval can create duplicate or missing numbers, and the effect lasts for years. For this reason, access to FBN1 is normally limited to consultants and a few key users. If you cannot change it, send the support team the message, the company code, the number range, the year, the transaction where it appeared and your proposed fix: "create interval 15 for year 2020 in company code 1003 in FBN1 with the agreed limits". A precise request is handled faster than a screenshot alone.

📱 This Error in SAP S/4HANA

In SAP S/4HANA, accounting documents are stored in the universal journal, but they still receive document numbers from number ranges, and the same type of message can appear if an interval is missing. In on-premise releases the familiar number range maintenance is normally available, although some object names and screens may differ slightly. In cloud editions, number ranges are often handled through guided configuration activities or are managed by the system. Confirm the exact way of working in your own release. The principle does not change: if SAP cannot find the interval that a document type needs, create it for the company code and the fiscal year.

📋 Quick Fix Checklist

📋 Related SAP Transactions

TransactionPurpose
FBN1Define document number ranges for a company code.
OBA7Define document types and their number ranges.
SNROGeneral number range object maintenance, for example object RF_BELEG.
FB03Display an accounting document.
OB52Open and close posting periods.
OB29Maintain the fiscal year variant.
KANKMaintain number ranges for CO documents.

🎓 Interview-Style Questions and Answers

Q: What does the message mean?
The document type points to a number range for which no interval exists for the company code and fiscal year.

Q: Which transaction fixes it?
FBN1.

Q: How is a number range linked to a posting?
Through the document type, which carries the number range number.

Q: Why is it common at year change?
Ranges are maintained per fiscal year, and the intervals for the new year may not exist yet.

Q: What must you avoid when creating an interval?
Overlap with other intervals, and a range that is too small.

Q: Does an FI document number need to be unique across company codes?
No. A document is identified by company code, document number and fiscal year together.

📚 Quick Glossary

🎯 Conclusion

The message "the number range is missing for the year" is clear once you know how document numbers work. The document type points to a number range, and SAP cannot find an interval for the company code and the year. Open FBN1, enter the company code, choose Intervals, insert an interval with the number range, the year and sensible limits, make sure that it does not overlap, save, and repeat the posting. Remember that intervals are not always transported, so create them in every system. Add number ranges to your year-end checklist, and the error will not stop your accountants again. If something still blocks you, send the details to pramod@learntosap.com and we will help you find the next step.

❓ Frequently Asked Questions

The document type used in your posting points to number range 15, but no interval with that number exists for the company code and the fiscal year. SAP therefore cannot assign a document number and stops the posting.
Transaction FBN1, which defines document number ranges for a company code. Create the missing interval with the number range, the year and the number limits.
FI document number ranges are maintained per fiscal year. When a new year starts, intervals for the new year must exist. If nobody created them, the first posting of the year fails.
No. Intervals within the same company code and year must not overlap. Overlapping intervals could give duplicate document numbers, so check all existing intervals before you create a new one.
Only if the document type uses external number assignment. For normal internal numbering leave it empty, so that SAP assigns the next number automatically.
Number range intervals are client-specific and are often not carried by a normal Customizing transport. Maintain them in each system or use the transport function of the number range tool.