Legal Case Register and Litigation Provision Calculation and Posting Program (IAS 37)
Short answer: A program that keeps the case details received from lawyers (parties, subject, claimed amount, currency, risk rating, expected outcome date) in a case register in SAP and calculates the litigation provision at period end following IAS 37. The difference to the previous period's provision is determined, an additional provision or release is posted, and a movement schedule per case is reported.
- Estimated effort
- M · 10–15 working days
- System
- ECC and S/4HANA
- Tables
- 8
- Scope
- Global
- Built by
- NeKuDos Teknoloji
- Last updated
Why is the standard not enough?
SAP has no register for legal cases; the provision amount is usually calculated from the legal department's spreadsheet and posted by hand with FB50. When and with which risk assessment a case's provision changed cannot be traced in SAP, and the valuation of foreign currency cases and the movement schedule for the notes need separate work.
Who uses it? General ledger and closing teams, the legal department, finance managers and the contacts for the external auditors.
Closest standard alternatives
Tables used
The tables the program reads and updates. ECC and S/4HANA differences are marked separately.
| Table | Role | Access | System |
|---|---|---|---|
| ACDOCAUniversal Journal Entry Line Items | Balance per case on provision accounts (S/4HANA) | Read | S/4HANA only |
| BSEGAccounting Document Segment | Balance per case on provision accounts (ECC) | Read | ECC only |
| BKPFAccounting Document Header | Header of the provision document created | Write | ECC + S/4 |
| SKB1G/L Account Master (Company Code) | Company code settings of provision, expense and income accounts | Read | ECC + S/4 |
| TCURRExchange Rates | Period-end exchange rate for foreign currency cases | Read | ECC + S/4 |
| BUT000Business Partner: General Data | Counterparty business partner name | Read | ECC + S/4 |
| T001Company Codes | Company code local currency | Read | ECC + S/4 |
| CDHDRChange Document Header | Tracking of changes to the case register | Write | ECC + S/4 |
BAPIs and functions used
- BAPI_ACC_DOCUMENT_POSTAccounting: Post Document. Posts the additional provision and the release
- BAPI_ACC_DOCUMENT_CHECKAccounting: Check Document. Checks the posting in a test run
- BAPI_ACC_DOCUMENT_REV_POSTAccounting: Post Reversal. Reverses an incorrect provision posting
- READ_EXCHANGE_RATEDetermine Exchange Rate from Table TCURR. Reads the period-end exchange rate
- TEXT_CONVERT_XLS_TO_SAPConvert Excel File to SAP Format. Uploads case data from the lawyer's report
Selection screen parameters
| Parameter | Description | Type | Reference field | Required | Example |
|---|---|---|---|---|---|
| P_BUKRS | Company code | Single value | BKPF-BUKRS | Yes | 1000 |
| P_GJAHR | Fiscal year | Single value | BKPF-GJAHR | Yes | 2026 |
| P_MONAT | Period | Single value | BKPF-MONAT | Yes | 12 |
| P_BUDAT | Posting date | Single value | BKPF-BUDAT | Yes | 31.12.2026 |
| P_BLART | Document type | Single value | BKPF-BLART | No | SA |
| P_TEST | Test run (no posting) | Checkbox | — | No | X |
Result list columns
| # | Column | Source |
|---|---|---|
| 1 | Case no. | Calculated Number in the case register |
| 2 | Counterparty | BUT000-NAME_ORG1 |
| 3 | Subject | Calculated Case subject (labour, commercial, tax, other) |
| 4 | Risk | Calculated Probable, possible or remote |
| 5 | Claimed amount | Calculated Claimed amount in case currency |
| 6 | Currency | Calculated Case currency |
| 7 | Opening provision | ACDOCA-HSL |
| 8 | Calculated provision | Calculated Best estimate by rule × period-end rate |
| 9 | Difference | Calculated Calculated − opening (positive addition, negative release) |
| 10 | Document | BKPF-BELNR |
| 11 | Message | Calculated Posting or check result |
Sample result list
| Case no. | Counterparty | Subject | Risk | Claimed amount | Currency | Opening provision | Calculated provision | Difference | Document | Message |
|---|---|---|---|---|---|---|---|---|---|---|
| DV-2025-014 | Örnek Lojistik A.Ş. | Commercial | Probable | 850,000 | TRY | 600,000 | 850,000 | 250,000 | 100004512 | Additional provision posted |
| DV-2025-022 | Demo Trading GmbH | Commercial | Probable | 120,000 | EUR | 5,160,000 | 5,640,000 | 480,000 | 100004513 | Additional provision including exchange difference |
| DV-2026-003 | Former employee (free text) | Labour | Possible | 240,000 | TRY | 180,000 | 0 | -180,000 | 100004514 | Risk lowered, provision released |
| DV-2026-009 | Anadolu İnşaat Ltd. | Commercial | Remote | 1,500,000 | TRY | 0 | 0 | 0 | Notes list only |
How does the program work?
- The case register is kept in a custom table: case number, court file number, counterparty (business partner, customer or supplier number, or free text), subject, company code, claimed amount and currency, interest start, risk rating (probable, possible, remote), expected outcome date and responsible lawyer. Data is entered on screen or uploaded from the lawyer’s report with Excel; every change is tracked with change documents.
- In the period-end run the provision amount is calculated per case by rule: for cases rated ‘probable’, the best estimate (the claimed amount or the expected amount given by the lawyer, including interest and costs if any); no provision is made for ‘possible’ and ‘remote’ cases, they are only added to the notes list. Rates and the rule are set during installation according to the company’s accounting policy.
- Foreign currency cases are translated into local currency at the period-end rate (TCURR). For long-running cases discounting can be applied if required.
- The calculated amount is compared with the provision balance posted for this case in the previous period (ACDOCA, BSEG in ECC); the difference is posted as an additional provision (expense / provision account) or a release (provision account / income). The posting is created with BAPI_ACC_DOCUMENT_POST and the case number is written to the assignment and text fields.
- For closed cases (won, lost, settled) the provision is closed; where a payment is due, it is directed from the provision account to the payment posting.
- The report gives per case the opening provision, additions, releases, use, exchange difference and closing provision.
Performance notes
Sum the previous period's provision balance once from ACDOCA for the provision accounts grouped by assignment, not separately per case. Creating one document per company code with one line per case instead of one document per case speeds up the close.
Features
- Test mode (check without posting) Calculated provisions and differences are shown without posting.
- Runs as a background job
- Line-by-line result and error log
- Export to Excel The lawyer's report is uploaded with Excel; the movement schedule is exported to Excel.
- ALV list (sort, filter, subtotals)
Authorization objects
- F_BKPF_BUKAccounting posting by company code
- F_BKPF_KOAPosting authorization for G/L account type
Frequently asked questions
Who is responsible for the provision rule?
Finance sets the rule according to the company's accounting policy and IAS 37; the program only applies it. The risk rating and best estimate come from the legal department or the external lawyer, and the program does not change them.
Is the provision accepted for tax purposes?
The tax treatment of a litigation provision depends on current tax law and the nature of the case. If required, the program separates amounts to be treated as non-deductible on a separate account or field; this is checked with the tax advisor during installation.
Can access to the case register be restricted?
Yes. Because case details are sensitive, the register screen is protected by its own transaction code and company code authorization; the accounting team sees only amount and risk, while the legal department sees the detailed descriptions.
Related reports
Mass G/L Journal Entry Upload from Excel
A custom program that posts multi-line G/L documents (accruals, reclassifications, allocation entries) in bulk from Excel or CSV rows. It checks every …
Türkiye Notes Receivable and Payable Rediscount and Doubtful Receivables Provision Program
A custom background program that calculates the rediscount amount of not-yet-due notes receivable and payable and post-dated cheques at period end …
Let us build this program for your system
Briefly describe your system and expectations. We will clarify the scope and come back with an effort and price quote.