Skip to content

AP Cockpit

The AP Cockpit is for the accounts payable team and the approvers. It releases purchase orders with budget, price and stock in view, clears the invoice inbox with the three-way match, and pays vendors on time and with the cash discount, through the SAP payment run or payments posted in SAP. It works for one company code and the user’s accounting clerks, and it runs on SAP ECC 6.0 and SAP S/4HANA.

The cockpit covers the work of ME28, ME29N, ME23N, MIRO, MIR4, MRBR, FB60, FBV0, FBL1N, F110, F-53, FB05 and FB02.

The AP Cockpit overview: payables, orders to release, the invoice inbox, and where the work waits

  • Headline and tiles: payables, overdue and its share, orders waiting for release, invoices in the inbox, the discount at stake this week, and the cash in the house bank after paying what is overdue or due this week. Every figure opens the records behind it; Refresh reads everything again and says what changed.
  • Overview: where the work waits, in six steps (PO release, capture, AP check, with the business, blocked for payment, due for payment) with the count, value, who it waits for and the longest wait; the ageing of the payables per vendor; cash out by week; the discount calendar of the week; the vendors across the whole cycle.
  • Analysis in every view: bars by cause, age, owner, vendor and value above the list; every bar filters the list.
  • PO release: purchase orders waiting for your release code, with flags (over budget, price up, overstock, high cover, vendor blocked) and a recommendation. The order view shows the release steps, the way from requisition to invoice, the items and account assignment, inventory control, the budget of each cost object, the price history and the vendor’s payables. Release or reset after SAP’s check, then a mail to the requisitioner or buyer.
  • Invoices: the invoice inbox from every capture source (SAP DMS documents with captured data, and invoices parked in MIRO or FB60) with the step, the owner, the days in the step, the three-way match, possible duplicates and the SAP document. The invoice view shows the three-way match, the original PDF from SAP DMS and the material and journal documents. Post, park, ask for the goods receipt, ask the buyer, send for coding, take back, return or add a note.
  • Payables and payments: vendors and open items by age, discount and block. Clear a payment with invoices, pay by wire, set or remove a payment block, or release an invoice blocked for price or quantity.
  • Vendor statement: paste the lines of a vendor’s statement from a PDF, an e-mail or a spreadsheet, compare them with SAP, and save them as the vendor’s statement after you confirm; or draft a mail asking for a statement.
  • Payment run what-if: the due items with a cash limit, discounts first or critical vendors first, compared side by side against the cash in the house bank. Then pay through the F110 payment run or by manual wire.
  • Activity: what was done in the cockpit, by user and action, for today or the last 7, 30 or 90 days.
  • AI assistant: questions suggested from the live data, answers that link to the records, and proposals that open the cockpit’s own steps.

The invoice inbox of the AP Cockpit with its analysis by three-way match, step, waiting time, source and vendor

Every change follows the same path: SAP checks it with a test run or a simulation, the cockpit shows what would change, you confirm, the cockpit posts it, reads the result back and refreshes what it touched. E-mails are sent only after you confirm the recipient.

What you do Interface
Release or reset a purchase order with your release code release_purchase_order
Post, park, route, return or note an inbox invoice process_inbox_invoice
Create an F110 payment proposal and run the payment create_payment_proposal
Pay a vendor by wire, with clearing post_outgoing_payment
Clear items of one vendor that net to zero clear_vendor_open_items
Set or remove a payment block set_vendor_payment_block
Release an invoice blocked for price or quantity release_blocked_vendor_invoice
Save a vendor statement reconcile_vendor_statement
Send mails to vendors, requisitioners and buyers send_email

The AI assistant opens in a side panel, or with “Ask about this order”, “invoice”, “vendor” or “run” on a record. It suggests questions from the live data, such as orders over budget, invoices waiting for the goods receipt, what is overdue or what to pay in the next run. The model reads more through the cockpit’s own read tools, under your SAP user. It changes nothing in SAP: a proposal shows a card, and Review and confirm opens the same check, confirm and post steps as the buttons. Without a model, the panel and the Ask buttons are hidden. See Choose the AI Models.

App ID AP_COCKPIT, in the Procure to Pay collection (Purchase order to Invoice) and the Record to Report collection (Payables).

Figure What it counts Step Watch / critical
PO release Purchase orders waiting for the user’s release, with their value Purchase order Watch from 1; critical when the oldest waits 5 days or more
Invoices Invoices in the inbox, not posted yet Invoice Watch when one has an exception; critical when the oldest waits 10 days or more
Overdue Overdue vendor invoices, with their value and share Payables Watch from 1; critical from 25 % of the open invoices
Discount Cash discount to take this week, with the invoices that lose it Payables Watch from any amount

The limits come from releaseWatchDays, inboxCriticalDays and overdueCriticalPct in app.env.js. The figures cover the company code in the user’s SU01 parameter BUK (else /SKYBFR/LP_AP_BUKRS), the accounting clerks assigned to the user, and the release codes the user holds.

The app calls the MCP server of your SAP ECC 6.0 or SAP S/4HANA system, named SAP ERD in the package (see Connect SAP). The tools show only what the user may display (company code, vendor authorization group, release codes) and post under the user’s own SAP user.

Interface Used for Changes SAP
get_po_release_worklist Orders waiting for the user’s release code, with flags and recommendation No
get_po_release_brief The order view: release steps, items, account assignment, inventory, budget, price history No
release_purchase_order Releases or resets an order; test run first Yes
get_invoice_inbox The invoice inbox from all capture sources No
get_inbox_invoice_detail The invoice view: three-way match, duplicates, contacts, original file No
process_inbox_invoice Posts, parks, routes, returns or notes an invoice; test run first Yes
get_payables_overview Open items, ageing, cash out by week, discounts, blocks, house bank cash No
simulate_payment_run The payment run what-if No
create_payment_proposal The F110 proposal and payment run; test run first Yes
post_outgoing_payment Pays a vendor by wire with clearing; test run first Yes
clear_vendor_open_items Clears items of one vendor that net to zero; test run first Yes
set_vendor_payment_block Sets or removes the payment block; test run first Yes
reconcile_vendor_statement Compares a vendor’s statement with SAP and saves it Yes, the statement lines
get_ap_activity_log The activity view No
release_blocked_vendor_invoice Releases an invoice blocked for price or quantity Yes
get_journal_entry The FI document of an invoice, payment or clearing No
get_material_document The goods receipt of an order No
get_supplier_scorecard The vendor’s delivery and quality performance No
dms_document_originals_list The SAP DMS document of the invoice and its original file No
dms_get_original_binary The original PDF No
send_email Mails after an action, sent only after the user confirms Yes, sends e-mail
get_purchase_requisition_details The requisition view No
get_vendor_invoice_dispute_detail The supplier invoice from an open item No

In SAP, set up the release procedure of the purchase orders, a DMS document type for incoming invoices with its statuses, the house bank and payment methods for F110 and the wire, the accounting clerks (T001S and the vendor’s clerk in LFB1), and the parameter variables /SKYBFR/LP_AP_* (see Launchpad and Authorizations). The inbox reads SAP DMS and parked invoices; a third source for an external capture system, PDAP, is off by default.

Business defaults in app.env.js include:

Setting Meaning
companyCode Company code; empty uses the user’s SU01 parameter BUK, else /SKYBFR/LP_AP_BUKRS
accountingClerk Accounting clerks; empty uses the clerks of the user
releaseGroup, releaseCode Release group and codes; empty uses the parameter variables
tolerancePct Price tolerance of the three-way match, in %
priceAlertPct, coverAlertMonths Flag a price rise from this %, and stock and orders above this many months of consumption
discountDays The discount is at stake when its date is within this many days
runIntervalDays, costOfCapitalPct, cashBuffer Payment run: days to the next run, cost of capital for the discount, cash to keep
criticalVendors Vendors paid first by the “critical first” strategy
paymentMethod, blockKey Payment method of the wire, and the payment block key the cockpit sets
invoiceDocType SAP DMS document type of incoming invoices
emailSendMode How mails are handed to SAPconnect
  • Your company code, clerks, release codes, tolerances and payment values: settings and parameter variables, no code.
  • Another capture source for the inbox, such as your own scanning system: a new invoice source in SAP, written by a development agent next to the delivered ones.
  • Manual cheque and bill of exchange show their forms; posting them follows in a later version. F110 and the manual wire post today.
  • Links that open a new window, such as Open in SAP for a DMS document and the related apps, need the app frame to allow pop-ups; otherwise the browser ignores the click.
  • Copying to the clipboard needs the frame’s clipboard permission; otherwise the cockpit shows the text in a dialog.
  • Payment runs schedule background jobs under the user.
  • Without a connection to SAP, the tiles show “–” and a connection panel names the system; the cockpit shows no example data.