12.3 FI Data Archiving (SARA) and Correspondence Management
Key Takeaways
FI_DOCUMNT archives eligible FI journal entries. SAP checks the header and line items before writing the archive.
The SARA write program creates archive files. The FI_DOCUMNT delete program uses those files and marks the archived ACDOCA entries for totals only.
FI_ACCPAYB and FI_ACCRECV cover supplier and customer master data in FI. They are distinct from the journal-entry object.
Check document-type and account-type residence requirements, clearing status, and the other eligibility checks for the selected archive run.
SAP06 is the account statement and SAP08 is the open item list. In classic printing, the configured program and selection variant process a correspondence request.
FI Data Archiving (SARA) and Correspondence Management
Quick Answer:
FI_DOCUMNTarchives eligible FI journal entries using Archive Administration (SARA). The write job checks eligibility and creates archive files. The delete job uses those files to remove the applicable live records and marks ACDOCA entries for totals only. FI correspondence uses a configured type and output procedure to produce documents such as account statements.
FI document archiving and access
Evaluate residence and eligibility in the online system separately from the applicable retention policy for archived records. Schedule retention and disposal according to the applicable requirements. Archived documents can still be displayed. For example, SAP requires an appropriate archive index to display an archived FI document in FB03 or the Archive Information System.
ADK and Transaction SARA Lifecycle
Use SARA to select the archiving object and schedule its ADK programs. For FI_DOCUMNT, SAP also documents analysis and compression programs alongside the write and delete programs. The delete run preserves ACDOCA entries for balances by marking them as totals-relevant only. A later compression run can replace multiple rows with aggregated records.
SARA Phase | Mandatory? | Technical Action Performed |
|---|---|---|
| 1. Preprocessing | Optional (object-dependent) | Performs any preparation required by the archiving object |
| 2. Write | Mandatory | Checks selection and application criteria, then writes eligible data to archive files |
| 3. Delete | Mandatory | Uses the archive file to remove eligible database records or mark ACDOCA entries for totals only in production mode |
| 4. Postprocessing / Storage & Read | Optional / Ongoing | Stores files and prepares configured archive access, such as indexes used by the Archive Information System (SARI) |
Write versus delete: The write variant controls selection. The delete program uses the records written to the file to determine which live records to process. Check archive storage and retrieval when validating the archiving process.
Standard FI Archiving Objects
| Archiving Object | Scope / Data Archived | Key Prerequisite Before Archiving |
|---|---|---|
FI_DOCUMNT | FI accounting documents (BKPF, BSEG, ACDOCA FI lines, index data) | Clearing and applicable residence and business checks must pass |
FI_ACCPAYB | Supplier master data in FI | Apply the object's master data and dependency checks |
FI_ACCRECV | Customer master data in FI | Apply the object's master data and dependency checks |
Minimum Residence Times: OBR7 and OBR8
Check OBR7 for the relevant account-type life and OBR8 for the document-type life. Measure document-type life from the posting date to the archive run’s key date. For account-type life, use the individual clearing date for cleared items and the posting date for items outside open-item management. The write program also applies minimum system age and other business checks. An open item fails the standard clearing check even when the age checks pass.
FI Correspondence Management (OB77, OB78, FB12, F.61, F.27)
Correspondence covers structured outbound documents sent to business partners or internal reviewers—such as Payment Notices, Open Item Lists, Account Statements, Individual Letters, and Document Extracts.
Configuration Steps
| Transaction | Configuration Step | Key Details |
|---|---|---|
OB77 | Define Correspondence Types | Standard types include SAP01 (Payment Notice), SAP06 (Account Statement), SAP08 (Open Item List), SAP09 (Internal Document). Controls whether Account Number, Document Number, or Date Specifications are mandatory when requesting |
OB78 | Assign Programs to Correspondence Types | Maps Company Code + Correspondence Type to the ABAP Print Program (e.g., RFKORD10 for Account Statements, RFKORD00 for Payment Notices, RFKORD50 for Document Extracts) and a selection Variant |
| Form Assignment | Link Layout Form (OB96 / Form Name) | Assigns the layout for the chosen program and output configuration |
Operational Execution: Two-Step Request/Print vs. Periodic Run
- Request Correspondence (
FB12) — Step 1: A user manually requests a letter (e.g.,SAP06Account Statement for CustomerC-100) viaFB12, or a configured business process requests correspondence. In the classic request-and-print process, the request is queued inBKORMfor separate output processing. - Print Requested Correspondence (
F.61) — Step 2: The user or scheduled background job runsF.61to read pendingBKORMentries, execute the print program fromOB78(RFKORD10, etc.), and produce output using the configured form and output settings. - Periodic Account Statements (
F.27) — Automated Periodic Run: Run periodic statements for accounts selected by the report and the relevant master-data settings. A periodic run follows a different selection process from an individualFB12request.
Worked Scenario: Residence Time & Correspondence Check
For Customer Invoice 1800000123, the write-run checks show 400 days since posting and 390 days since the customer item cleared. Document type DR requires 365 days and account type D requires 730 days. Even if all other checks pass, the write program leaves the invoice online because the D residence check is short by 340 days.
The credit team can still send an account statement for a posting period using SAP06 with the configured program and variant. To send just open items at a specified key date, choose SAP08. An open item list serves a different purpose from an account statement covering account activity.
A KR invoice was posted 560 days before the archiving key date. Its supplier item cleared 460 days before that date. The required document-type life is 540 days, the G/L expense item requires 365, and the supplier item requires 730. All other checks pass. What still prevents archiving?
The G/L item falls 195 days short of its required life
The supplier item falls 270 days short of its required life
The document type falls 20 days short of its required life
Clearing the invoice automatically overrides the waiting periods
FI_DOCUMNT has written an FI journal entry to an ADK archive file. What does the productive delete run do with the corresponding ACDOCA entries?
Deletes the entries when they meet the write variant selection
Deletes the entries if the account is managed on an open item basis
Deletes all entries in that ledger before compressing the archive
Uses the archive file and marks the ACDOCA entries as totals-relevant only
An accounts receivable specialist runs FB12 to request correspondence type SAP06 (Account Statement) for a customer, expecting the statement to print immediately, but no spool output is created. What must be configured and executed to produce the statement?
Assign an account statement program such as RFKORD10 and its variant to SAP06, then process the request via F.61
Run SARA Delete to process the correspondence requests
Assign SAP06 to a tax calculation procedure
Post the correspondence request through FBV0
Sections you finish are checked off in the contents.