SAP ABAP IMG Activity /MRSS/DPR_EMP_SEARCH (BAdI: Definition of Default Values and Result Filter for Employee Search)
Hierarchy
MRSS_NW (Software Component) SAP Multiresource Scheduling for SAP Net
   PM-WOC (Application Component) Maintenance Processing
     /MRSS/DPR (Package) MRS Interface for Cprojects
IMG Activity
ID /MRSS/DPR_EMP_SEARCH BAdI: Definition of Default Values and Result Filter for Employee Search  
Transaction Code /MRSS/92000242   (empty) 
Created on 20110228    
Customizing Attributes /MRSS/DPR_EMP_SEARCH   BAdI: Definition of Default Values and Result Filter for Employee Search 
Customizing Activity /MRSS/DPR_EMP_SEARCH   BAdI: Definition of Default Values and Result Filter for Employee Search 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /MRSS/DPR_EMPLOYEE_SEARCH    

Use

With this BAdI you can define default values for the employee search and the filtering of results of an employee search.

Requirements

Standard settings

The BAdI provides the following methods:

  • SEARCH_DEFAULTS: This method is used to specify the parameters for the employee search. Values can be specified for the organizational unit, start date, start time, end date, and end time. The duration and the unit of duration are specified using the values in the parameter CS_SEARCH_RESULT.
  • FILTER_SEARCH_RESULT: This method is used to filter the employee search based on the input parameters.
    Input parameters:
    IV_SEARCH_BY_NAME        /MRSS/T_BOOLEAN
    IV_SEARCH_ORG_UNIT        HROBJID
    IV_RESPONSIBLE_ORG_UNIT    HROBJID
    CT_RESULT                /MRSS/T_DPR_RANK_MATCH_FRS_TAB
    CT_RESULT_BP                /MRSS/T_SGW_COMM_QUALF_TAB

    The parameter IV_SEARCH_BY_NAME is set to X when the first or last name is entered on the employee search screen.
    The parameter IV_SEARCH_ORG_UNIT contains the organizational unit that was entered on the employee search screen.
    The parameter IV_RESPONSIBLE_ORG_UNIT contains the organizational unit if it was specified at header level when creating the cProject.
    The filtered results are returned in CT_RESULT when SAP Multiresource Scheduling resources are used.
    The filtered results are returned in CT_RESULT_BP when HR qualifications are used.
  • TOP_PLANNING_NODE: This method is used to get the uppermost level of the resource planning node. The output parameter returns the uppermost level resource planning node to be considered for the employee search when the resource planning node is not entered on the employee search screen.

Activities

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

Example

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20130123 
SAP Release Created in 800