Creating Archive Files (CO-PA) When an operating concern is generated, archiving objects and the relevant preprocessing, write, delete, and reload programs are generated.
For information about the archiving objects and the tables that can be archived, see Archiving CO-PA Transaction Data .
Before archiving, you have updated the reports and the summarization levels that use the data to be archived.
By way of preparation of the archiving of profitability segments (using archiving object COPAC_xxxx), you have determined in tables CE4_xxxx, CE4_xxxx_ACCT, and CE4_xxxx_FLAG those profitability segments that are not used in any application (including CO-PA). To do so, proceed as follows:
In the SAP menu for Profitability Analysis, choose and select the archiving object COPAC_xxxx.
Choose
Preprocessing
.
Select the variant with which the program should be started. If no variants exist, you can create one by choosing the
Maintain
pushbutton. For more information about creating variants, see the Help documentation on the
Variant
field
.
Note
If you want to archive the profitability segments using the archiving object COPA1_xxxx, use program RKEREOCE4 to prepare archiving. For more information, see SAP Note 383728.
Call Archive Administration (either by choosing in the SAP menu for Profitability Analysis or by using the general transaction code SARA) and select the archiving object.
Choose
Write.
Select the variant with which the program should be started., or create a variant.
You can enter the following selection parameters for your variant:
Object key (only for archiving objects COPAA_xxxx and COPAB_xxxx)
Controlling area
Company code
Other parameters that you have specified in Customizing for Profitability Analysis under .
Constraints
Fiscal year
Period
Note: If your operating concern was created in Release 2.2 and has a blocking factor greater than 1, you can only archive actual line items in time intervals of less than one fiscal year.
Plan/actual indicator
Version
Record type (only in costing-based CO-PA)
Process
Processing Options
When you select the
Production Mode
option, the system creates an archive.
When you select the
Test Mode
,
the system only selects the data and then issues a log.
When the deletion program is started automatically (you can make the required settings for this under
, you can set the
Delete Program in Test Mode
indicator.
Only archive line items (only for archiving objects COPA1_xxxx and COPA2_xxxx; this can only be called using transaction SARA)
If you set the
Archive Line Items Only
indicator, the segment level (summarization records for the line items) is
not
archived.
Note
It is only useful to archive the segment level for past years, since the segment level may still be updated in the current fiscal year.
Similarly, you should only archive line items for previous periods, since these can still be posted in the current period.
Choose
Start Date
to define when the program should run.
Choose
Spool Parameters
to specify how the archiving log should be managed. If you want the archiving program to start the delete program automatically, these spool parameters apply for the log for the delete program as well.
For more information about spool management, see
Printing
in the documentation
Introduction to the SAP System
.
Under , you can make other settings, such as:
Archive file size
The logical file name
The connection to ArchiveLink
Automatic execution of the delete program
Choose
Execute
to create the job with the settings you have made.
By choosing , you can display a list of all the jobs that exist for this archiving program.
In the write and delete phases, the system creates messages in the job log and in the status line. For information about when the different messages are generated and what they mean, see under "Explanations for the messages" in SAP Note 613707.
For general information on the background jobs, see the documentation on the
Computing Center Management System
.
Note
If the job is interrupted due to a power outage or similar, you can simply restart it.
If you have to interrupt the job for any reason (such as shortage of memory space), you can do this in the archive administration. For more information, see Interrupting and Continuing Archiving Sessions .