IT CanvassTalk to an advisor
SAP tables · LessonBy , SAP Solution Architect · Published · Updated · SAP S/4HANA 2023 · all levels

SAP BKPF

BKPF is a key SAP table in FI (Finance). It stores accounting document headers, the header-level data of financial documents (document type, dates, currency).

Quick answer

BKPF/BSEG is the classic finance header/item pair.

Key takeaways
  • The key is BUKRS + BELNR + GJAHR, financial documents are unique per company code and fiscal year.
  • BUKRS, company code (key).
  • BELNR, accounting document number (key).
  • Watch out: BKPF is the header only; the amounts and the accounts are in BSEG.

What it stores

It stores accounting document headers, the header-level data of financial documents (document type, dates, currency).

Key fields

  • BUKRS, company code (key).
  • BELNR, accounting document number (key).
  • GJAHR, fiscal year (key).
  • BLART, document type.
  • BUDAT, posting date.

Keys and relationships

The key is BUKRS + BELNR + GJAHR, financial documents are unique per company code and fiscal year. The line items are in BSEG. In S/4HANA the universal journal (ACDOCA) is the central line-item source.

Working with it

BKPF/BSEG is the classic finance header/item pair. In S/4HANA, prefer the universal journal (ACDOCA) and CDS views, with BKPF/BSEG available as compatibility views. View its structure in SE11 and its data (with authorization) in SE16N.

Common pitfalls

  • Reading tables directly instead of using CDS/reports where appropriate.
  • Ignoring header/item relationships.
  • Performance: querying large tables without indexed selection.

Practice challenge

+0 XPStreak ×0
Question 1 of 3
Which statement is true of BKPF?
Already working on SAP and stuck on a live ticket?Get an expert SAP developer on screen-share to finish your daily tasks with you. Deliver on time, protect your reputation and your job. Monthly support only, no task-wise plans.Task assigned · no idea where to startStill stuck · your job on the lineExpert joins your screenDelivered on timeExplore On Job Support