Archiving Customs Log Data with MM_PREF
Archiving object MM_PREF
for archiving customs log data.
You can use archiving object MM_PREF
to archive and delete the logs written by the preference determination programs.
There is no Application Customizing for this archiving object. The system determines whether a data record can be archived by comparing its time stamp with the date of parameter Archivable until
on the selection screen.
When you use the archiving object MM_PREF
, data is archived from the following tables:
Table | Table name |
|---|---|
| Logging table for archiving object |
| Log table - Preference - Information from rules |
| Log table - Main component - Information |
| Log table - Component - Information |
The following table shows the programs that exist for the archiving object MM_PREF
. To display the programs used, use transaction AOBJ
.
Program | Function |
|---|---|
| Write |
| Delete |
The standard variants SAP&PROD (production mode) and SAP&TEST (test mode) are delivered for the delete program.
You can use this archiving object with the MM_PREF
ILM object as part of SAP Information Lifecycle Management. In order to do so, you must activate the associated business function Information Lifecycle Management (ILM)
(transaction SFW5
). The system then also displays the ILM Actions
frame. You can use these actions to archive documents with the retention periods defined in the Information Retention Manager
. You can also make snapshots (copies) of data or delete data that fulfills the prerequisites.
For more information about the Relevance business functions for SAP ILM, see Activating SAP ILM.
For more information about ILM Enhancements in data archiving, see ILM-Specific Enhancements in Archive Administration.
The following fields for MM_PREF
are defined in the ILM policy and are visible when processing ILM policies (transaction IRMPOL
):
Available Time Bases
Time at which log record was created (CREATION_DATE
)
Available Condition Fields
Material number (MATNR
)
Plant (WERKS
)
Available Policy Categories
RTP: Retention Rules
For more information, see SAP Information Lifecycle Management.
To call archive administration (transaction SARA
) with archiving object MM_PREF
from the SAP Easy Access menu, choose .
Alternatively, you can also call archive administration under and enter object name MM_PREF
.
Write
You can select the customs logs to be archived in both the Preference f.
and Constraints
frame in accordance with the following criteria:
Material
Plant
Archiving until date
To display the customs logs from the SAP Easy Access menu, choose . You can also display archived customs logs.
For more information about archive information structures, see the application documentation for data archiving under .
For more information about the archiving object, see the application documentation for data archiving under .