{"audience":"Treasury and financing teams, general ledger and finance managers who plan cash flow.","authorization_objects":[{"note":"Posting authorization for the company code","object":"F_BKPF_BUK"},{"note":"Authorization to post G/L account items","object":"F_BKPF_KOA"}],"components":[],"countries":[],"effort_days_max":14,"effort_days_min":10,"effort_size":"L","faq":[{"a":"The new interest rate is entered on the loan with its effective date. The program calculates interest after that date at the new rate; if the bank sends a new plan, it can be uploaded again from Excel.","q":"How are variable-rate loans handled?"},{"a":"The taxes and fees column in the plan is posted to expense accounts defined in the settings table. Which items are expenses and which are financing costs is set at installation according to accounting policy.","q":"Where are taxes and fees charged on a loan posted?"},{"a":"Yes. Future installments can be passed to cash flow planning as expected payments, so loan repayments show up in the cash position on their due dates.","q":"Is it linked to cash flow planning?"}],"features":[{"code":"excel","label":"Export to Excel","note":"The bank's installment table is uploaded from Excel."},{"code":"test_run","label":"Test mode (check without posting)","note":""},{"code":"background","label":"Runs as a background job","note":"Runs automatically in the month-end close schedule."},{"code":"log","label":"Line-by-line result and error log","note":""},{"code":"alv","label":"ALV list (sort, filter, subtotals)","note":""}],"functions":[{"name":"BAPI_ACC_DOCUMENT_POST","role":"Posts the loan entries"},{"name":"BAPI_TRANSACTION_COMMIT","role":"Commits after each document"},{"name":"READ_EXCHANGE_RATE","role":"Reads the rate for foreign currency loan revaluation"}],"gap":"The standard offers Treasury and Risk Management or Consumer and Mortgage Loans (CML) for loans; these need separate licensing and setup. Without them, the installment plan sent by the bank is tracked in a spreadsheet, interest accrual is entered by hand with an FBD1 recurring entry or FB50, and the remaining principal is derived from the G/L balance. The custom program brings loan record, plan and posting together inside FI.","id":"fi-bank-loans","industries":[],"input_columns":[{"derived":true,"label":"Loan no.","required":true,"rule":"Key of the loan record; written to the document reference","target_field":null,"target_table":null},{"derived":true,"label":"Installment no.","required":true,"rule":"Sequence of the installment in the plan","target_field":null,"target_table":null},{"derived":true,"label":"Due date","required":true,"rule":"Date the installment is paid; becomes the posting date of the payment","target_field":null,"target_table":null},{"derived":true,"label":"Principal","required":true,"rule":"Principal repaid in this installment; deducted from the loan account","target_field":null,"target_table":null},{"derived":true,"label":"Interest","required":true,"rule":"Interest paid in this installment; cleared against accrued interest","target_field":null,"target_table":null},{"derived":true,"label":"Taxes and fees","required":false,"rule":"Taxes and fees paid with the installment; posted to the expense account in the settings table","target_field":null,"target_table":null},{"derived":true,"label":"Currency","required":true,"rule":"Loan currency; must match the currency on the loan record","target_field":null,"target_table":null}],"kind":"program","language":"en","lastmod":"2026-11-17","logic":"1. A loan is entered on screen: bank (T012 and BNKA), drawdown date, amount, currency, interest rate (fixed or variable), day count basis, maturity, principal account and linked house bank account (T012K).\n2. The installment plan is either calculated by the program as equal installments or a single bullet payment, or uploaded from the bank's schedule in Excel; plan lines are kept per loan.\n3. The drawdown is posted with BAPI_ACC_DOCUMENT_POST, debiting the bank and crediting the loan account.\n4. The monthly run accrues interest from the last payment date to month end (debit interest expense, credit accrued interest). For an installment that falls due, principal and accrued interest are cleared and a payment is posted to the bank account.\n5. For foreign currency loans, the remaining principal is revalued at the month-end rate (READ_EXCHANGE_RATE) and the exchange difference is posted.\n6. At period end, principal payable in the next 12 months is reclassified to the short-term loan account. The G/L balance of the loan account (BSIS) is compared with the remaining principal in the plan.","module":"FI","object_type":"batch_job","output_columns":[{"calculated":true,"formula":"Number in the loan record","label":"Loan no.","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Bank","source_field":"BANKA","source_table":"BNKA"},{"calculated":false,"formula":"","label":"Currency","source_field":"WAERS","source_table":"T012K"},{"calculated":true,"formula":"Drawdown − principal repaid","label":"Remaining principal","source_field":null,"source_table":null},{"calculated":true,"formula":"Remaining principal × rate × days / day basis","label":"Interest this month","source_field":null,"source_table":null},{"calculated":true,"formula":"First unpaid installment in the plan","label":"Next installment date","source_field":null,"source_table":null},{"calculated":true,"formula":"Principal payable in the next 12 months","label":"Current portion","source_field":null,"source_table":null},{"calculated":true,"formula":"Loan account balance − remaining principal","label":"G/L difference","source_field":null,"source_table":null},{"calculated":true,"formula":"Test, posted or error","label":"Status","source_field":null,"source_table":null}],"parameters":[{"example":"1000","kind":"parameter","label":"Company code","name":"P_BUKRS","ref_field":"T012-BUKRS","required":true},{"example":"AKB01","kind":"select_option","label":"House bank","name":"S_HBKID","ref_field":"T012-HBKID","required":false},{"example":"30.11.2026","kind":"parameter","label":"Posting date (month end)","name":"P_BUDAT","ref_field":"BKPF-BUDAT","required":true},{"example":"Aylık çalıştırma","kind":"radio","label":"Action: upload plan, monthly run, reclassification or report","name":"R_ACTN","ref_field":"","required":false},{"example":"C:\\temp\\kredi_plani.xlsx","kind":"parameter","label":"Installment plan file (for upload)","name":"P_FILE","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Test mode","name":"P_TEST","ref_field":"","required":false}],"part_of":[],"performance":"Loan counts are usually in the tens; the monthly run finishes in seconds. For variable-rate loans, only that loan's plan is recalculated when a new rate is entered.","process":"R2R","quote_url":"https://nekuhub.com/en/request-a-quote/?report=fi-bank-loans","related":["fi-bank-statement-unmatched-items","fi-foreign-currency-open-items-revaluation-preview","fi-gl-journal-entry-upload"],"releases":[],"source":"custom","standard_alternatives":[{"note":"A recurring entry with a fixed amount can be defined for interest; changing interest, the installment plan and remaining principal are not tracked.","tcode":"FBD1"},{"note":"Interest and installment entries are made by hand; amounts are calculated outside SAP.","tcode":"FB50"}],"summary":"A custom program that keeps bank loans (amount, currency, interest, maturity and installment plan) in one place and automatically posts the monthly interest accrual, principal and interest payments of installments falling due, the revaluation of foreign currency loans and the current/non-current reclassification. Remaining principal and future payments per loan are visible in one list.","tables":[{"access":"read","join_on":"","role":"House bank that granted the loan","table":"T012","variant":"both"},{"access":"read","join_on":"T012K-BUKRS = T012-BUKRS AND T012K-HBKID = T012-HBKID","role":"Bank account and G/L account used for drawdown and payments","table":"T012K","variant":"both"},{"access":"read","join_on":"BNKA-BANKS = T012-BANKS AND BNKA-BANKL = T012-BANKL","role":"Bank name and branch details","table":"BNKA","variant":"both"},{"access":"read","join_on":"","role":"Loan account items: comparison of plan and G/L balance","table":"BSIS","variant":"both"},{"access":"read","join_on":"","role":"Month-end revaluation rates for foreign currency loans","table":"TCURR","variant":"both"},{"access":"write","join_on":"","role":"Drawdown, interest, installment, exchange difference and reclassification documents","table":"BKPF","variant":"both"}],"title":"Bank Loan Tracking, Interest Accrual and Repayment Schedule Program","url":"https://nekuhub.com/en/programs/bank-loan-tracking-interest-accrual-and-repayment-schedule/","vendor_id":"nekudos"}