Creating Employee Selections in TMW

Objective

After completing this lesson, you will be able to create a user-specific selection list for a specific group of employees

Employee Selection in TMW

In the profile, you specify which employee selections are valid when the TMW is accessed using this profile.​

​In a standard employee selection, you can specify either a user-dependent group or a group available for all users. If you want your time administrators to be able to create their own employee selections, you must set up a corresponding group for interactive selection.

The entries for the person selection period are required to determine whether or not, and up to what point of time in the past, the system displays employees who are no longer assigned to the time administrator or who have left the company.

The person selection period also determines whether or not, and up to what point in time in the future, the system displays employees who are to be hired at a future date or will be assigned to that time administrator in the future.

The person selection period is calculated on the basis of the respective initial period. If you do not specify an entry in the Person Selection Period Relative to Initial Period screen area, the system selects the employee list for the period that you defined as the initial period. If you specify an entry in the Person Selection Period Relative to Initial Period screen area, the person selection period is extended backwards from the start date of the initial period into the past, or from the end date of the initial period to a future date.

Employee List Customizing – Standard Selection (1)

The standard selection is used to determine the employee selections available to time administrators in the Employee List screen area. The individual employee selections are defined using selection IDs.

In the standard selection, several employee lists (selection IDs) can be made available to the time administrators. You do this by grouping the selection IDs.

In a grouping, you can indicate whether an individual selection ID is user-specific or is available to all users. User-specific selection IDs are only valid for the user entered; user-independent selection IDs are valid for all users.

Employee List Customizing - Standard Selection (2)

Selection IDs are also used in various areas of HR to simplify the grouping together of objects for selection purposes. Selection IDs can be defined based on infotype tables, structure reports, or special function modules. These three types of selection IDs can be combined in any way you require.

To define a selection ID based on a table, you can use the following types of fields:

  • Infotype fields
  • Additional fields
  • Text fields
  • Fields specific to SAP Query (additional fields, additional table fields, and alias table fields).

You can also define ranges that restrict the number of objects to be processed for selection IDs based on tables.

Selection IDs based on a structure correspond to a structural evaluation. A start object and an evaluation path are used to determine the personnel numbers.

Selection IDs based on a function use a function module to collect the data.

Note

The selection based on the time administrator’s ID is included in the standard system.

Employee Lists – Interactive Selection

Using the interactive employee selection function, time administrators can create their own employee lists according to specified criteria.

To do so, they must have a group for interactive selection in the profile that they use to access the TMW.

An infoset and optional selection IDs can be stored in a group for interactive selection. Time administrators can create their own employee selection using the criteria of the infoset and any specified selection IDs (templates).

An infoset provides time administrators with additional selection criteria (fields) to create their own employee selection. If time administrators want additional employee lists (selection IDs) as templates for their own selections, then the corresponding selection IDs must be stored in the group for interactive selection. The standard system contains the group TMW_INTERACTIVE with the infoset /SAPQUERY/HR_XX_PT_TMW.

Create Employee Selections in TMW

Business Example

A variety of tasks are performed by time administrators in your company. By using different profiles, you can set up the TMW to meet the requirements of each time administrator. You must set up a user-specific selection to enable time administrators to complete time activities for employees in their specific personnel subarea.

Check the user-independent selection stored in your profile Z_##_TIME_AD (## = your group number) and create a user-specific selection to select all employees in the personnel subarea TP##.

Steps

  1. Check the user-independent standard selection stored in your profile Z_##_TIME_AD.

    1. In Customizing, choose Time ManagementTime Manager’s WorkplaceEmployee SelectionAssign Employee Selection to Profiles.

    2. On the Change View Time Manager’s Workplace Profile Settings: Overview screen, choose  your profile Z_##_TIME_AD and then choose the Details pushbutton.

  2. Which selection IDs are assigned? 

    1. On the Settings tab page, scroll to the Employee Selection screen area. In the Standard Selection Using Selection Criteria screen area, enter Z_USER_S4HR36 in the User-specific selections according to group field.

      Note

      Z_TMW_S4HR36 should already be assigned as the multiple-user selection according to group. This was part of your profile copy.
    2. Choose the Enter pushbutton and save your entries.

    3. To check which selection IDs are assigned to this group, in Customizing, choose Time ManagementTime Manager’s WorkplaceEmployee SelectionDefine Groupings.

  3. Review the selection IDs assigned to the group view for your profile.

    1. On the Change View "Groups": Overview screen, choose the Z_TMW_S4HR36 group and then double-click the Grouping option in the Dialog Structure to the left of the screen.

    2. Verify that the following selection IDs are already assigned:

      GroupUserSeq. no.Sel.ID
      Z_TMW_S4HR36 001Z_S4HR36_PERNR
      Z_TMW_S4HR36 002TMW_TIME_AD

      The selection ID Z_S4HR36_PERNR was created specifically for the S4HR36 course. Personnel numbers from 30699400 - 30699404 are included in the selection.

      Selection ID TMW_TIME_ADMIN is included in the standard system. It is used to select all the employees who are assigned to an administrator by means of the administrator ID in the Time field of the Organizational Assignment infotype (0001).

  4. Create the selection ID Z_## to select all employees in the personnel subarea TP##.

    1. In Customizing, choose Time ManagementTime Manager’s WorkplaceEmployee SelectionDefine Selection IDs.

    2. On the Change View "Selections": Overview screen, choose the New Entries pushbutton.

    3. On the New Entries: Overview of Added Entries screen, enter the following data:

      Selection ID Selection text
      Z_##Selection by personnel subareaTP##
    4. Choose the Enter pushbutton to confirm your entries and then save your data.

    5. Select your new entry and double-click the Table option from the Dialog Structure in the screen area to the left.

    6. On the Change View Table: Overview screen, choose the New entries pushbutton and enter the following data:

      Sel.IDSeq. no.Seq. no.Obj.classInfotypeField nameField type
      Z_##11Persons0001BTRTLInfotype field
      No entries are required in the other remaining fields.

    7. Save your entries.

    8. On the New Entries: Overview of Added Entries screen, choose your new entry and double-click the Ranges option from the Dialog Structure in the left screen area.

    9. Choose the New Entries pushbutton and enter the following data:

      Selection IDNo.No.No.INCL/EXCLOptionSelection value
      Z_##111IEQTP##
      No entries are required in the other remaining fields.

    10. Save your entries and return to the main Customizing screen.

  5. Assign selection ID Z_## to the group Z_USER_S4HR36 for your own user, S4HR36-##.

    1. In Customizing, choose Time ManagementTime Manager’s WorkplaceEmployee SelectionDefine Groupings.

    2. On the Change View Groups: Overview screen, choose group Z_USER_HR306, and then choose the Grouping option in the left screen area in the Dialog Structure

    3. On the Change View Grouping: Overview screen, choose the New Entries pushbutton and enter the following data:

      GroupUserSeq. no.Sel.ID
      Z_USER_S4HR36S4HR36-##enter any numberZ_##
    4. Save your entries and return to the main Customizing screen.

  6. Assign the new user-specific selection to your profile.

    1. In Customizing, choose Time ManagementTime Manager’s WorkplaceEmployee SelectionAssign Employee Selection to Profiles.

    2. On the Change View Time Manager’s Workplace: Profile Settings Overview screen, choose your profile Z_##_TIME_AD and then choose the Details pushbutton.

    3. The Change View Time Manager’s Workplace: Profile Settings: Details screen is displayed. In the Employee Selection screen area, enter the following data in the Standard selection using  selection criteria screen area:

      User-specific selections according to group: Z_USER_S4HR36.

    4. Save your entries and return to the main Customizing screen.