Creating Preprocessing Variants for /IAM/ISSUE
The preprocessing program selects the issues based on your specified selection criteria and checks whether they can be archived (see Checks for /IAM/ISSUE). If the check was successful, the preprocessing program sets the archiving status Marked for Archiving
.
Issues with the status Marked for Archiving
can then only be displayed in the application but no longer changed.
You can execute the preprocessing program in test mode or production mode. Independent of this, you must always use a variant and schedule it. There are various selection criteria and options available for you to define a variant:
Application
First, you must specify the application QIM to archive QIM data. Only then are the other application-specific selection criteria visible.
Recommendation
You can store the application QIM
in your user profile as the value for the parameter /IAM/APPLICATION
, then the value is entered automatically in the selection criteria.
Issue selection
To determine the issue to be archived, you can, for example, specify the issue type and the lifecycle status. To ensure data consistency, for all issues selected their subissues (defects, effects, and causes) are automatically selected as well, regardless of their status.
Residence time
You can enter the residence time for issues in the QIM system (in days, relating to the date of the last change). For example, if the residence time is 365 days, only those issues (and their subissues) are selected that were last changed at least a year ago.
Recommendation
You can store a default value for the residence time in application-specific Customizing (see Setting Up Application-Specific Customizing).
Note that with the following lifecycle statuses, immediate archiving is possible:
Canceled (10
)
Flagged for Deletion (64
)
If you want to archive the respective issues immediately, you can define an additional variant that incorporates the relevant lifecycle statuses and a residence time of 0 days.
Logging
You can specify in which form and with which level of detail the log is to be displayed.
Open archive administration (transaction SARA
).
Enter the technical name of the archiving object and choose Preproc
.
Enter a name for the variant and choose Maintain
.
Enter the required data for the selection criteria and the variant attributes.
Save the variant.
Enter the start date and the spool parameters.
You have now entered all the data required for the background job. To create the job, choose Execute
.
Following this, you can then schedule the write program analogously. The selection criteria for the preprocessing program and the write program do not have to match.