前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >SAP CRM IBASE的archive方法

SAP CRM IBASE的archive方法

作者头像
Jerry Wang
发布2020-08-12 10:26:18
4210
发布2020-08-12 10:26:18
举报

There is one IBASE 112467 which contains one object component. This IBASE is intended for 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.

(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:

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.

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:

Once done, a new status key DLFL is set.

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

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

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

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.

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.

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

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:

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

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

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

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2020-08-11 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • Step1: pre-process step
  • Step2: write step
  • Step3: delete step
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档