SAP ABAP Data Element HRWPC_OBJSELFUNCTION (Function Module for Object Selection)
Hierarchy
SAP_HRGXX (Software Component) Sub component SAP_HRGXX of SAP_HR
   EP-PCT-MGR-HR (Application Component) Business Package for Manager Self-Service (HR)
     PWPC_MAN_TEAMOVERVIEW (Package) PWPC_MAN_TEAMOVERVIEW
Basic Data
Data Element HRWPC_OBJSELFUNCTION
Short Description Function Module for Object Selection  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type FUNCNAME    
Data Type CHAR   Character String 
Length 30    
Decimal Places 0    
Output Length 30    
Value Table TFDIR    
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 Funct.Name 
Medium 15 FunctnModulName 
Long 20 Function Module 
Heading 30 Function Module Name 
Documentation

Definition

Use

To enable the Object and Data Provider to display an organizational structure view, it must first determine the relevant objects. Therefore, you must define an object selection that is composed of object selection rules or a class for an object search. An object selection rule comprises an evaluation path together with an evaluation depth or a function module for determining objects.

In this field, you store the name of the function module that can be used as opposed to the evaluation path to determine the relevant objects. Depending on the type of rule, you can use one of the following function modules as the basis for creating a function module of your own:

  • Rules for determining root objects: HRWPC_PATHROOTS
  • Rules for determining navigation or target objects: HRWPC_ EVAL_PATH

Dependencies

Example

As standard, a rule for selecting root objects should comprise an evaluation path that determines the organizational units for which the manager holds the chief position.

Alternatively, you can store a function module that you have created as a copy of the function module HRWPC_PATHROOTS and that determines the required root objects.

History
Last changed by/on SAP  20041209 
SAP Release Created in 2005_1_500