{"audience":"Accounts receivable and payable teams, and G/L specialists who reconcile bank and clearing accounts.","authorization_objects":[{"note":"Posting authorization by company code","object":"F_BKPF_BUK"},{"note":"Posting authorization by account type (customer, vendor, G/L)","object":"F_BKPF_KOA"},{"note":"Authorization for the clearing document type","object":"F_BKPF_BLA"}],"components":[],"countries":[],"effort_days_max":7,"effort_days_min":4,"effort_size":"M","faq":[{"a":"Items with the same document currency are cleared in one group. For different currencies, a clearing currency rule is defined during installation; the exchange difference is posted to the standard exchange difference accounts.","q":"Can items in different currencies be cleared in the same group?"},{"a":"Yes. When the customer is also a vendor, both account types can be in the same group for netting. The group is then closed with one clearing document.","q":"Can customer and vendor items be closed in the same group?"},{"a":"The clearing is reset with the standard FBRA and the document is reversed if needed. Because the program logs every document it creates, the documents to undo are easy to find.","q":"How is a wrong clearing undone?"}],"features":[{"code":"test_run","label":"Test mode (check without posting)","note":""},{"code":"log","label":"Line-by-line result and error log","note":""},{"code":"error_file","label":"Download failed lines as a separate file","note":"Failed groups can be corrected and uploaded again with the same template."},{"code":"excel","label":"Export to Excel","note":"An empty template and the open item list can be downloaded as Excel."},{"code":"background","label":"Runs as a background job","note":""}],"functions":[{"name":"POSTING_INTERFACE_START","role":"Starts the posting interface session"},{"name":"POSTING_INTERFACE_CLEARING","role":"Creates the clearing document for each group"},{"name":"POSTING_INTERFACE_END","role":"Closes the posting interface session"}],"gap":"F-32, F-44 and F-03 clear one account at a time on screen. F.13 automatic clearing only closes items that match exactly on configured common fields (assignment, reference); it does not take an external matching list from a reconciliation exercise or a bank. In factoring, netting or clearing-account clean-ups, hundreds of items are cleared by hand.","id":"fi-open-item-clearing-upload","industries":[],"input_columns":[{"derived":true,"label":"Group key","required":true,"rule":"Rows with the same key are cleared in one clearing document","target_field":null,"target_table":null},{"derived":false,"label":"Company code","required":true,"rule":"","target_field":"BUKRS","target_table":"BKPF"},{"derived":false,"label":"Account type (D/K/S)","required":true,"rule":"","target_field":"KOART","target_table":"BSEG"},{"derived":true,"label":"Account","required":true,"rule":"Customer (KUNNR), vendor (LIFNR) or G/L account (HKONT) by account type","target_field":null,"target_table":null},{"derived":false,"label":"Document number","required":true,"rule":"","target_field":"BELNR","target_table":"BSEG"},{"derived":false,"label":"Fiscal year","required":true,"rule":"","target_field":"GJAHR","target_table":"BSEG"},{"derived":false,"label":"Line item","required":true,"rule":"","target_field":"BUZEI","target_table":"BSEG"},{"derived":false,"label":"Clearing date","required":true,"rule":"","target_field":"BUDAT","target_table":"BKPF"},{"derived":false,"label":"Document type","required":false,"rule":"","target_field":"BLART","target_table":"BKPF"},{"derived":false,"label":"Header text","required":false,"rule":"","target_field":"BKTXT","target_table":"BKPF"}],"kind":"program","language":"en","lastmod":"2026-11-17","logic":"1. The file is read; rows with the same group key are collected into one clearing transaction.\n2. Each row's item is looked up in BSID, BSIK or BSIS by account type: the item must still be open and company code and account must match.\n3. The group balance is calculated; if the difference is within the P_TOL tolerance, a line to the difference account is added, otherwise the group fails (or, if selected, the remainder is left as a residual item).\n4. A session is opened with POSTING_INTERFACE_START, each group is cleared with POSTING_INTERFACE_CLEARING and the session is closed with POSTING_INTERFACE_END. Test mode only lists the checks and calculated differences.\n5. The result shows each group's clearing document (BKPF) or error message; failed groups can be downloaded as a separate file.","module":"FI","object_type":"upload","output_columns":[{"calculated":true,"formula":"Group key from the file","label":"Group","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Company code","source_field":"BUKRS","source_table":"BKPF"},{"calculated":true,"formula":"Number of rows in the group","label":"Number of items","source_field":null,"source_table":null},{"calculated":true,"formula":"Signed amount total of the items in the group","label":"Difference","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Clearing document","source_field":"BELNR","source_table":"BKPF"},{"calculated":true,"formula":"Cleared, test passed or error","label":"Status","source_field":null,"source_table":null},{"calculated":true,"formula":"First error or success message returned by the posting interface","label":"Message","source_field":null,"source_table":null}],"parameters":[{"example":"C:\\temp\\denklestirme.xlsx","kind":"parameter","label":"Upload file (XLSX or CSV)","name":"P_FILE","ref_field":"","required":true},{"example":"X","kind":"checkbox","label":"Test mode (check without posting)","name":"P_TEST","ref_field":"","required":false},{"example":"5,00","kind":"parameter","label":"Allowed difference per group (local currency)","name":"P_TOL","ref_field":"","required":false},{"example":"","kind":"checkbox","label":"Leave a difference outside tolerance as a residual item","name":"P_RESID","ref_field":"","required":false}],"part_of":[],"performance":"Clearing creates one document per group; run files with a few thousand rows in the background. Open item checks read by key fields (company code, document, year, item).","process":"R2R","quote_url":"https://nekuhub.com/en/request-a-quote/?report=fi-open-item-clearing-upload","related":["fi-bank-statement-unmatched-items","fi-customer-vendor-netting"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Clears one customer account on screen; no bulk processing from a file.","tcode":"F-32"},{"note":"Automatically clears items that match exactly on common fields; does not take an external matching list.","tcode":"F.13"}],"summary":"A custom program that clears open items grouped in an Excel file on customer, vendor or G/L accounts in bulk. Each group becomes one clearing document; small differences within tolerance go to a difference account, and everything can be checked in test mode without posting.","tables":[{"access":"read","join_on":"","role":"Customer open items to be cleared","table":"BSID","variant":"both"},{"access":"read","join_on":"","role":"Vendor open items to be cleared","table":"BSIK","variant":"both"},{"access":"read","join_on":"","role":"G/L open items to be cleared","table":"BSIS","variant":"both"},{"access":"write","join_on":"","role":"Header of the resulting clearing document","table":"BKPF","variant":"both"},{"access":"write","join_on":"","role":"Clearing document items and the clearing data on the cleared items","table":"BSEG","variant":"both"}],"title":"Mass Open Item Clearing Upload from Excel (Customer, Vendor, G/L)","url":"https://nekuhub.com/en/programs/mass-open-item-clearing-upload-from-excel/","vendor_id":"nekudos"}