
Archiving of Maintenance and Service Orders (PM-SMA-SC/PM-WOC-MO)
Definition
Archiving object with which you can archive maintenance orders and service orders in the Plant Maintenance application component.
Structure
The archiving object PR_ORDER contains all the order data:
Table |
Content |
AFIH |
Order header |
AFAB |
Network - Relationships |
IHPA |
Partners |
IHSG, IHGNS |
Permits |
ILOA |
Location and account assignment for the maintenance object |
OPROL |
Operation link to object list entry |
MSM_COMM_LOG_1 |
Communications log for MSM for paging |
MSM_COMM_LOG_2 |
Communications log for MSM for paging status |
PMCO |
Cost structure and overview of the order |
MCIPMIS |
Order data for PMIS |
PMCOQT |
Quantity structure for the maintenance order |
PMPL |
Print data for the order |
PMSDO |
PM organizational data for SD documents |
SER00 (see note) |
General header table for serial number management |
SER05 (see note) |
Document header for serial numbers for the refurbishment order |
OBJK (see note) |
Object list |
AFPO (see note) |
Order item |

If the order in question is a refurbishment order, the system archives the tables SER00, SER05, and OBJK: However, these tables are not deleted. You can archive these tables together with the serial number history (
Table AFPO is only available for refurbishment orders and is therefore only archived for these orders.
By including the archiving classes (P_Order and Text), the following data is also archived:

Since Release 3.0F, it has been possible during an archiving session to generate a historical order simultaneously from a maintenance order.
If you set the indicator Historical orders on the initial screen for the archiving run, the deletion program deletes the order from the SAP online database and at the same time, creates a historical order in aggregated form from the database. The order number remains the same.
See also:
Archiving Object: Overview