{"audience":"General ledger and closing teams, the legal department, finance managers and the contacts for the external auditors.","authorization_objects":[{"note":"Accounting posting by company code","object":"F_BKPF_BUK"},{"note":"Posting authorization for G/L account type","object":"F_BKPF_KOA"}],"components":[],"countries":[],"effort_days_max":15,"effort_days_min":10,"effort_size":"M","faq":[{"a":"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.","q":"Who is responsible for the provision rule?"},{"a":"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.","q":"Is the provision accepted for tax purposes?"},{"a":"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.","q":"Can access to the case register be restricted?"}],"features":[{"code":"test_run","label":"Test mode (check without posting)","note":"Calculated provisions and differences are shown without posting."},{"code":"background","label":"Runs as a background job","note":""},{"code":"log","label":"Line-by-line result and error log","note":""},{"code":"excel","label":"Export to Excel","note":"The lawyer's report is uploaded with Excel; the movement schedule is exported to Excel."},{"code":"alv","label":"ALV list (sort, filter, subtotals)","note":""}],"functions":[{"name":"BAPI_ACC_DOCUMENT_POST","role":"Posts the additional provision and the release"},{"name":"BAPI_ACC_DOCUMENT_CHECK","role":"Checks the posting in a test run"},{"name":"BAPI_ACC_DOCUMENT_REV_POST","role":"Reverses an incorrect provision posting"},{"name":"READ_EXCHANGE_RATE","role":"Reads the period-end exchange rate"},{"name":"TEXT_CONVERT_XLS_TO_SAP","role":"Uploads case data from the lawyer's report"}],"gap":"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.","id":"fi-litigation-provision-tracking","industries":[],"input_columns":[],"kind":"program","language":"en","lastmod":"2026-11-19","logic":"1. 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.\n2. 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.\n3. Foreign currency cases are translated into local currency at the period-end rate (TCURR). For long-running cases discounting can be applied if required.\n4. 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.\n5. 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.\n6. The report gives per case the opening provision, additions, releases, use, exchange difference and closing provision.","module":"FI","object_type":"batch_job","output_columns":[{"calculated":true,"formula":"Number in the case register","label":"Case no.","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Counterparty","source_field":"NAME_ORG1","source_table":"BUT000"},{"calculated":true,"formula":"Case subject (labour, commercial, tax, other)","label":"Subject","source_field":null,"source_table":null},{"calculated":true,"formula":"Probable, possible or remote","label":"Risk","source_field":null,"source_table":null},{"calculated":true,"formula":"Claimed amount in case currency","label":"Claimed amount","source_field":null,"source_table":null},{"calculated":true,"formula":"Case currency","label":"Currency","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Opening provision","source_field":"HSL","source_table":"ACDOCA"},{"calculated":true,"formula":"Best estimate by rule × period-end rate","label":"Calculated provision","source_field":null,"source_table":null},{"calculated":true,"formula":"Calculated − opening (positive addition, negative release)","label":"Difference","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Document","source_field":"BELNR","source_table":"BKPF"},{"calculated":true,"formula":"Posting or check result","label":"Message","source_field":null,"source_table":null}],"parameters":[{"example":"1000","kind":"parameter","label":"Company code","name":"P_BUKRS","ref_field":"BKPF-BUKRS","required":true},{"example":"2026","kind":"parameter","label":"Fiscal year","name":"P_GJAHR","ref_field":"BKPF-GJAHR","required":true},{"example":"12","kind":"parameter","label":"Period","name":"P_MONAT","ref_field":"BKPF-MONAT","required":true},{"example":"31.12.2026","kind":"parameter","label":"Posting date","name":"P_BUDAT","ref_field":"BKPF-BUDAT","required":true},{"example":"SA","kind":"parameter","label":"Document type","name":"P_BLART","ref_field":"BKPF-BLART","required":false},{"example":"X","kind":"checkbox","label":"Test run (no posting)","name":"P_TEST","ref_field":"","required":false}],"part_of":[],"performance":"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.","process":"R2R","quote_url":"https://nekuhub.com/en/request-a-quote/?report=fi-litigation-provision-tracking","related":["fi-gl-journal-entry-upload","tr-rediscount-doubtful"],"releases":[],"source":"custom","standard_alternatives":[{"note":"The provision is posted by hand; there is no case register or calculation.","tcode":"FB50"},{"note":"Lists provision account items by assignment; does not prepare the movement schedule.","tcode":"FBL3N"}],"summary":"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.","tables":[{"access":"read","join_on":"","role":"Balance per case on provision accounts (S/4HANA)","table":"ACDOCA","variant":"s4"},{"access":"read","join_on":"","role":"Balance per case on provision accounts (ECC)","table":"BSEG","variant":"ecc"},{"access":"write","join_on":"BKPF-BUKRS = ACDOCA-RBUKRS AND BKPF-BELNR = ACDOCA-BELNR AND BKPF-GJAHR = ACDOCA-GJAHR","role":"Header of the provision document created","table":"BKPF","variant":"both"},{"access":"read","join_on":"SKB1-BUKRS = ACDOCA-RBUKRS AND SKB1-SAKNR = ACDOCA-RACCT","role":"Company code settings of provision, expense and income accounts","table":"SKB1","variant":"both"},{"access":"read","join_on":"","role":"Period-end exchange rate for foreign currency cases","table":"TCURR","variant":"both"},{"access":"read","join_on":"","role":"Counterparty business partner name","table":"BUT000","variant":"both"},{"access":"read","join_on":"T001-BUKRS = BKPF-BUKRS","role":"Company code local currency","table":"T001","variant":"both"},{"access":"write","join_on":"","role":"Tracking of changes to the case register","table":"CDHDR","variant":"both"}],"title":"Legal Case Register and Litigation Provision Calculation and Posting Program (IAS 37)","url":"https://nekuhub.com/en/programs/legal-case-register-and-litigation-provision-program/","vendor_id":"nekudos"}