0% found this document useful (0 votes)
197 views16 pages

Data Archiving in Enterprise Controlling (EC)

This document provides information about data archiving objects and processes for profit center accounting (EC-PCA) in SAP S/4HANA. It describes the archiving objects EC_PCA_ITM, EC_PCA_SUM, and PCA_OBJECT that can be used to archive line items, totals records, and other data. It also covers topics like variant settings, authorization checks, archiving timeframes and criteria, and application-specific customizing that is needed for EC-PCA archiving.

Uploaded by

sf69v
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)
197 views16 pages

Data Archiving in Enterprise Controlling (EC)

This document provides information about data archiving objects and processes for profit center accounting (EC-PCA) in SAP S/4HANA. It describes the archiving objects EC_PCA_ITM, EC_PCA_SUM, and PCA_OBJECT that can be used to archive line items, totals records, and other data. It also covers topics like variant settings, authorization checks, archiving timeframes and criteria, and application-specific customizing that is needed for EC-PCA archiving.

Uploaded by

sf69v
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/ 16

9/14/2022

Data Archiving (CA-ARC)


Generated on: 2022-09-14 10:25:55 GMT+0000

SAP S/4HANA | 1909 (Sep 2019)

PUBLIC

Original content: https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/0cc7ab3f01db4133a5d830dfd566abb6?locale=en-


US&state=PRODUCTION&version=1909.000

Warning

This document has been generated from the SAP Help Portal and is an incomplete version of the official SAP product
documentation. The information included in custom documentation may not re ect the arrangement of topics in the SAP Help
Portal, and may be missing important aspects and/or correlations to other topics. For this reason, it is not for productive use.

For more information, please visit the https://help.sap.com/docs/disclaimer.

This is custom documentation. For more information, please visit the SAP Help Portal 1
9/14/2022

Data Archiving in Enterprise Controlling (EC)


The following table shows the archiving objects available:

Objects in Enterprise Controlling Archiving Object

Totals records/line items PCA_OBJECT

EC_PCA_ITM

EC_PCA_SUM

Transaction data EIS_CFnnn

Archiving Objects in Pro t Center Accounting (EC-PCA)

De nition
Logical objects made up of database data that is linked through a business process. Archiving objects use a write program to
read this data from the database and write it to archive les. After archiving the corresponding delete programs delete the
data from the database.

Use

Choose Accounting Controlling Pro t Center Accounting Environment Archiving. From here, you can call the following
functions.

Structure
EC_PCA_ITM : The archiving object used as of SAP S/4HANA 4.6.A in Pro t Center Accounting to archive line items .

EC_PCA_SUM : The archiving object used as of SAP S/4HANA 4.6.A in Pro t Center Accounting to archive totals records .

PCA_OBJECT : The archiving object used as of SAP S/4HANA 4.6A in Pro t Center Accounting to archive lines items and totals
records . As of SAP S/4HANA 4.6A the use of this archiving object is restricted.

 Note
You can use archiving objects EC_PCA_ITM and EC_PCA_SUM in Information Lifecycle Management . You must have
activated the corresponding business functions to do this. The system then also shows the ILM Actions group box. You can
use these actions to carry out archiving, for example, where the retention periods stored in the Information Retention
Manager can be evaluated. Additionally, you can create snapshots (copies) of data or destroy data that matches the
requirements. For more information, see ILM Enhancements for Data Archiving , ILM Actions in the Write Program .

Programs

The write program supports the ADK interruption concept, meaning that you can interrupt the write phase and continue it at a
later point in time. For more information, see Interrupting and Continuing Archiving Sessions .

The delete program comes with the standard variants SAP&PROD (production mode) and SAP&TEST (test mode). For both the
write session and the delete session a progress message is updated regularly in the job log and in the dialog (status line).

This is custom documentation. For more information, please visit the SAP Help Portal 2
9/14/2022
For general information about data archiving, see Introduction to Data Archiving .

Technical Data (EC-PCA)

Storage Requirements
The following speci cations apply to the storage space required on the database:

One totals record requires approximately 1200 bytes.

One line item requires approximately 700 bytes.

One plan line item requires approximately 1500 bytes.

 Note
Note that the actual storage space required is heavily dependent on the database and any compression of the data
records.

When Pro t Center Accounting is active, documents (line items and totals records) are created in Pro t Center Accounting for
each pro t-related transaction posted in the S/4HANA system. Therefore, a lot of documents can arise in Pro t Center
Accounting.

Program Runtime
The time needed to run the archiving program depends on the number of records you want to archive and the system load and
performance. On average, the write program processes 1-2 million data records each hour, the deletion program 1 million data
records per hour. These values are a guide and refer to con rmations from archiving in productive systems. You can obtain
precise details about the program runtime and storage requirements for the le in the test run for the deletion and write
programs.

Application-Speci c Customizing (EC-PCA)

Use
After you have archived data, you can still execute reports based on that archived data (see Executing Archive Reports (EC-
PCA) ).

In application-speci c customizing, you need to specify which report groups or read programs should be available for analyzing
archive data.

Activities
If you display reports that are based on archived and/or database data, you must specify which report groups and read
programs you want to use to create those reports. You can use any report groups that you have de ned in the information
system.

To make the customizing settings, choose Environment Archiving Line items/summary records/old archiving Customizing
from the application menu for Pro t Center Accounting. In the dialog box, choose RW/RP Reports for EC-PCA Archives .

This is custom documentation. For more information, please visit the SAP Help Portal 3
9/14/2022

Archiving Timeframes and Criteria (EC-PCA)

Retention Period
Due to the lack of legal guidelines, there is no de ned retention periodfor the transaction data (totals records and line items) in
Pro t Center Accounting.

 Recommendation
SAP recommends that you only archive the totals records when they are no longer required (for example, to compare data
from different years). It is often useful to have the totals records of the last two years in the system.

Archiving Periods
You can archive actual line items whenever you need to. For example, if your database contains a large number of actual line
items, you can archive these records within a given period.

 Note
If performance problems occur during the archiving of individual periods, create a secondary index in table GLPCA. This
secondary index should contain all of the elds of the secondary index number 1 PCA-Oriented Index . Add the eld POPER
for the period as the last eld.

However, if your system has enough storage capacity, you should only need to archive records once a year.

When you archive plan line items , note that the system always archives and (if called for) deletes the data for the entire year.
You cannot specify periods, since a plan line item record contains information from all periods.

Check Criteria
You cannot archive totals records for the current scal year. Totals records contain summarized data for the entire scal year.
The scal year is part of the totals record key.

When Pro t Center Accounting is active, additional line items and totals records are created for each pro t-related transaction
posted in the SAP system. Consequently, Pro t Center Accounting is not complete for a period until all the pro t-related
transactions for the period have been posted. SAP recommends that you wait until this is the case before archiving the pro t
center transaction data for the period. However, there are no checks for this during archiving.

Authorizations (EC-PCA)
If you want to archive data in Pro t Center Accounting, you need authorizations for the following:

Authorization object S_ARCHIVE with the following values:

Activity: 01, 02, or 03 (depending on the activity required)

For more information, see Authorization Check .

Application area: CO

Archiving object: EC_PCA_ITM, EC_PCA_SUM and, where appropriate, PCA_OBJECT

Authorization object G_ADMI_CUS with activity 03 (Archiving)

This is custom documentation. For more information, please visit the SAP Help Portal 4
9/14/2022

Variant Settings for Writing Programs (EC-PCA)

Use
When you schedule a write program, you have to enter an existing variant or create a new one. The variant contains the
selection criteria for the totals records and/or line item records that you want to archive.

Features
Document Selection Criteria

The selection criteria for the data that you want to archive are the controlling area and pro t center group, which are part of
the Pro t Center Line Items or Pro t Center Totals Records.

Further Restrictions

Under Restrictions you can further restrict the selection of the documents to be archived by using scal year, period (for
archiving line items), company code, record type and version.

Controlling area and scal year are required entry elds. The other selection criteria are optional.

To reduce the processing time of the archiving program,

Fill the elds Record Type and Version .

 Example
If for a scal year, only the actual line items to be archived remain, and a plan version is de ned in Customizing, the
performance of the write program will be better if you enter the actual record type and thereby exclude the record
types in the plan.

If actual line items from several periods are to be archived, you should start an archiving session for all periods
concerned to improve the runtime.

If all pro t centers are archived, for runtime it is irrelevant whether the eld Pro t Center Group is lled.

In accordance with the selection criteria, during archiving, in addition to data from ledger 8A, data from the corresponding
additional ledger is also archived (for example, additional ledger 8Z, export ledger 8E).

Other Options for Settings

For more information, see Variant Maintenance for Archiving Jobs in the general documentation on archiving.

Display of Archived EC-PCA Line Items (EC-PCA)

Use
You have a broad range of options for evaluating archived pro t center data. Here, there is a differentiation between the
evaluation of line items and the evaluation of totals records with a branch to line items.

Features
You have the following options for evaluating line items:
This is custom documentation. For more information, please visit the SAP Help Portal 5
9/14/2022
The line item reports Pro t Center: Actual Line Items (transaction KE5Z) and Pro t Center: Plan Line Items (transaction
KE5Y) read data from the database and the archive. The archive can be accessed either via the Archive Information System
(SAP AS) or by manual le selection. From the menu, choose Extras → Data Source

The Document Relationship Browser (SAP DRB) shows

Pro t center documents archived with the archiving object EC_PCA_ITM , if an active information structure exists for eld
catalog SAP_EC_PCA_005 (such as information structure SAP_EC_PCA_005).

If you are using ALE scenarios in Pro t Center Accounting, we recommend that instead of using information structure
SAP_EC_PCA_005, you create a customer-speci c information structure for eld catalog SAP_EC_PCA_005 and then add eld
AWSYS to it. If you want to use a user-de ned information structure for eld catalog SAP_EC_PCA_005, add this to document
number eld DOCNR and create a secondary index in the table for this archive information structure using document number
eld DPCNR.

See SAP Note 164704.

Pro t center documents archived with the archiving object PCA_OBJECT , if you have created for eld catalog
SAP_EC_PCA_002 an active, customer-speci c information structure containing the eld REFDOCNR.In the table for this
archive information structure, you should also create a secondary index using the reference document number eld REFDOCNR
(see SAP Note 164704). Report writer/Report painter report groups for the EC-PCA tables can display archived data.

Transaction Pro t Center: Actual Line Items allows you to call up the DRB with a pro t center document. To do so, select an
entry in the actual line item list and choose Extras -> Relationship Browser .

With transactions GD20 and GD23, the special purpose ledger (FI-SL) enables you to display pro t center line items from the
database and the archive.

The line item reports Pro t Center: Actual Line Items (program RGUGLPCA) and Pro t Center: Plan Line Items (program
RGUGLPCP) that you call up using the Evaluate pushbutton in transaction SARA can read from the archive and the database.
You cannot access the archive via the Archive Information System (AS). You manually select the les to be read.

We recommend that you execute the reports in the background, since the programs read the complete les sequentially and
the evaluation can therefore take quite a long time.

Report Writer/Report Painter report groups for the EC-PCA tables can display archived data. To do this, assign the required
reports to the archiving objects EC_PCA_ITM or PCA_OBJECT using the Customizing transaction KE87. You cannot access the
archive via the Archive Information System (SAP AS). You manually select the les to be read.

We recommend that you execute the reports in the background, since the programs read the complete les sequentially and
the evaluation can therefore take quite a long time.

The AS Archive Explorer provides a technical view of the archived data. This is available in transaction SARI.

You have the following options for evaluating totals records with a branch to line items:

This is custom documentation. For more information, please visit the SAP Help Portal 6
9/14/2022
Report Writer totals reports can read from the archive or from the database. To do this, assign the required reports to the
archiving objects EC_PCA_SUM or PCA_OBJECT using the Customizing transaction KE87. You cannot evaluate totals records
from archived and non-archived scal years together.

SAP recommends that you only archive totals records when they are no longer required for year comparisons, and so on. It is
often useful to have the totals records of the last two scal years in the system.

You cannot access the totals records in the archive via the Archive Information System (SAP AS) using the Report Writer totals
reports. Select the les to be read manually via the button Data Source on the selection screen.

We recommend that you execute the reports in the background, since the programs read the complete les sequentially and
the evaluation can therefore take quite a long time. It must be added, however, that it is then no longer possible to call up the
line items.

If you entered a line item report and receiver report when de ning the Report Writer summary report (via the report/report
interface), you then have the following possibilities:

You have speci ed the line item report Pro t Center: Actual Line Items or Pro t Center: Plan Line Items .

All line items belonging to the totals record will be displayed if you have assigned a variant to the line item report in the
report/report interface, selected "archive" under "data source" and "database" for this variant, and selected "Use Information
System". If corresponding SAP AS information structures are created, it is of no relevance whether the data was archived with
archiving object PCA_OBJECT or EC_PCA_ITM. This means that it is irrelevant whether or not entries are made in the Archiving
Object eld.

All line items belonging to the totals record are also displayed, provided that no variant is assigned to the line item report in the
report/report interface, but automatic archive access is activated for this area in table ASACCESS01. For details on this, see
the dialog box for the data source in the above-mentioned line item reports.

Only line items from certain archived les (and the database) are displayed if the "archive" data source is chosen with "Select
Files Manually" (and "database") in the variant assigned via the report/report interface. Although you cannot store archive les
in the variant, a dialog box does appear here from which you can select les if you call up the line items. However, you can only
choose archive les for an archiving object.

In all other cases, the system does not read archived line items and instead reads only line items that are still in the database.

If you have speci ed a different line item report (such as programs RGUGLPCA or RGUGLPCP), the line items belonging to the
totals record will only be displayed if they have not yet been archived.

The totals record report Pro t Center: Totals Records (program RGUGLPCT) can be read from the archive and from the
database. You cannot access the archive via SAP AS here. You have to select the les to be read manually. These are read from
beginning to end in sequence. This can make the evaluation process quite time-consuming. Where possible, run the report in the
background. It must be added, however, that it is then no longer possible to call up the line items. It is then only possible to call
up the line items if both the totals records and the line items have been archived with archiving object PCA_OBJECT.

The AS Archive Explorer provides a technical view of the archived data. This is available in transaction SARI.

This is custom documentation. For more information, please visit the SAP Help Portal 7
9/14/2022
With transaction GD13 in the Special Purpose Ledger, you can display pro t center totals records from the database and from
the archive. You de ne the type of archive access (via the Archive Information System (AS) or via manual le selection) on the
selection screen via Extras → Data Source . Irrespective of the type of archive access, you must select an archiving object:
PCA_OBJECT or EC_PCA_SUM.

The totals report Pro t Center: Totals Records (program RGUGLPCT) that you can call up via transaction SARA (or button
Read ), can read from the archive and from the database. You choose the data sources manually.

We recommend that you execute the reports in the background, since the programs read the complete les sequentially and
the evaluation can therefore take quite a long time. Note that in this case, you cannot branch to the line items. When you
execute the reports online, you can only branch to the line items if totals items and line items were archived with the archiving
object PCA_OBJECT.

Activities

Connection of Pro t Center Archiving Objects to the Archive Information System (AS)

The archive information structures for evaluating pro t center archive data via the AS are described below.

Archiving object PCA_OBJECT

If you want to read the archived data using account assignment features, you can use archive information structure
SAP_EC_PCA_001.

The structure is based on the eld catalog of the same name.

If you want to read the archived data using the (reference) document number, you can use archive information structure
SAP_EC_PCA_002.

The structure is based on the eld catalog of the same name.

Archiving object EC_PCA_ITM

Archive information structure SAP_EC_PCA_004 is used for analyzing objects from line item archiving.

The structure is based on the eld catalog of the same name, SAP_EC_PCA_004.

To access the archive via the reference or document number of an actual line item document, you can use the archive
information structure SAP_EC_PCA_005.

The structure is based on the eld catalog of the same name, SAP_EC_PCA_005.

Archiving object EC_PCA_SUM

Archive information structure SAP_EC_PCA_003 is used for analyzing objects from totals record archiving. It is structured
similar to structure SAP_EC_PCA_004 (see archiving object EC_PCA_ITM).

The structure is based on eld catalog SAP_EC_PCA_003. This has the same structure as eld catalog SAP_EC_PCA_004 (see
archiving object EC_PCA_ITM).

In contrast to eld catalog SAP_EC_PCA_004, however, the elds in this eld catalog are taken from source table GLPCT.

This is custom documentation. For more information, please visit the SAP Help Portal 8
9/14/2022
For more information on information structures, see Using the Archive Information System .

For information on the AS functions and on how to use AS, see the documentation in the SAP Library under SAP
NetWeaver→Solution Life Cycle Management→Data Archiving→Introduction to Data Archiving→Archive Information System
(AS).

Archiving Pro t Center Accounting Master Data with


EC_PCA_MD

Use
Due to the fact that Pro t Center master data does not place a particularly large burden on data volume growth, it is usually
archived for clean-up purposes only. Before archiving this data, check whether it needs to be archived at all, or whether it would
be better to leave it in the database.

This program archives the following objects:

Entries from tables CEPC, CEPCT, and CEPC_BUKRS

Change documents and long texts (only deleted if the entire Pro t Center is deleted)

ILM-related Information
You can use this archiving object (EC_PCA_MD) in SAP Information Lifecycle Management. In order to do so, you must have
activated the corresponding business functions. The system then also shows the ILM Actions group box. You can use these
actions to carry out archiving, for example, where the retention periods stored in the Information Retention Manager can be
evaluated. Additionally, you can create snapshots (copies) of data or destroy data that matches the requirements.

Checks
Before archiving a Pro t Center, a number of conditions must be met to make sure that it is no longer needed in the online
system. This archivability check mainly consists of two parts:

1. Check for Pro t Center Assignments in Other Objects

The system only archives Pro t Center master data if there are no assignments of the Pro t Center in other objects. By
default, the following objects are checked:

Order master data

Cost Center master data

Business processes

Real estate objects

Material

Work breakdown structure (WBS) elements

Financial Services objects

If one of the above mentioned objects is found with a checked Pro t Center assigned, the whole Pro t Center is not
archived.

 Note
This is custom documentation. For more information, please visit the SAP Help Portal 9
9/14/2022
To enhance the standard check, you can make use of the Business Add-In (BAdI) BADI_PCA_ASSIGNMENT_CHECK
which allows you to also check for add-ons or pro t centers in other components.

2. Check for the Existence of Transaction Data

Moreover, Pro t Center master data is only archived if there is no transaction data left for this Pro t Center for the
corresponding scal year (and all previous years). Here, two types of transaction data can be distinguished:

Classic Pro t Center transaction data

In classic Pro t Center Accounting, the line items and totals records should rst be archived using EC_PCA_ITM
and EC_PCA_SUM.

Financial Accounting (FI) transaction data

Pro t Center Accounting integrated in New General Ledger FI documents should be rst archived using
FI_DOCUMNT.

 Note
The existence of transaction data is, by default, checked in hot areas as well as in cold areas. If you do not want
to consider data stored in cold areas as relevant for the archivability check, you can implement BAdI
ARC_EC_PCA_MD_CHECK. By setting the returning parameter RB_CHECK_HOT_ONLY = ʻX', you ensure that
only data in hot areas is checked for archiving a pro t center.

If a To Fiscal Year value has been entered in the selection screen, in which (or before which) some pro t centers still have
transaction data, the master data of these pro t centers will only be archived up to the most current scal year that
does not have any transaction data left.

De ning Write Variant


When scheduling the write program, you must either enter an already existing variant or create a new one. The variant contains
the selection criteria for the pro t centers you want to archive. The following selection criteria for pro t centers are available:

Controlling Area

Enter the controlling area(s) to which the pro t centers are assigned that you want to archive.

Note that it may depend on the controlling area which scal year is considered as the current year. This means that the
exact meaning of the To Fiscal Year eld also depends on the controlling area. If you have any doubts, start archiving only
for a single controlling area.

Pro t Center

You can either enter pro t center(s) or pro t center group(s).

Pro t Center Group

If you enter a value for this eld, only those pro t centers are processed that belong to the group you entered. When
entering a node in the standard hierarchy, for example, only pro t centers from this part of the standard hierarchy are
processed.

To Fiscal Year

Enter the scal year up to which you want to archive data. The archiving program checks for every pro t center up to
which scal year transaction data still exists in the system. In other words, the scal year up to which data is actually
archived can differ from one pro t center to another. However, master data that is younger than the scal year entered
is never archived.

Additional Settings
This is custom documentation. For more information, please visit the SAP Help Portal 10
9/14/2022
The settings you make under Processing Options, Logs and Archiving Session Note are settings that are offered by other
archiving objects. For more information, see Variant Maintenance for Archiving Jobs.

Archiving EC-EIS-Transaction Data (EC-EIS)

De nition
An archiving object ( EIS_CFnnn , where nnn stands for the aspect number) and the relevant read, write and reload programs
are generated during the generation of an aspect. These archiving objects are used in the Executive Information System (EC-
EIS) application component for the archiving of the aspect’s transaction data.

Use
You can use the EIS_CFnnn archiving object to archive, delete and reload transaction data according to your own speci c
requirements.

We recommend that you archive small data sets at regular intervals (for example, weekly, monthly). Archive rarely-used data
sets which you do not wish to report on any more. However, if at a later date you require access to this data, you can reload it.

If you carry out an aspect summarization, change the structure of the data in the database. To be sure, you should make a data
backup before carrying out such a function. Use the archiving functions to make a copy of your data.

Structure
When you use archiving object EIS_CFnnn , you archive transaction data from the following tables:

CFnnn (where nnn stands for the aspect number)

To call up the archiving of the EC-EIS transaction data, in the SAP menu select Accounting Enterprise
Control EIS Tools Data Archive trans. data .

Runtimes (EC-EIS)
The time needed to run the archiving program depends on the number of records that are archived and the system load and
performance.

Storage Requirements

The memory space needed for archiving depends on the size of the original data records.

Archiving-Object-Speci c Customizing (EC-EIS)


Use
You must maintain various archiving settings before starting the archiving programs. This includes the size of the archive le
and the variants for running the deletion program in test and production modes.

Features

This is custom documentation. For more information, please visit the SAP Help Portal 11
9/14/2022
Archive File

You have to enter the size of your archive le in megabytes. It is recommended that you enter between 10 and 100 megabytes.

Variants for the Delete Program

You have to enter variants for both the test run and production run of the delete program.

 Caution

You must ensure that the Test run indicator is not selected in the production run variant for the delete program. If the Test
run indicator is selected, the records that have been archived will not be deleted from the database after they have been
written to the archive les.

You must also ensure that the Test run indicator is selected in the test run variant for the delete program.

Commit Counter

The commit counter determines the number of data objects counted before the program sends a commit to the database. It is
recommended that you enter between 1000 and 5000 as the commit counter.

Activities
In order to get to the Customizing settings for your EC-EIS archiving objects select Tools Data Activate trans. data, enter the
name of the archiving object and then select Goto Customizing . In the following dialog box, choose the Technical settings
option.

Authorizations (EC-EIS)
To archive data in EC-EIS, you must have authorizations for:

Archiving in general

For more information, see Authorization check .

Authorization object S_ARCHIVE

Authorization object S_TCODE

Variant Settings for Archiving (EC-EIS)

Use
When creating an archive le, you must enter an existing variant or create a new one. The variant contains the selection criteria
for the data records you want to archive.

Features
The selection criteria for the data records are the characteristics and, where necessary, the key gures of the aspect. You can
enter either individual values or value intervals as selection criteria. Enter as many selection criteria as possible to reduce the
processing time of the archiving program.
This is custom documentation. For more information, please visit the SAP Help Portal 12
9/14/2022

Activities
The section Archiving - Maintaining Variants (EC-EIS) describes how you create a variant for archiving.

The section Deleting - Maintaining Variants (EC-EIS) describes how you create a variant for deleting the data.

Archiving - Maintaining Variants (EC-EIS)


In order to carry out the archiving of the transaction data of an aspect you should proceed as follows:

1. In the SAP menu select Accounting Enterprise control. EIS Tools Data Archive trans. data .

2. Enter the name of the archiving object.

 Note
Before running the archiving program, you need to maintain a number of settings for the archiving run (such as the
size of the archive le and variants for the test run and production run of the deletion program) by choosing
Goto Customizing .

You can nd further information on this topic under Archiving-Object-Speci c Customizing .

3. Choose A rchive .

4. Enter a variant with which the program should be started. The variant contains the selection criteria for the transaction
data you want to archive.

5. To create a new variant, enter a name for the variant and choose Maintain .

6. Establish the selection criteria for the archiving. These consist of the characteristics and, if necessary, the key gures of
the aspect. You can nd further information on this topic under Variant Settings for Archiving (EC-EIS) .

7. Choose Continue .

The system displays another screen in which you enter a description for your variant.

8. Save your variant.

In order to return to the screen Archive Administration: Create Archive Files , select Back.

9. Choose a starting time, and save your entries.

10. Enter the spool parameter information for the archiving run. Here you maintain the background printer parameters for
the archiving log.

11. Once you have maintained the selection criteria, start date, and spool parameters, choose Execute to start the archiving
program.

Result

The system transfers the transaction data to external archive les. If you wish to delete the data on the database, please read
the section Deleting - Maintaining Variants (EC-EIS) .

By choosing Goto Job overview , you can display a list of all the jobs that exist for this archiving program in the job
management. If you require further information on the status of the archiving object, select Administration on the initial screen.
Each archiving run is given a unique number by which it can be identi ed for deleting and reloading.

You can reload the archived data at a later point in time (see Reloading (EC-EIS) ).

This is custom documentation. For more information, please visit the SAP Help Portal 13
9/14/2022

Deleting - Maintaining Variants (EC-EIS)


After you have archived your data you can delete it from the database.

 Recommendation
You should carry out the deletion run directly following the archiving run if possible. This way, you will avoid potential
problems that may arise if data is changed or newly created after the archiving run and this data is somehow not included in
the deletion run.

To manually delete data that has already been archived:

1. In the SAP menu select Accounting Enterprise control. EIS Tools Data Archive trans. data.

2. Enter the name of the archiving object and select Delete .

3. Maintain the variants for the test and productive runs of the deletion program.Select Goto Customizingfor this.

You must create a variant in order to start the deletion program in the test mode. No data is deleted from the database
with this Test run variant. You must create a second variant, the Productive run variant for the update.

Save your settings and go back to the screen Archive Administration: Start Deletion Program.

4. If you want to carry out a test run, select the Test run eld.

5. Choose Archive selection .

The system displays a list of archiving runs that contain data that has already been archived.

Choose the archive runs for which data should be deleted from your database.

 Note
Please note that you can only delete the data of the archiving runs.It is not possible to select and delete les.

6. Enter the start date for the deletion program and save your entries.

7. Enter the spool parameter information for the deletion program.

8. Once you have selected the archived les and maintained the start date and spool parameters, choose Execute to start
the deletion program.

Result

The data in the archive les that you selected are deleted from the database. If you have only carried out a test run, no data is
deleted from the database.

Choose Goto Job overview to display the status of the jobs you created. If you require further information on the status of the
archiving object, select Administration on the initial screen.

Reloading (EC-EIS)
The Reload function lets you reload archived data from the archive les into the online system.

 Note
If the elds in the SAP System contain data, this data is overwritten by the reloaded data.

This is custom documentation. For more information, please visit the SAP Help Portal 14
9/14/2022
To reload data from an archive le:

1. In the SAP menu select Accounting Enterprise control. EIS Tools Data Archive trans. data.

2. Enter the name of the archiving object and select Reload .

3. Choose Archive selection .

The system displays a list of les that contain data that has already been archived. (The les that have already been
processed by the deletion program are outputted.)

Choose the archive les from which you want to reload the data.

4. Choose a starting time, and save your entries.

5. Enter the spool parameter information for the reloading program.

6. Once you have maintained the selection criteria, start date, and spool parameters, choose Execute to start the
reloading program.

Result

The data in the archive les that you selected is reloaded.

Choose Goto Job overview to display the status of the jobs you created. If you require further information on the status of the
archiving object, select Administration on the initial screen.

 Note
If the structure of the aspect has changed since the archiving, the data to be reloaded is automatically written to a
sequential le.A corresponding message is written in the log. In this case the transfer rules should be checked and, where
necessary, adjusted before you import this le (see Importing a le ). When importing the le, please note you must have
selected the data type Text le and deselected the number format Type P stored in double length .

If you have changed your local currency over to the Euro and then want to reload the archived data, the data is also written
in a sequential le. The procedure is similar to the reloading of data after a change to the aspect structure.

Executing Report Programs (EC-EIS)


You can execute reports on archived data using the function Analyze .

1. Select Tools Data Archive transaction data .

2. Enter an archive object and choose Analyze .

3. The screen Archive Management: Execute analysis program is displayed.

4. Choose whether you wish to execute the report online or in background processing.

5. Select the program.

The read program displayed here is the program that you have selected in Customizing. You will nd further information on this
topic in Customizing.

How to execute the report online.

1. Choose Execute .

This is custom documentation. For more information, please visit the SAP Help Portal 15
9/14/2022
2. The system proposes a maximum number of records to be read. You can overwrite this number.

3. In the next dialog box, select the le whose contents you wish to analyze. Choose Continue .

4. On the next screen, select the elds that you want. Choose Execute .

The le records are then listed.

How to execute the report in background processing.

1. Enter a variant and choose Maintain .

2. The screen Variant maintenance: Report <Report>, Variant <Variant> is displayed.

3. Enter the selection criteria for the report (see step 4).

4. Enter a description for the variant and save the variant.

5. To return to the screen Archive Management: Execute analysis program, choose Back.

6. Enter the start time and save your entries.

7. You now return to the previous screen.

8. Enter the spool parameters for the report program.

9. Once you have maintained the selection criteria, the start time and the spool parameters, choose Execute in order to
start the archiving program in the background.

This is custom documentation. For more information, please visit the SAP Help Portal 16

You might also like