SAP Program REAMI_MSG_ARCH - IS-U Archiving: Archive AMI Messages

Purpose
This report is the first step in archiving messages in the AMIenvironment. It includes the following steps:
Analysis of messages with regard to possible archiving
Writing of messages in an archive file
RESET N1
The archiving object consists of the following data:

  • TEAMI_MSG (Messages)

  • The archiving object for archiving AMI messages is calledISU_AMIMSG.

    Integration
    The archiving of messages includes the following reports:
    Archiving report (REAMI_MSG_ARCH)
    The system analyzes the messages and writes archivable entries in thearchive file.
    Deletion report (REAMI_MSG_DELETE)
    The system deletes the entries from the database tables, based on thearchive file previously created.
    RESET N1

    Features
    The archiving report selects messages with expired retention period. Theretention period refers to the creation date of the messages.
    You define the retention period in Customizing for SAP Utilities under:
    Tools -> Archiving -> Define RetentionPeriod for Archiving Objects.
    You can use BAdI ISU_AMI_MSG_ARCHIVE tofilter message. For more information, see the documentation for theBAdI.

    Selection
    When you start the report, you can make the following settings on theinitial screen:

    • Material: Limits the data to be analyzed/archived to certain
    • material
      • Serial number: Limits the data to be analyzed/archived to certain
      • serial numbers
        • Created by: Limits the data to be analyzed/archived to certain
        • users
          • Message Type: Limits the data to be analyzed/archived to certain
          • message types
            • Message Source: Limits the data to be analyzed/archived to
            • certain message sources
              • Archiving Date of Messages: Limits the data to be
              • analyzed/archived to a certain date. This date must not come after theretention period defined in Customizing
                • Test Mode: Starts the report as a test run; the system does not
                • make any changes in the database
                  • Production Mode: Starts the report as a production run; the
                  • system makes changes in the database
                    • Detail Log: Display log containing extensive data for every
                    • analyzed data record (not recommended for large amounts of data).
                      • Archiving Session Note

                      • INCLUDE ILM_STND_DOC_INCLUDE OBJECT DOKU ID TX

                        Standard_variants
                        By default, messages with a validity date in the future are not selectedfor archiving.
                        You can overrule this setting using BAdI ISU_AMI_MSG_ARCHIVE.