SAP ABAP IMG Activity SIMGH_OHINF_SEL1 (Define Selection IDs)
Hierarchy
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
   PA-OS (Application Component) Organizational Structure
     PP0C (Package) Organization and Planning - Customizing
IMG Activity
ID SIMGH_OHINF_SEL1 Define Selection IDs  
Transaction Code S_AHR_61016721   (empty) 
Created on 19990323    
Customizing Attributes SIMGH_OHINF_SEL1   Specify Groupings 
Customizing Activity SIMG_OHINF_SEL1M   Define Selection IDs 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_OHINF_SEL1D    

This activity enables you to define selection IDs.

If you require an overview of selection IDs, see the superordinate Selection IDs node.

Example

Example of a Selection ID Based on a Table With a Defined Range

In the following example, you define a selection ID that lists all of the persons from Paris who are between 30 and 40 years old.

First, the following selection ID must be defined:

(As seen in the "Table" view)

Selection ID    No.    No.    Tr.cl.    IType    Fld ty.    Field name
Table sel        1    1    -        0006            ORT01 (=city)
Table sel        1    2    -        0002    AF        LEBALTER (age of EE)

In the second step, ranges must be defined for these selection IDs:

(As seen in the "Ranges" view)

Selection ID    No.    No.    No.    I/E    Opt.    Sel.val.    Sel.val.
Table sel        1    1    1    I    EQ        Paris
Table sel        1    2    1    I    BT        30            40

Example of a Selection ID Based on Structural Reporting

(As seen in the "Structure" view)

The following selection ID lists all of the persons assigned directly to organizational unit 5000, and all of the persons assigned to subordinate organizational units.

Selection ID    Ser.no.    PV    OT    Object ID    EP        SV    TD    Period
Structure sel        1    01    O    5000        O-S-P    12    0    All

Note for Selection IDs With Customer-Defined Function Module

If you create your own function module for a selection ID, it requires that a standard interface be used. You can take the standard interface from the HRCM_OWN_ORGUNIT_EMPL_GET standard function module.

Example of a Combination of Selection IDs

The following selection ID lists all of the persons who belong to organizational unit 5000 and who are assigned to company code 01.

Selection ID 1 (table with range)

Selection ID    No.    No.    Tr.cl.    IType    Fld ty.    Field name
Combi sel        1    1    A        0001            BUKRS(=company code)

Range:

Selection ID    No.    No.    No.    I/E    Opt.    Sel.val.    Sel.val.
Combi sel        1    1    1    I    EQ        01

Selection ID 2 (structure)

Selection ID    Ser.no.    PV    OT    Object ID    EP        SV    TD    Period
Structure sel        1    01    O    5000        O-S-P    12    0    All

Both selection IDs are now related to selection ID 3.

Selection ID    No    No    Sel.ty.    Op.    No    Sel.ty.    OT
Combi sel    C    1    1    S        +    1    A        P

Activities

Defining Selection IDs

  1. Choose the Selections view.
  2. Choose New entries.
  3. Enter a name in the Selection ID and Selection text fields. To further define the selection ID, the name in the Selection ID field must be used. The name in the Selection text field is used when the selection ID is used in the application (when input help is executed, for example).
  4. Save your entry.
  5. Select the selection ID that you created.
  6. Choose the required view (structure, table, function).
  7. Choose New entries.
  8. In the Selection ID field, enter the selection ID.
  9. Make the required entries in the following fields. Use the examples to help you enter the correct data.
  10. If you define a selection ID based on a table, you can now enter the ranges.
    1. To do so, choose the Ranges view.
    2. Choose New entries.
    3. In the Selection ID field, enter the selection ID. Make the required entries in the following fields.
  11. Save your entries.

Business Attributes
ASAP Roadmap ID 207   Establish Reporting 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
HR_SELECTIONS C - View cluster SM34  
History
Last changed by/on SAP  20050602 
SAP Release Created in