FI Program Custom development Background program TR · Türkiye

Türkiye Notes Receivable and Payable Rediscount and Doubtful Receivables Provision Program

Short answer: A custom background program that calculates the rediscount amount of not-yet-due notes receivable and payable and post-dated cheques at period end with the internal discount method, proposes a doubtful receivables provision for receivables in litigation or enforcement, and posts the approved amounts and reverses them at the start of the next period.

Estimated effort
M · 7–10 working days
System
ECC and S/4HANA
Tables
6
Scope
TR
Built by
NeKuDos Teknoloji
Last updated

Why is the standard not enough?

F104 calculates receivable provisions as a percentage by days overdue; it does not know the litigation/enforcement condition in tax rules or note rediscounting. F107 runs a valuation but does not calculate rediscount with the internal discount formula and the Central Bank rate. Teams calculate in Excel, enter postings by hand and may forget the reversal. The program does calculation, posting and reversal in one flow.

Who uses it? General ledger and financial close teams, tax teams, certified public accountants and auditors.

Closest standard alternatives

  • F104 Receivables Provisions. Calculates provisions as a percentage by days overdue; there is no litigation condition or note rediscount.
  • F107 FI Valuation Run. Runs a valuation; does not calculate note rediscount with the internal discount formula.

Localization and legal basis

Tables used

The tables the program reads and updates. ECC and S/4HANA differences are marked separately.

TableRoleAccessSystem
BSIDCustomer Open ItemsNotes receivable, post-dated cheques and doubtful receivable candidatesReadECC + S/4
BSIKVendor Open ItemsNotes payableReadECC + S/4
BSEDBill of Exchange Fields Document SegmentNote number and issue detailsReadECC + S/4
KNA1Customer Master (General Section)Customer nameReadECC + S/4
LFA1Vendor Master (General Section)Vendor nameReadECC + S/4
BKPFAccounting Document HeaderRediscount, provision and reversal documentsWriteECC + S/4

S/4HANA notes

  • BSID → I_OperationalAcctgDocItem: In S/4HANA BSID is no longer filled as a separate index table; reads work through a compatibility view of the same name. For new developments the I_OperationalAcctgDocItem CDS view is recommended.
  • BSIK: In S/4HANA BSIK is no longer filled as a separate index table; reads work through a compatibility view. For new developments the I_OperationalAcctgDocItem CDS view is recommended.

BAPIs and functions used

  • BAPI_ACC_DOCUMENT_POSTAccounting: Post Document. Posts the rediscount and doubtful receivables provision entries
  • BAPI_ACC_DOCUMENT_REV_POSTAccounting: Post Reversal. Reverses the rediscount entries at the start of the next period

Selection screen parameters

ParameterDescriptionTypeReference fieldRequiredExample
P_BUKRSCompany codeSingle valueBKPF-BUKRSYes1000
P_KEYDTValuation dateSingle value—Yes31.12.2026
R_REESKNote rediscountRadio button—NoX
R_DOUBTDoubtful receivables provisionRadio button—No—
P_RATERediscount interest rate (annual %)Single value—No40,75
S_UMSKZNote, cheque or litigation special G/L indicatorsRange / multipleBSID-UMSKZNoW, D
P_TESTTest mode (calculate without posting)Checkbox—NoX

Result list columns

#ColumnSource
1TypeCalculated Note receivable, note payable, post-dated cheque or doubtful receivable
2AccountCalculated BSID-KUNNR or BSIK-LIFNR
3Account nameCalculated KNA1-NAME1 or LFA1-NAME1
4Note no.BSED-BOENO
5Due dateBSID-ZFBDT
6Amount (local)BSID-DMBTR
7DaysCalculated Due date − valuation date
8Rediscount / provision amountCalculated For rediscount amount × rate × days / (36000 + rate × days); for doubtful receivables the unsecured amount
9Posting documentBKPF-BELNR

Sample result list

TypeAccountAccount nameNote no.Due dateAmount (local)DaysRediscount / provision amountPosting document
Note receivable200150Örnek Tekstil A.Ş.S-2026-20403/31/2027500,0009046,228.651000004601
Note payable100245Anadolu Ambalaj San. Ltd.B-2026-03102/15/2027-240,00046-11,878.171000004602
Doubtful receivable200388Demo Retail Ltd.05/31/2026130,000-214130,0001000004603
A view built with fictional sample data; not real system data.

How does the program work?

  1. Rediscount: open items with the special G/L indicators for notes receivable and post-dated cheques are read from BSID, and for notes payable from BSIK, for the selected company code and valuation date; the note number comes from BSED.
  2. For each item due after the valuation date, days = due date − valuation date; rediscount = amount × rate × days / (36000 + rate × days) (internal discount).
  3. Doubtful receivables: customer open items marked as in litigation or enforcement (special G/L indicator or dunning level set by parameter) with an unsecured portion are listed; the proposed provision is the unsecured amount.
  4. The user approves rows or corrects the amount in the ALV.
  5. Approved amounts are posted per account group with BAPI_ACC_DOCUMENT_POST (rediscount interest expense/income and rediscount accounts; provision expense and the doubtful receivables provision account).
  6. Rediscount entries are reversed on the first day of the next period with BAPI_ACC_DOCUMENT_REV_POST; the doubtful receivables provision stays until collection or final write-off.

Performance notes

Limit BSID and BSIK by company code and special G/L indicator; read BSED in bulk by item key. Post per account group rather than per item.

Features

  • Test mode (check without posting)
  • ALV list (sort, filter, subtotals)
  • Line-by-line result and error log
  • Export to Excel The calculation table is exported to Excel for the audit file.
  • Runs as a background job The reversal step can be scheduled for the first day of the next period.

Authorization objects

  • F_BKPF_BUKPosting authorization by company code
  • F_BKPF_KOAPosting authorization by account type

Frequently asked questions

Why internal rather than external discount?

Tax Procedure Law bases rediscount on the internal discount method, which finds the period-end value as the present value of the amount at maturity. If needed, an external discount option can be added as a separate parameter for accounting policy purposes.

For which receivables is a doubtful provision proposed?

For a tax-deductible provision the receivable must be in litigation or enforcement. The program only proposes items flagged with that status; the secured part is deducted from the provision. The final decision is the user's approval.

Related reports

FI Report Custom ALV report

Customer Receivables Aging Report

A custom ALV report that ages customer open items by net due date and shows down payments received and other special G/L items in the same list. …

BSID · BSAD · KNA1 · KNB1

FI Report Custom ALV report

Vendor Open Items Aging Report

A custom ALV report that ages vendor open items by net due date and spreads the amounts into not-due, 0–30, 31–60, 61–90 and 90+ day buckets. The …

BSIK · LFA1 · LFB1 · T001

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.

Related report: Türkiye Notes Receivable and Payable Rediscount and Doubtful Receivables Provision Program