{"audience":"Chief accountants, finance managers, internal control and internal audit teams, general ledger users.","authorization_objects":[{"note":"Document posting and display authorization by company code","object":"F_BKPF_BUK"},{"note":"Posting authorization by document type","object":"F_BKPF_BLA"},{"note":"Posting authorization by account type","object":"F_BKPF_KOA"},{"note":"Authorization to process approval work items","object":"S_WF_WI"}],"components":[],"countries":[],"effort_days_max":18,"effort_days_min":12,"effort_size":"L","faq":[{"a":"The check at save time redirects a document that hits a rule to parking with a warning. For cases where the check did not run, mass interfaces or earlier periods, the violation report separately lists posted documents without an approval record.","q":"What happens if a user posts the document directly with FB01?"},{"a":"The rules are designed mainly for documents entered manually in FI. Documents from integrated sources such as purchasing and sales can be excluded by source transaction code and reference type (BKPF-AWTYP), or only tracked in the violation report.","q":"Are MM invoice verification and billing documents covered by the rules?"},{"a":"A deputy approver can be defined per rule, and the standard workflow substitution can also be used. Approvals waiting longer than a set time trigger a reminder to the next level.","q":"Does a document wait while the approver is on leave?"}],"features":[{"code":"alv","label":"ALV list (sort, filter, subtotals)","note":""},{"code":"email","label":"Send the result by email","note":"Notice to the approver, approval or rejection result to the document owner, and reminders for waiting approvals."},{"code":"log","label":"Line-by-line result and error log","note":"Every approval, rejection and reason is kept with user and time."},{"code":"background","label":"Runs as a background job","note":"The violation report and reminders run as periodic jobs."}],"functions":[{"name":"SAP_WAPI_START_WORKFLOW","role":"Starts the approval workflow for the parked document"},{"name":"SO_DOCUMENT_SEND_API1","role":"Sends email to the approver and the document owner"},{"name":"FI_DOCUMENT_READ","role":"Reads the document data for the approval screen"}],"gap":"The standard system offers document parking (FBV1, F-63) and posting a parked document (FBV0), and a workflow can be set up for parked documents. But which document needs approval cannot be defined flexibly with combined rules such as amount limits, document types and sensitive accounts, approvers cannot be tiered by amount, and documents a user posts directly with FB01 or FB50 are not reported as having bypassed approval. The custom solution brings the rule table, tiered approval and the violation report together.","id":"fi-posting-approval-control","industries":[],"input_columns":[],"kind":"program","language":"en","lastmod":"2026-11-18","logic":"1. A rule table is set up: company code, document type (T003), G/L account or account range (SKB1), amount range and approver or approver role. A rule can have several approval levels.\n2. A check that runs when an accounting document is saved (validation or business transaction event enhancement) compares the document with the rules. For a document that hits a rule the user is warned, and the document is parked instead of posted (VBKPF, VBSEGS, VBSEGK).\n3. For the parked document an approval workflow is started with SAP_WAPI_START_WORKFLOW; the approver gets a work item in the inbox and an email with the document summary through SO_DOCUMENT_SEND_API1.\n4. The approver sees the document with its items in the cockpit and approves it, or rejects it with a reason. At the last approval level the document is posted with the post-parked-document function (PRELIMINARY_POSTING_POST_ALL) and written to BKPF/BSEG; a rejected document goes back to its owner.\n5. The violation report compares the posted documents of the period (BKPF, BSEG) with the rules again and lists documents posted without an approval record, with the posting user and transaction code.\n6. Every approval, rejection and reminder is kept with user, date and time; open approvals are tracked by waiting time. In S/4HANA posted lines can also be read from ACDOCA; if the S/4HANA journal entry verification with flexible workflow is used, the rules are designed to fit it.","module":"FI","object_type":"enhancement","output_columns":[{"calculated":false,"formula":"","label":"Company code","source_field":"BUKRS","source_table":"BKPF"},{"calculated":false,"formula":"","label":"Document number","source_field":"BELNR","source_table":"BKPF"},{"calculated":false,"formula":"","label":"Document type","source_field":"BLART","source_table":"BKPF"},{"calculated":false,"formula":"","label":"Posting date","source_field":"BUDAT","source_table":"BKPF"},{"calculated":false,"formula":"","label":"Entered by","source_field":"USNAM","source_table":"BKPF"},{"calculated":true,"formula":"Sum of debit items (VBSEGS/BSEG-WRBTR, SHKZG = S)","label":"Document amount","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Currency","source_field":"WAERS","source_table":"BKPF"},{"calculated":true,"formula":"Rule and level the document hit","label":"Rule","source_field":null,"source_table":null},{"calculated":true,"formula":"User at the next approval level","label":"Approver","source_field":null,"source_table":null},{"calculated":true,"formula":"Waiting, approved, rejected or posted without approval (violation)","label":"Status","source_field":null,"source_table":null},{"calculated":true,"formula":"Today − parking date","label":"Waiting (days)","source_field":null,"source_table":null}],"parameters":[{"example":"1000","kind":"select_option","label":"Company code","name":"S_BUKRS","ref_field":"BKPF-BUKRS","required":true},{"example":"SA, KR","kind":"select_option","label":"Document type","name":"S_BLART","ref_field":"BKPF-BLART","required":false},{"example":"01.11.2026 – 30.11.2026","kind":"select_option","label":"Posting date","name":"S_BUDAT","ref_field":"BKPF-BUDAT","required":true},{"example":"MUHASEBE01","kind":"select_option","label":"Entered by","name":"S_USNAM","ref_field":"BKPF-USNAM","required":false},{"example":"X","kind":"radio","label":"Documents waiting for approval","name":"P_OPEN","ref_field":"","required":false},{"example":"","kind":"radio","label":"Documents that bypassed approval (violation report)","name":"P_VIOL","ref_field":"","required":false}],"part_of":[],"performance":"Run the rule check at save time on the document data in memory only, and buffer the rule table once per session. In the violation report read BSEG through BKPF with a date range and company code; run it in the background for long periods.","process":"R2R","quote_url":"https://nekuhub.com/en/request-a-quote/?report=fi-posting-approval-control","related":["fi-gl-journal-entry-upload","fi-incoming-invoice-approval-workflow","fi-parked-documents-aging"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Posts parked documents one at a time; no rule-based approval levels or violation report.","tcode":"FBV0"},{"note":"Displays a parked document; approval status and waiting time are not tracked.","tcode":"FBV3"}],"summary":"A control program that sends accounting documents for approval before final posting, based on rules by document type, amount, G/L account and company code. A document that hits a rule is parked, the approver gets a workflow item and an email, and the posting is completed after approval; documents posted around the rules are reported in a separate violation list.","tables":[{"access":"read_write","join_on":"","role":"Parked document header: document type, user, status (driving table)","table":"VBKPF","variant":"both"},{"access":"read","join_on":"VBSEGS-BELNR = VBKPF-BELNR AND VBSEGS-BUKRS = VBKPF-BUKRS","role":"Parked G/L account items: account, amount, cost center","table":"VBSEGS","variant":"both"},{"access":"read","join_on":"VBSEGK-BELNR = VBKPF-BELNR AND VBSEGK-BUKRS = VBKPF-BUKRS","role":"Parked vendor items","table":"VBSEGK","variant":"both"},{"access":"write","join_on":"BKPF-BUKRS = VBKPF-BUKRS AND BKPF-BELNR = VBKPF-BELNR","role":"Document header posted after approval; source of the violation report","table":"BKPF","variant":"both"},{"access":"read","join_on":"BSEG-BUKRS = BKPF-BUKRS AND BSEG-BELNR = BKPF-BELNR AND BSEG-GJAHR = BKPF-GJAHR","role":"Posted document items (violation check)","table":"BSEG","variant":"both"},{"access":"read","join_on":"ACDOCA-RBUKRS = BKPF-BUKRS AND ACDOCA-BELNR = BKPF-BELNR","role":"Posted journal entry lines (S/4HANA)","table":"ACDOCA","variant":"s4"},{"access":"read","join_on":"T003-BLART = VBKPF-BLART","role":"Document types (rule key)","table":"T003","variant":"both"},{"access":"read","join_on":"SKB1-SAKNR = VBSEGS-SAKNR","role":"Company code G/L account data (sensitive account rules)","table":"SKB1","variant":"both"},{"access":"read","join_on":"SWWWIHEAD-WI_ID = onay kaydındaki iş öğesi","role":"Approval work items and their status","table":"SWWWIHEAD","variant":"both"}],"title":"Accounting Document Approval and Posting Control","url":"https://nekuhub.com/en/programs/accounting-document-approval-and-posting-control/","vendor_id":"nekudos"}