Your Accounts Payable Payment Processing Data Template

SAP ECC
Your Accounts Payable Payment Processing Data Template

Your Accounts Payable Payment Processing Data Template

This template offers a structured approach to mapping your payment workflows in SAP ECC by identifying essential data points and milestones. It provides a comprehensive list of attributes and activities alongside practical extraction guidance to help you build a robust event log. By following this guide, you can pinpoint payment delays and streamline your financial operations effectively.
  • Essential data fields for payment analysis
  • Key process milestones for tracking workflows
  • Step-by-step extraction guidance for SAP ECC
New to event logs? Learn how to create a process mining event log.

Accounts Payable Payment Processing Attributes

This table outlines the recommended data fields to capture from your SAP ECC system to enable a deep analysis of your payment lifecycle.
5 Required 10 Recommended 6 Optional
Name Description
Activity Name
ActivityName
The specific process step or action performed.
Description

This attribute describes the event that occurred in the accounts payable process, such as 'Invoice Posted', 'Payment Block Applied', or 'Payment Run Executed'. It defines the nodes in the process map.

In analysis, the sequence of these activities allows for the visualization of process variants, identification of rework loops (e.g., block removal followed by block re-application), and compliance checking against the standard approval workflow.

Why it matters

It determines the process flow and is required to visualize the journey of the invoice.

Where to get

Derived from Transaction Codes (TCODE), Change Document Object Classes (CDHDR), or Workflow Logs

Examples
Invoice PostedPayment Block RemovedPrice Change
Event Timestamp
EventTimestamp
The exact date and time when the activity occurred.
Description

This attribute records the precise moment an action took place in the SAP system. It typically combines the system date and system time fields from the relevant tables (e.g., CPUDT and CPUTM).

It is crucial for calculating all time-based KPIs, including Cycle Time, Approval Lead Time, and process throughput. Without accurate timestamps, it is impossible to determine the order of events or measure efficiency.

Why it matters

Essential for sequencing events and calculating duration metrics.

Where to get

SAP ECC tables BKPF (CPUDT/CPUTM) or CDHDR (UDATE/UTIME)

Examples
2023-10-15T09:30:00Z2023-10-15T14:45:12Z2023-10-16T08:15:00Z
Invoice Number
InvoiceNumber
The unique identifier for the vendor invoice document.
Description

This attribute serves as the central case identifier for the Accounts Payable process. In SAP ECC, this is technically a concatenation of the Client, Company Code, Fiscal Year, and Accounting Document Number (BELNR) to ensure global uniqueness across the system. It groups all activities related to a specific liability to a vendor.

Analysis uses this field to track the end-to-end lifecycle of a payment obligation. It allows process mining tools to reconstruct the history of an invoice from the moment it is received or scanned until the final clearing entry is posted in the General Ledger.

Why it matters

It is the fundamental key for linking events, changing statuses, and financial postings into a single process instance.

Where to get

SAP ECC table BKPF field BELNR (combined with BUKRS and GJAHR)

Examples
1000-2023-1900001234US01-2023-51000008922000-2024-1500004455
Last Data Update
LastDataUpdate
The timestamp of the most recent data extraction.
Description

This attribute indicates when the data record was last refreshed from the source system. It is used to determine the freshness of the analysis and to manage incremental data loads.

In dashboards, this helps users understand if they are looking at real-time data or a snapshot from a previous period, which is critical for operational monitoring of open invoices.

Why it matters

Provides context on data latency and reliability.

Where to get

ETL process metadata

Examples
2023-11-01T00:00:00Z2023-11-01T12:00:00Z
Source System
SourceSystem
The identifier of the SAP ERP instance.
Description

This attribute identifies the specific SAP ECC system or client from which the data was extracted. In multi-system landscapes, this is vital for segregating data and analyzing performance across different regions or business units.

It helps users filter the process view to specific environments and ensures unique case identification when multiple SAP instances are ingested into the same process mining data model.

Why it matters

Ensures data uniqueness and context in multi-ERP environments.

Where to get

System configuration or extraction parameter

Examples
SAP_ECC_PRODERP_NASAP_P01
Clearing Date
ClearingDate
The date the invoice was cleared or paid in the system.
Description

This attribute (AUGDT) records when the open item was cleared in the General Ledger, signifying the completion of the payment process.

It is the end timestamp for the 'Average Invoice Cycle Time' KPI. Comparing this date to the Due Date determines if a payment was late or on time.

Why it matters

Marks the completion of the financial process.

Where to get

SAP ECC table BSEG field AUGDT

Examples
2023-11-202023-12-05
Company Code
CompanyCode
The organizational unit for which the financial statements are created.
Description

The Company Code (BUKRS) is the central organizational unit in SAP Financial Accounting. It represents a specific legal entity or subsidiary within the enterprise structure.

This attribute is used to slice and dice process performance by subsidiary or region. It allows stakeholders to compare Late Payment Rates or Automation Rates across different business units to identify leaders and laggards.

Why it matters

Primary dimension for organizational benchmarking.

Where to get

SAP ECC table BKPF field BUKRS

Examples
1000US01DE10
Document Type
DocumentType
Classifies the accounting document (e.g., Invoice, Credit Memo).
Description

The Document Type (BLART) categorizes the accounting entry, distinguishing between standard vendor invoices (e.g., KR), credit memos (KG), or payments (KZ).

Filtering by Document Type is essential for accurate cycle time analysis, as credit memos follow a different process flow than standard invoices. It ensures that the analysis compares like-for-like processes.

Why it matters

Distinguishes between different financial workflows like invoices and credit notes.

Where to get

SAP ECC table BKPF field BLART

Examples
KRREKG
Invoice Amount
InvoiceAmount
The total monetary value of the invoice in local currency.
Description

This attribute represents the amount to be paid to the vendor (DMBTR or WRBTR). It is critical for assessing the financial impact of process inefficiencies.

Used in the 'Activity Amount' mapping, this field allows for the calculation of value-weighted KPIs. For example, a late payment on a high-value invoice is more critical than on a low-value one. It helps prioritize work based on working capital impact.

Why it matters

Quantifies the financial magnitude of the process instance.

Where to get

SAP ECC table BSEG field DMBTR (Local Currency) or WRBTR (Document Currency)

Examples
1500.00230.5010500.00
Payment Block Code
PaymentBlockCode
Indicates if and why an invoice is blocked for payment.
Description

This attribute (ZLSPR) contains the code that prevents an invoice from being picked up by the automatic payment run (e.g., 'R' for Invoice Verification, 'A' for Locked).

Monitoring this attribute is the core of the 'Payment Block and Hold Resolution' dashboard. It allows analysts to identify the most common reasons for payment delays and measure the duration invoices spend in a blocked state.

Why it matters

Primary indicator of process friction and manual intervention needs.

Where to get

SAP ECC table BSEG field ZLSPR

Examples
ARnull
Payment Method
PaymentMethod
The method used to pay the invoice (e.g., Check, Wire, ACH).
Description

This attribute (ZLSCH) specifies how the payment is to be or was executed. It distinguishes between manual checks, bank transfers, and electronic payments.

This field drives the 'Payment Method Automation Mix' dashboard and the 'Electronic Payment Adoption Rate' KPI. It helps organizations track their shift from high-cost manual checks to low-cost electronic transfers.

Why it matters

Tracks the efficiency and cost of the payment execution phase.

Where to get

SAP ECC table BSEG or BKPF field ZLSCH

Examples
CTU
Payment Terms
PaymentTerms
The code defining the conditions for payment and discounts.
Description

This attribute stores the Key for Terms of Payment (ZTERM), which dictates when the invoice is due and if any cash discounts apply (e.g., 2% net 10).

It is the baseline for calculating the 'Early Payment Discount Capture Rate'. Analysis uses this code to compute the target payment date and identify deviations that lead to lost discounts or penalties.

Why it matters

Defines the financial deadline and discount opportunities.

Where to get

SAP ECC table BSEG field ZTERM

Examples
Z001NT300002
Purchase Order Number
PurchaseOrderNumber
The reference to the purchasing document linked to the invoice.
Description

This attribute contains the Purchase Order number (EBELN) if the invoice is PO-backed. It links the Accounts Payable process back to the Procurement process.

It is vital for the 'PO Matching and Discrepancy Audit' dashboard. Analyzing this field helps calculate the 'PO-Backed Invoice Ratio' and compare the efficiency of PO-based versus non-PO-based invoice processing.

Why it matters

Connects AP to Procurement and identifies matching workflows.

Where to get

SAP ECC table BSEG field EBELN

Examples
45000123894500099221null
User Name
UserName
The ID of the user who performed the activity.
Description

This attribute identifies the SAP user ID (USNAM) responsible for the event. It is recorded in the transaction header or change log.

It is mapped to the 'User' generic attribute to support 'Manual Touch Rate' analysis and resource utilization views. It helps distinguish between automated system users (batch jobs) and human users performing manual adjustments.

Why it matters

Enables resource analysis and automation rate calculation.

Where to get

SAP ECC table BKPF field USNAM or CDHDR field USERNAME

Examples
BSMITHWF-BATCHSAP_WORKER
Vendor Number
VendorNumber
Unique identifier for the supplier or creditor.
Description

This attribute uniquely identifies the external vendor associated with the invoice (LIFNR). It is linked to the vendor master data which contains details like name, address, and payment terms.

Vendor analysis is critical for negotiating better terms, consolidating spend, and resolving recurring issues. This field supports the 'Vendor Inquiry and Support Volume' dashboard by helping correlate process inefficiencies with specific suppliers.

Why it matters

Enables supplier-centric performance analysis.

Where to get

SAP ECC table BSEG field LIFNR or LFA1

Examples
0000100234VEND-5592102938
Baseline Payment Date
BaselinePaymentDate
The date from which payment terms are calculated.
Description

This attribute (ZFBDT) is the starting point for calculating the net due date and discount due dates. It usually reflects the invoice receipt date or document date depending on configuration.

Accurate analysis of 'Late Payment Rate' relies on this field. If the baseline date is incorrect, all subsequent due date calculations and late payment flags will be flawed.

Why it matters

The anchor date for all aging and due date calculations.

Where to get

SAP ECC table BSEG field ZFBDT

Examples
2023-10-012023-11-15
Currency Code
CurrencyCode
The currency key for the invoice amount.
Description

This attribute (WAERS) identifies the currency in which the invoice was issued (e.g., USD, EUR). It allows for the handling of multi-currency processes.

In analysis, this is used to group spend by currency or to facilitate currency conversion for consolidated reporting in the 'Cash Flow and Payment Visibility' dashboard.

Why it matters

Required for correct financial interpretation of amounts.

Where to get

SAP ECC table BKPF field WAERS

Examples
USDEURGBP
Is Late Payment
IsLatePayment
Flag indicating if the payment occurred after the due date.
Description

This boolean attribute is calculated by comparing the Clearing Date to the Net Due Date. If the Clearing Date is later, the flag is set to true.

It is the direct driver for the 'Late Payment Rate' KPI. This pre-calculated flag simplifies dashboard creation by allowing users to simply count 'True' values rather than writing complex logic in the visualization layer.

Why it matters

Simplifies KPI reporting on schedule adherence.

Where to get

Calculated: ClearingDate > NetDueDate

Examples
truefalse
Is PO Based
IsPOBased
Flag indicating if the invoice is linked to a Purchase Order.
Description

This boolean attribute is derived by checking if the Purchase Order Number field is populated. It segments the data into PO-backed (MM-LIV) and non-PO (FI-AP) flows.

This segmentation is vital for the 'Non PO Processing Efficiency' analysis, as non-PO invoices typically require more manual approval steps and have longer cycle times.

Why it matters

Fundamental segmentation for process efficiency analysis.

Where to get

Derived: True if EBELN is not null/empty

Examples
truefalse
Net Due Date
NetDueDate
The calculated date by which the invoice must be paid.
Description

This attribute represents the final deadline for payment. It is calculated by adding the maximum payment days from the Payment Terms to the Baseline Payment Date.

It serves as the benchmark for the 'Late Payment and Penalty Monitor'. Without this calculated field, it is impossible to flag invoices that have breached their service level agreements.

Why it matters

The target deadline for the entire process.

Where to get

Calculated: BaselinePaymentDate + PaymentTerms(Days)

Examples
2023-11-302023-12-15
Reference Number
ReferenceNumber
The vendor's invoice number as provided on the physical document.
Description

The Reference Number (XBLNR) is the external identifier provided by the vendor. It is manually entered or captured via OCR during invoice creation.

This attribute is the primary key for the 'Duplicate Payment Prevention' analysis. Algorithms check for multiple instances of the same Reference Number for the same Vendor and Amount to flag potential duplicate payments.

Why it matters

Critical for identifying duplicates and auditing specific vendor bills.

Where to get

SAP ECC table BKPF field XBLNR

Examples
INV-2023-00199887766OCT-BILLING
Required Recommended Optional

Accounts Payable Payment Processing Activities

These are the core process steps and status changes that you should track to visualize the end to end flow of your accounts payable payments.
7 Recommended 6 Optional
Activity Description
Invoice Cleared
The accounting entry that matches the invoice line item to the payment document, balancing the open item to zero. This closes the lifecycle of the invoice.
Why it matters

Process completion marker. Essential for calculating the 'End to End Cycle Time' and confirming the debt is extinguished.

Where to get

BSEG table, field AUGDT (Clearing Date) is populated.

Capture

Logged when transaction X executed

Event type explicit
Invoice Created
Marks the moment the invoice data is technically entered into SAP ECC. This timestamp represents the start of the digital process within the ERP.
Why it matters

Critical for calculating the internal processing time versus the total vendor wait time. High latency between Receipt and Creation indicates upstream intake bottlenecks.

Where to get

BKPF table, field CPUDT (Entry Date) and CPUTM (Entry Time).

Capture

Logged when transaction X executed

Event type explicit
Invoice Posted
Signifies that the invoice has been successfully posted to the General Ledger and sub-ledgers. This action creates the liability in the system.
Why it matters

The invoice is now officially recognized as a debt. This serves as the trigger for standard payment aging and due date calculations.

Where to get

BKPF table creation where BSTAT is empty (posted standard).

Capture

Logged when transaction X executed

Event type explicit
Invoice Receipt Recorded
Captures the date stated on the vendor invoice document as the reference date. This is derived from the Document Date field in the accounting document header.
Why it matters

Establishes the baseline for aging analysis and vendor payment term compliance. Differences between this date and the entry date reveal mailroom or scanning delays.

Where to get

BKPF table, field BLDAT (Document Date).

Capture

Logged when transaction X executed

Event type explicit
Payment Block Applied
Records the application of a payment block key to an invoice line item. This prevents the invoice from being picked up by the automatic payment program.
Why it matters

A primary cause of late payments and missed discounts. Analyzing the block reason code helps identify if delays are due to price variances, missing goods receipts, or manual holds.

Where to get

Change documents (CDHDR/CDPOS) for object BELEG, field BSEG-ZLSPR (Payment Block Key).

Capture

Compare status field before/after

Event type inferred
Payment Block Removed
Records the removal of a payment block, making the invoice eligible for the next payment run. This acts as a proxy for 'Approval' in many SAP configurations.
Why it matters

Represents the resolution of issues preventing payment. The duration between Block Applied and Block Removed is the 'resolution time' bottleneck.

Where to get

Change documents (CDHDR/CDPOS) where New Value for BSEG-ZLSPR is empty.

Capture

Compare status field before/after

Event type inferred
Payment Posted
The execution of the payment run where the bank transfer is initiated or check is printed. A payment document is generated in the system.
Why it matters

The point of no return for cash outflow. This timestamp is used to calculate actual payment cycle time and check against discount deadlines.

Where to get

BKPF table for the payment document (Document Type 'ZP' or similar).

Capture

Logged when transaction X executed

Event type explicit
Discount Due Date Passed
A computed event indicating that the current date has surpassed the validity period for Cash Discount 1 or 2. This suggests a missed opportunity for savings.
Why it matters

Directly supports the 'Discount Capture Performance' dashboard. Helps quantify the financial loss due to process delays.

Where to get

Calculated by adding BSEG-ZBD1T (Days) to BKPF-BLDAT (Document Date) and comparing to current date/payment date.

Capture

Derive from comparing field X to Y

Event type calculated
Due Date Passed
A computed event indicating the invoice remains open past its net due date. This flags the invoice as overdue.
Why it matters

Supports 'Late Payment' analysis. Monitoring this helps prevent vendor friction and potential late fees.

Where to get

Calculated by adding BSEG-ZBD3T (Net Days) to baseline date and comparing to current date.

Capture

Derive from comparing field X to Y

Event type calculated
Invoice Data Changed
Captures manual modifications to invoice header or line item data after initial posting. Common changes include reference numbers, text fields, or tax codes.
Why it matters

Indicates rework and manual intervention in the process. Frequent changes suggest data quality issues at the source or insufficient validation during initial entry.

Where to get

Change documents (CDHDR/CDPOS) for object BELEG, excluding block key changes.

Capture

Logged when transaction X executed

Event type explicit
Invoice Parked
Indicates that an invoice has been saved as a draft without creating financial postings. This status allows for data entry interruption or review before final posting.
Why it matters

Identifies invoices sitting in a preliminary state which delays the payment clock. High volumes here suggest inefficient data entry or unclear approval requirements.

Where to get

VBKPF table or BKPF where BSTAT equals 'V'.

Capture

Compare status field before/after

Event type inferred
Payment Proposal Created
Indicates the invoice has been selected by the Automatic Payment Program (F110) for a potential payment. It is now on a preliminary list to be paid.
Why it matters

Signals the transition from 'Payable' to 'Being Paid'. Visibility here helps treasury manage cash requirements before funds actually leave the account.

Where to get

REGUH table (Settlement Data from Payment Program) creation date.

Capture

Logged when transaction X executed

Event type explicit
Payment Term Changed
Specific rework event where the terms of payment are altered manually. This changes the due date and cash discount parameters.
Why it matters

Often done to artificially extend payment windows or correct master data errors. This directly impacts cash flow forecasting and discount capture metrics.

Where to get

Change documents (CDHDR/CDPOS) for field BSEG-ZTERM.

Capture

Logged when transaction X executed

Event type explicit
Recommended Optional

Extraction Guides

How to get your data from SAP ECC