Programme SAP MMREO020 - Archive Batch, Consignment, and Special Stock Records

Description
You use this program to archive and delete the following stock records:

  • Batch stock records

  • Consignment stock records

  • Other special stock records

  • You have the following options:
    • Archiving special stocks for existing materials

    • Archiving special stocks for a material number that has already been
    • deleted
      You enter your selection criteria for one of these options. Thesystem uses the dataset thus determined to carry out the necessarychecks for each of the relevant tables.
      If the outcome of these checks is to allow the corresponding entries tobe deleted, the system archives the entries together with any entries independent tables.
      If the system was able to close the archive file, the deletion programis started automatically, and the data is deleted from the databasetables.

      Restricting the Selection
      Program parameters allow you to specify which stock records you want toarchive and delete.
      In the case of batch stock records and consignment stock records, youalso have the following options:

      • Archiving and deleting only those stock records that are flagged for
      • deletion
        In this case, you do not set the Consider batch recordswithout deletion flag indicator or Consider consignment recordswithout deletion flag indicator.
        • Archiving and deleting all stock records that can be archived and
        • deleted, irrespective of whether they are flagged for deletion or not.
          In this case, you set the corresponding indicator.
          In both cases, the system checks whether the materials can be deletedbefore proceeding.
          In the case of batch stock records, you also have the following options:
          • If you set the Check expiration date indicator, the shelf life
          • expiration date of the batch must precede the system date. Only then canthe batch concerned be processed.
            • If you set the Delete only stock records without stock indicator,
            • the system archives and deletes only stock segments without stock, notthe master data.
              • If you set selection parameter Residence time for original batch
              • and specify a residence time in days, you define how long an originalbatch remains in the SAP system.

                Technical Settings
                You can run the program in one of the following modes:

                • If the Test mode indicator is set (default value), the system
                • carries out the checks, but does not archive or delete the data in thedatabase.
                  • If the Test mode indicator is not set, the system carries out the
                  • checks, and archives and deletes the data in the database.

                    Output
                    In the log, the system lists the results of the individual checks and itrecords the archiving process. If a stock record at a particularorganizational level could not be archived and deleted, you can see whyhere.

                    Further_hints
                    For more information on archiving and deleting data, see the SAP LibraryApplication Data Archiving and Reorganization (CA-GTF-ARC).

419347MM_SPSTOCK: Archiving special stocks/batches simultaneously
444115MM_SPSTOCK: History tables not deleted
914553MM_SPSTOCK: Incorrect check on batches for EBEW/QBEW
421035Rollback while deleting archived stock entries
604949Archiving MM_SPSTOCK: Standardization
635578CS batch archiving (MMREO020) - Check batches for WM
520722MM_SPSTOCK: Incorrect check of batches for EBEW/QBEW
507281MM_SPSTOCK: Material ledger records are not deleted
482315MM_SPSTOCK: Errors in archiving checks
429387MM_SPSTOCK: Archiving special stocks and batches II
408730MM_SPSTOCK: unnecessary locks on material level
400420MM_SPSTOCK: Performance and memory problems
392393MM_SPSTOCK: Previous year's balance not checked
199127Archiving of batches and special stocks