Archiving Batch Master Records (LO-BM)

Definition

Archiving object LO_BATCH for archiving batch master records in the Logistics – Batch Management (LO-BM) application component.

Use

You can use this archiving object to archive batch master records that you no longer need to access in the system. The data is written in archive files and deleted from the system, if this operation is successful. You can display the archived data. A data restore is not supported.

Note Note

Regarding batch master records, the archiving object LO_BATCH is a successor of the archiving object MM_SPSTOCK.

End of the note.

Structure

Tables

The archiving object LO_BATCH archives and deletes data from several tables. You can determine which tables these are in the transactions SARA or DB15 (see Tables and Archiving Objects).

Programs

The following functions are available for LO_BATCH (see transactions AOBJ and SARA):

Function

Activity

Report Program

Archiving (Writing)

The write program writes the database tables of the batches to the archive. If the operation is successful, the program deletes the data from the system after archiving, depending on the Customizing settings.

BATCH_WRI

Deleting

The delete program deletes all database records for batches that were successfully archived.

If the deletion program is not called up automatically after the Archive activity has been successfully completed, you must wait until all the archiving is completed. Then you can schedule this step.

BATCH_DEL

See also:

Data Archiving (general)

Integration

ILM-Related Information for the Archiving Object

You can use this archiving object with the ILM object LO_BATCH within SAP Information Lifecycle Management. A prerequisite for this is that you have activated the corresponding Information Lifecycle Management (ILM) business function (transaction SFW5). The system then additionally shows the ILM Actions frame. With these actions, you can carry out an archiving in which the retention periods defined in the Information Retention Manager are evaluated, for example. Furthermore, you can make snapshots (copies) of data or destroy data that satisfies the prerequisites.

The following fields are defined for LO_BATCH in the ILM policy and are visible when processing ILM policies (transaction IRMPOL):

  • Available Time References

    • Certification Date (CERTIFICATION_DATE)

    • Shelf Life Expiration or Best-Before Date (EXPIRATION_DATE)

    • Last Changed On (LAST_CHANGE_DATE)

      Available Time Offsets

      • End of Month (END_OF_MONTH)

      • End of Quarter (END_OF_QUARTER)

      • End of Year (END_OF_YEAR)

  • Available Condition Fields

    • Certification Condition (CERTIFICATION_COND)

    • Expiration Date (EXPIRATION_COND)

    • Material Group (MATKL)

    • Material Type (MTART)

    • Plant (WERKS)

  • Available Policy Categories

    • RST: Residence Rules

    • RTP: Retention rules

For more information, see SAP Information Lifecycle Management.