Show TOC Entering content frame

Procedure documentation Creating an Archiving Object (Archiving Workbench) Locate the document in its SAP Library structure

Use

You can either create archiving objects manually, as described in the Structure linkCreating an Archiving Object section, or using the Archiving Workbench, as described here.

Note

If you wish to use the Archiving Workbench as a tool to create your archiving object, you can save on a large amount of development. However, as is the case with manual development, you are required to check the archiving object that is generated to ensure it is correct.

Read the most up-to-date version of consulting note no. 644365 for information on essential adjustments that have to be made for the Archiving Workbench.

Prerequisites

Before you can create an archiving object with the Archiving Workbench, you must make sure the following prerequisites have been met:

·       You are authorized to develop in the SAP System.

·       You have already organized all the technical administrative data (such as the names of the package (development class) and the archiving object).

·       You have defined the business data structure for the archiving object you want to create (such as the master table, dependent tables and other dependencies).

·       You have defined the conditions determining which data can be archived for the archiving object you are creating. You have also determined which checks have to be made.

Procedure

...

      1.      Start on the Easy Access screen in the Archiving Workbench by entering the transaction code AFX_WB.

      2.      Choose Project® Create.

Enter the name and description of the project you want to create. The system will then display the name of the project and an activity tree. This tree contains the following files:

¡      Preparatory Steps

¡      Program Generation

¡      Postprocessing Steps

Each file contains subfiles and activities that you must perform in order to create the archiving object.

Note

The project name serves as a reference unit encompassing all the processing steps that are required to create an archiving object. It is technically separate from the name of the archiving object, which you enter in one of the processing steps in the Archiving Workbench. You can choose the same name for the project and the archiving object, but you cannot reuse a project name for another project.

      3.      Expand the Preparatory Steps file and the General subfile. The system will then display the activities contained in it with the following symbols:

¡      This graphic is explained in the accompanying textSta tus Not Yet Executed

¡      This graphic is explained in the accompanying textExecute Task

¡      This graphic is explained in the accompanying textDisplay Log

¡      This graphic is explained in the accompanying textD isplay Documentation

      4.      Choose This graphic is explained in the accompanying text Display Documentation and read the related documentation for the first activity.

      5.      Then choose This graphic is explained in the accompanying text Execute Task. The system will either display the wizard that will take you through the individual processing steps or will branch to another transaction. As soon as you successfully complete a task, the system changes the status of the task to This graphic is explained in the accompanying text (Processing Completed). You can find more information on the statuses in the Archiving Workbench (CA-GTF-TS-GMA) section of the SAP Library.

Note

The project processing is protected by a lock object so that only one user can access it in change mode at a time.

      6.      Perform all the activities in the activity tree sequentially.

Note

Note that most activities in the Preparatory Steps and Program Generation steps are based on each other and are therefore required.

However, you can skip individual activities, provided they are not required. This applies primarily to activities in the Postprocessing Steps. To determine whether a task can be skipped, select the specified text for the activity and choose This graphic is explained in the accompanying text Skip. The system will display a message stating whether the task can be skipped or not. If you skip a task, the system changes its status to This graphic is explained in the accompanying text Skipped. You can go back and perform the activity at any time, but are not required to do so.

Note

For certain application-specific tasks (such as the manual postprocessing of coding), the system cannot set the status automatically. This is because it cannot determine whether you have completed the task if the task is open. In cases like this, you are taken to the corresponding transaction. When you leave the transaction, the system asks for the current status of the task. It displays the current status as well as all the possible statuses for you to make a selection.

Result

The system creates the archiving object with all the related database objects, enabling you to then execute the other, non-automated activities. You can find more information on this in the Manual Postprocessing section of the SAP Library.

 

Leaving content frame