Key Points
- SAP archive data retrieval is the real test of an archive: records only count if auditors, users and privacy teams can get them back.
- SARI, display transactions and read programs all depend on filled infostructures, SAP specialists and a running SAP system to return archived records.
- Custom reports need ABAP work for every archiving object, from run numbers and archive keys to offsets, and that work restarts after S/4HANA.
- Data archive files and ArchiveLink attachments come back through separate paths, so an archived invoice and its scanned original can drift apart.
- An archive built for retrieval offers search by business fields, access without SAP GUI, attachments kept with records, and retention that outlives SAP.
- Archon converts ADK archive content into structured records that auditors search through a web interface, without SAP GUI, licenses or the source system.
A global chemicals company finished rolling SAP HANA out to every country it operates in. That still left more than 11 legacy ERP systems to retire. One was SAP ECC 6. Others included Oracle E-Business Suite, Microsoft Dynamics, Navision and Great Plains.
The plan was one archive in one location. The requirement that shaped every decision was not storage. It was continued access to legacy data, for users in every region, long after the old systems were gone.
That requirement is what SAP archive data retrieval comes down to. Archiving moves old records out of the live database. Retrieval is how anyone gets them back:
- An auditor asks for every invoice from fiscal year 2017.
- A sales rep needs one archived order to settle a warranty claim.
- A finance report suddenly shows half the stock movements it showed last month.
- A privacy team has a month to answer a GDPR access request.
SAP can answer each of these. Its retrieval tools, though, were built for SAP specialists working inside a running SAP system. Most of the people asking are neither, nor the system will run forever.
What Is SAP Archive Data Retrieval?
SAP archive data retrieval is the process of finding and reading business records after an archiving run has moved them out of the SAP database. The records still exist. They sit in archive files written by the Archive Development Kit (ADK), the SAP data archiving framework built into the ABAP platform.
The word “retrieve” means two things in SAP, and forum threads often mix them up:
- Reading archived data: Displaying, listing, or exporting archived records. This is what most people mean.
- Retrieving stored archive files: Copying an archive file from the storage system back to the file system, a function of Archive Administration (transaction SARA).
Archived content also comes in two forms. Structured data, such as material document headers in MKPF and line items in MSEG, goes into ADK archive files. Unstructured content, such as scanned invoices and attachments, is stored through ArchiveLink. Each one comes back a different way.
Why Retrieval Is Where SAP Archiving Succeeds or Fails
An archive is judged on the day someone needs something from it. If finance cannot reach last year’s documents, the next archiving run gets blocked. The database keeps growing, and so does the cost of running it.
Requests reach the archive from four directions:
- Compliance audits: Auditors ask for documents from closed fiscal years, often several years back under SOX data retention rules. A data audit depends on producing them quickly and completely.
- Privacy requests: Under Article 15 of the GDPR, a person can ask for a copy of the personal data a company holds about them. Archived customer and employee records count, and GDPR data retention rules decide how long those files may be kept.
- Legal holds: A dispute can freeze records that were due for deletion. eDiscovery and legal hold requests often reach into archives first, because that is where old records live.
- Day-to-day lookups: Warranty claims, returns, vendor disputes and year-on-year reporting.
Each of these comes with a deadline, and almost none of them comes from someone who works in SAP Basis. That gap between who asks and who can answer is where most SAP archive data retrieval problems start.
The retrieval of archived data in SAP is also getting harder. ASUG research found that 56% of its members are live on SAP S/4HANA or moving to it. Mainstream maintenance for the latest ECC enhancement packages ends on December 31, 2027. The end of ECC maintenance puts a date on every system that remains.
Every conversion and every shutdown changes where archived data lives and which tools can read it. The same ASUG research found that 26% of companies chose a greenfield implementation, where history usually stays behind in the old system or its archive files. Greenfield, brownfield and bluefield migrations each leave archived data in a different place.
Data retention governance has to plan for retrieval as carefully as it plans retention. A data retention policy that keeps records for ten years only works if someone can read them for ten years.
How to Retrieve Archived Data in SAP, and Where Each Method Falls Short
SAP finds an archived record through a chain of lookups. Each archiving run is a session with a run number, and each file it writes gets an archive key. An infostructure is the index behind the Archive Information System (SARI). It stores business fields, such as document number, next to the archive key and the record’s position in the file. With that index filled, SAP can open one record directly. Without it, SAP has to read whole files.
Every standard retrieval method sits on top of that chain:
| Method | Transactions | Depends On | Falls Short |
|---|---|---|---|
| Display transactions with archive access | FB03, VA03, MIGO, MBAL in S/4HANA | A filled infostructure for each archiving object | One document at a time. Records look missing if the index was never filled. |
| Archive Information System | SARI, with the Archive Explorer (SARE) | Infostructures and field catalogs set up in SARJ | Finds only the fields someone chose to index, in one SAP system at a time |
| Read programs | SARA, then Read | Selecting the right archive files | Reads whole files, so unlabeled sessions mean reading everything |
| Archive File Browser | AS_AFB | Knowledge of SAP table structures | Built for Basis troubleshooting, not for business users |
| Document Relationship Browser | ALO1 | The document flow recorded in SAP | Follows one chain of documents at a time |
| Data Retention Tool (DART) | FTW1A, FTWF | Extract settings maintained in advance | Built for tax data, not general lookups |
The index matters more than any single transaction. Activating an infostructure only covers future archiving runs, so files written before activation stay invisible until someone fills them. SAP KBA 2757206 describes the result for sales orders: VA03 says the order is not in the database or has been archived, and cannot display it.
Access is the other limit. Each method starts from an SAP archiving transaction code that someone has to know and be authorized for, in SAP GUI or the Fiori launchpad. Auditors and privacy teams rarely have that access, so each request becomes a ticket for the SAP team.
What It Takes to Read Archived Data in Custom Reports
Custom reports are where archiving surprises finance. A Z-report that selects from MKPF and MSEG reads only the live database. After an archiving run, it returns fewer rows without any error. Totals drop, and the first person to notice is usually someone closing the month.
Fixing one report means writing ABAP code against the ADK. A worked example on SAP Community shows what that takes for archived material documents, archiving object MM_MATBEL:
- Find the run number, sometimes called the job number, in SARA’s statistics.
- Map it to an archive key in table ADMI_FILES, which lists the files each session wrote. Table ADMI_RUN holds the session itself.
- Look up each record’s offset, its position inside the file, in the infostructure table. In that example the table is ZARIXMM1, and generated names differ in every system.
- Open each archived document with the function module ARCHIVE_READ_OBJECT.
- Read the MKPF header and MSEG line items with ARCHIVE_GET_TABLE.
- Test the ABAP program in SE38 against a run with a known record count.
That covers one report and one archiving object. The work does not scale:
- It repeats. Every custom report, and every archiving object it touches, needs the same treatment.
- It assumes Basis knowledge. Users have to know run numbers, unless more code searches the index by business keys with the function module AS_API_READ.
- It merges two sources. Each report has to combine live and archived records to show complete totals.
- It breaks at S/4HANA. SAP Note 2206980 moves material document data into table MATDOC, while archive files written in ECC still hold MKPF and MSEG records. Every report needs retesting.
- It ends at shutdown. None of this code runs once the SAP system is gone.
The same read logic has a better use: reading the archive once, for good. Before a system is shut down, custom programs on the SAP side read ADK archive content and convert it into structured CSV that Archon ingests. From then on, records are searchable by business fields without custom code for each report.
Retrieving Stored Archive Files and Attachments
Archive files rarely stay where they were written. The write run creates them on the application server’s file system. Most companies then move them to a storage system. Since release 4.6C, SAP has done that through the Content Management Service (CMS), part of its content management infrastructure. The files land in a content repository defined in OAC0.
Retrieving stored archive files is the reverse move. Archive Administration copies a stored file back to the file system, and the original stays in storage. ADMI_FILES tracks the status, including “retrieval running” and “retrieval error”. Retrieved copies then have to be cleaned up with report RSARCH_LIST_RETRIEVED while the original is still online.
Reading archived data often works without a retrieved copy, because the ADK can access stored files directly. The bigger retrieval problem sits with the second kind of archived content.
Scanned invoices, workflow attachments, and print lists are stored through ArchiveLink, often by document automation such as invoice scanning. Each document is linked to its business object and opened from that object’s attachment list. No archiving session or infostructure is involved, so these documents come back through a completely separate path.
| Aspect | Data Archive Files | ArchiveLink Documents |
|---|---|---|
| What is inside | Table rows from an archiving object, such as MKPF and MSEG | Scanned invoices, attachments, print lists |
| Stored in | The file system, then a content repository through CMS | A content repository through ArchiveLink |
| Found through | Infostructures and archive administration data | The link between the document and its business object |
| Retrieved with | Display transactions, SARI, read programs, ADK function modules | The attachment list on the business object |
Structured and unstructured content retrieval meet in one place: the business record. An archived invoice is only complete with its scanned original. When the two are archived and stored separately, an auditor can end up with one and not the other.
Attachments kept in the database table SOFFCONT1 can grow it to terabytes and reducing SOFFCONT1 means moving that content without breaking its links. A content server migration carries the same risk.
A North American regional bank shows what getting it right looks like. Its SOFFCONT1 table had reached 2.1 TB and was growing 38% a year, with 7 to 15 years of required retention. Archon moved the attachments out with every link intact, and users kept opening documents through their existing SAP and Fiori workflows. Document retrieval across attachment-heavy workflows became 70% faster.
Where SAP Retrieval Breaks: S/4HANA and Decommissioning
Two events change retrieval for good: the move to S/4HANA and the shutdown of the old system.
At an S/4HANA conversion, SAP’s retrieval tools stay. What sits around them changes:
- New tables: SAP Note 2206980 stores material document data in MATDOC only. In finance, the FI_DOCUMNT archiving object also covers the ACDOCA table, the Universal Journal.
- New screens: Some archive read transactions, such as MBAL for material documents, run as SAP GUI for HTML apps in the Fiori launchpad. Fiori support for archived data varies by app. SAP KBA 3594003 describes a sales Fiori app that returns an empty list for documents archived through ArchiveLink.
- Old files in new places: In a brownfield conversion, archive files stay with the converted system, and infostructures and custom reports need retesting. In a greenfield move, ECC history usually stays behind in ECC and its archive files. A selective data transition moves chosen years and company codes and leaves the rest.
At decommissioning, the routes close altogether. Every native retrieval method needs the ABAP runtime and the ADK, infostructure tables in the SAP database, SAP licenses and users who can log on. SAP system decommissioning removes all of them at once. The ADK archive files remain, with nothing left to read them.
SAP’s own route for retired systems is the retention warehouse in SAP ILM, a central ILM system that receives data from the systems being shut down. That keeps retrieval inside an SAP environment that someone still has to run.
A data volume management review before conversion should therefore cover SAP archive data retrieval, not only database size. The useful question is who will read each archived object afterward, through which screen, and on which system.
What an Archive Built for Retrieval Looks Like
SAP’s retrieval limits share one root. Its tools assume the person asking is an SAP specialist, and the system is still running. An archive built for retrieval drops both assumptions.
| Capability | Native SAP Retrieval | Archive Built for Retrieval |
|---|---|---|
| Who can search | Users with an SAP account, authorizations and SAP GUI or Fiori | Auditors, finance and privacy teams through a web interface |
| How records are found | Infostructures, one archiving object and one system at a time | Search by business fields across archiving objects and source systems |
| Custom reporting | ABAP code for each report and archiving object | Queries and dashboards on structured records |
| Attachments | A separate ArchiveLink path | Kept with the business record, links intact |
| Retention and legal holds | Configured in the live system | Enforced in the archive itself |
| Proof of integrity | Depends on how storage was set up | Every record hashed, time-stamped and kept in WORM format |
| After decommissioning | No reader left | Fully searchable |
The right-hand column works as a checklist. An archive that misses any row will turn the next audit into a project.
Access still needs control. Archived records hold personal and financial data, so role-based access control should apply to the archive as strictly as to the live system. A log of who retrieved what is where enterprise data governance becomes visible. Write-once immutable storage is what lets an auditor trust that an archived record was never changed.
Best Practices for SAP Archive Data Retrieval
Each practice applies general data archiving best practices to getting data back:
- Plan retrieval when you plan archiving. Before an object is archived, list who will ask for its data, by which fields and how fast.
- Index before the first productive run. Infostructures activated later leave older files invisible until they are filled.
- Label every archiving session. Object, organizational unit and period let anyone find the right files years later. Good metadata for archiving starts with that one field.
- Inventory custom reports. Find every Z-report that reads tables you plan to archive, and decide how each one will reach archived data.
- Keep attachments with their records. Archive ArchiveLink documents and data records together, with their links intact.
- Test with real audit requests. Time how long it takes to answer three past requests from archived data alone.
- Govern access. Apply roles to archived data and log who retrieved what.
- Decide post-retirement access before cutover. An SAP decommissioning checklist should include a retrieval test, run before the system goes dark.
How Archon Keeps Archived SAP Data Retrievable
Archon handles SAP archive data retrieval outside SAP. Before shutdown, custom programs on the SAP side convert ADK archive content into structured records for Archon. From then on, Archon’s SAP archiving solution covers each capability an archive built for retrieval needs:
- Access without SAP GUI or licenses: Users and auditors open archived records through a web interface.
- Familiar screens: Archived records appear in screens that mirror familiar SAP transactions, and predefined ECC transaction screens keep data accessible after decommissioning.
- One search: Records are searchable by archiving object, such as FI_DOCUMNT or SD_VBAK, across every source system. The Query Visualizer adds dashboards and reports.
- Attachments with their records: Users keep opening attachments from the same screens, and the links keep working.
- Retention that outlives SAP: Retention rules and legal holds are enforced in the archive itself.
- Proof of integrity: Every record is hashed and time-stamped at ingestion and kept in WORM format.
That is the model the chemicals company chose. SAP ECC 6 and its other legacy ERPs went into one centralized archive. The company needed a SaaS deployment so users worldwide could reach it. The result was a centralized archiving platform, stronger archive governance and a lower-cost path away from legacy infrastructure, with retention and disposition planned ahead.
Results from other landscapes:
- North American regional bank: 70% faster document retrieval across attachment-heavy workflows, with 100% attachment-to-record linkage.
- Global apparel and accessories enterprise: 65% less time spent on audit preparation, alongside a 40% smaller SAP database.
- Global Chemicals Company: More than 11 legacy ERPs, including SAP ECC 6, in one archive built for users in every region.
Teams weighing SAP ADK against Archon for ECC decommissioning can settle it with one question. Once SAP is off, who answers the next audit request, and how?
The chemicals company did not start with storage. It started with the people who would need the data back. Retrieval works when it is planned in that order.