SAP ABAP Data Element EMPL_AGE (Age of Employee)
Hierarchy
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
   PA-IS (Application Component) HR Information Systems
     PQU (Package) ABAP Query: Human Resources
Basic Data
Data Element EMPL_AGE
Short Description Age of Employee  
Data Type
Category of Dictionary Type     Direct Type Entry
Type of Object Referenced     No Information
Domain / Name of Reference Type      
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 Age 
Medium 16 Age of employee 
Long 22 Age of employee 
Heading 22 Age of employee 
Documentation

Definition

Calculated age of employee (numerical).

Use

This is an additional field for infotype 0002 (Personal Data). You can use both SAP Query and Ad Hoc Query to report on it.

Dependencies

The value of this field depends on the data selection period you use to execute a query. The data selection period and current date are used to determine a key date. The age is calculated using the key date and date of birth (P0002-GBDAT).

The key date is calculated as follows:

The system date is                   

- In the data selection period
=> Key date = system date

- Before the data selection period
=> Key date = start of data selection period

- After the data selection period
=> Key date = end of data selection period

The specified date is used as the key date of the calculation when you execute reports for a specific key date.

Note: The data type of this additional field is numerical, which means it can be used for calculations (such as mean value calculations). The system includes another additional field that calculates the age of an employee in exactly the same way (LEBALTER) but is of a non-numerical type. As a result, it cannot be used for calculations. In some situations, you need to avoid automatic calculations (age statistics, for example), which requires you to use this field.

Example

You want to output the average age of your employees on December 31, 2004 in a query.

Use the Age of employee field as an output field, and calculate the mean value. Enter December 31, 2004 as the data selection period.

History
Last changed by/on SAP  19990520 
SAP Release Created in