Ansicht
Dokumentation

PRS_ERP_CPILS1: Archiving (New) ( RELNPSPRS_605_ARCHIVING )

PRS_ERP_CPILS1: Archiving (New) ( RELNPSPRS_605_ARCHIVING )

ABAP Short Reference   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Short text

PRS_ERP_CPILS1: Archiving (New)

Use

As of SAP enhancement package 5 for SAP ERP 6.0 (EA-APPL 605), business function Commercial Project Inception & Lean Staffing (PRS_ERP_CPILS1), you can use archiving functions to permanently store your Lean Staffing assignment data for future reference.

Whereas the tables SAWE_D_TIME_PS and SAWE_D_TIME_PSI are deleted without prior archiving, the new archiving object SAWE_LSA enables you to archive and delete the following database tables:

  • SAWE_D_SA_HDR
  • SAWE_D_SA_ITM


Archiving is executed using the standard archive administration tool SARA.


The archived objects stored in the archive information system are the following:

  • Info Structure,,SAP_SAWE_SA
  • Field Catalog,,SAP_SAWE_SA

Archiving Process

The new archiving object comprises the following programs:

- Preprocessing SAWE_SA_ARC_PREPROCESSING
- Write SAWE_SA_ARC_WRITE
- Delete SAWE_SA_ARC_Delete
- Read Sequentially SAWE_SA_ARC_READ_SEQUENTIAL
- Read By Index SAWE_SA_ARC_READ_BY_INDEX

Preprocessing

The archiving object launches a preprocessing report that checks whether staff assignments can be archived. All assignments associated with an assignment object (sales document, internal order, project, customer) are archived. Consequently, all the staff assignments of an assignment object must be archivable, otherwise the archive operation fails.

If all assignments of a specific assignment object can be archived, the preprocessing report selects the field to_be_archived in the staff assignment table SAWE_D_SA_HDR. If this field is selected, the transaction Lean Staffing Staff Assignments can no longer be accessed in the change mode and can only be displayed.

Staff assignment items can be archived only if their end date is later than the specified retention period. The report selection parameters require you to enter a retention period, which has to be expressed either as a specific date or in days.

Example:

If the retention period date entered in the report parameter is 2009.10.01, all staff assignment items with an end date equivalent to 2009.09.30 or older can be archived.

This archiving program can run independently of write/delete programs.

The flag to_be_archived in the staff assignments can also be set by the assignment object. For example, when you archive an SD order, the order sets the flag to_be_archived in any related staff assignments, because staff assignments without underlying assignment objects do not exist.

Write

The write program selects all the staff assignments in which the field to_be_deleted is selected and writes them to the archive.

Delete

The delete program deletes the staff assignments from the resident tables and also deletes the tables that are not to be archived (for example, the forecast table).

Read Sequentially

The read sequential program sequentially reads all records from the selected archiving files.

Read By Index

The read by index program reads index-sequential records from the entire archive.

Archive Information System

The archive information system provides a standard field catalog SAP_SAWE_SA and an information structure SAP_SAWE_SA, which you can use to create your own objects.

Effects on Existing Data

Effects on Data Transfer

Effects on System Administration

Effects on Customizing

Further Information

For more information, see the central release note for the business function Commercial Project Inception & Lean Staffing and the SAP Library documentation under Industries in SAP ERP → SAP for Professional Services, and the SAP Library Documentation related to Archiving.






PERFORM Short Reference   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 5035 Date: 20240523 Time: 044229     sap01-206 ( 80 ms )