This query gives an overview of special events, for example, upcoming birthdays and anniversaries for all team members reporting to a particular manager. The query considers the Calendar month range and whether to include all employees directly or indirectly reporting to a manager. The query displays the upcoming events in a list view and in chronological order. The list includes the employee’s name, the event day, the employee’s new age, the organizational unit, and employee's manager.
This query runs for the maximum selection period of 1 year, that is, if the user enters a period of more than 1 year, the system considers the period as 1 year. For example, the user enters the following time period: January 01, 2011 to August 31, 2012 the time period is only considered for January 01, 2011 to December 31, 2011.
If an event happens after the date a person leaves the company, then that event date is not shown in the query output, even though that event date is within the selection period. For example, if the selection period is January 01, 2011 to December 31, 2011, and an employee leaves the company on the 01.04.2011 and their birthday is 01.06.2011 then that event is not shown in the query output.
The following variables are created for this query:
0H_2OORGUNIT: This is an SAP exit variable. It passes the username of the query to the OHR_PA_6 DataSource. This DataSource gets the users direct and indirect reports.
0S_2ORES_MGR: This is a selection variable. It takes the manager ID as input and gets the direct and indirect reports of that manager within the calendar month range specified.
0P_2OVIEW_ALL: This is an optional selection variable which takes the values TRUE or FALSE. This selection variable acts as a flag that gets either all the manager’s direct and indirect reports, or direct reports only. If the value is TRUE it will get all of the manager’s reports (direct and indirect), and if the value is FALSE then it gets the direct reports only. By default the value for this variable is FALSE.
0S_2OCALMONTH_1: This is a mandatory selection variable, which takes the calendar month ranges and gets all the records within that range, whose Birthday or service anniversary falls in that period.
0S_2OORG_UNIT: This is optional selection variable, which filters the records based on the organizational unit ID submitted.
Note
The 0P_2OMANAGER_2 and 0S_2ORES_MGR variables are mutually exclusive. The 0P_2OMANAGER_2 variable is used in the standard delivery.
Object Type | Name | Technical Name | Value Restriction / Calculation |
|---|---|---|---|
| Personnel Area |
2O0EMPLOYEE=0PERS_AREA |
Selection Option (Optional) |
| Personnel Subarea |
2O0EMPLOYEE=0PERS_SAREA |
Selection Option (Optional) |
| Employee Group |
2O0EMPLOYEE=0EMPLGROUP |
Selection Option (Optional) |
| Employee Subgroup |
2O0EMPLOYEE=0EMPLSGROUP |
Selection Option (Optional) |
| Company Code |
2O0EMPLOYEE=0PA_COMP_COD |
Single Value (Mandatory) |
| View All |
2O0HCM_PA_T03-VIEW_ALL |
Selection Option (Optional) |
| Calendar Month |
2O0HCM_PA_T03-CALMONTH |
Selection Option (Mandatory) |
| Organizational Unit |
2O0ORG_UNIT |
Selection Option (Optional) |
Object Type | Name | Technical Name |
|---|---|---|
| Organizational Unit |
2O0ORG_UNIT |
| Functional Area |
2O0POSITION=0FUNCT_AREA |
| Job |
2O0POSITION=0JOB1 |
| Job Family |
2O0POSITION=0JOB_FAMILY |
| Nationality |
2O0PERSON=0NATION |
| Personnel Area |
2O0EMPLOYEE=0PERS_AREA |
| Personnel Subarea |
2O0EMPLOYEE=0PERS_SAREA |
| Employee Group |
2O0EMPLOYEE=0EMPLGROUP |
| Employee Subgroup |
2O0EMPLOYEE=0EMPLSGROUP |
| Work Contract |
2O0EMPLOYEE=0EMPLCNTRCT |
| Employee Status |
2O0EMPLOYEE=0EMPLSTATUS |
Object Type | Name | Technical Name |
|---|---|---|
| Personnel Subarea |
0S_2OPERSONNEL_SAREA |
| Personnel Area |
0S_2OPERSONNEL_AREA |
| Company Code |
0S_2OCOMP_CODE_2 |
| Employee Group |
0S_2OEMP_GROUP |
| Employee Subgroup |
0S_2OEMP_SUBGROUP |
| View All |
0P_2OVIEW_ALL |
| Manager |
0P_MANAGER |
| Manager (SAP Exit) |
0P_2OMANAGER_2 |
| Calendar Month |
0S_CALMONTH_1 |
| Organizational Unit |
0S_2OORG_UNIT |
Object Type | Name | Technical Name | Value Restriction / Calculation |
|---|---|---|---|
| Employee |
2O0EMPLOYEE |
— |
| Event |
2O0EVENTNAME |
— |
| Event Date |
2O0HCM_PA_T03-EVENT_DATE |
— |
| Service Anniversary/Age |
2O0HCM_PA_T03-NEW_AGE |
— |
| Organizational Unit |
2O0ORG_UNIT |
— |
| Manager of Employee |
2O0MANAGER |
— |