Interview Prep
Interview questions, roadmaps and practice sets
Tutorials
Free tutorials on 30+ topics
Blog
Career guides, skills and interview tips
Free PDFs
Notes, cheat sheets and question banks
Certificates
Free skill tests and course certificates
Tools & Whiteboard
Free tools you can use right in the browser
Practice Tests
Mock tests, MCQs and quick Q&A
Free LMS
Learn on the Uncodemy LMS
Choose the best training program according to your career.
Improve the performance of your business with our innovative Industrial Training Program.
Read More →
Our instructor-led training classes are designed to make you an expert.
Read More →
Real-life case studies are a great way to demonstrate your practical knowledge.
Read More →
Explore blogs, latest technologies and industry updates with practical examples.
Read More →Browse all available training programs and choose the right one for your career.
Read More →Know more about who we are and what we stand for.
Discover our mission to equip individuals with essential IT skills and industry expertise.
Read More →
Free tutorials, interview questions, tools and calculators to help you learn.
Explore →Learn, practice and plan your career — bilkul free.
Book a free video counselling session and pick the right course for you.
Read More →Every financial posting in SAP is a balanced document made of a header and line items. Posting keys, account types, document types, field status and account determination decide how each line is recorded, and this page shows them working on one purchase from goods receipt to payment.

Suppose a company in Noida buys 100 office chairs from a local supplier for ₹1,00,000 plus 18% GST. In SAP, that single purchase produces three separate accounting documents: one when the chairs arrive, one when the supplier's invoice is entered, and one when the supplier is paid. Each document must balance, each line must go to the right kind of account, and each must land in an open posting period. Understanding how SAP enforces those rules is what "the mechanics of financial postings" means.
Every posting in SAP Financial Accounting (FI) creates a document with two parts:
SAP will not post a document unless total debits equal total credits. In older SAP ECC systems, headers are stored in table BKPF and line items in BSEG. In SAP S/4HANA, line items are written to the Universal Journal, table ACDOCA, which combines financial accounting and controlling data in one place.
Each line posts to one of five account types:
| Code | Account type | Example |
|---|---|---|
| S | G/L account | Bank, sales revenue, GR/IR clearing |
| K | Vendor (supplier) | The chair supplier |
| D | Customer | A buyer of your goods |
| A | Asset | A machine in the fixed asset register |
| M | Material | Stock of an item (posted through MM) |
Vendor and customer lines also update a reconciliation G/L account automatically, so the general ledger always shows the total owed to suppliers and by customers.
The two-digit posting key on each line tells SAP whether the line is a debit or a credit, which account type it posts to, and which fields appear on the entry screen. Posting keys are defined at client level (transaction OB41). The most common standard keys:
| Key | Meaning | Debit / Credit |
|---|---|---|
| 40 | G/L account debit | Debit |
| 50 | G/L account credit | Credit |
| 01 | Customer invoice | Debit |
| 11 | Customer credit memo | Credit |
| 15 | Incoming payment from customer | Credit |
| 31 | Vendor invoice | Credit |
| 21 | Vendor credit memo | Debit |
| 25 | Outgoing payment to vendor | Debit |
| 70 / 75 | Asset debit / credit | Debit / Credit |
In the newer "Enjoy" entry screens such as FB50, FB60 and FB70, you choose Debit or Credit and SAP fills in the posting key for you. The keys still exist in every document; you see them when you display it with FB03.
The document type classifies the whole document, controls which account types are allowed in it, and links it to a number range. Number ranges are maintained with FBN1, and document types with OBA7. Standard examples:
Whether a field such as cost centre or business area is required, optional or hidden on a line depends on the field status group of the G/L account (from its company code's field status variant) combined with the field status of the posting key. If one setting makes a field required and the other hides it, SAP reports a conflict, which is a common source of posting errors in a new configuration.
A document can only post into an open period. Finance teams open and close periods with transaction OB52, usually closing a month once its accounts are finalised. "Posting period not open" is one of the first errors new users meet.
Assume the supplier is in the same state, so GST is split into 9% CGST and 9% SGST. Account names are simplified.
The store receives the chairs against a purchase order. SAP posts automatically, without anyone entering accounts:
| Line | Account | Debit (₹) | Credit (₹) |
|---|---|---|---|
| 1 | Inventory / asset or expense account (from account determination) | 1,00,000 | |
| 2 | GR/IR clearing account | 1,00,000 |
For stocked materials, SAP finds these accounts through automatic account determination (transaction OBYC), using transaction keys such as BSX for the inventory posting and WRX for the GR/IR clearing account. Office chairs bought as assets or expenses would instead take the account from the purchase order's account assignment, but the GR/IR credit is the same idea. The GR/IR account holds "goods received, invoice not yet received".
| Line | Account | Posting key | Debit (₹) | Credit (₹) |
|---|---|---|---|---|
| 1 | GR/IR clearing | 86 (GR/IR debit) | 1,00,000 | |
| 2 | Input CGST | 40 | 9,000 | |
| 3 | Input SGST | 40 | 9,000 | |
| 4 | Vendor (supplier) | 31 | 1,18,000 |
The tax lines come from the tax code entered on the invoice. The GR/IR account is now cleared for this purchase, and the vendor account shows ₹1,18,000 owed.
| Line | Account | Posting key | Debit (₹) | Credit (₹) |
|---|---|---|---|---|
| 1 | Vendor (supplier) | 25 | 1,18,000 | |
| 2 | Bank | 50 | 1,18,000 |
The payment clears the open invoice item on the vendor account. In practice the payment may also deduct TDS where it applies, which adds a tax line; that is left out here to keep the example readable.
FB03: display any document and its line items.FBL1N: vendor line items (open and cleared).FBL3N: G/L account line items, for example to see what is still sitting in GR/IR.FBL5N: customer line items.In S/4HANA, Fiori apps such as "Display Line Items in General Ledger" do the same job, but the transaction codes still work in most systems and are widely used in training.
| Error message (paraphrased) | Usual cause |
|---|---|
| Posting period not open | Period closed in OB52 for that account type |
| Balance in transaction currency | Debits and credits do not match |
| Account type not allowed for document type | Wrong document type chosen, for example SA for a vendor line when it is not permitted |
| Field is a required entry | Field status requires a cost centre, business area or similar |
| Account cannot be posted directly | Reconciliation or automatic-posting-only G/L account used manually |
Interviewers for SAP FICO roles routinely ask about posting keys, document types, GR/IR and the MM–FI integration shown above, because they reveal whether a candidate understands what happens behind the screens. If you know double-entry accounting already, this is mostly about learning where SAP stores each rule. For the purchasing side, see the SAP MM overview; and for the accounting background, the limits of financial accounting. If you are new to SAP's transaction codes, this beginner's guide to SAP codes explains how to navigate them.