4.2 Posting Keys & Line Item Controls

Key Takeaways

  • Posting keys are defined at client level. They govern debit or credit, the account type, and posting-key field status.

  • Core posting keys include 40 (G/L debit), 50 (G/L credit), 01 (Customer invoice debit), 15 (Customer incoming payment credit), 21 (Vendor credit memo debit), and 31 (Vendor invoice credit).

  • The account's field status group combines with the posting key. For a customer or supplier line, use the group from its reconciliation account.

  • For line items, Required and Suppress take priority over Optional. A Required and Suppress combination is inconsistent.

  • Optional settings on standard G/L debit and credit keys let the account's field status group specify the applicable fields.

Last updated: November 2026

4.2 Posting Keys & Line Item Controls

The document type controls the header and the account types that a document can contain. The posting key (BSCHL) identifies the debit or credit side and account type for a particular FI line. It also contributes field status rules along with the applicable G/L account's field status group.


1. Posting Keys: Architecture & Control Functions (OB41 / TBSL)

A Posting Key is a two-digit numeric code defined at the Client level in transaction OB41 (stored in database table TBSL, with texts in TBSLT).

In applicable FI entry-view lines, read the key in BSEG-BSCHL. Universal Journal reporting lines can include entries created by processes such as document splitting or CO allocations. A ledger line need not have a matching BSEG entry item. See 2.1 for the view distinction.

  1. Debit or credit. The key specifies the side of the posting.
  2. Account type. The key specifies the account type for the line, such as asset (A), customer (D), supplier (K), material (M), or G/L (S). The document type must also permit that account type.
  3. Line-item field status. Field status on the key can make an applicable field optional, required or suppressed. The system combines it with the account's group rules.
  4. Business handling. A key can identify a payment transaction or mark a line as sales-relevant for updating sales figures. The choice depends on what the line represents.

Standard SAP Posting Key Matrix

These standard keys illustrate common transaction lines. In single-screen transactions, the application can assign keys for the user.

Posting KeyAccount TypeName / CategoryDebit or CreditTypical Business Posting
01Customer (D)Customer InvoiceDebit (S)Accounts Receivable sales invoice (FB70)
11Customer (D)Customer Credit MemoCredit (H)AR credit memo or rebate allowance (FB75)
15Customer (D)Customer PaymentCredit (H)Incoming customer cash settlement (F-28)
21Vendor (K)Vendor Credit MemoDebit (S)AP purchase return or credit memo (FB65)
25Vendor (K)Vendor PaymentDebit (S)Outgoing vendor payment disbursement (F-53)
31Vendor (K)Vendor InvoiceCredit (H)Accounts Payable invoice receipt (FB60)
40G/L Account (S)G/L DebitDebit (S)Expense posting or bank transfer debit (FB50)
50G/L Account (S)G/L CreditCredit (H)Revenue posting or bank disbursement credit (FB50)
70Asset (A)Asset debitDebit (S)Asset acquisition line in applicable FI entry transactions
75Asset (A)Asset creditCredit (H)Asset credit memo line in applicable FI entry transactions

The system also supports separate keys for assets and materials in the corresponding components. When investigating an asset acquisition or a goods movement, inspect the actual FI posting and account type for the line. The source transaction code alone does not tell you the key for every generated line.

For a Special G/L partner line, use the appropriate special key for the account type and side (standard keys 09, 19, 29, and 39). The Special G/L indicator is a separate setting. It identifies a process such as a down payment and participates in alternative account determination. Review 3.3 for the distinction between a payment and a noted request.


2. Field Status Variants & Groups (OBC5 / OBC4)

While posting keys govern screen layouts at the client level, business requirements vary across different general ledger accounts within specific legal entities. For example, a company can require a cost center on travel expenses and suppress the field for some bank postings.

To manage this variability, SAP provides Field Status Groups grouped within a Field Status Variant:

  1. Field Status Variant (FSV): A four-character key defined in transaction OBC4 (table T004V).
  2. Assignment to Company Code: The FSV is assigned to the Company Code in transaction OBC5 (table T001-FSTVA). Multiple company codes with similar operational accounting structures can share the same FSV.
  3. Field Status Group (FSG): Configured within the FSV in transaction OBC4 (table T004F). An FSG groups fields into logical sub-groups (General Data, Additional Account Assignments, Payment Transactions, Asset/Material Data) and assigns each field one of three statuses:
    • Suppress: The field is suppressed for data entry on the applicable screen.
    • Required (Mandatory): The field must be populated with a valid value before the user can proceed or save the document.
    • Optional: The field appears on the user interface; the user may populate it or leave it blank.
  4. Assignment in G/L Account Master Record: In transaction FS00 (Company Code segment, table SKB1-FSTAG), each G/L account is assigned exactly one Field Status Group (for example, a group configured for operating expenses).

These group names and settings illustrate one configuration.

+---------------------------------------------------------------------------------------------+
|                        Field Status Variant & Group Architecture                            |
+---------------------------------------------------------------------------------------------+
| Company Code 1000  ---> Assigned in OBC5 to Field Status Variant '1000'                      |
|                                                                                             |
| Field Status Variant '1000' (OBC4)                                                          |
|  ├── Group G001 (General with Text)       --> Text: Optional, Cost Center: Suppress         |
|  ├── Group G004 (Cost Accounts)           --> Cost Center: Required, Text: Optional         |
|  └── Group G005 (Bank Accounts)           --> Value Date: Required, Cost Center: Suppress   |
|                                                                                             |
| G/L Master FS00 (Account 610000 Expense)  ---> Assigned SKB1-FSTAG = 'G004'                 |
+---------------------------------------------------------------------------------------------+

3. Conflict Resolution Matrix: Posting Key vs. Field Status Group

When an accountant enters a document line item, SAP evaluates two independent field status strings simultaneously:

  1. The field status defined on the Posting Key (OB41).
  2. The field status defined on the Field Status Group assigned to the G/L Account (OBC4).

For fields controlled by both settings, use the following combinations.

Posting keyGroup: SuppressGroup: OptionalGroup: Required
SuppressSuppressSuppressConflict
OptionalSuppressOptionalRequired
RequiredConflictRequiredRequired

A field cannot be both hidden and required. Resolve the conflict in configuration before posting. The four-status rule that includes Display applies to G/L master-data layout, as described in 3.2.

For standard G/L debit and credit keys 40 and 50, Optional lets the account's group specify which of the applicable fields are required or suppressed. Customer and supplier keys can apply more specific rules for their transaction. If a message cites a posting key, account and field, check both settings. SAP documents F5272 in some contexts, including account assignment models in F-02 and FB01.


4. Worked Business Scenario: Diagnosing a Line Item Posting Error

Consider an enterprise scenario during financial cutover:

  • Company Code: 1000
  • G/L Account: 400000 (Domestic Sales Revenue)
  • Field Status Variant: 1000
  • Field Status Group on Account 400000: G029 (Revenue accounts)
  • Posting Key Used: 50 (G/L Credit)

Configuration Audit

  1. In transaction OBC4, under Variant 1000, Group G029, group Additional Account Assignments:
    • Profit Center: Configured as Required Entry.
  2. In transaction OB41, Posting Key 50, group Additional Account Assignments:
    • A client-wide configuration change set Profit Center to Suppress.

System Result

When an accountant attempts to post revenue using transaction FB50:

  • Posting Key 50 mandates that Profit Center is Suppressed.
  • Field Status Group G029 mandates that Profit Center is Required.
  • The line has inconsistent field status. One of the incompatible settings must change before the entry can post.
  • Resolution: The administrator navigates to transaction OB41, selects Posting Key 50, and changes Profit Center from Suppress to Optional. The revised field status is Required because group G029 requires Profit Center. Test with a valid profit center and check other uses of posting key 50, which is client-wide.

5. Diagnose the Scope Before Changing a Rule

Compare an ordinary supplier invoice with a direct expense debit. The supplier line uses the supplier posting key and the group from its reconciliation account. The expense line uses the G/L debit key and the group of the expense account. Changing the client-wide key can affect postings in more than one company code. A change meant for a single company code should be tested against that company's group and variant assignments, including any other accounts sharing them.

Test Your Knowledge

An enterprise experiences posting failures when entering customer invoices. The configuration audit reveals that Posting Key 01 has the 'Text' field configured as Suppress, while the Field Status Group assigned to the customer reconciliation account has the 'Text' field configured as Required. What is the operational behavior of SAP S/4HANA during document entry?

A

The Text field becomes optional

B

The field status group always takes priority and makes Text required

C

The posting key always takes priority and suppresses Text

D

SAP reports an inconsistent field status that must be resolved before posting

Test Your Knowledge

Which organizational scope applies to Posting Keys in SAP S/4HANA, and which three foundational control functions do they execute on document line items?

A

Defined at the Client level; determines whether the line item is a debit or credit, restricts the permitted account type, and determines the initial line item field status layout

B

Defined at the Company Code level; determines currency conversion rates, specifies payment terms, and assigns reconciliation accounts

C

Defined at the Chart of Accounts level; determines the G/L account type, controls open item management, and assigns the group chart of accounts

D

Defined at the Controlling Area level; specifies whether cost centers or internal orders are mandatory for managerial allocations

Test Your Knowledge

An accountant posts an ordinary supplier invoice directly to an expense account in FB60. Which standard posting keys identify the supplier and expense lines in the FI entry view?

A

Posting Key 21 for the vendor credit line and Posting Key 50 for the expense debit line

B

Posting Key 01 for the vendor credit line and Posting Key 40 for the expense debit line

C

Posting Key 31 for the vendor credit line and Posting Key 40 for the expense debit line

D

Posting Key 25 for the vendor credit line and Posting Key 50 for the expense debit line

Sections you finish are checked off in the contents.