SAP ABAP IMG Activity MDG_IDM_BADI_01 (BAdI: Determination of Local System Name)
Hierarchy
SAP_BS_FND (Software Component) SAP Business Suite Foundation
   CA-MDG-KM (Application Component) Key Mapping
     MDG_BS_ID_MATCHING_TOOLS (Package) MDG Key Mapping: Tools
IMG Activity
ID MDG_IDM_BADI_01 BAdI: Determination of Local System Name  
Transaction Code S_BTD_53000110   (empty) 
Created on 20090917    
Customizing Attributes MDG_IDM_BADI_01   BAdI: Determination of Local System Name 
Customizing Activity MDG_IDM_BADI_01   BAdI: Determination of Local System Name 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name MDG_IDM_GET_LCL_SYSTEM    

Use

This Business Add-In (BAdI) is used in the key mapping API (CA-MDP-IDM) component.

You use this BAdI to change the default logic used to determine the local system ID. You can only implement this BAdI once, before you start creating key mapping data.

Requirements

To prevent the corruption of key mapping data, you must use the same logic to determine system IDs from the very beginning.

  • Do not implement this BAdI if you have previously implemented and activated your own logic for determining a system ID.
  • Do not implement this BAdI if you have generated key mapping data already, because the system has already used its default logic to determine the system ID.

Standard settings

  • In the standard system, there is no activated BAdI implementation.
  • The BAdI is designed to be used only once.
  • If no active BAdI implementation is found, the system uses the following default logic.
    1. The key mapping API tries to determine the local system ID from the System Landscape Directory (SLD), by calling the function module LCR_GET_OWN_BUSINESS_SYSTEM.
    2. The function module LCR_GET_OWN_BUSINESS_SYSTEM tries to determine the local system ID by looking up local cache table of the SLD.
    3. If the function module succeeds in determining the local system ID, it is able to return the key name of a business system. The Key Mapping API uses this value as the local system ID.
    4. If the function module fails in determining the local system ID, exception CX_MDG_LCL_BUS_SYS_NOT_FOUND is raised.

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

See also

This BAdI uses the interface IF_MDG_IDM_GET_LCL_SYSTEM. For more information, display the interface in the Class Builder.

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  20110713 
SAP Release Created in 702