A note from Marian
This is a guest post by Clément Ringot from Decathlon Digital. If you’re using ARC-1 and would like to write about your experience here on the blog, you can email me anytime at marian@zeis.de.
A regression reaches production when nobody tested the path that broke. In Decathlon’s SAP teams, tests are often written from the documentation, while the risk lives in the code. SmartQE, our AI Quality Engineer agent, closes that gap. What gives it eyes on SAP is ARC-1, in read-only mode.
Before SmartQE
Change testing relied on the documentation. The people who test are rarely full-time QE engineers, and nobody knows every program by heart. Tests were selected on business knowledge, and the tester had to describe and find the test data on their own.
A first version of SmartQE already turned incomplete documentation into structured test cases. But its expected results could only be as good as the documentation. Reading the real code and the real data was the missing step, and it is what changed the nature of the tests.
SmartQE in a nutshell
SmartQE runs in GitHub Copilot as the testing-sap skill. It writes non-regression (TNR), E2E, UAT, integration or performance tests, from a document (spec, ticket, transcript) or directly from the ABAP code. It relies on two MCP servers:
- ARC-1-SAP to read SAP code, context and data.
- Squash to find existing tests and publish approved cases in Squash TM.
SmartQE never executes anything: no test, no transaction, no job. The tester executes.
A request can be as short as this:
Use the skill testing-sap.
Propose tests for program <program name>.
Write them in Squash here: <Squash folder URL>.
SmartQE then asks its questions one at a time (test type, rapid or full mode, target system), reads the code and proposes the tests. Nothing is published until the tester approves.
ARC-1: the agent’s eyes, not its hands
In SmartQE, ARC-1 is used in read-only mode. That is what lets the agent start from the code actually delivered, not just from the documentation:
- ABAP source (programs, includes, classes, function modules) to design white-box tests: branches, fallback paths, hard-coded constants, switches.
- Search and where-used to measure the blast radius of a change.
- Version history to isolate the exact delta of a delivery.
- Data dictionary (tables, CDS views, data elements).
- Table content through read-only SQL to find one real test record per tested branch, with its control query.
- Jobs and spools to test the real batch chain, not a lab scenario.
Two ways to get test data. By default, after analysing the code, SmartQE proposes a method to retrieve the data: the tester provides it, and the cases are then published in Squash. In automatic mode, SmartQE fetches the data itself through ARC-1. If it finds no matching record, the test stays “in drafting” in Squash until the tester provides the data.
Read-only by design
Security does not rest on a single setting, but on several independent layers:
- ARC-1 roles. Only read and SQL read actions are enabled. No write role is granted.
- The user’s own identity. Every call carries the person’s SAP account (principal propagation) and goes through the standard authorization checks. SmartQE sees nothing the user could not already see in SE16 or Eclipse.
- Agent rules. Running a transaction, a report, a BAPI or an RFC is forbidden, even on request.
- Human validation. Nothing is created in Squash before the proposal is explicitly approved, and it must reach a quality score of at least 16/20.
Another benefit: ARC-1 is a central service on BTP, not a connector installed on each workstation. There is a single access point to review, monitor and evolve.
What it changes in practice (Pricing & Finance examples)
- SAF-T legal export. The tester gave SmartQE the functional specification (PDF). Comparing it with the delivered code, SmartQE found that the VAT number is read from the plant of the first invoice item, and that the fallback path could never succeed with the data in the test environment. The test was flagged as not executable before the campaign, saving the tester hours of searching for data that did not exist. Here the data did not exist in the connected system, so it was up to the tester to provide it. Hence the next step: connecting ARC-1, still read-only, to other environments such as quality assurance or pre-production, where automatic mode will find real data more often.
- Contract price calculation. By reading the condition tables, SmartQE found that the test article’s purchase price was not stored in the table named in the procedure, which was corrected before testing started. Analysing the transports also detected a second program impacted by the delivery.
- Quantified expected results. “Check that the VAT number is correct” becomes “in the exported file, VAT number = exact value”, together with the SQL query that proves it.
