SAP ABAP IMG Activity /MRSS/NW_SEARCH_ALG (BAdI: Search Algorithm for Access to Customizing Tables)
Hierarchy
MRSS_NW (Software Component) SAP Multiresource Scheduling for SAP Net
   CA-MRS (Application Component) SAP Multiresource Scheduling
     /MRSS/NW_MIRROR (Package) Mirror customizing package
IMG Activity
ID /MRSS/NW_SEARCH_ALG BAdI: Search Algorithm for Access to Customizing Tables  
Transaction Code /MRSS/92000392   (empty) 
Created on 20130830    
Customizing Attributes /MRSS/NW_SEARCH_ALG   BAdI: Search Algorithm for Access to Customizing Tables 
Customizing Activity /MRSS/NW_SEARCH_ALG   BAdI: Search Algorithm for Access to Customizing Tables 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /MRSS/NW_SEARCH_ALG    

Use

You use this Business Add-In (BAdI) to change the search algorithm used to access the mirrored Customizing tables that control integration in SAP Multiresource Scheduling.

This BAdI is only relevant if the following applies:

  • You are running SAP Multiresource Scheduling in a multi back-end system scenario.
  • You want to mirror Customizing tables using the Customizing Mirror report (/MRSS/NW_MIRROR_CUSTOMIZING).

This BAdI provides the following methods:

  • ACCESS_RSG_CTRL

    This method reads table /MRSS/M_RSG_CTRL, which is a copy of Customizing table /MRSS/C_RSG_CTRL, and determines the corresponding values.

  • ACCESS_AUT_ASGN

    This method reads table /MRSS/M_AUT_ASGN (copy of Customizing table /MRSS/C_AUT_ASGN) and and determines the corresponding values.

  • CHECK_SELF_PLAN
  • ACCESS_ROLE

    This method reads table /MRSS/M_MAPROLE (copy of Customizing table /MRSS/M_MAPROLE) and determines the corresponding values.

  • ACCESS_STATUS

    This method reads table /MRSS/M_MAPSTAT (copy of Customizing table /MRSS/C_MAPSTAT) and determines the corresponding values.

  • ACCESS_STATUS_TYPE

    This method reads table /MRSS/M_MAPSTAT (copy of Customizing table /MRSS/C_MAPSTAT) and determines the corresponding values.

  • ACCESS_STAT_CTR

    This method reads table /MRSS/M_STAT_CTR (copy of Customizing table /MRSS/C_STAT_CTR) and determines the corresponding values.

  • ACCESS_TRV_TIME

    This method reads table /MRSS/M_TRV_TIME (copy of Customizing table /MRSS/C_TRV_TIME) and determines the corresponding values.

  • ACCESS_AVAIL_CR

    This method reads table /MRSS/M_AVAIL_CR (copy of Customizing table /MRSS/C_AVAIL_CR) and determines the corresponding values.

  • ACCESS_PREV_DEL

    This method reads table /MRSS/M_PREV_DEL (copy of Customizing table /MRSS/C_PREV_DEL) and determines the corresponding values.

  • READ_CUSTOMIZING

    This method reads the various mirrored tables with a key and returns the corresponding record. It internally uses different methods of BAdI /MRSS/NW_SEARCH_ALG based on the required configuration data.

  • GET_RELEVANT_STATUSES

    This method returns all statuses that are relevant based on the selection criteria. The selection criteria are the plant, the sales organization, and the order type.

    If the order type is not specified, the method returns the status entries that are relevant for all orders.

Requirements

Standard settings

SAP provides the following default implementation:

  • /MRSS/BADI_IMP_NW_SEARCH_ALG

    The default implementation uses the following logic to access the mirrored tables and to determine the corresponding values:

    • The tables are accessed from right to left, that is, from the more precise entry (fully qualified key) to the less precise entry.
    • Note that if the system cannot find an entry, it does not necessarily issue an error message since integration is not prevented.
    • The system calls the methods when an order is saved and transferred to SAP Multiresource Scheduling.

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).

Activities

Example

See also

For more information about implementing BAdIs as part of the Enhancement Framework, see SAP Library for SAP NetWeaver Platform on SAPHelp Portal at http://help.sap.com/nw_platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework.

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 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG /MRSS/NW_SEARCH_ALG 0 /MRSS/WFF0000002 SAP Multiresource Scheduling 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20130830 
SAP Release Created in 900