Edoc - Automatic Clearing in SAP
Edoc - Automatic Clearing in SAP
I will show you how you can use t-code F.13 (Tile Clear Open Items Automatically) to
post automatic clearing in SAP.
Similarly, you can use the tcode F-03 (tile Clear G/L Accounts - Manual Clearing) to
manually clear GL accounts. Now you must be wondering what is the purpose of F-03
in SAP. There are times when you will have on-account payments in an open-item
managed GL account or sometimes business users post manual reversal adjustments
journal entries. All these entries are posted as an open item to a GL account. So, to
clear these open items manually, you need to run F-03.
There is also a concept of automatic clearing in SAP. By automatic, I mean you don’t
have to select the open items manually. Rather, the system will automatically
determine the open items for clearing. This process comes in handy for open-item
managed GL accounts that are posted automatically in the system. For example, Goods
Receipt/Invoice Receipt (GR/IR) GL account. Without any further ado, let’s begin!
Table of Contents
For any purchase order, the first step is to execute the Goods Receipt, i.e., to take in
the goods in the system. In other words, whenever we receive the goods from the
vendor, we perform the Goods Receipt process and the system will post the following
accounting entry. Since you are receiving the goods, the inventory GL account will be
debited and the offsetting entry will be posted to the GR/IR clearing GL account.
After executing the Goods Receipt, the next step is to execute the Invoice Receipt.
Once you receive the original vendor invoice from the vendor, you are liable to pay the
amount for the goods bought. Hence, you will post a vendor invoice in the system with
the following accounting entry. The vendor account will be credited and the GR/IR GL
account will be debited this time.
Step 2: Display GL Open Items via Display G/L Account Line Items – FBL3N
In this example, the GL code for the GR/IR account is 408120. To view the existing
open items of any open-item managed GL account, you can execute the tile Display
G/L Account Line Items / tcode FBL3N. In the selection screen, enter the GL account
and the company code. Also, select the ‘Open Items’ radio button and enter the date on
which you want to see the open items. Then, execute the report.
In the screenshot given below, you can see that for the GR/IR account, there are 2 open
items. One is for Goods Receipt and the other one is for Vendor Invoice. Since this GL
account is posted automatically in the system, you cannot use tile Clear G/L Accounts
/ t-code F-03 to manually clear it. Rather, you have to use the tile Clear Open Items
Automatically / tcode F.13 to run the automatic clearing in SAP.
Step 3: Execute Clear Open Items Automatically / F.13 for Automatic Clearing in SAP
Execute the tile Clear Open Items Automatically / tcode F.13 and enter the company
code and Fiscal Year. If you want to clear specific documents, then you can also enter
the document numbers in the ‘Document Number‘ field. You also have an option to
clear the documents via Posting Date. On the initial screen, you have an option to
select the type of clearing that you want to process. For example, you can choose
‘Select Customers‘ to automatically clear only the customer accounts.
Similarly, you have a separate option for vendor clearing and GL clearing. Since I’m
clearing GR/IR account, I have selected the ‘Select G/L Accounts‘ checkbox and
entered the GL code for clearing.
You can also enter the clearing date on which you want to post the clearing in the
system. A ‘Test Run‘ option is enabled by default so that you can check the documents
that will be cleared before the actual posting takes place. In the Output Control section,
you can enable all the checkboxes and it will show you the error messages (if any) and
also the document numbers that can be cleared or not cleared.
Now, execute the report in Test Run and it will show the document numbers that can
be automatically cleared. The clearing Date column will turn into a green color if the
document can be cleared.
Go back to the initial screen and remove the ‘Test Run‘ checkbox and re-execute the
report. This time the system will post a clearing document and it will clear both the
documents automatically. Please note that you can also create a variant on the initial
screen and schedule a background job for this process. This way you don’t even have
to execute Clear G/L Accounts / F-03 manually.
Production Run
Step 4: View the Cleared Items in Display Line Item entry tile / FBL3N Report
After posting the clearing document, you can check the status of the open items in the
Display Line Item entry / FBL3N. Firstly, execute the report and enter the GL Account
and company code. Secondly, instead of selecting the Open Items options, select the
Cleared Items option, and enter the clearing date that you provided while executing
F.13 for automatic clearing in SAP. Execute the report and the system will show you
that both the document has been cleared successfully along with the clearing
document.