Archiving Samplings with EHFND_SPLG
Definition
You archive sampling records by using the archiving object EHFND_SPLG.
Use
You can use this archiving object to archive all data records that meet the following end-of-business conditions:
-
The sampling is in status Closed or Void.
-
The component of the sampling is Health and Safety (value HSS of domain EHFND_EHSM_COMPONENT).
-
The sampling is no longer used in any sampling campaign or the sampling campaign is already archived.
-
Data about persons who have been sampled in a sampling process has been destroyed using the ILM object EHFND_SPLP with the data destruction object EHFND_SPLNG_SAMPLED_PERSON.
-
The residence period has expired.
Structure
Tables
This archiving object supports the archiving and deletion of data from various tables.
In Archive Administration (transaction SARA), you can check which database tables are affected.
Programs
You can find the programs used for the archiving objects in Archiving Object Definition (transaction AOBJ).
Classes
You can find the object-specific archiving class in Customizing for Maintain BO-Specific Archiving Objects under . This class is used to ensure that all data records are archived together with their related business objects.
In Archiving Object Definition (transaction AOBJ), you can also find the archiving class CHANGEDOCU that is used for archiving change documents.
Technical Data of the Archiving Object
This archiving object uses the standard settings as specified in Customizing for Archiving Object-Specific Customizing under .
ILM-Based Information for the Archiving Object
The data archiving object EHFND_SPLG is ILM-enabled and assigned to the ILM object EHFND_SPLG.
The following fields are specified in the ILM policy and are visible when you process ILM policies (transaction IRMPOL):
-
Available Time References
Date (COMPLETION_DATE) when the sampling was completed.
-
Available Condition Fields
Company Code (COMPANY_CODE) of the location of the sampling.
-
Available Policy Categories
-
RST: Residence Rules
-
RTP: Retention Rules
-
Authorizations
To use the archiving functions, you need the authorizations provided by the authorization object S_ARCHIVE.
More Information
-
For more information about Archive Administration (transaction SARA) see the documentation for Archive Administration in the application help for SAP NetWeaver on the SAP Help Portal at http://help.sap.com/nw
. -
For more information about ILM objects, see the SAP ILM documentation in the SAP ERP Library at http://help.sap.com/erp
. Open the application help and go to .

