Open Item Management and Clearing
|
This content was generated with the assistance of AI and should be verified against the official documentation before being relied on in production. |
Some accounts only need to show what has happened. Others must show what is still waiting for something else: an invoice
that has not been paid yet, a transfer that has left one bank account and not arrived in the other. Those waiting
entries are open items, and the act of matching them with the entry that settles them is called clearing. This page
explains how open item management is switched on, how the system clears items by hand and by program, what a clearing
document is, how to look at open and cleared items, and how a clearing works out in numbers for the fictitious company
code EX01. It is written against SAP S/4HANA 2025 FPS02 (on premise and Private Edition) and SAP S/4HANA Cloud Public
Edition 2608. The ideas are the same in both; the names of the transactions and apps differ, and the page says where.
Before you read
-
Accounting Basics: debit, credit and the rule that a posting balances.
-
Journal Entries, Document Types and Posting Keys: what an accounting document and its lines are.
-
Ledgers, Currencies and Exchange Rates: the ledgers
0Land2Land the currencies of the running example.
Key terms
-
Open item: a line in an account that still has to be cleared by another line.
-
Open item management: the setting that makes an account hold items that must be cleared, so that its balance is always the total of the open items.
-
Clearing: marking open items that add up to zero as settled.
-
Clearing document: the document the system creates for a clearing, whose number is entered in every cleared item.
-
Line item display: the list of the individual postings on an account.
-
Exchange rate difference: the gain or loss that arises when an open item in a foreign currency is settled at another rate than the one it was posted at.
What open item management is
SAP’s definition is short: open item management is the specification that items in an account have to be cleared by other items in the account. The total of the items in one clearing must be zero, so the account balance is always the total of the open items.
Which accounts work this way:
-
Customer and supplier accounts always do. This is how the system lets you watch outstanding receivables and payables at any time.
-
G/L accounts do only if you define open item management in the account’s master record. SAP recommends it, for example, for bank subaccounts and clearing accounts, so you can track whether the business transactions posted to them are closed yet.
A second effect is housekeeping. Open item management keeps every uncleared item available, and a document can be moved to the cold area of the database only after all of its open items are cleared.
An item that is not managed this way, such as an expense line, is simply posted and stays as it is. Setting the open item indicator is therefore a design choice about what the account is for: an account that only collects costs does not need it, and a transfer account does.
A caution on ledger groups
In the Example Trading Co. setup, items of an open-item-managed account are written to every ledger of the company code
(0L and 2L), so you cannot make a ledger-specific posting to such an account. SAP offers an exception: a
balance sheet account can carry the indicator Clearing Specific to Ledger Groups, which replaces the open item management
and line item display indicators and makes the account open-item-managed for each ledger group. Items posted to a ledger
group can then be cleared only inside that group. The use case in the help is a provision valued differently in two
ledgers. Two classic details follow from the same page: the classic G/L line item list of transaction FBL3N cannot be
used for accounts with open item management specific to ledger groups, and the indicator cannot be set for reconciliation
accounts, tax-relevant accounts, P&L accounts, goods receipt and invoice receipt accounts or cash discount accounts.
How clearing works
Clearing takes open items that add up to zero and marks them as cleared. SAP describes the marking this way: the system enters a clearing document number and the clearing date in the document items. The clearing date can be today or a date you enter. The clearing document number is the number of the most recent document that took part in the clearing.
add up to zero?"} B -- "No" --> C["Select other items,
or post the difference first"] C --> B B -- "Yes" --> D["Post the clearing"] D --> E["Items get a clearing date
and a clearing document number"] E --> F["Items leave the open-item list
and show as cleared"]
If no extra posting is needed, the system creates a clearing document: SAP says it has a document header created
automatically and shows, instead of line items, a message that this is a clearing document. If the clearing needs extra
postings, for example because items from different business areas are involved, the system creates a document with those
postings instead, and that number goes into all cleared items. A clearing transaction that does not let you pick a
document type uses a preset type that is defined under the clearing transaction UMBUCHNG in Customizing.
Manual clearing
In manual clearing you select the open items that balance to zero yourself. SAP says you generally use the payment program to clear invoices, which gives you automatic clearing, and names the situations where you clear by hand:
-
bank subaccounts and clearing accounts,
-
where you have agreed a debit memo procedure, and
-
when a supplier makes a refund.
The tools differ between the two editions.
| Edition | Tool | What SAP’s help says |
|---|---|---|
On premise |
Clear G/L Accounts - Manual Clearing, app ID |
The app finds open G/L items by search criteria, clears several at once, lets you add profitability characteristics,
notes and attachments, simulates the resulting journal entry, exports to a spreadsheet and shares by email. Another help
page names |
Public Edition |
The same app, |
Adds that you can edit the simulated clearing document before posting it, that you can clear ledger-group-specific open items (grouped by ledger group), and that bank account items can be cleared grouped by house bank account. |
The feature comparison page lists the apps and transactions side by side. Two rows matter for a beginner: the manual tools can simulate the resulting journal entry before you post, and the F1579 app is the only one of the compared manual tools that works with open item management by ledger group and also lets you create notes and attachments.
Automatic clearing
Automatic clearing is a program that clears open items of customer, supplier and G/L accounts, in particular GR/IR
clearing accounts, without you selecting them. The on-premise help calls it the Clear Open Items Automatically app and
gives the transaction F.13; a variant with a clearing currency is F13E, and a variant for ledger groups is F13L.
In the Public Edition the function is available in the Clear Open Items Automatically app and in the Schedule General
Ledger Jobs app, where you select the Automatic Clearing template.
How the program decides, from SAP’s description:
-
It selects the accounts you name and that have debit and credit postings.
-
It leaves some items alone: noted items, statistical postings and bill of exchange special G/L transactions, items with withholding tax postings, and down payments unless a down payment clearing for the same amount has been posted.
-
It groups the rest by fixed criteria: company code, account type, account number, reconciliation account number, the currency key and the special G/L indicator. You can add at most five user criteria of your own, which are set under the system settings for accounting (in the Public Edition, the Prepare Automatic Clearing configuration activity).
-
It clears a group only when the balance in document currency (customers and suppliers) or in update currency (G/L accounts) is zero.
-
While it runs, it blocks the accounts it clears and unblocks them afterwards. Accounts blocked by other transactions or intended for the automatic payment run are not considered.
If you want tolerances taken into account, they must be defined in Customizing and assigned to the accounts through tolerance groups; the page on number ranges, field status and tolerance groups explains the idea. Run the program in test mode first if you can: the feature comparison shows a test run that simulates the journal entries.
Requires an SAP system; not run here.
Sources: Automatic Clearing (SAP Help Portal, on premise), Automatic Clearing (SAP Help Portal, Public Edition)
Manual or automatic?
| Question | Manual clearing | Automatic clearing |
|---|---|---|
Who picks the items? |
You, in a list of open items. |
The program, by grouping rules. |
Typical accounts |
Bank subaccounts and clearing accounts, debit memo procedures, supplier refunds. |
Customer and supplier accounts after payments, and GR/IR clearing accounts. |
When it fits |
A few items with a reason you know. |
Many items that follow the same pattern, run on a schedule or a job. |
What can stop it |
The selected items do not add up to zero. |
A group does not balance to zero, or an item falls in the excluded list. |
Looking at open and cleared items
The line item report answers the question "what is open on this account today". Customer and supplier accounts have
their own reports in the classic system, FBL5N and FBL1N; for G/L accounts the classic report is FBL3N (SAP’s
help lists it as the G/L account line item report, program RFITEMGL), with FAGLL03 as the report of the new line item
display.
The Fiori counterpart for G/L account line items is the Display Line Items in General Ledger app, F2217. SAP’s help
distinguishes two views of the same lines:
-
the general ledger view, in
F2217, shows line items together with the general ledger account assignments (the ledger view of the Universal Journal) and lets you pick the ledger; it cannot show parked or noted documents, because those have no general ledger line items; -
the entry view, in the Display Line Item Entry app,
F2218, shows the G/L account line items as entered and can also show noted items and items to be verified.
SAP names no one-to-one replacement for FBL3N on the pages used here; this page treats F2217 as the app to open
when you would have used a G/L line item report to see open or cleared items.
In F2217 you choose a status, and the help states which items each selects:
| Status | Items selected |
|---|---|
Open |
Items posted on or before the key date (preset to today) and cleared after the key date or not cleared at all. Only accounts with open item management are considered. |
Cleared |
Items that are cleared; if you enter a key date, the items cleared after it that were posted on or before it. Again only accounts with open item management. |
All |
All line items of the account. For accounts without open item management the status icon says posted and not managed on an open item basis; for the others it says cleared or open. |
One detail for beginners: an item with a clearing date in the future shows the cleared icon even if it is still open today. The app also leaves out balances carried forward, because those are technical items and not real line items, and it can show amounts in a display currency, which helps when company codes post in different currencies.
Sources: Display Line Items in General Ledger, F2217 (SAP Help Portal, Public Edition), Display Line Items in General Ledger, F2217 (SAP Help Portal, on premise), Display Line Item Entry, F2218 (SAP Help Portal, on premise), General Ledger View for Line Item Display (SAP Help Portal, on premise), Status of G/L Account Line Items (SAP Help Portal, Public Edition), Data Aging for Financial Accounting Documents (SAP Help Portal, on premise)
Worked example: clearing for Example Trading Co.
Company code EX01 keeps its books in euro (EUR), uses British pounds (GBP) as group currency, and writes ledgers 0L
(leading) and 2L (local principle). Items in open-item-managed accounts go to both ledgers. All numbers, dates and
rates are made up for the example. The document numbers are shown as placeholders.
Example A: a clearing account in euro
EX01 moves EUR 10,000 from its main bank account to a second bank account. It uses an open-item-managed clearing
account (SAP’s recommended use for such accounts). The transfer needs two postings, a few days apart.
| Date | Document | Debit | Credit | EUR |
|---|---|---|---|---|
2026-03-02 |
D1 |
Clearing account |
Bank (outgoing) |
10,000.00 |
2026-03-04 |
D2 |
Bank (incoming) |
Clearing account |
10,000.00 |
On 2026-03-02 the clearing account holds one open item, a debit of EUR 10,000, and its balance, the total of open items, is a debit of EUR 10,000. On 2026-03-04 a credit of EUR 10,000 arrives. Choose manual clearing on the clearing account and select both items:
The selected items add up to zero, so the system clears them. Each of the two lines gets the clearing date and the clearing document number, which is the number of the most recent document taking part, D2. No extra posting was needed, so, as SAP’s definition says, the clearing document has a header and shows no line items. The account balance is now zero and the open item list is empty, which is what you want to see for a transfer that has arrived.
Example B: a supplier invoice paid at another exchange rate
The second example is the USD invoice of the earlier pages, paid later. The invoice for USD 12,500 was posted on
2026-03-01 with the made-up rates 0.80 (USD to EUR) and 0.75 (USD to GBP), so it is EUR 10,000.00 and GBP 9,375.00. On
2026-04-10 EX01 pays USD 12,500. The made-up rates that day are 0.82 to EUR and 0.76 to GBP, so the payment is worth
EUR 10,250.00 and GBP 9,500.00.
The supplier account is open-item-managed. Its two items are:
| Item | Side | USD | EUR | GBP | Status |
|---|---|---|---|---|---|
Invoice, 2026-03-01 |
Credit |
12,500.00 |
10,000.00 |
9,375.00 |
open |
Payment, 2026-04-10 |
Debit |
12,500.00 |
10,250.00 |
9,500.00 |
open |
In document currency the two items cancel: 12,500.00 against 12,500.00. In EUR and GBP they do not, because the rate moved. SAP’s description of automatic clearing says a group is cleared when its balance in document currency is zero for customers and suppliers, and that is the case here. The remaining difference in the other currencies is an exchange rate difference. The loss in each currency is the amount that makes that column balance:
The clearing posting therefore carries these lines. The system finds the exchange rate difference account through automatic postings (the account determination page of this section covers them); the account name is generic here. How exactly the system derives the group currency amount of the difference is not shown on the pages used here, so the GBP column is simply the balancing figure of this example.
| Line | Side | Account | USD | EUR | GBP |
|---|---|---|---|---|---|
1 |
Credit |
Supplier (item to clear the difference) |
0.00 |
250.00 |
125.00 |
2 |
Debit |
Loss from exchange rate differences |
0.00 |
250.00 |
125.00 |
Total debit |
0.00 |
250.00 |
125.00 |
||
Total credit |
0.00 |
250.00 |
125.00 |
After this posting the supplier account balances in EUR (credits 10,000.00 and 250.00, debit 10,250.00) and in GBP
(credits 9,375.00 and 125.00, debit 9,500.00). Both original items are cleared and carry the number of the
clearing document that holds the two lines above. Each line is written to 0L and 2L. The loss of EUR 250.00 is
the company code currency effect, and GBP 125.00 its group currency twin, both made-up values.
SAP warns about one consequence: when a clearing entry contains an exchange rate difference, you must always reverse the entry (not just reset the clearing) if you want to undo it. See the next section.
Resetting a clearing
If a clearing was wrong, the Reset Cleared Items app resets it. SAP’s help gives two cases: reset the clearing of the items because a payment has been used to clear the wrong items, or reset the clearing and reverse the clearing entry because, for example, the payment you posted was wrong. It works for customer and supplier line items and for G/L account items managed on an open item basis. If the clearing entry contains an exchange rate difference, you must reverse the entry.
Configuration pointers
SAP’s help places the open item management setting in the G/L account’s master record, and it names line item display as a related indicator of the same account (the ledger group indicator replaces both). The user criteria of automatic clearing are configuration, not master data: on premise they are defined in the system settings for accounting, and in the Public Edition in the Prepare Automatic Clearing configuration activity, which you find with the search function of the configuration environment. This page did not find a help page that gives the exact menu path of the master record fields, so none is shown. Requires an SAP system; not run here.
Common errors and pitfalls
-
Expecting a plain expense account to show open items. Without open item management, the Open and Cleared statuses in
F2217select nothing from that account. -
Looking for a parked or noted document in the general ledger view. It is not shown there, because it has no general ledger line items; use the entry view.
-
Clearing items that do not add up to zero. The system will not clear them; post the difference or select the right items.
-
Using
FBL3Nfor an account that is open-item-managed by ledger group. SAP states it cannot be used for such accounts. -
Resetting only the clearing when there is an exchange rate difference. The entry must be reversed.
-
Relying on a future clearing date. An item with a clearing date in the future shows as cleared while it is still open today.
Summary
-
Open item management makes an account hold items that must be cleared, so its balance is the total of its open items. Customer and supplier accounts always work this way; a G/L account needs the setting in its master record.
-
Clearing marks open items that add up to zero as cleared and enters a clearing date and a clearing document number in each of them. If extra postings are needed, they form the document whose number is entered.
-
Manual clearing (the F1579 app, or
F-03and related transactions) is for bank subaccounts, clearing accounts, debit memo procedures and refunds. Automatic clearing (F.13and the Schedule General Ledger Jobs template) groups and clears by rules. -
F2217shows G/L line items in the general ledger view and filters by open, cleared or all items;F2218shows the entry view. -
In the worked example the invoice of USD 12,500 and its payment cancel in USD but not in EUR (loss of EUR 250.00) or GBP (loss of GBP 125.00), and the clearing posts those differences.
-
A clearing is undone with Reset Cleared Items; when it contains an exchange rate difference, the entry is reversed.
Try it
To do this by hand, follow the guide Follow a Purchase and a Sale through the Ledger: it follows a purchase and a sale from goods receipt and invoice to payment and clearing.
References
-
Display Line Items in General Ledger, F2217 (SAP Help Portal, Public Edition)
-
Status of G/L Account Line Items (SAP Help Portal, Public Edition)
-
Clear G/L Accounts - Manual Clearing, F1579 (SAP Help Portal, on premise)
-
Feature Comparison for Clearing G/L Accounts (SAP Help Portal, on premise)
-
Posting and Clearing for Specific Ledger Groups (SAP Help Portal, on premise)
-
Display Line Items in General Ledger, F2217 (SAP Help Portal, on premise)
-
Display Line Item Entry, F2218 (SAP Help Portal, on premise)
-
General Ledger View for Line Item Display (SAP Help Portal, on premise)
-
Data Aging for Financial Accounting Documents (SAP Help Portal, on premise)