Archiving Material Documents (MM-IM)

Definition

Archiving object MM_MATBEL is used to archive material documents in the MM Inventory Management component .

Note Note

You can use this archiving object in Information Lifecycle Management . You must have activated the corresponding business functions to do this. The system then also shows the ILM Actions group box. You can use these actions to carry out archiving, for example, where the retention periods stored in the Information Retention Manager can be evaluated. Additionally, you can create snapshots (copies) of data or destroy data that matches the requirements. For more information, see ILM Enhancements for Data Archiving , ILM Actions in the Write Program.

End of the note.

Structure

Tables

Archiving object MM_MATBEL is used to archive data from the following tables:

  • MKPF (material document header)

  • MSEG (material document items)

A material document always consists of an MKPF record and at least one MSEG record. A material document has no more than 500 items.

If a goods receipt/issue slip or a mail message is created when a document is posted, NAST records (messages) also exist for the material document. NAST records are not archived but deleted.

In transaction DB15, you can display the tables assigned to MM_MATBEL. For more information, see Tables and Archiving Objects .

Programs

The following programs are delivered for MM_MATBEL.

Program

Function

RM07MARCS

Write

RM07MADES

Delete

Write Program

The write program supports the ADK interruption concept, meaning that you can interrupt the write phase and continue it at a later point in time. To use this function, you must set the Interruption Possible checkbox in Customizing (transaction AOBJ).This checkbox is not set by default. For more information, see Interrupting and Continuing Archiving Sessions .

The output list of the write program also contains an output log listing the archived material documents. If you choose the parameter Detail Log on the selection screen, the program lists the individually selected material documents in the output log. If you do not select this parameter, you will get a standard summarized log. Documents that were selected but not archived because they were not completed yet, are also listed in the job log. They are flagged accordingly.

Delete Program

The delete program contains the standard variants SAP&PROD (production mode) and SAP&TEST (test mode). During the write and delete sessions, regular progress messages appear in the job log (background processing) and in the status line (dialog).

See also:

Material Documents in the DRB (MM-IM)