SAP Finance Cheat Sheet

This content was generated with the assistance of AI and should be verified against the official documentation before being relied on in production.

A one-page reference for everyday SAP Finance work, written against SAP S/4HANA 2025 FPS02 (on premise and Private Edition) and SAP S/4HANA Cloud Public Edition 2608. It condenses the Finance pages of this site and follows the running example Example Trading Co. (company code EX01): every code, account and amount of the example is made up for this site and is not a value delivered by SAP. Each section links to the page that explains it in depth, and the full list of pages is at the end.

Download the SAP Finance Cheat Sheet (PDF)

Organizational units

The units that own the books: company code, controlling area, cost center, profit center and segment, with the keys of the running example.

Running example

Company code     EX01 (EUR, group GBP)
Ledgers          0L leading, 2L local
Controlling area EX00
Cost center      EX-ADM
Profit centers   EX-RETAIL, EX-WHOLE
Segments         RETAIL, WHOLESALE

Rules

n company codes : 1 controlling area (same operational chart of accounts). n profit centers : 1 controlling area. n profit centers : 1 segment. Business area is legacy.

Charts of accounts, G/L accounts and periods

The three kinds of chart, the tools for G/L account master data, and the fiscal year variants that decide the posting periods.

Charts of accounts

YCOA  operating (EX01 assigned)
YLOC  country, YGRP  group
400000 Sales revenue, domestic

Master data

On premise: FS00, FSP0, FSS0
Apps: F0731A accounts, F0763A chart

Fiscal year variants

K4  calendar year, 12 + 4 special
V6  July to June, SZ  template
Posting periods: F2293, OB52
Fiscal year period: 2026013

The Universal Journal

One line item table for financial accounting and controlling, and how to read and extend it.

Tables and view

ACDOCA  all line items (no primary key)
BKPF    header, BSEG  source/open items
Absorbed: FAGLFLEXA, COEP, ANEP, MLIT
Read with CDS view I_JournalEntryItem
Compatibility views: BSIS, BSID, BSIK

Custom fields

OXK3 + CI_COBL (coding block)
SCFD_EUI enables Custom Fields app
KEA5 for CO-PA characteristics

Ledgers and currencies

Currency types, the example exchange rate and the kinds of ledger.

Currency types

00 document   10 company code
20 controlling area   30 group
40 hard   50 index-based

Rate 0.85 GBP for 1 EUR

10,000.00 EUR x 0.85 =  8,500.00 GBP
   240.00 EUR x 0.85 =    204.00 GBP

Ledger kinds

Leading 0L (feeds Controlling), non-leading, extension and day ledger. A ledger group addresses several ledgers at once.

Document types and posting keys

The document types, the posting keys and one balanced entry in two currencies.

Document types

SA G/L   AB general   CO from CO
KR vendor invoice   KG credit memo
KZ vendor payment   KN net
DR customer invoice DG credit memo
DZ customer payment

Posting keys

40 debit G/L    50 credit G/L
01 / 11 customer invoice / credit
31 / 21 vendor invoice / credit
25 vendor payment
Special G/L: 09 19 29 39

Example, balanced in both currencies

40 Office supplies  240.00 EUR 204.00 GBP
50 Petty cash       240.00 EUR 204.00 GBP

Payables, receivables and payments

Transactions and apps for supplier and customer documents, and the payment run example.

Transactions and apps

Supplier invoice  FB60, MIRO; F0859
Customer invoice  FB70
Pay supplier      F-53, F-48; F1612
Line items  FBL1N F0712, FBL5N F0711
Payment run  F110; F0770, F0771, F1868
Blocks F0593A, dunning F2435, credit F4596

Payment run example

I1 4,000.00, 2% discount = 80.00
I2 6,000.00; I3 blocked
3,920.00 + 6,000.00 = 9,920.00 EUR
9,920.00 x 0.85 = 8,432.00 GBP

Open items and clearing

How to look at open items and how items that total zero are cleared.

Line items

G/L items  FBL3N, FAGLL03; F2217, F2218

Clearing

Manual     F-03, FB1S; F1579
With post  F-04, F-30, FB05
Automatic  F.13; job app F1927
Reset      FBRA

Rule

Only accounts with open item management are cleared; the items of one clearing total zero.

Explained in Open Items and Clearing.

Assets, bank and cash

Asset transactions and the acquisition example, then the bank and cash tools.

Assets

AS01 create, AS02 change, AS03 display
Public Edition: F3425A (F3425 deprecated)
Area 01 local   30 IFRS   35 cost acct
Van 15,000.00 / 5 years = 3,000.00 a year
Invoice 15,300.00 = van 15,000 + 300

Bank and cash

FI01 banks, FI12_HBANK house banks
FF_5 upload statement; F1564 statements
F1366A bank accounts, FBCJ cash journal
F1737 / F5380 cash position, F0512

Controlling and allocations

Cost element and cost center tools and two allocation examples.

Master data

Cost elements  KA01 KA02 KA03 KA06
Cost center    KS01, KS02; F1443B
Orders settlement F5695, KB21N activity

Rent 1,000.00 EUR by floor area

EX-RENT -> EX-ADM    120 m2  200.00
           EX-SALES  180 m2  300.00
           EX-PROD   300 m2  500.00

Activity EX-IT, 50.00 EUR per hour

EX-SALES 12 h = 600.00, EX-PROD 8 h = 400.00
EX-IT credited 20 h = 1,000.00 EUR

Profit centers and margin

Document splitting and the margin example of the product groups.

Document splitting

Invoice 1,000.00 EUR for profit centers PC-SALES 600.00 and PC-ADMIN 400.00: the payable is split by the cost lines (table T8G16, report FAGL_SHOW_SPLIT).

Margin, EX01, 0.85 GBP for 1 EUR

Revenue PG-A 8,000 + PG-B 4,000 = 12,000
After COGS            5,000.00 EUR
After packing, freight 3,500.00 EUR
3,500.00 x 0.85 = 2,975.00 GBP

Period-end closing and tax

The closing programs, the foreign currency valuation example and the tax code names.

Closing

Valuation  FAGL_FCV (F.05 classic)
Regroup    SAPF100
Cockpit    FCLOCOC, FCLOCOT

Valuation at 0.80

GBP 8,500.00 receivable: 10,000 -> 10,625
Gain 625.00; GBP 4,250 payable: loss 312.50

Tax

Codes S0 S1 J9 I9 V2; maintain FTXP
Condition access sequence MWST
US: condition UTXJ, procedure TAXUSJ
CDS view I_TaxCode

Explained in Period-End Closing and Tax.

APIs and BAPIs

Interfaces that post to and read from the Universal Journal.

SOAP post

JournalEntryCreateRequestConfirmation_In
JournalEntryBulkCreationRequest_In (bulk)

OData read

API_JOURNALENTRYITEMBASIC_SRV
API_COSTCENTER_SRV, API_PROFITCENTER_SRV
/A_JournalEntryItemBasic/?$top=2

ABAP BAPI

BAPI_ACC_DOCUMENT_CHECK, then _POST
DOCUMENTHEADER, ACCOUNTGL, CURRENCYAMOUNT
ITEMNO_ACC links line and amount, RETURN
BAPI_TRANSACTION_COMMIT or _ROLLBACK

Transaction codes and apps

The codes above are the classic transactions and the Fiori app IDs that the pages cross-check against SAP’s help and the Fiori apps reference library. The page below says for each task which one is current on premise and which one the Public Edition offers.