0% found this document useful (0 votes)
143 views12 pages

SAP Data Archiving Process - Archiving Object FI - DOCUMNT - SAP Blogs

The document outlines the SAP Data Archiving Process for the archiving object FI_DOCUMNT, detailing the configuration, writing, deletion, and retrieval of financial documents. It addresses issues related to data growth and system performance, and provides examples of associated database tables and configurations needed for effective archiving. Additionally, it explains the steps for setting up archiving jobs and accessing archived data through the Archive Information System.

Uploaded by

asiva009
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
143 views12 pages

SAP Data Archiving Process - Archiving Object FI - DOCUMNT - SAP Blogs

The document outlines the SAP Data Archiving Process for the archiving object FI_DOCUMNT, detailing the configuration, writing, deletion, and retrieval of financial documents. It addresses issues related to data growth and system performance, and provides examples of associated database tables and configurations needed for effective archiving. Additionally, it explains the steps for setting up archiving jobs and accessing archived data through the Archive Information System.

Uploaded by

asiva009
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

9/23/2018 SAP Data Archiving Process: Archiving Object FI_DOCUMNT | SAP Blogs

Products
Products Industries
Industries Support
Support Training
Training Community
Community Developer
Developer Partner
Partner

About
About

 
Home / Community / Blogs + Actions

SAP Data Archiving Process: Archiving


Object FI_DOCUMNT
September 4, 2013 | 7,466 Views |

Former Member

FIN (Finance)
SAP ERP | data archiving | enterprise resource planning | fi documnt | sap erp financials | sara | sari

share
0 share tweet share

Follow RSS

This document will explain archiving of FI documents from configuration to,


write, delete and retrival of data. This will be helpful for users to understand

https://blogs.sap.com/2013/09/04/sap-data-archiving-process-archiving-object-fidocumnt/ 1/12
9/23/2018 SAP Data Archiving Process: Archiving Object FI_DOCUMNT | SAP Blogs

basics of SAP Data Archiving.

Problems with Large volume and growth of data:

Expensive Storage System


Reduced System Performance and Increased Query Time
Complex Database Administration i.e. Backups, Client Copy and
Upgrades
Manpower Productivity Loss

Data Archiving: The Concept

Writing Data in Flat Files to External Storage


Deleting Data from Online Database
Retrieving Achieved Data

FI Documents Data Archiving Example

Archiving Object used: FI_DOCUMNT

Object Description: The most important object in financial accounting is


FI_DOCUMNT. It assumes special status with respect to data growth, data
security, and conformity with legal requirements.

Tables Associated:

Table Description
AGKO Cleared Accounts
BFIT_A FI Subsequent BA/PC Adjustment: G/L Account Items
BFIT_A0 FI Subseq.BA/PC Adjustmnt: Zero Bal.Postings for Bus.Area
BFO_A_RA Versions for Resetting Cleared Items
BFOD_A FI Subsequent BA/PC Adjustment: Customer Items
BFOD_AB FI Subseq.BA/PC Adjustmnt: ValuatnDiffrnce in Customer OIs
BFOK_A FI subsequent BA/PC adjustment: Vendor items
BFOK_AB FI subseq.BA/PC adjustmnt: Valuatn difference in vendor OIs
BKPF Accounting Document Header
BSAD Accounting: Secondary Index for Customers (Cleared Items)
BSAK Accounting: Secondary Index for Vendors (Cleared Items)
BSAS Accounting: Secondary Index for G/L Accounts (Cleared Items)
BSBW Document Valuation Fields
BSE_CLR Additional Data for Document Segment: Clearing Information
BSE_CLR_ASGMT A. Segment Add. Data: Clearing Info with Acct Assignment

BSEG_ADD Entry View of Accounting Document for Additional Ledgers


BSEGC Document: Data on Payment Card Payments
BSIM Secondary Index, Documents for Material
BSIP Index for Vendor Validation of Double Documents

https://blogs.sap.com/2013/09/04/sap-data-archiving-process-archiving-object-fidocumnt/ 2/12
9/23/2018 SAP Data Archiving Process: Archiving Object FI_DOCUMNT | SAP Blogs

BSIS Accounting: Secondary Index for G/L Accounts


BSPL Split Posting Procedures
BVOR Intercompany posting procedures
CDCLS Cluster structure for change documents
CDHDR Change document header
CDPOS_STR Additional Change Document – Table for STRINGs
CDPOS_UID Additional Table for Inclusion of TABKEY>70 Characters
ETXDCH External tax document: header info
ETXDCI External tax document: line item info
ETXDCJ A. tax document: tax rates and amounts by Jurisdict. level

FAGL_BSBW_HISTRY Valuation History for Documents


FAGL_SPLINFO Splittling Information of Open Items
FAGL_SPLINFO_VAL Splitting Information of Open Item Values
FAGLFLEXA General Ledger: Actual Line Items
FIGLDOC G/L accounting: Subsequent derivations
RF048 A. Subseq.BA/PC Adjustmnt: Index/Distributn Vector (Calc

RFBLG Cluster for accounting document


STXB SAPscript: Texts in non-SAPscript format
STXH STXD SAPscript text file header
STXL STXD SAPscript text file lines
TTXI External tax interface: index file
TTXY External tax interface: tax information
WITH_ITEM Witholding tax info per W/tax type and FI line item

AOBJ Con guration:Archiving Object configura on is done in AOBJ T. Code.

Specific configura on is done with respect to the archiving object FI_DOCUMNT.

https://blogs.sap.com/2013/09/04/sap-data-archiving-process-archiving-object-fidocumnt/ 3/12
9/23/2018 SAP Data Archiving Process: Archiving Object FI_DOCUMNT | SAP Blogs

Maximum file size set as 100 MB and Maximum number of Data Objects as 10.

Document lifetime con guration:


The document type life period can be maintained using OBR8 & OBR7.

https://blogs.sap.com/2013/09/04/sap-data-archiving-process-archiving-object-fidocumnt/ 4/12
9/23/2018 SAP Data Archiving Process: Archiving Object FI_DOCUMNT | SAP Blogs

Here, we have maintained 2196 days i.e. 6 yrs. That means past 2196 days
data from current date will not be available for archiving.

SARI con guration


The Archive Informa on System (transac on SARI) will allow configuring archive
informa on structure. It is only possible to access archived data if such an info
structure exists and has been filled.

a. a. Info set Name

SAP_FI_DOC_001 will have to be used for FI_Document object. As this info


structure already exists we just need to select it and ac vate it.

a. b. Info Set ac va on

In order to able to use an info structure we need to first ac vate it. Only
a er an info structure has been ac vated can it be filled with data from
the archive and evaluated. However ac vate info structures can no longer
be modified.

SARA Con guartion


1. 1) To Fiscal Year/Period : 1995 01 to 1998 12

a. Variant Configuration

https://blogs.sap.com/2013/09/04/sap-data-archiving-process-archiving-object-fidocumnt/ 5/12
9/23/2018 SAP Data Archiving Process: Archiving Object FI_DOCUMNT | SAP Blogs

Click on Maintain button.

For example in selection only one document number is given.


However during actual implementation actual fiscal year and
period range will be provided

https://blogs.sap.com/2013/09/04/sap-data-archiving-process-archiving-object-fidocumnt/ 6/12
9/23/2018 SAP Data Archiving Process: Archiving Object FI_DOCUMNT | SAP Blogs

Note:

“Complete” in detail log and “List and Application Log” in Log Output will
be selected to see detailed log output of write job.

Enter description of variant and save it.

a. Write Mode

We will first run write job with test mode variant and then will run with
production mode variant.

Select immediate for Start date selection and save it.

Select desired printer to print spool, and hit the green tick mark.

Click on execute button and a job will be scheduled.

a. Delete mode

The delete program reads the archived documents in the archive file
including the corresponding table entries, and deletes the corresponding

https://blogs.sap.com/2013/09/04/sap-data-archiving-process-archiving-object-fidocumnt/ 7/12
9/23/2018 SAP Data Archiving Process: Archiving Object FI_DOCUMNT | SAP Blogs

records from the database however FI secondary indices are only marked
for deletion they are deleted by post processing program.

Select Delete Tab.

Maintain archive selection, start date and Spool Parameters. Select the
session name.

https://blogs.sap.com/2013/09/04/sap-data-archiving-process-archiving-object-fidocumnt/ 8/12
9/23/2018 SAP Data Archiving Process: Archiving Object FI_DOCUMNT | SAP Blogs

Click on execute button, a job will be scheduled. See the status of job by
clicking on job button.

SARI Read Mode


During the delete phase of data archiving, all ac ve info structure
belonging to an archiving object are automa cally filled with data from respec ve
archive file. On basis of the defined infostructure , the archive informa on system
filters the data from the data records in the archive and inserts it into the
generated database table together with the achieve file key and the offset of the
business object. These entries will serve as a basis for subsequent search.

a. Info set Read

Click on Archive Explorer and give Archive infostructure name.

Fill company code, document number and fiscal year selection fields.

https://blogs.sap.com/2013/09/04/sap-data-archiving-process-archiving-object-fidocumnt/ 9/12
9/23/2018 SAP Data Archiving Process: Archiving Object FI_DOCUMNT | SAP Blogs

Click on execute and see the document.

Standard Report/Transaction code to fetch data from archived le:

T – Code Description
FB03 Display Document: Initial Screen
FBL1n, FBL3n Reports

Alert Moderator

5 Comments
You must be Logged on to comment or reply to a post.

https://blogs.sap.com/2013/09/04/sap-data-archiving-process-archiving-object-fidocumnt/ 10/12
9/23/2018 SAP Data Archiving Process: Archiving Object FI_DOCUMNT | SAP Blogs

Former Member

September 6, 2013 at 8:00 am

Hi Neeraj,

Well done. thanks for sharing knowledge.

Kind Regads,

Prasad

Former Member

September 6, 2013 at 8:31 am

Very Informative…Many Thanks.

Best Regards,

Naresh K.

ishani Gupta

June 23, 2014 at 7:49 am

Hi,

Do we have any SAP table from where we can check is a particular


document is archived or not?

Please help

Thanks,

Ishani

Former Member

June 25, 2014 at 8:27 am


https://blogs.sap.com/2013/09/04/sap-data-archiving-process-archiving-object-fidocumnt/ 11/12
9/23/2018 SAP Data Archiving Process: Archiving Object FI_DOCUMNT | SAP Blogs

Is it beneficial to choose ‘only for background processing’ in variant attributes?

thanks

Muhammed Riyas

Arvind Pereira

February 16, 2018 at 9:34 am

Hi Neeraj,

What are the functional checks between the fi and co that come into play while
archiving?

thanks

Arvind Leo Pereira

Share & Follow


Privacy Terms of Use Legal Disclosure Copyright Trademark Cookie Preferences Sitemap Newsletter

https://blogs.sap.com/2013/09/04/sap-data-archiving-process-archiving-object-fidocumnt/ 12/12

You might also like