This solution in detail provides a comprehensive overview of the features and functions of the lastest release of SAP NetWeaver Information Lifecycle Management.
ILM Solution in Detail
Data Storage in the Cloud
Viewed from an ILM perspective, this concise white paper examines the possible implications of storing retention-relevant data in the cloud. Topics covered include data security, legal compliance, and performance.
SAP NetWeaver ILM vs DART
This white paper addresses this question and focuses on the most relevant product features that help distinguish the two solutions from each other.
Xcelsius Dashboard - Using ILM Audit Package Content
Developer guide on how to achieve cross-system reporting on live and legacy data.
Final Deletion of SAP Business Data
White paper created in collaboration with ASUG. It addresses the deletion of data that has reached its maximum age according to corporate retention guidelines.
SAP Data Archiving – MM_SPSTOCK (Archiving Batch Master Records)
Applies to:
SAP ECC6 – Data Archive. For more information, visit the Data Management and Integration homepage
Summary
This document helps people to understand the usage of archiving. It consists of step-by-step process of
Archiving Special Stock Records such as records for Batches and consignment Materials
Author(s): Lakshman
Company:Wipro Technologies
Introduction
Usage of SAP for our Day to Day Business Activities Results in Huge Amount of Enterprise Data.
It consequences are Data Overflow, Transactions running for long time and Performance Degradation. By
using Data Archiving Methodology we can clean up the Out of date data or any unused data and store it
offline. This leads to Performance improvement, Maximized System availability, Reduction of costs.
SAP provides us a solution for this Data Archiving process using which we can archive the data in a secure
and consistent manner. Archiving program uses certain checks and follows certain rules which ensure
consistency of data. By using this method we can archive master data such as Material Master, Batch
Master Records, HR master data and transactional data such as Sales Documents, Financial Documents,
Purchase orders etc.
Archiving process comprises of two mandatory steps
· Archive File Creation
· Deletion of files from the Database
These steps are discussed in detail for Batch Records and Consignment Materials
Archiving Configuration Setup
The first step of Configuration of Archiving Object starts from transaction AOBJ. Batches and Consignment
materials are archived via the object MM_SPTOCK
You can also see the list of tables from which data is going to be archived. The Transaction DB15 can be
used for this purpose
The Write and Delete Programs which are involved in this Object
Note: For Performing theWrite Step You should have required authorizations for executing SARA Transaction
How to Choose Data which is Eligible for Archiving
Generally in any SAP System Transaction Data forms the major part and it occupies huge space. Master
Data is changed rarely and it occupies lesser space compared to transactional data.
Data Archiving is used for both transactional and master data
In this case the data is Batch Master Records. Whenever your customer no longer needs the data you can
archive and delete that. For this to happen you have to flag that particular batch master which customer no
longer needs so that the archiving and deletion program will delete it.
When a batch master record is created, the deletion flag is hidden if the material master record is not flagged
for deletion at plant level or storage location level. If the material master record is flagged for deletion, the
system issues a warning on the initial screen. The Deletion flag field is then displayed, but the deletion flag
cannot be set. You can set the deletion flag at plant level for a Batch master Record using Transaction
MSC2N.
Archiving File Creation- Write Step
Open the Transaction SARA and Specify MM_SPSTOCK as the Archiving Object
Click on the Write Button.
Give the Variant name and Select Maintain Button
We can Run the Write Program of Archiving Object in Either Test Mode or Production Mode.
1) Test Mode Mean’s that no archive files are created
2) In Production Mode the archive file is created depending on the selection criteria and rules
defined for that archiving object
Initial Selection Screen for Write Program of MM_SPSTOCK object. You can give the list of material
number’s, Plant Data and respective Batch No’s which are no longer needed.
Various Check Boxes provided on the selection screen serves a different purpose
1) Consider batch record without deletion flag - Mean’s the record’s which are not having the deletion
flag set are taken into consideration while archiving
2) Check expiration data of batch – If the batch is expired it will be considered for archiving
3) Only Consider Batch record’s without stock - Only select’s the record for which the stock is NULL
and the rest of all are ignored
Select Complete option listed in the drop down box which will give you the complete output log in the spool.
Save the Variant and come back to the initial screen. Maintain the Start Date and Spool Parameters .Once
you maintain them traffic light will turn onto green. Now Press the execute button and it displays a status
message at the bottom “New Archiving Job was Scheduled.
You can check the job log and spool using SM37 once the job is completed successfully
Spool
Click on the spool and you will get the complete processing log for the write step
The log consists of details like No. of Written Data Objects, Size of archive file , Database space occupied
in MegaBytes and list of Batch Master records that have been written to the archive file
Delete Step
After successful completion of the write step next comes the delete step where the data being written on the
file is deleted using the delete program
Now press the Delete button. Once you click on it you will be redirected to screen shown below
Press the archive selection button and you will get a Pop-up display which shows you the completed write
Session
Select the check boxes and click on OK button. Maintain start date and Spool parameters which is the same
as the one you maintained for the Write Step
You can see all the traffic lights converted to green once you’re done.Now click on the execute button.You
will get a status message “New Deletion jobs were scheduled”
You can check the job log in SM37.If you observe carefully ,can see two jobs completed successfully .one
job is the submit job which lasts for few seconds (ranging from 0 to 3 seconds) and the other one is the
actual job which does the deletion process.
Check the spool of the delete job. You will find some information related to the number of deleted data
objects and deleted database space in MB etc.
You can see the list of batch records in the spool which got archived successfully
Verify the results from the database tables MCHA whether the records are successfully deleted or not.
You can also check the same using MSC3N transaction.
Archive Administration –Management
Using the management option shown below in the initial screen we can view the technical settings and
Logical file path names
Click on the Technical settings .Observe the Logical file name maintained for this Archiving object
The logical file name details can be seen using the transaction code FILE. Open this transaction and you can
find the list of file names under Logical file name Definitions folder. Search your logical file and double
clicking on it will take you to the Details screen.
Conclusion:
Batch Master Records are Archived and Deleted from the database successfully.
Related Content
Visit the following web pages
http://www.sdn.sap.com/irj/sdn/nw-mdm?rid=/webcontent/uuid/f062dd92-302d-2a10-fe81-ca1be331303c
http://help.sap.com/saphelp_dimp50/helpdata/en/8d/3e59fd462a11d189000000e8323d3a/frameset.htm
SAP ILM Detailed Presentation
Second-level slide deck providing more details than the introductory presentation. Additional details provided include customer pain points and benefits, detailed descriptions of the ILM processes, overview of services and starter packs etc.
SAP ILM Overview Presentation
This new overview presentation shows you how you can build a holistic ILM strategy by leveraging SAP NetWeaver Information Lifecycle Management. This holds true for both structured and unstructured information as well as for live and legacy systems.
SAPinsider: Simplify Your Systems
This article illustrates how the latest enhancements to SAP NaetWeaver ILM, such as streamlined system decommissioning with LT and Generic CDE, holistic compliant store based on SAP Sybase IQ, and the ILM Administrator Cockpit, can help companies reduce IT complexity, mitigate risks, and lower costs.
Archiving Vendor master data
Deletion of vendor master data
Steps:
1. Vendors should be flagged for deletion (transaction FK06)
2. Go to transaction SARA
3. Enter "FI_ACCPAYB" as archiving object
4. Press "Write" button
5. On variant field, write "TEST", and press "Maintain" button
6. Mention the vendor numbers that you want to archive. Mark flag "FI link validation off"
7. Save the variant
8. Press button "Start date" and choose a scheduling (it may be immediately)
9. Press button "Spool parameters" and populate the values for spooling.
10. Run the report
11. Repeat steps 5 to 10 with variant "PRODUCTIVE"
12. This will archive the data. Now you can delete it.
13. Go back to transaction SARA and press button "Delete"
14. Mark flag "test mode"
15. On "archive selection", select the archive you just created in step 11.
16. Populate the start date and the spool parameters just as in steps 8 and 9
17. Run the report
18. Repeat steps 14 to 17 with flag "test mode" unmarked.
19. Now the master data is deleted.
We can also use below standard programs for archiving and deleting vendor master data.
Archiving - SAPF058
Deleting - SAPF058D
ILM Technical Brief
Technical information about SAP NetWeaver ILM.
SAP ILM Solution Brief
This solution brief provides information about SAP tools and technologies for managing the life cycle of your information.
Information Lifecycle Management - FAQ
Frequently asked questions about SAP Information Lifecycle Management.
Holistically Manage the Retention of Structured and Unstructured Information
Technical brief discussing how you can leverage SAP ILM and SAP ECM products to manage the retention of your information in an holistic way.
Consolidate Your Operational and Analytical Archives
By storing both your ERP and BW archived data on SAP Sybase IQ, you can consolidate your storage infrastructure on a single platform.
SAP archiving process-Simple steps
Application:
Archiving can be done in different objects of PP/MM/FI/CO/PM etc.
The example is with a MM object, but it can be applicable equally to any PP object (PR_ORDER-Process order)
This document demonstrates the process of archiving in different objects. Though this is a archiving process, this is a general way of archiving. Archiving is required to have a faster and clean system. It is also possible to get the data once these are archived.
The archiving process have generally four steps.
There are 4 Main steps in SAP Archiving are:
- Step 1 – Pre processing
Deletion indicators will be set in this step
Applicable for some objects
- Step 2 – Write
Records chosen for Archiving will be written in Archiving file system in Unix server (Path: /Volumes/Archiving/<Object name>/…)
Applicable for all objects
- Step 3 – Delete
Written records will be deleted
Applicable for all objects
To ensure that the Archiving file system back up is taken for written records, at least 2 days gap to be maintained before performing Delete step.
- Step 4 – Post processing
For deleting secondary indexes in FI_DOCUMNT and movement data in QM_CONTROL.
Useful Transaction codes:
- SARA- Archive Administration
- SARI- Archive Information System
- SARE- Explorer
- ALO1- Search for documents with relationships (Incl. Archive)
The archiving process:
Object: MM_EKKO (Purchase order)
- Pre processing Step: Create Variant (KT2NDLINE):
Enter the New Variant name and click on ‘Maintain’ button. Maintain “Purchasing Documents” information and “Restrictions” as required.
Save Variant.
Execute the variant. Check the jobs.
Open the spool.
Pre-processing step successful for the selection.
2. WRITE Step: Variant KT2NDLINE-WR
Create and save variant for the selection (should be same as maintained in Pre processing step).
Execute the variant. Check the Jobs.
Open the Spool.
Write step successfully completed.
3. DELETE Step:
Click on “Archive Selection”. Select the files to be deleted.
Execute the selection.
Open the Spool
File is successfully deleted.
4. Checking Information system – Info structure updation.
We can see a Green signal light for the last archiving session. This means that the Info structure is updated successfully.
If the signal is Yellow or Red, Please Click in
.It will fill the info structure once again.
After every archiving run this should be checked. Otherwise, reading data from archived files will not work for the users, which leads to raising a ticket.
5. STATISTICS:
This option shows the details of archiving sessions. The details include,
- Number of objects (header records) Written, Deleted
- Number of Delete jobs
- Write and Delete Job durations
- Etc.
6. LOGS:
If Job log is clicked for the Write step job, the following log is displayed.
We can see the Program name, variant used, User id, Archiving session number, How many number of documents processed,
Path of the system where the written file is stored
.
Name of the Archive file created in the file system, etc., can be seen in the log.
7. READ:
Execute
Execute
We can see the archived Purchasing documents. For further documents, refer to User document for this object.
( SPEED_MM_Display_archived_Purchase_Order_v1.pdf)
8. MANAGEMENT:
It shows the status of archiving session. (Complete or Incomplete).
Double clicking on the session will lead to the following screen where the archived file related details can be seen.
ILM Solution in Detail
This solution in detail provides a comprehensive overview of the features and functions of the lastest release of SAP NetWeaver Information Lifecycle Management.
SAPinsider: Integrated Retention and Destruction
This article discusses how combining SAP Information Lifecycle Management (SAP ILM) and the SAP Extended Enterprise Content Management (SAP Extended ECM) application by OpenText supports the managing retention of structured and unstructured information holistically.
Cookbook for Accelerated Retention Warehouse with SAP ILM
Accelerated Retention Warehouse is a concept of simplifying the experience with SAP Information Lifecycle Management for system decommissioning. The process of data extraction from the legacy system and then reporting in the RW system is simplified.
Archiving Vendor master data
Deletion of vendor master data
Steps:
1. Vendors should be flagged for deletion (transaction FK06)
2. Go to transaction SARA
3. Enter "FI_ACCPAYB" as archiving object
4. Press "Write" button
5. On variant field, write "TEST", and press "Maintain" button
6. Mention the vendor numbers that you want to archive. Mark flag "FI link validation off"
7. Save the variant
8. Press button "Start date" and choose a scheduling (it may be immediately)
9. Press button "Spool parameters" and populate the values for spooling.
10. Run the report
11. Repeat steps 5 to 10 with variant "PRODUCTIVE"
12. This will archive the data. Now you can delete it.
13. Go back to transaction SARA and press button "Delete"
14. Mark flag "test mode"
15. On "archive selection", select the archive you just created in step 11.
16. Populate the start date and the spool parameters just as in steps 8 and 9
17. Run the report
18. Repeat steps 14 to 17 with flag "test mode" unmarked.
19. Now the master data is deleted.
We can also use below standard programs for archiving and deleting vendor master data.
Archiving - SAPF058
Deleting - SAPF058D



































