Skip to Content

In the previous blog we have discussed how to implement destruction object.

In this article, we will look into how to test the destruction object SOCIAL_DESTRUCTION.

Note

ILM Retention Management is a licensed product, which is really due to the fact that the predecessor to full ILM capability was data archiving which was always included as part of the core suite. 

Step1 Create a new Audit Area via tcode ILMARA

/wp-content/uploads/2014/01/clipboard1_363768.png

Never forget to mark the checkbox “Object Assigned” to make your destruction object assigned to the new Audit area.

/wp-content/uploads/2014/01/clipboard2_363769.png

Step2 Destruction rule maintenance

Maintain destruction rule for your destruction object in tcode IRMPOL.

/wp-content/uploads/2014/01/clipboard3_363776.png

If for specified Audit area, there is already rule created for it, press Continue (it means you want to edit the existing rule). Or else press New for creation.

Just maintain the policy new and save it.

/wp-content/uploads/2014/01/clipboard4_363777.png

Below screenshot is a sample for retention rule maintenance. It means all social posts which are created ONE YEAR ago must be destroyed.

After you finish the rule edit, please make sure the policy status is set to “Live”, or else it will be ignored by rule engine in the runtime.

/wp-content/uploads/2014/01/clipboard5_363779.png

Step3 Launch destruction object

There are several variants which you can use to launch destruction functionality provided by destruction object.

Variant1 – Directly execute destruction program CRM_SOCIAL_ILM_DES on line via SE38

/wp-content/uploads/2014/01/clipboard7_363780.png

 Test Mode: Under this mode, destruction program only does analysis on social post and list for each post, whether it could be destroyed according to resident time maintained in IMG activity and rules maintained in IRM rule maintenance view. No real deletion would be done.

 Production Mode: Do the same analysis as Test Mode. The only difference is the real deletion would be done, if a social post is judged as destructible.

 Output Option:

1. List

The execution result is output as example displayed below:

/wp-content/uploads/2014/01/clip_image008_363781.jpg

2. Application Log

/wp-content/uploads/2014/01/clip_image009_363794.jpg

The output will not be output directly to screen but written into application log instead.

You can review all logs by following below steps:

  1. transaction code ILM_DESTRUCTION, maintain the following settings and F8:

/wp-content/uploads/2014/01/clip_image010_363795.jpg

b. click button “Protokolle”:

/wp-content/uploads/2014/01/clip_image011_363796.jpg

Just specify the user name and execute selection:

/wp-content/uploads/2014/01/clip_image012_363801.jpg

Then you can view all logs generated during destruction run:

/wp-content/uploads/2014/01/clip_image013_363802.jpg

3. List and Application log

The output consists of both List output and Application log record.

Comment: This is an indicator for the current destruction run, which can help you identify the logs of the destruction run which you are interested with.

/wp-content/uploads/2014/01/clip_image014_363803.jpg

/wp-content/uploads/2014/01/clip_image015_363804.jpg

Variant2 – schedule the destruction program as background job via tcode ILM_DESTRUCTION

/wp-content/uploads/2014/01/clip_image016_363805.jpg

/wp-content/uploads/2014/01/clip_image017_363807.jpg

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply