Archiving Activities with /IAM/ACT
With the archiving object /IAM/ACT
, you can archive activities and their corresponding information, such as reference objects, descriptions, partners, and attachments stored in the system. Which information is archived in detail is listed in archive administration (transaction SARA
) under Database Tables
and in the application for archiving object definition (transaction AOBJ
) under Structure Definition
.
The following programs are available for this archiving object:
Preprocessing program /IAM/ACT_ARCH_PRE
The preprocessing program uses the activity status and the chosen selection criteria (for example, residence time) to check for which activities archiving is possible and then assigns them the archiving status Marked for Archiving
.
For more information, see Checks for /IAM/ACT.
Write program /IAM/ACT_ARCH_WRI
The write program creates archive files and stores the activities with the status Marked for Archiving
in the file. The write program also sets the Activities Archived
indicator in the parent issue or subissue.
Note
When QIM data is archived, transient texts, such as the descriptions of codes stored in Customizing, are also archived in one specific language; if you perform the archiving in English, these texts will be shown in English when you display the archived data at a later stage, even if you are logged on to the system in another language.
Delete program /IAM/ACT_ARCH_DEL
The delete program reads the data from the archive file. If the read was successful, it sets the status to Archived
and deletes the data from the database.
If you want to extend the archivability checks, archive additional data, or register other archiving classes, you can use the options in the BOPF Enhancement Workbench (transaction /BOBF/CUST_UI
). For more information, see Business Object Builder.
To be able to use the archiving object /IAM/ACT
in Information Lifecycle Management (ILM), the ILM object IAM_ACTIVITY
is delivered.
Settings in ILM object Customizing (transaction IRM_CUST
) for IAM_ACTIVITY
:
Available Time References:
Created On (CREATION_DATE
)
Last Changed On (LAST_CHANGE_DATE
)
Available Condition Fields:
IAM Application (APPLICATION
)
IAM Authorization Group (AUTH_GROUP
)
Available Policy Categories: Retention Rules (RTP
)
Assigned BOR Object: /IAM/ACT
You have authorization for the activity 12 Archive
in the authorization object IAM/A_STAT
Authorization Object for Lifecycle Status (Activity)
, field /IAM/A_ACT
Authorization to Perform Activity-Related Activities
.
In the transaction SARA
, create a variant for the preprocessing program and schedule it.
For more information, see Creating Preprocessing Variants for /IAM/ACT
In the transaction SARA
, create a variant for the write program and schedule it.
The delete program is executed automatically after the write program. You can change this setting in Customizing for the archiving object (in the transaction SARA
under ).
The archived data is deleted from the database but can still be displayed.
For more information, see Displaying Archived QIM Data.