Lesson 2 of 6
Process mining outputs a tester can use
10 min
Listen to this lesson
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.
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 cases | Share of order value |
|---|---|---|
| V1 Order, delivery, goods issue, invoice, payment | 61% | 58% |
| V2 V1 with credit block and release before delivery | 12% | 17% |
| V3 V1 with price change after order creation | 7% | 6% |
| V4 V1 with partial deliveries (two or more) | 6% | 9% |
| V5 Order, delivery, goods issue, invoice, credit memo request | 3% | 2% |
| V6 Order rejected or cancelled before delivery | 3% | 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.
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.
- Pick ten cases from the model across different variants.
- Open each sales order in the system (VA03, or Manage Sales Orders F1873) and follow the document flow.
- Compare the activities and timestamps with the event log for that case.
- Record any missing or extra activity, and ask the model owner to explain it.
- 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
| Need | SAP Signavio Process Insights | SAP Signavio Process Intelligence |
|---|---|---|
| Approach | Prebuilt content for standard SAP ERP and S/4HANA processes: performance indicators, process flows, blockers and recommendations | Full process mining on event logs you define, from SAP and non-SAP sources |
| Variants and exception paths | Standard process flows and blockers for supported processes | Any variant, with variant explorer and process discovery widgets |
| Conformance | Not its focus | Conformance checks against a BPMN model |
| Effort to start | Low: connect, extract, read | Higher: data model, event log design, investigations |
| Ways to get it | Discovery edition (one-time, free for customers in SAP maintenance), RISE starter pack (one-time load), or a subscription | Subscription; check trial and package options |
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?
- 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. Which three fields does every event log row need?
2. What is a process variant?
3. Which product supports conformance checks against a BPMN model?
4. Why might a real path be invisible in mining?