SAP CRM IBASE的archive方法

There is one IBASE 112467 which contains one object component. This IBASE is intended for archive.

SAP CRM IBASE的archive方法

There are two approaches to archive it.

(1) You could use tcode SARA and type “CRM_IBASE” as archive object, and press the buttons “Preproc”, “Write” and “Delete” one by one to go through the archive process.

SAP CRM IBASE的archive方法

(2) You could also manually run report for each of the three process one by one. You could find the report name for each step via tcode AOBJ:

SAP CRM IBASE的archive方法

The overview introduction about IBASE archive could be found in sap help.

Step1: pre-process step

run report RIBARCHV and specify IBASE ID = 112467, and got the error message saying nothing could be archivable.

SAP CRM IBASE的archive方法

The reason is because you run pre-processing report, the IBASE must be marked with a deletion flag. You could set the flag via tcode IB52, Installation->Functions->Deletion flag->Set:

SAP CRM IBASE的archive方法

Once done, a new status key DLFL is set.

SAP CRM IBASE的archive方法

Re-run pre-processing report, and get the successful message like below, saying one record could be archived,

SAP CRM IBASE的archive方法

And the pre-processing report set additional status value to the IBASE as displayed below:

SAP CRM IBASE的archive方法

After pre-processing is done, the IBASE is not allowed for further change any more:

SAP CRM IBASE的archive方法

Step2: write step

In this step, the transaction data belonging to current IBASE are written to archive file via function modules below:

  • ARCHIVE_NEW_OBJECT
  • IBASE_ARCHIVE_OBJECT
  • ARCHIVE_SAVE_OBJECT

After executing report RIBARCHA with productive mode, it will display how many entries in each transparent table are archived.

SAP CRM IBASE的archive方法

Till now we have not executed the delete report yet, so those entries are stilled not removed from transparent table.

You could click button “Management” in tcode SARA to review the current progress so far.
We get a yellow light, since the whole archive process is not finished yet.

SAP CRM IBASE的archive方法

Double click on the yellow light and we could get the physical file path where the archive file is stored in OS:

SAP CRM IBASE的archive方法

Step3: delete step

In this step, the related table entries would be removed from transparent tables.
Execute the delete report and you could observe the deletion operation on IBASE data with tcode ST05:

SAP CRM IBASE的archive方法

Once done, go back to check in tcode SARA, now the whole archive process is done, we get green light now.

SAP CRM IBASE的archive方法

The archived IBASE could not be found in system any more:

SAP CRM IBASE的archive方法

The object ZJERRY_TEST contained in the object component still exists in the system.

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
SAP CRM IBASE的archive方法

上一篇:每日英语:Booming Tech Sector Redraws the Map


下一篇:我的python菜鸟之路21