Archiving a legacy system solves one problem and exposes another. The old ERP can be switched off, and its history is safe and searchable. But "safe" soon raises new questions:
- When may this data go?
- What must go because privacy law says it may not be kept any longer?
- What must stay because a lawsuit is pending?
- And who can prove, five years from now, that the right records were deleted for the right reason?
An archive that only keeps data forever is a growing liability. The ArchiveHub Retention Cockpit is where that lifecycle is managed: retention policies, legal holds, data-subject requests, approvals, destruction and the audit evidence, in one app for every archived system, SAP and non-SAP.
This article walks through the cockpit tab by tab.
The dashboard: what needs attention today
The cockpit opens with the questions a records manager actually has:
- How many records may be destroyed now: the minimum retention is over and no hold applies.
- How many are overdue: past their maximum retention, which is a storage-limitation risk under GDPR Art. 5(1)(e).
- How many are protected by a legal hold.
- How many records are covered by a policy.
- What is waiting for my approval.
- Which GDPR requests are open, and when they are due.
Below the figures, Next steps turns each number into an action. A retention calendar shows how many records become eligible each month for the next 24 months, so the next destruction wave is visible a year ahead. The forecast refreshes every night and after every policy or hold change.
Dashboard: eligible, overdue and held records, approvals waiting, open GDPR requests, next steps and the 24-month retention calendar.
Business objects: the whole document, not one table
Retention is decided per document, not per table. A purchase order is not just the EKKO header. It is also:
- the items and schedule lines;
- account assignments and purchase-order history;
- conditions, output records and long texts;
- change documents.
Deleting the header and leaving the rest behind is exactly the kind of half-destruction an auditor finds.
In the cockpit, a business object is a document type with all its tables. You pick the header table, and the cockpit finds the dependent tables and their joins itself:
- SAP systems: from SAP's own archiving-object definitions and the data dictionary. That includes the special links, such as conditions through KNUMV, texts through the text object and name, and change documents through the object class.
- Non-SAP systems: from the archive's out-of-the-box reports and the primary keys in the system's dictionary.
- Custom tables: you add the table and its join yourself; joins are never guessed silently.
Master data such as vendors, materials and company codes is never part of a document object, so it is never destroyed with one.
Each table shows the join, how it was found, its row count and whether it is destroyed with the object. Each object also lists the reports that display it, so any record in a destruction list opens in its normal app. In the ArchiveHub demo landscape, catalogs were built with one click per system: 686 business objects across SAP ERP, S/4HANA and more than thirty non-SAP systems.
MM_EKKO, purchasing documents: header, items, history and more, with the join for each table, how it was found and its rows.
Policies: how long, for which purpose, from when
A retention policy says how long one business object is kept for one legal purpose, called the audit area: tax and commercial law, HR, product liability, and so on. A policy contains rules, which are checked top to bottom. Each rule names:
- which records: conditions on any field of the document, for example company code, document type or purchasing organisation. Country works through the company code, and material number or material group matches any item of the document;
- the reference date the clock starts from, and whether it rounds up to the end of the year;
- the minimum period (may destroy after) and the maximum (must destroy by);
- the legal citation, or a reusable rule group that carries it.
When several minimum-retention requirements apply to the same record, the latest minimum-retention date wins. Conflicts with a maximum period or privacy obligation require policy-owner review; a longer period is not automatically a legal justification for keeping personal data. A record without a usable reference date is never destroyed. Before submitting, Preview impact counts how many records would be eligible now, later, or have no date.
Policies take effect only after approval by a second person. They are versioned, and a policy name can be kept in six languages: English, German, Spanish, French, Arabic and Chinese.
For choosing the periods, the cockpit has a built-in Retention Library: 1,254 sourced rules for 85 countries and jurisdictions, each one click away from a pre-filled policy. It has its own article: 1,254 Retention Rules, 85 Countries, One Click to a Policy.
Illustrative demo configuration for purchasing documents: different rules, a year-end reference date and second-person approval. These configured periods are examples, not a German statutory retention schedule.
Legal holds: nothing covered is destroyed
A legal hold stops destruction of everything it covers, whatever any policy says. Holds belong to a legal case, such as litigation, an investigation or a tax audit. A hold can cover:
- a person: a vendor, customer or employee, in every business object of the system;
- a product: a material number or a material group, in every document that contains it on any item;
- criteria: for example company code 3000 and document dates in 2010–2011;
- listed documents.
Every hold shows how many objects it protects. Holds are evaluated when they are created, re-evaluated every week, and checked again inside the destruction transaction itself. A record that starts to match a hold after a destruction run was approved is still protected.
A case of type Exclusion can exclude selected people's records from automated destruction. The legal basis and continued need for that exclusion should be reviewed; it does not create a blanket right to retain personal data forever. Releasing a hold needs approval by Legal.
A litigation case with three holds: a vendor in all objects, purchasing documents by company code and date, and a range of materials in all objects.
GDPR: find the person, decide per object, block
The GDPR tab starts from the question every data-protection officer gets: where is this person? A quick search scans every table of the system for a vendor, customer or employee number.
A data-subject request records the request, its due date and what was found. GDPR Article 12(3) generally requires a response within one month; a permitted extension of up to two further months depends on complexity and the number of requests, with notice and reasons within the first month. Read the GDPR.
- Access (Art. 15): every row stored about the person, across all tables, downloadable as JSON.
- Erasure (Art. 17): a verdict per business object. Either can be erased, or retained until DATE because of POLICY (Art. 17(3)), or held by CASE. Only what nothing protects is erased.
- Restriction (Art. 18): the person is blocked. Their records disappear from every report, every ad-hoc query and every document view for everyone except the DPO and retention administrators. The data is still kept for its legal period, and counts and paging stay correct because the filter runs inside the database query.
A restriction request: rows found, the verdict per business object, every table containing the person, and the person blocked across all apps.
Destruction: simulate, approve, execute, certify
Destruction is deliberately slow and fully documented:
- Simulate. The cockpit lists every record whose retention is over and that no hold protects, and counts the rows per table it would delete. Nothing is deleted. The candidate list gets a fingerprint.
- Submit. A second person reviews and approves the frozen list. The requester cannot approve their own run, and the number of approvers can be set per system.
- Execute, now or at a set time. Eligibility and holds are checked again. All tables of each object are deleted together, deepest tables first, in batches with one transaction each, through a dedicated database login used for nothing else.
- Certify. A certificate of destruction names the policy, the approvals, the rows deleted per table and a hash of the deleted keys.
Destruction is switched on per system. Until it is, everything above works as a simulation, which is how most customers start.
A simulated run on purchasing documents: records checked, eligible, overdue and on hold, the policy applied, the candidate-list fingerprint and the planned rows per table.
Exports: tax-audit packages and carve-outs
Two kinds of package can be built from the archive:
- Z3 tax-audit export (GoBD/GDPdU). These are the files a German tax auditor asks for in IDEA format: ';'-separated, decimal comma, DD.MM.YYYY dates. An
index.xmldescribes column types, primary keys and relationships, and the official DTD is included. The package is checked against the DTD and its own manifest. Templates cover finance, purchasing and sales. - Carve-out. When part of the business is sold, all data of its company codes is handed over as CSV with a manifest and SHA-256 checksums. Afterwards it can be deleted from the archive through the same simulate–approve–execute path. Legal holds still apply.
Packages are kept for 30 days, and every download is logged.
Z3 tax-audit packages per company code and fiscal year, with rows, size and expiry.
Approvals, roles and the audit trail
- Approvals. One inbox for everything that needs a second person: policies, destruction runs, hold releases and GDPR erasures.
- Roles. Records manager, Legal, DPO, Approver, Auditor and Administrator. Roles are assigned per system and can be limited to company codes or countries, and the same limits apply in every report.
- Optional e-mail. Approvers are told about new requests and requesters about decisions, with a daily reminder. Approving always happens in the cockpit.
- Jobs. Nightly forecasts, weekly hold re-evaluation and monthly simulations per policy run in the background, and each job is visible with its log.
- Audit trail. Every action is recorded in an append-only, hash-chained log: who did what, to which object, in which system. Verify chain checks the recorded chain for inconsistencies, and the trail exports as CSV for the auditor. Updates and deletes on the audit log are refused by the database itself.
The audit trail: append-only and hash-chained, with a chain check and CSV export.
Why it matters for decommissioning
Switching off a legacy ERP is the moment retention gets real. In the old system, retention was rarely enforced, because deleting from a running ERP is hard and risky. In the archive, it can be done properly:
- One place for all systems. SAP ERP, S/4HANA and every non-SAP archive use the same policies, holds, GDPR process and audit trail.
- Whole documents only. Business objects make sure a document is kept or destroyed with all its tables.
- Holds always win, and they are checked again at the last possible moment.
- Privacy by design. Overdue data is visible on the dashboard, and blocked people disappear from every report.
- Evidence. Four-eyes approval, certificates and a tamper-evident audit trail answer the auditor's question before it is asked.
Plan the lifecycle of your archived data
Start with the Retention Library to research candidate rules, then connect the approved policies to your historical ERP data platform and application retirement plan.
Book an ArchiveHub demo or contact us about your retention requirements.
Screenshots show fictional demo data. Retention periods and legal requirements depend on your jurisdiction; confirm them with your legal counsel.
Assess an Application