SAP ABAP Data Element P05_TWDAYS (Total number of workdays of several Att./absence records)
Hierarchy
SAP_HRCNL (Software Component) Sub component SAP_HRCNL of SAP_HR
   PA-PA-NL (Application Component) Netherlands
     PB05 (Package) HR Master Data: Netherlands
Basic Data
Data Element P05_TWDAYS
Short Description Total number of workdays of several Att./absence records  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type P05_TWDAYS    
Data Type INT4   4-byte integer, integer number with sign 
Length 10    
Decimal Places 0    
Output Length 10    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Tot.WorkD 
Medium 19 Tot. no. Workdays 
Long 39 Total no. of Workdays of Att./abs. rec. 
Heading 55 Total no. of Workdays of several Att./absence records 
Documentation

Definition

In certain cases, it is desired to evaluate the duration of several attendance/absence records. In the Reporting absence (RPLWPAN0) report, two cases can be distinguished:

  • Reporting sick in the framework of the Eligibility for Permanent Invalidity Benefit (Restrictions) Act
    When sicknesses follow each other with a distance of less than the sickness relation period (constant PWREL from table T511K), they are legally regarded as one sickness. These types of sicknesses are called related sicknesses.
    In this case, the Total number of workdays of several records field displays the sum of the workdays of the relevant record plus the number of workdays of the previous related records. This also happens when the previous records are no longer (completely) within the selection period.
  • Reporting absence with Attendance/absence codes
    Here, no attendances/absences are coupled with the aid of a relation period. However, it is possible that several records with the same attendance/absence code overlap the selection period. In this case, the Total number of workdays of several records field displays the sum of the number of workdays of the relevant record plus the number of workdays of the previous records with this code that at least overlap with the selection period.

Use

Dependencies

Example

History
Last changed by/on SAP  20030714 
SAP Release Created in 470