Archiving or Destroying PPO Orders Using /SAPPO/PPO

You use the archiving object PPO Orders (/SAPPO/PPO) to archive, lock, or destroy PPO orders.

You can define different residence times (for archiving and locking) or retention rules (for destruction) for the object.

PPO orders can also contain data that is considered to be personal data in the context of data privacy. The regulations in your country may require that you must destroy this data after a specified retention period has expired.

This archiving object supports the SAP Information Lifecycle Management (ILM) functions for archiving, creating snapshots, and destruction.

Prerequisites

  • You have used report /SAPPO/ARCHIVING_SWITCH to switch the archiving of PPO orders to SARA. For more information, see the report documentation.
  • You have set the residence time for the archiving PPO orders.

If you want to use ILM, the following prerequisites are also valid:

  • In the Switch Framework (transaction SFW5), you have activated the business function Information Lifecycle Management (ILM).
  • You are familiar with the functions relating to the rules and guidelines for ILM and you have used transaction IRMPOL to define the residence rules (ILM object SAPPO_PPO).

Structure

Tables

To display an overview of the database tables that are archived with this archiving object, select DB Tables in Archive Administration (transaction SARA).

Programs

To display data, such as archiving programs, call transaction AOBJ and double-click on the archiving object in the list. The following programs are available for archiving object /SAPPO/PPO:

Program Function
/SAPPO/PREPROCESS Check (preprocessing)
/SAPPO/WRITE Write
/SAPPO/DELETE Delete
/SAPPO/RELOAD Reload
  • Write program

    As soon as you archive the data, it is deleted from the system. It remains in the archive file. After the retention period has expired, the data is destroyed. You can do this in the following ways:

    • To write a copy of the existing PPO orders to the archive without deleting them from the system, select the Snapshot checkbox under ILM Actions in the write program.
    • To destroy data without first archiving it, select the Data Destruction checkbox under ILM Actions in the write program.
  • You can also execute the individual reports without using transaction SARA. However, these types of runs are not displayed in SARA.

Information about ILM

You can use archiving object /SAPPO/PPO with ILM object SAPPO_PPO as part of SAP ILM Information Lifecycle Management.

The following fields are defined for /SAPPO/PPO in the ILM policy and visible when editing ILM policies (transaction IRMPOL).

  • Time Reference

    Start Data: The start point refers to the start of the retention period. The retention period of a PPO orders starts on the date on which the PPO order was created. In ILM, the Created on Date (TIMESTAMP_CREATE) is mapped to the date CREATION_DATE.

  • Condition Fields
    • Business Process (BUSINESS_PROCESS)
    • Component (COMPONENT)
  • Permitted Policy Category

    RTP: Retention Rules

For more information, see the application help for SAP Information Lifecycle Management (ILM). Visit SAP Library for SAP ERP on SAP Help Portal at http://help.sap.com and look for SAP Information Lifecycle Management.

Checks

Before an PPO is archived or deleted, a check makes sure that the following prerequisites have been fulfilled:

  • The status of the PPO order is Completed (3).
  • The residence time has expired. The residence time refers to the last change date (TIMESTAMP_CHANGE) when the PPO order receives the status Completed
  • PPO orders that belong to a "bulk service" can be archived only when all PPO orders belonging to that bulk service have been completed.
  • No data about the PPO order is available in table FEHT_MESS_PERS or table FEHT_MESS_REF. You have to migrate these types of PPO orders first using report FEHR_DATA_MIGRATE.

Call

To display the archived objects, use transaction SARA. To display the available infostructures and field catalogs belonging to the archive information system, select Infosystem in the application toolbar and then Archive Explorer or Customizing:

  • Infostructure: /SAPPO/SAP_IPPO
  • Field Catalog: /SAPPO/SAP_FPPO

You can also use your own infostructure and field catalog.

Procedure

  1. To archive PPO orders, you use transaction SARA.
  2. Call archiving object /SAPPO/PPO.
    • Archiving is intended for large amounts of data. It manages the entire archiving process chain, including monitoring.
    • You can archive your data using parallel processing. You can preset the server group and the maximum number of simultaneously active work processes (tasks) that can be used for archiving in this server group.