# Türkiye Legal Journal and General Ledger (Defter-i Kebir) Printout Report

> A custom ALV report that prints the accounting entries of the selected period in legal format, either as a journal in date order with journal entry numbers or as a general ledger per main account with carried-forward and running balances. It gives PDF and Excel output for period checks of the books, review by the tax advisor and audit requests.

- Type: Report, Custom development, ALV report
- Module: FI
- Estimated effort: M (6–9 working days)
- Localization: TR
- Last updated: 2026-11-17
- URL: https://nekuhub.com/en/reports/turkey-legal-journal-and-general-ledger-printout/


## Localization and legal basis: Türkiye

- Legal basis: Articles 182-183 of Tax Procedure Law No. 213 (journal and general ledger) and Article 64 of Turkish Commercial Code No. 6102.
- The account level (number of main account digits) and the journal numbering rule are set according to the company's chart of accounts during installation.

## Why is the standard not enough?

FAGLL03 lists items per account but gives no journal entry number and does not show entries as balanced debit-credit articles. FAGLB03 only gives period balances; there is no ledger printout with carried-forward and running balances. The report produces both legal books from the same data, with numbering and main account totals.

### Closest standard alternatives

- FAGLL03: Lists account line items; there is no journal number or legal article layout.
- FAGLB03: Shows period balances; gives no entry-level ledger printout with carried-forward and running balances.

## Tables used

| Table | Role | Access | Join | System |
|---|---|---|---|---|
| BKPF | Document header: posting date, document type, reference (driving table) | Read | - | ECC + S/4 |
| BSEG | Line items: account, debit/credit, amount and text | Read | BSEG-BUKRS = BKPF-BUKRS AND BSEG-BELNR = BKPF-BELNR AND BSEG-GJAHR = BKPF-GJAHR | ECC only |
| ACDOCA | Line items and opening balances on S/4HANA | Read | ACDOCA-RBUKRS = BKPF-BUKRS AND ACDOCA-BELNR = BKPF-BELNR AND ACDOCA-GJAHR = BKPF-GJAHR | S/4HANA only |
| FAGLFLEXT | Account opening balances for the general ledger | Read | FAGLFLEXT-RBUKRS = BKPF-BUKRS AND FAGLFLEXT-RYEAR = BKPF-GJAHR | ECC only |
| SKAT | Main account and sub-account names | Read | SKAT-SAKNR = BSEG-HKONT | ECC + S/4 |
| T001 | Company name, chart of accounts and local currency | Read | T001-BUKRS = BKPF-BUKRS | ECC + S/4 |

## Selection screen parameters

| Parameter | Description | Type | Reference field | Required |
|---|---|---|---|---|
| P_BUKRS | Company code | Single value | BKPF-BUKRS | Yes |
| P_GJAHR | Fiscal year | Single value | BKPF-GJAHR | Yes |
| S_BUDAT | Posting date | Range / multiple | BKPF-BUDAT | Yes |
| R_JOURN | Journal | Radio button | - | No |
| R_LEDGR | General ledger | Radio button | - | No |
| P_LEVEL | Main account digits | Single value | - | No |
| P_START | Start journal number | Single value | - | No |

## Output columns

| Column | Source |
|---|---|
| Journal no. | Calculated: Article number assigned in date and document order from the start number |
| Posting date | BKPF-BUDAT |
| Document no. | BKPF-BELNR |
| Main account | Calculated: First P_LEVEL digits of the account number |
| Account | BSEG-HKONT |
| Account name | SKAT-TXT50 |
| Description | BSEG-SGTXT |
| Debit | Calculated: BSEG-DMBTR when BSEG-SHKZG = S |
| Credit | Calculated: BSEG-DMBTR when BSEG-SHKZG = H |
| Running balance | Calculated: In the general ledger, opening balance + cumulative debit − cumulative credit |

## How does the report work?

1. Documents are read from BKPF for the selected company code, fiscal year and posting date range, in posting date and document number order; reversals and special periods are included according to the parameters.
2. Line items are read from BSEG (ACDOCA on S/4HANA); the account number is reduced to the main account by the number of digits in the parameters (e.g. 3 digits).
3. Journal: each document becomes one article; article numbers are assigned in date order starting from the start number. Within an article, debit lines come first, then credit lines, with main account and sub-account totals.
4. General ledger: for each main account the opening balance comes from FAGLFLEXT (ACDOCA on S/4HANA), period entries are added in date order and the running balance is calculated.
5. Account names come from SKAT; page carry-forward totals and period totals are calculated.
6. Output is taken as ALV, PDF or Excel; at the end of the report the equality of debit and credit totals for the period is checked.

## Authorization objects

- F_BKPF_BUK: Document display authorization by company code
- F_SKA1_BUK: G/L account display authorization by company code

## Frequently asked questions

### Does this report replace the e-Ledger?

No. For companies subject to e-Ledger, the legal books are created and signed electronically. The report gives the same content in readable form for checks before the e-Ledger, review by the tax advisor and audit requests; companies not subject to e-Ledger also use it as the printed book.

### Do the journal numbers change with each run?

The number is calculated from the given start number in date and document order. After the period is closed, a run with the same parameters gives the same numbers; the period must be closed to prevent postings into it.

---
Let us build this report for your system: https://nekuhub.com/en/request-a-quote/?report=tr-legal-journal-ledger
