Defining Search Nodes

Objective

After completing this lesson, you will be able to add search nodes to the structure to enable customized searches

Search Nodes on the Organization and Staffing Interface

You can enhance the object manager by adding and adjusting a search node in the table T77FSEAN. You use table T77FSEAN to control how a search node is displayed. The search node itself is a group of search tools in the search area of the object manager. A search node can be based on an object type in table T778O (for example, the basic object types from Organizational Management (OM)), or it can be independent of object types (for example, you can create a search node Search for Last-Used Objects with the appropriate search tools).

A search node can refer to an object type and, has a name and an icon.

The name and the icon are displayed in the search area of the object manager. If the search node refers to an object type, and if you do not enter another name or icon in the table for defining search nodes (T77FSEAN), the object manager uses the name and the icon of the object type from table T778O when displaying the search node.

Note

If the user parameter OM_OBJM_SCEN_DISPLAY is set, the search area displays the object manager scenario that is active in a transaction.

Selection Area on the Organization and Staffing Interface

For the new object manager scenario you want to create, after you have defined your own search node, you must specify how the object manager displays in search node. To do this, you first have to specify the corresponding search tools.

The search tools you select determine how the system searches for a particular object.

You are already familiar with the following search tools:

  • The search for a search term (CL_HROM_SEARCHTOOL_ORGP)
  • The free search (CL_HR_ST_ADHOC_SELECTION)
  • The structure search (CL_HR_OM_SEAT_STRUCTUAL_SEARCH)

In the standard system, these search tools are used for various object types in the object manager on the Organization and Staffing interface. In Customizing, you name your search tool and specify its horizontal position, that is, its position in the sequence with the other search tools.

In this Customizing activity, you specify the type of interaction tool. In other words, you specify which actions a user can perform for the search hits displayed in the selection area, the result of these actions, or how the system responds to user actions such as double-click, right-click, and drag and drop.

Note

Search tools and interaction tools are implemented as an ABAP object class.

Structure Search in the Object Manager

For each structure search in the object manager and in the input help, you need an evaluation path. You can use an existing evaluation path or define a new evaluation path for the structure search in the object manager.

The system determines the evaluation path from table T77OS. You can store an existing evaluation path there or create a new one in advance.

For the free search, you need an lnfoSet that contains the data fields and object type you require. If you want to enhance the data model by adding your own object types and relationships, you must first generate an lnfoSet. You define lnfoSets in transaction SQ02.

You can store the InfoSet for your free search in Customizing, by choosing Personnel ManagementOrganizational ManagementHierarchy FrameworkAssign InfoSets to Object Types.

Customize the Object Manager

Business Example

As an organizational management specialist, you are required to maintain and manage the training groups by using the Organization and Staffing Interface. You can perform this task by making your new object type available in the object manager.

Add your object type to the object manager and enter the required information.

Steps

  1. In your company, you have divided the employees into several training groups. You want to promote the development of these groups by using different personnel development measures. You maintain and manage the groups by using the Organization and Staffing Interface, and must make your new object type available in the object manager. To add your object type ## to the object, use the data provided in the following table:

    Field Name or Data TypeValues
    Search Node KeyZ_TGRP_##
    NameSearches for Object Type ##
    Obj. Type##
    Icon nameICON_PARTNER
    1. Add your object type ## to the object manager using the data provided in the table.

    2. In Customizing, choose Personnel ManagementOrganizational ManagementHierarchy FrameworkObject ManagerDefine Your Own Search Node.In the Information dialog box, choose Continue.

    3. In the Dialog Structurecolumn, double-click Definition of Search Node.

    4. Choose the New Entries pushbutton to create a search node for your object type ##.

    5. Enter the data provided in the table.

    6. Save your data and return to Customizing.

      Result

      Note

      If you receive a Customizing request, choose Create. In the description field, enter your group number and Save. Choose Continue to exit the transport request.

Add a Search Node to the Organization and Staffing interface

Business Example

As a personnel administrator, you have to ensure that the new personnel development concept with training groups is represented on the Organization and Staffing interface in the hierarchy framework. To do so, you need to set up search tools to create search nodes as per your requirements.

Set up search tools in a scenario to create 2 searches, and add your node with the 2 searches into a folder. Create a root Training Group and a new structure for your object type. Add 2 subordinate Training Groups to the root Training Group, and test your configuration on the Organization and Staffing interface.

Steps

  1. For your search node, set up the search tools Search Term and Structure Search in the scenario OMEOO0. Use the data provided in the tables to set up your two new search entries.

    Enter the following data:

    Field Name or Data TypeValues
    Obj. Manager ScenarioOMEOO0
    Search Node KeyZ_TGRP_##
    Search toolCL_HR_OM_SEARCHTOOL_ORGP
    Name## Search Term
    Interaction toolCL_HR_OM_IAT_ORGP
    Position2
    Standard searchX
    Column groupNF_STO
    Header typeORGSTRUC
    Field Name or Data TypeValues
    Obj. Manager ScenarioOMEOO0
    Search Node KeyZ_TGRP_##
    Search toolCL_HR_OM_SEAT_STRUCTUAL_SEARCH
    Name## Structure Search
    Interaction toolCL_HR_OM_IAT_ORGP
    Position1
    Standard search
    Column groupNF_STO
    Header typeORGSTRUC
    1. In Customizing, choose Personnel ManagementOrganizational ManagementHierarchy FrameworkIntegrate New Object TypeAdd Object Type to Object Manager.

    2. In the Choose Activity dialog box, select Assign Search Tools to Your Own Search Node and choose Continue.

    3. Choose the New Entriespushbutton.

    4. Enter data provided in the table.

    5. Save your entries.

    6. Repeat the process for the second search tool using the data provided in the table.

  2. Add your node with the 2 searches into a folder that will display on the Organization and Staffing interface (transaction code PPOME).

    Use the data provided in the following table:

    Obj. Manager ScenarioSearch Node KeyNamePositionColumn groupColumn header type
    OMEOO0Z_TGRP_##Training Group ####NF_STOORGSTRUC
    1. In Customizing, choose Personnel ManagementOrganizational ManagementHierarchy FrameworkIntegrate New Object TypeAdd Object to Object Manager.

    2. In the Choose Activity dialog box, choose Adjust Search Area.

    3. Choose New Entriespushbutton.

    4. Enter the data provided in the table.

    5. Save your entries.

  3. Test your configuration changes. Your folder with the 2 searches is now visible on the Organization and Staffing interface (transaction code PPOME).

    1. On the SAP Easy Access screen, choose Human ResourcesOrganizational ManagementOrganizational PlanOrganization and StaffingChange. Your new entries are displayed in the Find By screen area.

    2. You can now see your folder titled – Training Group ##.

    3. Open your folder and you can see your two search tools ## Structural Search and ## Search Term.

    4. Return to the SAP Easy Access screen.

  4. You would like to further organize your training groups. Create your new structure for object type ##, which will be your root training group.

    Enter the data from the following table for your structure:

    Object TypeAbbreviationNameEvaluation PathValidity period
    #### TG## My Root Training GroupZ_##_##01.01 of the current year to 12.31.9999
    1. On the SAP Easy Access screen, choose Human ResourcesOrganizational ManagementOrganizational PlanGeneral StructuresCreate (PPSC).

    2. Enter the data provided in the table for your structure.

    3. Choose the Createpushbutton.

    4. Return to the SAP Easy Access screen.

  5. From your root training group, create 2 subordinate training groups using the data provided in the table.

    Abbr.Name
    ## TG1## TGrp 1 SAP Payroll
    ## TG2## TGrp 2 SAP Benefits
    1. On the SAP Easy Access screen, choose Human ResourcesOrganizational ManagementOrganizational PlanGeneral StructuresChange (PPSM).

    2. Your object type ## defaults with the evaluation path Z_##_##.

    3. Press ENTER.

    4. Place the cursor on your ## My Root Training Group and choose the Createpushbutton.

    5. Enter data provided in the table.

    6. Choose Save.

  6. Test your configuration on the Organization and Staffing interface and review your new training group search options.

    ## My Root Training Group
    Below your ## Training Group, you can see:
    ## TGrp 1 SAP Payroll
    ## TGrp 2 SAP Benefits
    Training Group ##
    1. On the SAP Easy Access screen, run the transaction PPOME.

    2. In the object manager Find By section, you can see your folder – Training Group ##.

    3. Open your folder, and you can see ## Structure Search and ## Search Term.

    4. Double-click your ## Structure Search and you can see the following in the hit list area:

      ## My Root Training Group
      Below your ## Training Group, you can see:
      ## TGrp 1 SAP Payroll
      ## TGrp 2 SAP Benefits
      Training Group ##
    5. Choose ## Search Term.

    6. In the Find Training Group dialog box, choose the Findpushbutton.

    7. You can see the following in the Hit list:

      Training Group ##
      ## My Root Training Group
      ## TGrp 1 SAP Payroll
      ## TGrp 2 SAP Benefits