Skip to Content

SAP Manufacturing Execution Archiving

SAP Manufacturing Execution Archiving

Applies to:

SAP Manufacturing Execution Archiving


This article explains about SAP Manufacturing Execution Archiving

It is useful to Basis Consultant and SAP ME consultant.

Author: BalaMurugan Sambandam

Company: Infosys Technologies Ltd

Created on: 23-09-2013

Author Bio

Balamurugan Sambandam is SAP Netweaver Technical Architect, working in Infosys Technologies Ltd in Chennai. He is working with R/3, EP, PI, WAS administration, R/3 security, ME and MII.

Table of Contents

SAP ME Archive

Need for Archiving

When to run Archive job

What gets archived


Archive Job Execution

SAP ME Archive:

Archive is a process of moving a closed SFC or shop order record out of the active WIP database into the archive database.

Archiving can be done either automatically or manually by using script.

Need for Archiving:

                The number of records in the WIP database becomes quite large after certain period of time. When the system searches through a large number of records, it slows down the retrieval process. So the performance of the system will be poor. In order to achieve good performance we need to archive the closed SFC or shop orders .Once we archive the shop orders or SFC, the DB performance will be improved.

When to Run Archive job:

                Archiving should be executed when the plant is not running. Need to run the job when there is no production. If we run the job during production hours, it will affect the system performance.

What gets archived

SAP ME Archive utilities archive shop orders or SFCs with the following statuses:

·         Done

·         Closed

·         Scrapped

·         Deleted

·         Invalid


Define the following system rule in SAP ME:

1.       1.In System Rules Maintenance- Miscellaneous: Define the number of days the closed records must remain in the WIP database before the system archives them in the Days before Archiving SFC / SO / CO system rule.  P1.png

2.      2. In System Rules Maintenance- Miscellaneous: Define whether components should be archived only when the parent assembly is archived, instead of when the component is done in the Archive Component when Parent Archived systems rule.  /wp-content/uploads/2013/09/p2_284026.png

3.      3. In System Rule Maintenance- miscellaneous: Define if the Handle columns in the Archive table have to be expanded for reporting in the Expand Archive Handles system rule. Since this will affect performance, the system rule value is FALSE by default.  /wp-content/uploads/2013/09/p3_284027.png

4.      4. Execute automatic batch archiving either in command line or using the Background Processing.

Archiving background process should be enabled for automatic execution only. If we want to run the script manually, do not select the “ENABLED” check box./wp-content/uploads/2013/09/p4_284028.png


Archive Job Execution :

Run Archive Job in the command line:

a.         Login to ME client server remotely.

b.         Run the Archive. Bat script using command line in the below path.




c.       Once we run the Archive job , the ArchiveGenRad.lck lock is created in the scripts folder. /wp-content/uploads/2013/09/p8_284043.png

d.      In the netweaver log, Archive log is updated regularly when the archive job runs.P9.png


e.      Once the Archive job is completed  successfully , It will provide the total number of  archived records and archived shop orders./wp-content/uploads/2013/09/p10_284050.png

You must be Logged on to comment or reply to a post.