Skip to end of metadata
Go to start of metadata

Purpose

The purpose of the WIKI is to outline and clarify the use and functionality of Archiving Object CO_ITEM. This Archiving object is predominately used in the ERP Controlling module to help manage data volumes. This WIKI will explain at a high level, the tables, customizing, write and delete jobs in CO_ITEM archiving object. 

Overview

The archiving object CO_ITEM for archiving line items in the Controlling (CO) application component. The R/3 System automatically creates a CO line item for each transaction that involves an object in the CO application (such as an order or cost center). This line item is in addition to the documents for the Payroll or Financial Accounting applications. When you archive CO objects, the system automatically also archives the CO line items that belong to those objects.

File Names/Paths

To create the names and target directories of archive files check note 35992, then go to transaction AOBJ.



Transaction AOBJ
 
Select CO_ITEM in transaction AOBJ then click on Customizing Setting to assign the logical file name
 

Transaction AOBJ


 Database Tables

You can check which tables will be archived in transaction SARA.
Go to transaction SARA, enter archiving object CO_ITEM then click on Database Tables.

 
Transaction SARA

The next screen will show the tables from which data is archived.

 

Customizing

In transaction SARA enter the Archiving Object CO_ITEM then click in customizing

 
 
Then click on Residence Times for CO Line Items, the last option.
 

 
Here you can enter :
 
- Object type :
 
  - REO Reconciliation Object
  - PSG Profitability segment
  - COB Cost object
  - CTR Cost center
  - NTW Network
  - ORD Order
  - WBS WBS element
  - SDI Sales document item

- Sub-object Type : The R/3 System supports order types as sub-object types for object type "Order" (ORD) at present. No other objects support sub-object types at this time.
- Controlling Area
- Value Type :
           0 - All value types
           1 - All plan value types
           2 - All value types except planning, such as actual and commitment

 - Residence Periods :  How long data will remain in the system before being freed for archiving   

You enter 6 residence periods. Archiving starts in April 2006. The last posting period for which you can archive a document is September 2005.
Assuming a fiscal year with 12 months defined as posting periods, the periods October, November, and December 2005 and January, February, and March 2006 cannot be archived yet as they fall within the six-period residency.

- Fiscal Year :  The whole fiscal years are archived if you select this option.


 
 

Maximum Duration of Write Job

You can customize the maximum duration hours of a write job in -> Customizing -> Technical Settings.
The time in question is the time since the start of the write job.

Write

Before execute the write function you must create a variant with the selection criteria with the objects that you want to archive

After provide the variant, start date and spool parameters execute the archive

 
 

Check the spool for the write job which contain the objects that were archived

 
 

Delete

To delete the archive enter the file that you want to delete in the archive selection

 
 
After the process is completed go to management where you can have all the details about this archive job and it's status
 

 
You can also check the spool list from here
 

Related Content

Related Documents 

Archiving Object CO_ITEM for CO Line Items (CO)

Related SAP Notes/KBAs

SAP Note 35992 : File name/directory for application archiving