{"audience":"Accounting teams doing bank reconciliation, treasury teams and SAP FI consultants managing bank integrations.","authorization_objects":[{"note":"Authorization to import and process bank statements for the company code","object":"F_FEBB_BUK"},{"note":"Posting authorization for the bank statement entries","object":"F_BKPF_BUK"}],"components":[],"countries":[],"effort_days_max":10,"effort_days_min":7,"effort_size":"M","faq":[{"a":"Yes. The reader layer depends on the source; movements can be fetched from a file folder, SFTP or the bank's API. Connection and certificate settings are managed through SAP's standard communication settings.","q":"Can it connect to the bank's web service directly?"},{"a":"If the text contains several invoice numbers, all of them are written to FEBCL as clearing selections, and the item is cleared in one posting when the total matches. If it does not match, the item is left for postprocessing.","q":"What if one receipt pays several invoices?"},{"a":"Yes. The bank statement tables and postprocessing are the same on S/4HANA, and the Fiori bank statement apps show the same data.","q":"Can it be used on S/4HANA?"}],"features":[{"code":"background","label":"Runs as a background job","note":"Runs automatically at planned intervals during the day."},{"code":"test_run","label":"Test mode (check without posting)","note":""},{"code":"log","label":"Line-by-line result and error log","note":""},{"code":"email","label":"Send the result by email","note":"The run summary and errors are sent by email."}],"functions":[{"name":"SO_NEW_DOCUMENT_ATT_SEND_API1","role":"Emails the run summary to the accounting team"}],"gap":"FF_5 imports statements from defined formats such as MT940, but a bank's own XML, web service or Excel export has to be converted first. Standard search strings find patterns in the note to payee, but finding the customer or vendor from the counterparty IBAN, splitting one movement across several invoices or posting bank charges and similar fees to a separate account needs extra rules. The custom program converts all formats in one place, applies a rule table and keeps the standard posting and postprocessing (FEBAN).","id":"fi-bank-statement-import-posting","industries":[],"input_columns":[{"derived":true,"label":"Account IBAN","required":true,"rule":"Mapped to the house bank account in T012K; stored in FEBKO as house bank and account ID","target_field":null,"target_table":null},{"derived":false,"label":"Value date","required":true,"rule":"","target_field":"VALUT","target_table":"FEBEP"},{"derived":false,"label":"Amount (signed)","required":true,"rule":"","target_field":"KWBTR","target_table":"FEBEP"},{"derived":true,"label":"Currency","required":true,"rule":"Compared with the account currency; the row is rejected if it differs","target_field":null,"target_table":null},{"derived":false,"label":"Bank transaction code","required":false,"rule":"","target_field":"VGEXT","target_table":"FEBEP"},{"derived":false,"label":"Description","required":false,"rule":"","target_field":"VWEZW","target_table":"FEBRE"},{"derived":true,"label":"Counterparty IBAN","required":false,"rule":"Looked up in TIBAN, KNBK and LFBK to find the customer or vendor","target_field":null,"target_table":null},{"derived":true,"label":"Counterparty name","required":false,"rule":"Used for name matching when no IBAN is found, and shown in the list","target_field":null,"target_table":null}],"kind":"program","language":"en","lastmod":"2026-11-17","logic":"1. A source is defined for each bank account (file folder, SFTP or bank web service), and a reader class converts that bank's format into one common structure.\n2. The house bank and account ID are found in T012K and T012; a statement that arrives twice is rejected by checking its number and date in FEBKO.\n3. A rule table is applied to each movement in order: the counterparty IBAN is looked up in TIBAN, KNBK and LFBK; if nothing is found, the invoice or reference number in the text is matched against open items in BSID; patterns for bank charges, interest and taxes are routed to fixed G/L accounts.\n4. The header is written to FEBKO, the items to FEBEP, the note to payee lines to FEBRE and the clearing information found to FEBCL; each item gets an internal transaction code.\n5. If P_POST is set, the standard bank statement posting step is started; matched items are posted and open items cleared, unmatched ones stay in FEBAN for postprocessing.\n6. A run summary (movements received, posted and left for postprocessing, with amounts) is listed and sent by email.","module":"FI","object_type":"interface","output_columns":[{"calculated":false,"formula":"","label":"Statement no.","source_field":"AZNUM","source_table":"FEBKO"},{"calculated":false,"formula":"","label":"Item","source_field":"ESNUM","source_table":"FEBEP"},{"calculated":false,"formula":"","label":"Value date","source_field":"VALUT","source_table":"FEBEP"},{"calculated":false,"formula":"","label":"Amount","source_field":"KWBTR","source_table":"FEBEP"},{"calculated":true,"formula":"Counterparty name from the file","label":"Counterparty","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Account found","source_field":"AGKON","source_table":"FEBCL"},{"calculated":true,"formula":"IBAN, invoice reference, fixed pattern or no match","label":"Rule applied","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Accounting document","source_field":"BELNR","source_table":"FEBEP"},{"calculated":true,"formula":"Posted and cleared, posted, left for postprocessing or error","label":"Status","source_field":null,"source_table":null}],"parameters":[{"example":"AKB01","kind":"select_option","label":"House bank","name":"S_HBKID","ref_field":"FEBKO-HBKID","required":false},{"example":"TRY01","kind":"select_option","label":"Account ID","name":"S_HKTID","ref_field":"FEBKO-HKTID","required":false},{"example":"Dosya klasörü","kind":"radio","label":"Source: file folder or bank service","name":"R_SRC","ref_field":"","required":false},{"example":"/interface/bank/in/","kind":"parameter","label":"File path (for a single file)","name":"P_FILE","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Start the posting step after import","name":"P_POST","ref_field":"","required":false},{"example":"","kind":"checkbox","label":"Test mode (show without writing to the tables)","name":"P_TEST","ref_field":"","required":false}],"part_of":[],"performance":"Daily movements rarely exceed a few hundred. For BSID matching, only open items in the movement's company code and within the amount tolerance are read. The job can be scheduled several times a day.","process":"R2R","quote_url":"https://nekuhub.com/en/request-a-quote/?report=fi-bank-statement-import-posting","related":["fi-bank-statement-unmatched-items","fi-exchange-rate-daily-import-interface","fi-open-item-clearing-upload"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Imports statements in defined formats; bank-specific formats and IBAN-based matching need extra development.","tcode":"FF_5"},{"note":"Unmatched items are still postprocessed in the standard screen.","tcode":"FEBAN"}],"summary":"A custom interface program that reads the account movements banks deliver in different formats (MT940, CAMT.053, bank XML or an Excel export) every day, writes them into the SAP electronic bank statement tables, finds the customer, vendor or G/L account from the counterparty IBAN and text rules, and triggers the standard posting step. Unmatched movements land on the postprocessing list.","tables":[{"access":"read_write","join_on":"","role":"Statement header: house bank, account, statement number and date; duplicate check","table":"FEBKO","variant":"both"},{"access":"write","join_on":"FEBEP-KUKEY = FEBKO-KUKEY","role":"Statement items: value date, amount, external and internal transaction code","table":"FEBEP","variant":"both"},{"access":"write","join_on":"FEBRE-KUKEY = FEBEP-KUKEY AND FEBRE-ESNUM = FEBEP-ESNUM","role":"Note to payee lines of the items","table":"FEBRE","variant":"both"},{"access":"write","join_on":"FEBCL-KUKEY = FEBEP-KUKEY AND FEBCL-ESNUM = FEBEP-ESNUM","role":"Account type, account and clearing selection found by the rule table","table":"FEBCL","variant":"both"},{"access":"read","join_on":"","role":"House bank accounts and their G/L account","table":"T012K","variant":"both"},{"access":"read","join_on":"","role":"From the counterparty IBAN to bank account details","table":"TIBAN","variant":"both"},{"access":"read","join_on":"","role":"Customer bank accounts: finding the customer from the IBAN","table":"KNBK","variant":"both"},{"access":"read","join_on":"","role":"Vendor bank accounts: finding the vendor from the IBAN","table":"LFBK","variant":"both"},{"access":"read","join_on":"","role":"Customer open items to match against incoming payments","table":"BSID","variant":"both"}],"title":"Electronic Bank Statement Import and Automatic Posting Interface","url":"https://nekuhub.com/en/programs/electronic-bank-statement-import-and-automatic-posting/","vendor_id":"nekudos"}