A Posting Key in SAP S/4HANA is a two-digit code that controls how line items are posted in financial documents. It determines whether an entry is a debit or credit, identifies the account type, and manages the posting behavior for each transaction.
Can we create our own posting key?
How to choose the right posting key for document posting?
In an accounting document, we need to debit some GL and credit some GL. In SAP, instead of debit or credit we use posting key. It's a two digit number representing debit or credit.
Along with debit or credit information, it also control the account type.
If you want to debit a GL account, use posting key 40
If you want to debit a Customer account, use posting key 01
Here in this example, posting key 40 & 01 both are for debit only but differ on account type. I will use 40 for debiting GL and 01 for debiting customer.
When we post a document manually, then we need to choose posting key manually while entering document in sap.
When document is posted automatically, then posting key is picked up automatically.
Conclusion:
Understanding Posting Keys is essential for working with SAP S/4HANA Finance, as they control debit and credit postings, account types, and document behavior. A strong understanding of posting keys helps ensure accurate financial transactions and is a frequently tested topic in SAP FICO interviews.
