Key Points
- SAP archiving objects bundle the tables, programs and settings for one business object, such as FI_DOCUMNT, so its data leaves the database together.
- DB15 maps each table to its object, but it cannot say what is safe to archive, what is sensitive or what is redundant.
- Objects run in SAP’s dependency order, and S/4HANA changes several of them, including FI_DOCUMNT, which now needs a compression run for ACDOCA.
- Archiving objects only work inside SAP: Z-tables need custom ABAP objects, and ADK archive files need a running SAP system to be read.
- Archon Analyzer profiles SAP data before scope is set, flagging redundant data, sensitive fields and every custom object, so no Z-table is missed at extraction.
- Archon extracts Z-tables without new ABAP objects and keeps archived records searchable by archiving object, with retention and legal holds that outlive SAP.
“The previous vendor left. The data didn’t.”
That line comes from one of our global apparel customer group that grows through acquisitions and divestitures. Its first archiving project had been abandoned. It left partially ingested data, broken ingestion pipelines, and no coherent retention framework.
Archon rebuilt the program around SAP archiving objects. Technical objects covered IDocs, logs, and work items. Functional objects covered FI and CO, MM, SD and PP. Every record from the failed project was re-ingested and validated against its source.
Triage tooling classified incoming data, predicted storage costs, and assigned retention tiers before anything was ingested. The group now has a repeatable archival factory that absorbs future acquisitions without bespoke project work.
The story shows what archiving objects can and cannot do:
- They decide what leaves the SAP database, in what order, and in what form.
- They do not decide which data is worth moving, how custom tables get out, or who can read the archive once SAP is switched off.
Those gaps are where most archiving programs stall, and where the choice of archive matters as much as the choice of object.
What Are SAP Archiving Objects?
SAP archiving objects are the units the system archives. Each one defines which data belongs to one business object, such as an accounting document or a sales order. It also defines how that data is written to archive files, deleted from the database, and read back.
The reason is consistency. A single sales document spreads across header, item, schedule line, partner and document flow tables. Archiving only some of those rows would leave broken records behind, so the object moves them as one unit.
Every object has three parts:
- Data declaration: The tables that make up the business object, arranged as parent and child segments. SD_VBAK, for example, covers VBAK, VBAP, VBEP, VBFA, and VBPA, among others.
- Customizing: Residence times, file names and archive file size, plus whether files go to a content repository such as SAP Content Server.
- Programs: A write program handles data selection through a variant and creates archive files. A delete program removes the archived data from the database. A read program displays it later.
Each archiving object code in SAP, such as FI_DOCUMNT or SD_VBAK, runs to ten characters at most. Data shared by many business objects, such as SAPscript texts and change documents, travels inside an object through archiving classes (ARCHIVE_CLASS).
AOBJ is the archiving object transaction in SAP. It shows each object’s programs, structure and settings, and it is where custom objects are defined. Behind it, the SAP tables ARCH_OBJ and ARCH_DEF store each object’s programs and table hierarchy. SARA runs the objects, and the wider set of SAP archiving transaction codes covers sizing, retrieval and retention.
That object structure is worth keeping after archiving too. Archon’s prebuilt views align to common SAP archiving objects across FI, SD, MM and HR. Archived records stay organized the way SAP teams already know them.
Why Object Choices Decide the Size of an S/4HANA Move
Archiving objects are the working layer of SAP data volume management. Each one moves one defined slice of the database, and nothing outside that slice moves with it. If the objects in scope do not own the tables that are actually growing, the database barely shrinks, however many runs complete.
The stakes rise before a conversion. A brownfield conversion carries existing data into S/4HANA, so every unarchived table adds runtime and HANA sizing. Teams working against ECC end of maintenance have a fixed window to decide what moves with them.
An aerospace and aviation group faced that window with no archiving in place at all. Its ECC database was growing by about 80 GB a month, and more than 100 custom objects needed assessment. Archon worked through standard and custom objects together, cut the SAP database by 35% and unblocked the S/4HANA migration.
Object choices also decide what happens after the run. Standard objects write archive files through the Archive Development Kit (ADK), and ADK files are read back through SAP. Every object chosen today is also a decision about access in ten years, when the system that wrote the files may be gone.
Four decisions shape the outcome:
- Which objects: This sets how much of the database can leave.
- In what order: This decides whether SAP accepts each run.
- Which type: This decides whether retention rules and destruction apply.
- Where the files go: This decides who can read the data later.
SAP’s own tools handle the first two inside a running system. The last two have to outlive that system, and that is where the archive behind the objects matters most.
Every object you leave out is data your S/4HANA conversion has to carry. Archon Analyzer shows which objects own your fastest-growing tables, and what is safe to move.
List of Archiving Objects in SAP, by Module
SAP delivers archiving objects for every module, but a small set carries most of the volume in a typical ERP system. These are the ones most projects meet first, grouped by module. Table lists change between releases, so DB15 in your own system has the final word.
| Module | Archiving Object | Business Data | Main Tables or Notes |
|---|---|---|---|
| FI | FI_DOCUMNT | Accounting documents | BKPF, BSEG; ACDOCA in S/4HANA |
| FI | FI_TF_GLF, FI_TF_DEB, FI_TF_CRE | G/L, customer and vendor transaction figures | Archived after FI documents |
| FI | FI_ACCRECV, FI_ACCPAYB | Customer and vendor master data | Archived after the documents that use them |
| CO | CO_ITEM | CO line items | Replaced by CO_TRANS for cost center data in S/4HANA |
| CO | CO_COSTCTR | Cost center data | Includes the cost center master |
| CO | COPA1_xxxx | Profitability Analysis data | Movement data |
| SD | SD_VBAK | Sales documents | VBAK, VBAP, VBEP, VBFA, VBPA |
| SD | SD_VBRK | Billing documents | VBRK, VBRP |
| SD | SD_COND | Pricing condition records | In S/4HANA, a deletion flag is enough |
| LE | RV_LIKP | Deliveries | LIKP, LIPS |
| MM | MM_EKKO | Purchasing documents | EKKO, EKPO |
| MM | MM_EBAN | Purchase requisitions | Archived after MM_EKKO |
| MM | MM_MATBEL | Material documents | MKPF, MSEG; MATDOC in S/4HANA |
| MM | MM_REBEL | Invoice verification documents | FI postings go with FI_DOCUMNT |
| MM | MM_MATNR | Material master records | Archived late, after documents |
| PP | PP_ORDER | Production orders | AUFK, AFKO, AFPO |
| PP | PP_BKFLUSH | Backflushing documents | Archived before material documents |
| PP | PP_PLAN, CS_BOM, PP_WKC | Routings, bills of material, work centers | Master data objects |
| CA | CA_BUPA | Business partners | S/4HANA; archived after customers and vendors |
| Basis | IDOC | IDocs | EDIDC, EDIDS, EDID4 |
| Basis | BC_SBAL | Application logs | BALHDR, BALDAT, BAL_INDX |
| Basis | WORKITEM | Workflow work items | Completed or logically deleted items only |
| Basis | CHANGEDOCU | Change documents | CDHDR, CDPOS |
| BW | BWC + InfoCube name, BWO + ODS name | InfoProvider data | Generated, for example BWC0SD_C03 |
| BW | BWREQARCH | Request administration data | RSREQDONE, RSSELDONE |
The archiving objects in SAP PP split into documents and master data. PP_ORDER archives production orders in three steps: a deletion flag, a deletion indicator after residence time 1, and archiving after residence time 2. Where backflushing is in use, PP_BKFLUSH must run before material documents, deliveries, and sales documents.
An archiving object in SAP BW is usually generated, not chosen. The system names it from a prefix plus the InfoProvider name: BWC for InfoCubes and BWO for ODS objects, so InfoCube 0SD_C03 becomes BWC0SD_C03. BWREQARCH archives request administration data, and SAP BW archiving adds choices of its own, such as near-line storage.
Master data objects such as MM_MATNR, FI_ACCRECV and CA_BUPA come last, for reasons SAP master data archiving covers in detail.
These object names do not have to disappear when SAP does. In Archon, archived records stay searchable by archiving object, such as FI_DOCUMNT or SD_VBAK, across source systems. They open in screens that mirror familiar SAP transactions.
Know which objects matter before you schedule a single run. Get a fact-based scope of redundant data, sensitive fields and custom tables before anything moves.
How to Find the Right Object for a Table
Finding the archiving object for an SAP table starts with the tables, not the object list. SAP offers three steps for it:
- Rank the tables: DB02 shows the largest tables and how fast they grow. TAANA counts records by field value, such as company code or fiscal year.
- Map each table to its object: DB15 shows which archiving objects delete a table’s data, and which tables an object covers. A table with no object is usually a custom Z-table.
- Check prerequisites and indexes: Each object has its own rules, such as WORKITEM accepting only completed or logically deleted work items. Infostructures such as SAP_SD_VBAK_001 are not active by default, so activate them in SARJ before the first productive run.
These tools answer two questions: how big, and which object. They do not say which records are redundant, obsolete, or trivial. Nor do they show which records hold sensitive personal data, or which custom tables sit outside every standard object. Those answers shape scope just as much.
Archon Analyzer fills that gap before anything moves:
- ROT report: Shows what to archive or delete with confidence.
- Sensitive data map: Puts masking in place before data moves.
- Custom object inventory: Makes sure no Z-table is missed at extraction.
Archiving Object Types and How They Differ
Not every object archives data the same way. Five types show up in most landscapes:
- Standard archiving objects are delivered by SAP. They write data to ADK archive files, then delete it from the database. FI_DOCUMNT and SD_VBAK are examples.
- ILM-enabled archiving objects are standard objects linked to exactly one ILM object. They archive against the retention and residence rules that ILM object holds.
- Data destruction objects delete data directly, without writing archive files, and always have an ILM object. In S/4HANA, they replace MM_SPSTOCK.
- Custom archiving objects archive customer Z-tables with customer-built ABAP programs, defined in AOBJ.
- Generated archiving objects are created by the system for SAP BW InfoProviders, such as BWC0SD_C03.
The ILM link is where retention for regulatory compliance lives. The ILM object is separate from the archiving object it governs, even when the names match. With ILM active, archived data can be destroyed once its retention period ends, which is the basis of defensible deletion.
The catch is location. Those rules live inside the SAP system. When the system is retired, rules that were never written into an data retention policy outside it retire too. SAP information lifecycle management works well while SAP runs.
Archon moves the rules with the data. Retention schedules and legal holds are enforced in the archive itself, so they keep working after ECC is switched off. One legal hold can lock the relevant records across every retired system.
The Order SAP Enforces Between Objects
SAP will not archive an object while its preceding objects remain in the database. The network graphic in SARA shows those predecessors for each object.
The rule follows the document flow: follow-on documents leave before the documents they reference. SAP’s recommended sequence of objects groups the main objects and orders them:
- Purchasing before sales. MM_EKKO comes before MM_EBAN, and both come before the sales chain.
- Sales chain. Backflushing documents (where used) and material documents first, then deliveries (RV_LIKP), billing documents (SD_VBRK), sales documents (SD_VBAK) and pricing conditions (SD_COND).
- Finance chain. Accounting interface data (MM_ACCTIT), then FI documents, then profit center data, then CO objects. In S/4HANA finance, transaction figures and a compression run follow FI documents, and customer and vendor masters go before business partners.
- Master data last. MM_MATNR waits until the documents that reference materials have gone.
Technical objects such as IDOC, BC_SBAL and WORKITEM are often a first wave. Archon ran that order for a global apparel and accessories enterprise. IDocs, logs and work items went first, then FI and CO, MM, SD and PP, and the database came out 40% smaller.
Archon works on SAP’s standard process, so this sequence stays the same with or without it. What changes is where each run ends. Archon can act as the storage destination for SARA archive files, so the files stay reachable after ECC is decommissioned.
Keep SAP’s sequence. Change where the archive files land. Archon can store your SARA archive files, so every run stays readable after ECC retires.
What Changes in SAP S/4HANA
Most SAP archiving objects keep their names in S/4HANA. Several now cover different tables, and a few have been replaced. ECC variants, sequences and custom reports built on ECC tables need a fresh look before conversion.
The biggest change is in finance. In S/4HANA, the FI_DOCUMNT delete program does not delete ACDOCA entries. It sets their status field BSTAT to “C”, and a separate compression run then reduces the volume of the ACDOCA table.
That table grows fast. One automotive supplier saw ACDOCA reach 14.2 TB within 18 months of go-live, using 68% of available HANA memory. Archon archived 12.1 TB of historical ACDOCA data and cut HANA memory use by 52%. Archived journal entries open in under 3 seconds.
SAP’s own comparison of archiving objects between Business Suite and S/4HANA lists the other changes:
| Object or Area | SAP ECC | SAP S/4HANA |
|---|---|---|
| Material documents | MM_MATBEL archives MKPF and MSEG | MM_MATBEL archives MATDOC and needs a postprocessing compression run |
| Cost center data | CO_ITEM and CO_TOTAL | CO_TRANS, based on ACDOCA |
| Profit center accounting | EC_PCA_ITM and EC_PCA_SUM | FI_DOCUMNT; the EC_PCA objects should not be used |
| Projects | PS_PROJECT | /S4PPM/PRO for enterprise projects, CPD_SS for engagement projects |
| Special stocks | MM_SPSTOCK | Obsolete; data destruction objects instead |
| Business partners | Blocking a customer or vendor also blocks the business partner | Blocking the business partner blocks the customer, vendor or contact person |
| S/4HANA Cloud Public Edition | Object-specific residence times | One set of ILM residence rules; object-specific residence customizing is gone |
The list is short, but it touches the largest tables in most systems. Archiving SAP data before an S/4HANA move works best when the object plan is rebuilt for S/4HANA, not copied from ECC. Archon Analyzer flags what can leave before conversion, and policy-based archiving keeps HANA lean after go-live.
ECC archiving variants rarely survive the move to S/4HANA unchanged. Archon profiles what can leave before conversion and keeps HANA lean after go-live.
Custom Archiving Objects in SAP ABAP
Standard objects cover standard tables. A custom Z-table has no archiving object until someone builds one, and that is where archiving stops being configuration and becomes development.
Building a custom object in SAP ABAP means four pieces of work:
- A definition in AOBJ, with a name of up to ten characters and each table placed as a parent or child segment.
- A write program on the ADK. It calls function modules such as ARCHIVE_OPEN_FOR_WRITE, ARCHIVE_PUT_RECORD and ARCHIVE_SAVE_OBJECT, and it must never delete data itself.
- Delete and read programs. The delete program reads the archive files back before removing rows. The read program uses ARCHIVE_OPEN_FOR_READ and ARCHIVE_GET_TABLE.
- Customizing and testing. Residence times, file names and test runs in a quality system.
That is manageable for one table. For the aerospace group’s 100-plus custom objects, it becomes a portfolio of development projects, each with its own testing and maintenance.
Archon takes a different route. Its AI-driven discovery finds custom objects and tables and maps them for extraction. The Z-tables then come out through a connector and mapping layer, with no ABAP archiving objects to build, test or maintain. Weighing SAP ADK against Archon usually comes down to that count of custom tables.
A hundred custom tables should not mean a hundred ABAP projects. Archon’s discovery maps your Z-tables and extracts them without custom archiving objects.
What SAP’s Own Tools Leave Behind
Projects rarely fail in the archiving run itself. They stall around it:
- Objects picked by name, not by size, while the largest tables belong to other objects.
- Infostructures switched on too late, so documents archived earlier vanish from display transactions.
- ECC habits carried into S/4HANA, where the delete run no longer shrinks ACDOCA on its own.
- Half-finished projects that leave partial archives and no retention framework behind.
Most of these trace back to one limit. SAP archiving objects work inside a running SAP system, and everything they produce is read through it. Here is what the objects cover alone, and what Archon adds:
| Need | Archiving Objects Alone | With Archon |
|---|---|---|
| Archive inside a live SAP system | Yes, through SARA and SAP ILM | Yes, on SAP’s standard process |
| Decide what to archive | Table sizes (DB02, TAANA) and table-to-object mapping (DB15) | Archon Analyzer: ROT report, sensitive data map, custom object inventory |
| Custom Z-tables | A custom object and ABAP programs for each group of tables | A connector and mapping layer, no ABAP project |
| Attachments | A separate content repository setup, or the SOFFCONT1 table inside the database | Migrated with links intact: 27 TB in one program, zero data loss |
| Read archived data | Through SAP GUI or Fiori, while the system runs | A web interface and screens that mirror SAP transactions, no SAP GUI or license |
| Search | Within one SAP system | Across archiving objects and source systems at once |
| Retention and legal holds | Configured in the live system | Enforced in the archive; one hold across every retired system |
| After decommissioning | ADK files with no system left to read them | Existing ADK content converted into structured, searchable records |
The apparel group learned this the hard way. Its first project left data that no one could govern. Archon re-ingested it, validated it against the source to protect data quality, and assigned retention tiers before ingestion. A SAP system decommissioning plan needs the same discipline: decide where archived data will be read before the system that wrote it goes dark.
Inherited a half-finished archiving project? Archon has rebuilt archives other vendors left behind, starting with validation against the source.
Best Practices for SAP Archiving Objects
These steps apply general data archiving best practices to SAP archiving objects.
- Profile before you scope. Rank tables in DB02 and TAANA, map them in DB15, then check what is redundant or sensitive.
- Start with technical objects. IDOC, BC_SBAL and WORKITEM move volume early, as the phased apparel program showed.
- Let the business set residence times. Finance, tax and legal decide how long records stay online.
- Activate infostructures before the first productive run. Filling them later works, but it adds a job.
- Follow SAP’s sequence. Check the network graphic before scheduling each object.
- Test every variant in a quality system. Run the write program in test mode first and compare record counts.
- Rebuild the object plan for S/4HANA. Check FI_DOCUMNT, MM_MATBEL, CO and project objects against the new tables.
- Treat custom objects as a portfolio. Count the Z-tables first. Then decide whether to build objects or extract the tables.
- Decide where the files will live. Choose an archive that can still read them after SAP is gone, before the first run.
How Archon Extends SAP Archiving
Archon works alongside SAP’s standard archiving rather than replacing it. Archon ArchiveLink is listed on SAP Store. It archives SAP ECC and S/4HANA data and documents, with continued access through predefined ECC transaction screens. Archon’s SAP archiving solution covers each point where object decisions break down:
- Before the first run. Archon Analyzer profiles SAP data, flags what can leave before an S/4HANA conversion and inventories every custom object.
- During archiving. SARA and SAP ILM keep running. Archon can store SARA archive files and extracts Z-tables without custom ABAP objects.
- After the system retires. Existing ADK content is converted into structured records, organized in views that align to common archiving objects. Predefined ECC transaction screens keep archived data accessible without SAP GUI.
- For the whole retention period. Retention rules and legal holds are enforced in the archive, with support for SOX, GDPR, HIPAA and ITAR requirements. The platform holds ISO 27001 and SOC 1 and SOC 2 Type II.
The results, object by object:
- Global apparel group: archiving across every major functional and technical object category, HANA migration readiness and an estimated $610K a year in legacy costs removed.
- Global apparel and accessories enterprise: a 40% smaller database, 60% better SAP performance, $1.3M saved in storage and 65% less time on audit preparation.
- Aerospace and aviation group: standard and custom objects in one program, a 35% smaller database and an S/4HANA migration unblocked.
- Automotive supplier: 12.1 TB of ACDOCA archived, 52% less HANA memory and 73% faster close queries.
- Global logistics company: about 10 TB removed through archiving objects and 27 TB of SOFFCONT1 attachments migrated, with zero data loss.
Archiving objects decide what leaves SAP. The archive decides whether anyone can still use it, and for how long.
Archive by object. Find it by business record, long after SAP is gone. See how Archon scopes your objects, extracts custom tables and keeps archived SAP data searchable after decommissioning.