Show TOC

Reminder of Dates Locate this document in the navigation structure

Query Query: 0HCM_PA_T03_Q0001

 

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.

Variables Created

The following variables are created for this query:

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 0S_2OORG_UNIT: This is optional selection variable, which filters the records based on the organizational unit ID submitted.

Note Note

End of the note.

The 0P_2OMANAGER_2 and 0S_2ORES_MGR variables are mutually exclusive. The 0P_2OMANAGER_2 variable is used in the standard delivery.

Structure

Filters

Object Type

Name

Technical Name

Value Restriction / Calculation

Characteristic Characteristic

Personnel Area

2O0EMPLOYEE=0PERS_AREA

Selection Option (Optional)

Characteristic Characteristic

Personnel Subarea

2O0EMPLOYEE=0PERS_SAREA

Selection Option (Optional)

Characteristic Characteristic

Employee Group

2O0EMPLOYEE=0EMPLGROUP

Selection Option (Optional)

Characteristic Characteristic

Employee Subgroup

2O0EMPLOYEE=0EMPLSGROUP

Selection Option (Optional)

Characteristic Characteristic

Company Code

2O0EMPLOYEE=0PA_COMP_COD

Single Value (Mandatory)

Characteristic Characteristic

View All

2O0HCM_PA_T03-VIEW_ALL

Selection Option (Optional)

Characteristic Characteristic

Calendar Month

2O0HCM_PA_T03-CALMONTH

Selection Option (Mandatory)

Characteristic Characteristic

Organizational Unit

2O0ORG_UNIT

Selection Option (Optional)

Free Characteristics

Object Type

Name

Technical Name

Characteristic Characteristic

Organizational Unit

2O0ORG_UNIT

Characteristic Characteristic

Functional Area

2O0POSITION=0FUNCT_AREA

Characteristic Characteristic

Job

2O0POSITION=0JOB1

Characteristic Characteristic

Job Family

2O0POSITION=0JOB_FAMILY

Characteristic Characteristic

Nationality

2O0PERSON=0NATION

Characteristic Characteristic

Personnel Area

2O0EMPLOYEE=0PERS_AREA

Characteristic Characteristic

Personnel Subarea

2O0EMPLOYEE=0PERS_SAREA

Characteristic Characteristic

Employee Group

2O0EMPLOYEE=0EMPLGROUP

Characteristic Characteristic

Employee Subgroup

2O0EMPLOYEE=0EMPLSGROUP

Characteristic Characteristic

Work Contract

2O0EMPLOYEE=0EMPLCNTRCT

Characteristic Characteristic

Employee Status

2O0EMPLOYEE=0EMPLSTATUS

Variables

Object Type

Name

Technical Name

Variable Variable

Personnel Subarea

0S_2OPERSONNEL_SAREA

Variable Variable

Personnel Area

0S_2OPERSONNEL_AREA

Variable Variable

Company Code

0S_2OCOMP_CODE_2

Variable Variable

Employee Group

0S_2OEMP_GROUP

Variable Variable

Employee Subgroup

0S_2OEMP_SUBGROUP

Variable Variable

View All

0P_2OVIEW_ALL

Variable Variable

Manager

0P_MANAGER

Variable Variable

Manager (SAP Exit)

0P_2OMANAGER_2

Variable Variable

Calendar Month

0S_CALMONTH_1

Variable Variable

Organizational Unit

0S_2OORG_UNIT

Rows

Object Type

Name

Technical Name

Value Restriction / Calculation

Characteristic Characteristic

Employee

2O0EMPLOYEE

Characteristic Characteristic

Event

2O0EVENTNAME

Characteristic Characteristic

Event Date

2O0HCM_PA_T03-EVENT_DATE

Characteristic Characteristic

Service Anniversary/Age

2O0HCM_PA_T03-NEW_AGE

Characteristic Characteristic

Organizational Unit

2O0ORG_UNIT

Characteristic Characteristic

Manager of Employee

2O0MANAGER