Ansicht
Dokumentation

R_EHHSS_XPRA_CALC_RESTR_DUTY - Transfer of the Calendar Days with Restricted Duty

R_EHHSS_XPRA_CALC_RESTR_DUTY - Transfer of the Calendar Days with Restricted Duty

PERFORM Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

This report is carried out automatically for all clients in your system when you have done the following:

  • Upgraded the incident management function of Environment, Health, and Safety as part of SAP S/4HANA 1511 to SAP S/4HANA 1610 or higher.
  • Converted the incident management function of component extension for SAP EHS Management to SAP S/4HANA 1610 or higher.

This report first reads all records for absences and restricted duty from the source table EHHSSD_INC_RESDU. Then, it calculates the calendar days for absences and restricted duty and stores this data in the appropriate fields of the target table EHHSSD_INC_TIDAT.

Integration

Prerequisites

Features

With SAP S/4HANA 1610, the following fields have been added to the table EHHSSD_INC_TIDAT:

  • A_CAL_D_MEAS (Actual Calendar Days of Absence)
  • PERM_ABS_EX_IND (Permanent Absence Exists)
  • D_RES_CAL_D_MEAS (Actual Calendar Days of Restricted Duty)
  • PERM_REST_EX_IND (Permanent Restriction Exists)

After upgrading or converting your system, data that is calculated from table EHHSSD_INC_RESDU is automatically transferred to these fields in table EHHSSD_INC_TIDAT.

Selection

You can specify the clients in your system in which the report is processed. Otherwise, the report processes data in all clients in your system.

You can process the report in test mode. If you do so, the report does not change data in the database. Instead, it displays the number of records to be changed.

The report first reads the start and end dates of the records for absences and restricted duty from the source table EHHSSD_INC_RESDU. Based on these dates, it then calculates the calendar days for absences and restricted duty and writes this information to the appropriate record in the target table EHHSSD_INC_TIDAT.

Note that periods with absences may overlap with periods with restricted duty, and periods with restricted duty may overlap with each other. The calculation of the calendar days takes any overlaps into account and makes sure that these days are only considered once.

Standard Variants

Output

The report only processes records in the target table EHHSSD_INC_TIDAT that do not contain data in the fields mentioned above. This means, once a record has been processed and changed, it will not be re-processed if the report is re-executed.

The report does not create new records in table EHHSSD_INC_TIDAT.

Activities

Example






PERFORM Short Reference   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 3095 Date: 20240601 Time: 024331     sap01-206 ( 53 ms )