Ansicht
Dokumentation

MDG_IDM_BADI_01 - BAdI: Determination of Local System Name

MDG_IDM_BADI_01 - BAdI: Determination of Local System Name

BAL Application Log Documentation   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

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, beforeyou start creating key mapping data.

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.
  • 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_FOUNDis raised.

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

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






Addresses (Business Address Services)   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 2801 Date: 20240523 Time: 193925     sap01-206 ( 92 ms )