Enable javascript in your browser for better experience. Need to know to enable it? Go here.
Unieuro

Understanding a legacy SAP commerce platform before modernization

Disclaimer: AI-generated summaries may contain errors, omissions, or misinterpretations. For the full context please read the content below.

About the client

Unieuro S.p.A. is Italy's leading retailer of consumer electronics and household appliances. Founded in 1967, the company operates more than 500 stores alongside one of Italy's largest omnichannel commerce platforms. Following its acquisition by Fnac Darty, Unieuro continues to modernize its technology landscape to support future growth across Southern and Western Europe.

Key outcomes

 

  • Reverse-engineered the agreed SAP Commerce (Hybris) customization and integration scope across every major commerce domain.

     

  • Reduced documentation effort by approximately 80–90% compared with the previous manual analysis approach.

     

  • Produced a domain-oriented engineering knowledge base containing more than 1,500 documented capabilities, 300+ endpoints and 800+ diagrams.

     

  • Delivered practical outputs for both engineers and AI-assisted development, including a searchable portal, capability catalog, grounded Q&A and MCP interfaces.

The challenge

 

During an AI-first software delivery assessment,  SAP Commerce (Hybris) emerged as the most challenging application in Unieuro's modernization landscape. As with many enterprise commerce platforms, Unieuro's SAP Commerce implementation had evolved over more than a decade. New business capabilities, integrations and customizations had accumulated release after release, while documentation gradually fell behind the software itself, making it difficult to understand how the platform actually behaved.

 

As a result, answering seemingly straightforward questions, such as “Which systems participate in checkout?”, “Which services determine product availability?” and “Which pricing rules are still active?”, often required reading code, inspecting configuration, consulting multiple specialists and validating assumptions across several teams.

For a modernization program, where teams need to understand the existing system before deciding what to rebuild, replace or retire, this created an immediate problem.

Rather than investing months in manual documentation, Thoughtworks and Huware explored a different question: Could reverse engineering become a repeatable engineering activity instead of a one-off documentation exercise?

The solution

 

Thoughtworks and Huware approached the problem as an engineering challenge rather than a documentation exercise. Instead of relying primarily on interviews or manual analysis, the team combined a lightweight reverse-engineering accelerator with software engineering practices developed through large-scale modernization programs.

 

The accelerator automates repetitive analysis tasks, such as extracting business capabilities, mapping APIs, identifying integrations and generating structured documentation—while engineers validate the results, resolve ambiguities and capture business intent. This allows teams to spend their time understanding the system rather than manually collecting information.

 

The goal was not to document legacy software. It was to create a shared understanding of how the platform actually behaves, which engineering teams can use to plan, build and modernize software with confidence.

The engagement followed a repeatable engineering workflow:

1. Understand the landscape

 

 

The first step establishes a high-level view of the application before analyzing individual components. Repositories, business domains, integrations, runtime dependencies and key user journeys are identified to define the boundaries of the analysis and create a common reference point for product, architecture and engineering teams.

 

2. Extract business behaviour

The accelerator analyzes multiple sources simultaneously, including Java code, Spring configuration, database schemas, APIs, user interfaces, runtime behavior and existing documentation, to reconstruct how each business capability actually behaves.

Looking across multiple evidence sources is essential. No single artifact fully describes a large enterprise application, but together they expose business rules, decision logic and system interactions that would otherwise remain hidden.

3. Structure and validate

 

 

The extracted information is transformed into structured business capabilities using predefined documentation schemas rather than free-form AI generation.

AI accelerates extraction, summarization and organization, while engineers and domain experts review every capability, resolve inconsistencies and validate the final result before publication. Every documented capability maintains traceability back to the technical artifacts from which it was derived, allowing teams to verify findings whenever needed.

4. Publish ready outputs

Instead of producing static documents, the accelerator publishes structured outputs that become part of the engineering workflow.

Before this engagement, documenting a single commerce domain typically required weeks of manual investigation involving multiple specialists. By combining automated extraction with structured engineering review, documentation became a repeatable engineering activity, reducing effort by approximately 80–90% compared with the previous manual approach while significantly reducing dependency on scarce domain experts.

Large legacy systems already contain the knowledge needed for modernization, they simply don't expose it in a form engineers can efficiently consume. Our objective wasn't to generate documentation; it was to make that knowledge searchable, traceable and reusable so that both engineering teams and AI assistants could work from the same trusted context.
Chandirasekar Thiagarajan,
Technology Principal, Thoughtworks

Engineering outputs

Engineering portal

A human- and LLM-friendly context library containing detailed business capabilities, APIs, integrations, diagrams and decision logic. Engineers navigate the platform through business concepts rather than source code alone, while AI assistants consume the same validated context through grounded search and RAG and MCP interfaces.

 

Capability catalogue

A fine-grained inventory of business capabilities that supports scoping, dependency analysis, roadmap planning and modernization prioritization.

Rather than asking "Which classes implement this functionality?", teams can ask, "Which business capabilities are involved, what systems do they depend on and what would change if we modernized them?"

Landscape overview

A high-level architectural view of domains, integrations and major business flows, providing engineering leaders, architects and product teams with a shared understanding of the application landscape.

 

The MVP initially focused on product onboarding, product enrichment, pricing, ETL integrations, exports and warranties. Following its success, the same approach was extended across the agreed SAP Commerce customization and integration scope, including availability, tax, cart, promotions, checkout, orders, payments, fulfillment and storefront.

 

The resulting engineering knowledge base contains more than 1,500 documented capabilities, 300+ endpoints and 800+ diagrams, covering the agreed modernization scope while reducing documentation effort by approximately 80–90% compared with the previous manual approach.

From understanding the system to planning modernization

 

The reverse engineering work did more than generate documentation. It gave Unieuro's modernization programme a shared understanding of how the platform actually behaves, allowing engineering teams to move from discovery to planning with significantly greater confidence.

Rather than spending weeks reconstructing existing functionality before making decisions, product managers, architects and engineers could work from the same factual view of the platform.

The biggest change was that we stopped debating how the platform worked and started planning modernization from a shared understanding of the system. Product, architecture and engineering teams could finally discuss priorities based on evidence rather than assumptions, significantly reducing our dependency on individual experts.
Marco Angioletti
Omnichannel ICT Director, Unieuro

Faster onboarding for engineering teams

 

Understanding a large legacy platform often requires extensive SME shadowing and code exploration. The engineering knowledge base shortens that learning curve by giving new team members a business-level view of the platform, with traceable links to implementation details when needed.

 

The same structured context gives AI coding assistants validated business knowledge to work from, rather than relying on raw source code alone.

 

The same structured context also provides AI coding assistants with grounded information about the application, enabling them to reason over validated business knowledge rather than interpreting raw source code in isolation.

Retail is entering a new phase where AI will fundamentally change how software is built, evolved and maintained. The real opportunity isn't simply applying AI to software development, it's combining deep retail expertise with trusted engineering context. Together, Huware and Thoughtworks are helping retailers modernize existing platforms while preserving the business knowledge that makes them unique.
Andrea Servili
CEO, Huware

Looking ahead

 

The Unieuro engagement demonstrated that reverse engineering can become a practical starting point for modernization rather than a lengthy preliminary activity.

The same engineering approach is now being applied to other large enterprise applications where understanding existing business behaviour is the first prerequisite for change.

For retailers in particular, years of customization have created valuable competitive differentiation embedded inside commerce platforms. Preserving that knowledge while modernizing the underlying technology has become one of the industry's biggest engineering challenges.

 

This engagement complements Unieuro's published data-platform modernization story, same AI-first program, different stream. For more on whether generative AI can help reverse-engineer a system even when its code isn't available, see this related piece.

 

Let's talk about your next project