Destroying Time and Attendance Data Using EWM_TATT

You can use data destruction object EWM_TATT to destroy Time and Attendance data once the retention period expires.

Use

The data destruction program /SCWM/TATT_DES is registered to data destruction object EWM_TATT.

The data records from the following table are destroyed:

Table

Table Name

/SCWM/LM_TATT

Time and Attendance Data in Labor Management

ILM Object-Based Information for the Data Destruction Object

The ILM object EWM_TATT is mapped to the data destruction object EWM_TATT.

Standard Fields for ILM Object EWM_TATT

You use the following fields in transaction IRM_CUST to create ILM policies. The fields for data destruction object EWM_TATT for defining ILM policies are as follows:

Available Time References

  • START_RET_DATE Start of retention time

Available Condition Fields

  • LGNUM Warehouse Number

Available Policy Categories

  • RTP Retention Rules

Object Category-Specific Settings

  • Mapping ILM Object to Data Destruction Object

    • EWM_TATT

  • Value Determination for Condition Fields (Direct)
    • See table:

      Condition Field

      Source Table

      Source Field

      LGNUM

      /SCWM/LM_TATT

      LGNUM

  • Value Determination for Time References (Direct)
    • See table:

      IRM Constant

      Source Table

      Source Field

      START_RET_DATE

      /SCWM/LM_TATT

      CHANGED_AT

Finding Data Destruction Objects

To find data destruction object EWM_TATT, proceed as follows:

  1. Execute transaction DOBJ.

  2. To search for the data destruction object, choose Position.

  3. Double-click data destruction object EWM_TATT to view more information such as the data destruction program and the component.

  4. In the dialog structure, double-click Structure Definition to display the tables from which data is destroyed.

Customizing Settings

To adjust data destruction object EWM_TATT and define retention rules, proceed as follows:

  1. In transaction ILMARA, define an audit area and assign the ILM object EWM_TATT to it.

  2. In transaction IRMPOL, define ILM rules for data destruction object EWM_TATT.

  3. In transaction ILMSIM, check (simulate) the retention rules for data destruction object EWM_TATT.

  4. In transaction ILM_DESTRUCTION, apply the ILM rules for data destruction object EWM_TATT to data.

For more information about the Customizing settings for data destruction objects, see

Executing Data Destruction Object EWM_TATT

You can destroy data from the database by executing a data destruction run for the corresponding data destruction object. For more information about executing data destruction objects, see Data Destruction with a Data Destruction Object.

  1. Start the data destruction using transaction ILM_DESTRUCTION.

  2. For the Type of Data to Be Destroyed, select Data from the Database.

  3. Enter the ILM object EWM_TATT associated with data destruction object.

  4. Choose Execute. In the Destruction of Data from the Database screen, the actions to be started (Destroy and Administration) are displayed.

  5. Under Destroy, define variants for the data destruction program.

    You can use the following selection criteria to find the relevant Time and Attendance records:

    • LGNUM

    • Days Before Current Day

    • Standard ILM test and processing parameters

      • Test Mode

      • Production Mode

      • Detailed Log

      • Log Output

      • Description of Data Destruction Run

  6. Define a start date and the spool parameters for the data destruction run and choose Execute.

Authorization Objects

You need the following authorization to delete Time and Attendance records

Authorization Object

Description

/SCWM/TATT

EWM Time and Attendance Integration