Lesson 3 of 6
Regression across merged org units
11 min
Listen to this lesson
This course discusses ACCELQ by name. Matt Angerer, who runs The Sign-Off Table, works at ACCELQ. Disclosure
Reconciliation proves the data arrived. Regression proves the business still runs on it, in the new organizational units and in the old ones. After a consolidation the same process has more variants than before: a sales order in 1910 must find Mexican tax, CFDI output and the Monterrey profit center, while the same order in 1710 must still find exactly what it found last month. The efficient way to cover that is one end-to-end scenario run many times with different organizational data, before and after every mock.
The regression scope matrix
| Process | Variant | Company code / plant / sales area | UI | Compare after the mock |
|---|---|---|---|---|
| Order to cash | Standard order, delivery, billing | 1710 / 1710 / 1710-10-00 | Fiori and SAP GUI | Unchanged accounts, tax, profit center CMC-FLEET |
| Order to cash | Standard order with CFDI output | 1910 / 1910 / 1910-10-00 | Fiori | Mexican tax, CFDI stamped, MXN revenue |
| Intercompany | 1710 buys alternators from 1910 | 1710 and 1910 | SAP GUI | Intercompany billing, trading partner, both sides post |
| Procure to pay | PO over $25,000 with approval | 1710 / 1710 | Fiori | Flexible workflow still triggers |
| Procure to pay | Lakeside rotor PO for Monterrey | 1910 / 1910 | Fiori | Extended BP 17300001 used, MXN or USD as designed |
| Record to report | Period-end close tasks | 1710, 1810, 1910 | Fiori and SAP GUI | Close sequence completes for all three |
An extract from the Wave 2 merged-org regression scope (illustrative course data).
Two rules keep the matrix honest. First, every existing company code stays in scope: 1710 and 1810 share the client, account determination, output rules and derived roles with 1910, so any Wave 2 transport can reach them. Second, the comparison is about outputs, not just green ticks: the posted G/L account, tax code, profit center and segment, the output that went out, and the document flow. A test that passes because a document was created, while its revenue now lands on a different profit center, is a failed test.
Baseline, mock, rerun, compare
The baseline runs in CMQ client 100 shortly before each W2 mock load; the rerun runs after the load and its transports. Use the same test data and the same version of the scripts, or differences become impossible to attribute. Record the outputs that matter as values in the results (document numbers, G/L accounts, tax amounts, profit centers) so the comparison is a diff, not a memory exercise.
Data-driven, not copy-and-paste
Writing one script per company code multiplies maintenance with every new org unit. Instead, build the scenario once and feed it rows of organizational data: company code, plant, sales area, customer, material and the expected outputs. Adding 1910 then means adding rows, not scripts. In ACCELQ, the worked example for the automation layer in this course, each input of an Action becomes a parameter of the Scenario, and the Test Cases tab holds one row per data set. Values can come from the test case, from a fixed value or Global Property, from a Run Property supplied at run time, or from an earlier step's output. The same scenario can then run on SAP GUI for Windows, which ACCELQ documents for ECC 6.0 and higher through SAP GUI scripting and a Local Agent, and on SAP Fiori through its general web recorder; ACCELQ has no Fiori-specific documentation, so prove Fiori stability in your own pilot.
| Test case | Company code | Sales area | Customer | Expected profit center | Expected output |
|---|---|---|---|---|---|
| TC-1710 | 1710 | 1710 / 10 / 00 | 17100001 Great Lakes Fleet Services | CMC-FLEET | Invoice by output control (EDI and e-mail) |
| TC-1720 | 1710 | 1710 / 10 / 00, plant 1720 | Aftermarket customer | CMC-AFTMKT | As 1710 |
| TC-1910 | 1910 | 1910 / 10 / 00 | Flotillas Monterrey | As designed for 1910 | CFDI stamped |
Run the suite unattended after every mock. In ACCELQ a run can be scheduled or created as a CI Job and triggered from a pipeline or through its REST trigger, and Perspectives in the Test Report break results down by a custom field such as company code, so Lucía reads 1910 and Maria reads 1710 without searching.
What would you do?
After W2 Mock 1, the rerun shows that TC-1720 now posts revenue to profit center CMC-FLEET instead of CMC-AFTMKT. The baseline the day before showed CMC-AFTMKT. The 1910 rows are fine. What should Priya do?
- Regression covers the new and the existing org units, because they share one client.
- Run a baseline before each mock and the same suite after it, then compare outputs, not just pass rates.
- Build scenarios once and feed them rows of org data with expected outputs.
- Trigger reruns automatically when the load finishes, and report results by company code.
Check your understanding · not graded
Lesson check
1. Why does Wave 2 regression include 1710 and 1810?
2. What should a regression comparison look at beyond pass or fail?
3. How do you add company code 1910 to a data-driven order-to-cash scenario?
4. Why run the baseline shortly before each mock rather than reuse last month's?