# Lease Contracts and IFRS 16 Lease Accounting Program

> A custom program that keeps lease contracts (term, payment schedule, annual increase and discount rate) in one place, calculates and posts the lease liability and right-of-use asset at commencement, and posts interest accrual, lease payment and current/non-current split entries every month. When a contract changes, the liability is remeasured.

- Type: Program, Custom development, Background program
- Module: FI
- Estimated effort: L (14–20 working days)
- Last updated: 2026-11-17
- URL: https://nekuhub.com/en/programs/lease-contracts-and-ifrs-16-lease-accounting/


## Why is the standard not enough?

The standard offers RE-FX (RECN) or separately licensed contract management solutions for IFRS 16; when these are not in place, lease contracts are tracked in spreadsheets, present value and interest tables are calculated by hand and entries are made every month with FB50. AS01 creates the right-of-use asset but does not calculate its amount; liability, interest and reclassification stay entirely outside SAP. The custom program brings contract, calculation and posting together in one flow.

### Closest standard alternatives

- AS01: Creates the right-of-use asset by hand; no present value, interest or liability calculation.
- FBD1: A recurring entry with a fixed amount can be defined; it does not fit because the interest amount changes every month.

## Tables used

| Table | Role | Access | Join | System |
|---|---|---|---|---|
| ANLA | Right-of-use asset master: asset class and capitalization date | Write | - | ECC + S/4 |
| ANLZ | Time-dependent asset assignment: cost center and business area | Write | ANLZ-BUKRS = ANLA-BUKRS AND ANLZ-ANLN1 = ANLA-ANLN1 AND ANLZ-ANLN2 = ANLA-ANLN2 | ECC + S/4 |
| ANLC | Accumulated depreciation and net book value of the asset | Read | ANLC-BUKRS = ANLA-BUKRS AND ANLC-ANLN1 = ANLA-ANLN1 AND ANLC-ANLN2 = ANLA-ANLN2 | ECC + S/4 |
| LFA1 | Lessor vendor | Read | - | ECC + S/4 |
| TCURR | Period-end rates for foreign currency leases | Read | - | ECC + S/4 |
| BSIK | Open or paid check of the vendor payables created for rent | Read | - | ECC + S/4 |

## BAPIs and functions used

- BAPI_FIXEDASSET_CREATE1: Creates the right-of-use asset
- BAPI_ACC_DOCUMENT_POST: Posts commencement, interest, rent and reclassification entries
- BAPI_TRANSACTION_COMMIT: Commits each contract's postings
- READ_EXCHANGE_RATE: Reads the rate for foreign currency contracts

## Selection screen parameters

| Parameter | Description | Type | Reference field | Required |
|---|---|---|---|---|
| P_BUKRS | Company code | Single value | ANLA-BUKRS | Yes |
| P_BUDAT | Posting date (period end) | Single value | BKPF-BUDAT | Yes |
| R_ACTN | Action: upload contracts, commencement, monthly run or remeasurement | Radio button | - | No |
| P_FILE | Contract file (for upload) | Single value | - | No |
| P_TEST | Test mode | Checkbox | - | No |

## Input file columns

| Column | Target field | Required |
|---|---|---|
| Contract no. | Key of the contract record; written to the asset description and the document reference | Yes |
| Lessor | LFA1-LIFNR | Yes |
| Start date | Lease commencement date; becomes the asset capitalization date | Yes |
| End date | End date; the contract term is used as useful life | Yes |
| Monthly rent | Rent amount for the first year of the payment schedule | Yes |
| Currency | Contract currency; a foreign currency liability is revalued at the month-end rate | Yes |
| Annual increase (%) | Increase applied to the rent at the start of each contract year | No |
| Discount rate (%) | Annual rate used for present value and effective interest | Yes |
| Asset class | ANLA-ANLKL | Yes |

## Result list columns

| Column | Source |
|---|---|
| Contract no. | Calculated: Number in the contract record |
| Lessor | LFA1-NAME1 |
| Right-of-use asset | ANLA-ANLN1 |
| Opening liability | Calculated: Lease liability at the start of the period |
| Interest | Calculated: Opening liability × monthly effective interest rate |
| Payment | Calculated: Rent falling due in the period |
| Closing liability | Calculated: Opening + interest − payment |
| Current portion | Calculated: Principal payable in the next 12 months |
| Status | Calculated: Test, posted or error |

## How does the program work?

1. Contracts are uploaded from an Excel template or entered on screen: lessor vendor (LFA1), start and end date, monthly rent, currency, annual increase rate or index, payment day, discount rate (incremental borrowing rate) and asset class.
2. At commencement, the present value of all future payments is calculated with the discount rate; this amount is the initial lease liability and right-of-use asset. The asset is created with BAPI_FIXEDASSET_CREATE1 with the contract term as useful life and written to ANLA and ANLZ.
3. The commencement entry is posted with BAPI_ACC_DOCUMENT_POST (debit right-of-use asset, credit lease liability).
4. The monthly run accrues interest expense using the effective interest method; for rent that falls due, a payable to the vendor is posted and deducted from the liability. The right-of-use asset is depreciated by the standard depreciation run (AFAB).
5. At period end, the principal payable in the next 12 months is reclassified to the current liability account.
6. If a contract is extended, the rent changes or it ends early, the remaining payments are recalculated and the liability difference is posted as an adjustment to the asset. The full payment and interest schedule can be displayed per contract.

## Authorization objects

- A_S_ANLKL: Authorization to create assets by asset class
- F_BKPF_BUK: Posting authorization for the company code

## Frequently asked questions

### What about short-term and low-value leases?

An exemption flag can be set on the contract. No asset or liability is created for these contracts; rent is expensed directly each month and shown separately in the report.

### What happens when rent rises with an index?

The new rent and its effective date are entered on the contract and remeasurement is run. Remaining payments are discounted again with the new amount, and the difference is posted as an adjustment to the right-of-use asset.

### Can rent stay as an expense in the statutory ledger?

Yes. With a parallel ledger, IFRS 16 entries are posted to the IFRS ledger group only; in the statutory ledger the rent stays an expense through the vendor invoice.

---
Let us build this program for your system: https://nekuhub.com/en/request-a-quote/?report=fi-ifrs16-lease-contracts
