arXiv:2610.09903cs.DBOct 2026

Manuscript Offprint

arXiv:2610.09903

ERP Event Logs: A Canonical Form for KPI Time-Series Extraction and Characterization

Sherri Hadian, Adrian Rebmann, Atacan Korkmaz, Gregor Berg, Ulf Brackmann

Sherri Hadian*, Adrian Rebmann*, Atacan Korkmaz*, Gregor Berg*, Ulf Brackmann*

*SAP SE, Germany

{firstname.lastname}@sap.com

1^{1} Abstract—Enterprise resource planning (ERP) systems record operations as transactions spread across hundreds of normalized relational tables. Extracting an operational key performance indicator (KPI) from this schema requires a separate, bespoke join for almost every metric. We show that an event log, a canonical (case, activity, timestamp) representation derived from the same tables, collapses this heterogeneity into one flat structure, from which KPI families reduce to reusable operations after a one-time mapping. Using standardized event logs built from hundreds of SAP S/4HANA customers under a shared activity ontology, we define three families of process-derived KPIs (volumes, durations, and rates) and extract them uniformly across customer systems for two common end-to-end organizational processes—order-to-cash and procure-to-pay. We normalize rates and screen series for minimum coverage to support comparison across customers of very different sizes. We then characterize heterogeneity across industries and tenants using descriptors derived directly from the canonical form, before analyzing the resulting KPI time series. The same process executes heterogeneously across customers and industries, yet this shared representation enables direct comparison of sales-and procurement-side signals, including lead times and order arrivals. Using this shared representation, we characterize which KPI families are forecastable and find a recurring ordering from volumes through durations to rates across both processes and a highly heterogeneous customer base; a pretrained time-series foundation model (Chronos) is competitive with classical baselines such as ARIMA and ETS on rate and duration series, while classical models retain an edge on volumes.

Index Terms—AI-ready data representation, ERP data, event logs, KPI time series, time-series foundation models

I. INTRODUCTION

Operational data in ERP systems is transactional and highly normalized: a single business document, such as a sales order or a purchase order, leaves traces across many tables, each holding only slices of its lifecycle (e.g., creation, delivery, invoicing, clearing). Computing an operational KPI over this schema means locating the right timestamp columns in the right tables and writing a join tailored to that metric. A different KPI needs a different join. There is no reuse: every indicator is a bespoke query, and comparing indicators across customers, or across two different processes, multiplies that effort. In practice, this makes KPI extraction costly to engineer, fragile under schema evolution, and difficult to standardize across customers and processes.

We observe that a single intermediate representation removes much of this cost. An event log records each document that marks the start of an end-to-end process execution as a case, and each processing step as an (activity, timestamp) pair belonging to that case. Representing process executions as event logs is standard in process mining, which analyzes processes through case-linked activity and timestamp records [1]–[3]. Every ERP process, once mapped, reduces to this same (case, activity, timestamp) shape (Fig. 1).

Activity labels come from a fixed mapping that resolves each source record to a canonical activity from a shared vocabulary, so the same business step is named identically across customers. The source tables also differ in what they expose over time. Some carry a native timestamp on each record—an order's creation date—from which a series reads directly. Others store only current state and overwrite it, so the timing of a rejection or price change survives only in the change history, not in the state table itself. The event log places both kinds under one time-resolved representation: series that already existed are extracted uniformly, and those that the state tables had overwritten are recovered from the change history. The event log carries no information that the source tables do not: it is derived from them, and relational algebra could in principle recover any KPI from the normalized schema. The gain is therefore not the expressive power, which relational algebra already has, but extraction leverage: we pay this extraction cost once, and every KPI afterward becomes an operation over one common structure rather than a new schema-specific join. This yields reusable, comparable, and model-ready KPI time series: the ontology aligns semantics, the common schema reuses KPI operators, and the one-time mapping centralizes source-specific joins.

Concretely, the process-derived KPIs we study fall into three families, each corresponding to a common operational question: how much work flows through a business process, how long that work takes, and how often it deviates. A volume is a count of an activity per period, capturing demand and throughput (order arrivals, completions); a duration is the timestamp difference between two activities in a case, capturing the process lead times; and a rate is a count normalized by a population, capturing the incidence of exceptions such as cancellations or price changes that signal process health.

To study the potential of this representation for KPI extrac-

1^{1}© 2026 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, collecting new collected works for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

Figure

Fig. 1: From normalized ERP tables to the canonical form. A single business document (a sales order) is spread across many tables. Headers and line items for orders (VBAK/VBAP), deliveries (LIKP/LIPS), billing (VBRK), and accounting (BKPF/BSEG). ETL reshapes them into an event log: each case carries its case-level attributes and an ordered sequence of events that carry their own attributes. Every KPI is then a uniform operation over this one structure.

tion and characterization, we build these logs from hundreds of SAP S/4HANA customers, repurposing the collection and mapping logic of SAP Signavio Process Intelligence 2^{2} as the front end of a custom extraction pipeline. Its shared activity ontology supplies the cross-customer semantic comparability, by applying a fixed rule library over standardized source fields and coded values to assign canonical activity labels.

We build event logs for two end-to-end processes—order-to-cash on the sales side and procure-to-pay on the procurement side—and use the shared representation first to characterize heterogeneity in the customer base through simple process descriptors, and then to extract comparable KPI time series for cross-process analysis and forecasting across tenants, illustrating reuse rather than directly measuring extraction cost.

Beyond the established event-log representation, our contributions are:

  • We frame the event log as a canonical form over relational ERP data, and argue its advantage is extraction leverage rather than added expressiveness, illustrated by two worked examples (Table IV).

  • We characterize process heterogeneity across hundreds of customers and industries using simple descriptors derived directly from the canonical form.

  • We define three families of process-derived KPIs—volumes, durations, and active-case-normalized rates—as uniform operations over the log (Table I), comparable across tenants and across order-to-cash and procure-to-pay.

  • We show the canonical form enables direct cross-process comparison of sales- and procurement-side signals, including lead times and order-arrival co-movement.

  • We characterize forecastability uniformly across KPI families, processes, and customers, contrasting classical baselines with Chronos and finding a recurring family-level ordering across both processes.

In the remainder, Section II frames the event log as a canonical form over the relational ERP schema; Section III uses that representation to characterize heterogeneity in the customer base; Section IV defines the three KPI families as uniform operations over it; and Section V and Section VI study cross-process comparability and forecastability of the resulting KPI time series. Section VII discusses limitations. Section VIII concludes.