Now accepting guest editorial from SAP, Oracle, Workday and ServiceNow practitioners.Pitch a guide
The Sign-Off Table

Lesson 2 of 6

Process mining outputs a tester can use

10 min

Listen to this lesson

0:00 / 8:27

You do not need to become a process mining analyst to use mining for test scoping. You need to read five things: the event log, variants, frequencies, exception paths and conformance results. This lesson explains each one, and which SAP Signavio product gives you which.

The event log

Process mining starts from an event log: one row per thing that happened to a case, with a case ID, an activity name and a timestamp, plus attributes. For order-to-cash, the case is usually the sales order (or order item); activities come from document creation and change records: order created, credit block set, credit released, delivery created, goods issue posted, invoice created, payment cleared. Attributes such as sales area, order type, customer, plant and net value let you slice the cases.

An order-to-cash event log: one case per order item, many timestamped events per case, with attributes for slicing.
The Sign-Off Table · thesignofftable.com/academy/sap-tst-311

Variants, frequencies and exception paths

  • Variant: one distinct sequence of activities. "Order, delivery, goods issue, invoice, payment" is one variant; the same with "credit block, credit release" inserted is another.
  • Frequency: how many cases follow each variant, and their share of all cases. Mining tools sort variants by frequency so the top few usually cover most cases.
  • Exception paths: rework and detours: changes after release, repeated blocks, cancellations, returns. They are often rare individually but expensive.
  • Throughput times: how long cases take between activities, useful for spotting where defects in a new release would hurt most.
  • Conformance: whether each case follows a reference model (a BPMN diagram), and where it deviates.
Variant (illustrative, EP1 order-to-cash, 12 months)Share of casesShare of order value
V1 Order, delivery, goods issue, invoice, payment61%58%
V2 V1 with credit block and release before delivery12%17%
V3 V1 with price change after order creation7%6%
V4 V1 with partial deliveries (two or more)6%9%
V5 Order, delivery, goods issue, invoice, credit memo request3%2%
V6 Order rejected or cancelled before delivery3%1%
All other variants (about 300 distinct)8%7%

Illustrative course data: Contoso's top order-to-cash variants. Six variants cover 92% of cases.

Illustrative course data: the credit-block exception path that Contoso's regression set did not cover.
The Sign-Off Table · thesignofftable.com/academy/sap-tst-311

Where the events come from

For SAP ERP and SAP S/4HANA, order-to-cash events are reconstructed from the documents and their history: sales order header and items (VBAK, VBAP), deliveries (LIKP, LIPS), billing documents (VBRK, VBRP), the document flow (VBFA) and change documents (CDHDR, CDPOS) for changes such as a price update or a credit release. Process Insights does this extraction with prebuilt content; in Process Intelligence the data model and event definitions are built for you or by your team. Either way, a tester should know where each activity comes from, because a missing change-document setting can make a real activity invisible.

  1. Pick ten cases from the model across different variants.
  2. Open each sales order in the system (VA03, or Manage Sales Orders F1873) and follow the document flow.
  3. Compare the activities and timestamps with the event log for that case.
  4. Record any missing or extra activity, and ask the model owner to explain it.
  5. Only then use the variant numbers for scoping.

This ten-case check is a test of the mining model itself, and it takes an hour. Contoso's check found that order rejections were captured but rejection reasons were not, so Maria asked for the reason as an attribute before the cancellation scenario was designed.

Which SAP Signavio product gives you what

NeedSAP Signavio Process InsightsSAP Signavio Process Intelligence
ApproachPrebuilt content for standard SAP ERP and S/4HANA processes: performance indicators, process flows, blockers and recommendationsFull process mining on event logs you define, from SAP and non-SAP sources
Variants and exception pathsStandard process flows and blockers for supported processesAny variant, with variant explorer and process discovery widgets
ConformanceNot its focusConformance checks against a BPMN model
Effort to startLow: connect, extract, readHigher: data model, event log design, investigations
Ways to get itDiscovery edition (one-time, free for customers in SAP maintenance), RISE starter pack (one-time load), or a subscriptionSubscription; check trial and package options
Process Insights gives fast standard answers; Process Intelligence gives full variant analysis. Verify entitlements in your contract.
The Sign-Off Table · thesignofftable.com/academy/sap-tst-311

Two entry points cost little. The discovery edition of SAP Signavio Process Insights is a one-time, free analysis for customers covered by SAP maintenance: you extract a limited data set from SAP ERP or SAP S/4HANA, send it to SAP and receive access to a tenant with performance indicators, process flows and blockers, and recommendations. The RISE with SAP starter pack (the Business Process Transformation starter pack) includes SAP Signavio Process Insights with a one-time data load, plus Process Manager and the Process Collaboration Hub for a limited number of users; the exact scope is in the RISE supplement for your contract. Continuous analysis and full mining are paid. Course sap-pow-306 covers the products from the process owner's chair.

What would you do?

Contoso has the RISE starter pack. Priya wants to scope the regression for the first quarterly release after go-live using order-to-cash variants, and repeat it each quarter. Theo says "the starter pack covers that". What should Priya check?

Key points
  • An event log has a case ID, activity and timestamp per event, plus attributes.
  • Variants, frequencies, exception paths, throughput and conformance are the outputs testers use.
  • Process Insights gives prebuilt SAP indicators and flows; Process Intelligence gives full variant mining.
  • The discovery edition and the RISE starter pack each give a one-time analysis; repeated analysis needs a subscription.

Check your understanding · not graded

Lesson check

  1. 1. Which three fields does every event log row need?

  2. 2. What is a process variant?

  3. 3. Which product supports conformance checks against a BPMN model?

  4. 4. Why might a real path be invisible in mining?