SAP ABAP IMG Activity FMDM_USMD_UI_EVENT2 (BAdI: Adjust User Interface for Single Processing)
Hierarchy
MDG_FND (Software Component) MDG Foundation
   CA-MDG-AF (Application Component) Application Framework
     USMD2_MAIN (Package) Main objects of generic MDG UIs
IMG Activity
ID FMDM_USMD_UI_EVENT2 BAdI: Adjust User Interface for Single Processing  
Transaction Code S_BTD_53000058   (empty) 
Created on 20090422    
Customizing Attributes FMDM_USMD_UI_EVENT   BAdI: Adjust User Interface for Single Processing 
Customizing Activity FMDM_USMD_UI_EVENT2   BAdI: Adjust User Interface for Single Processing 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name USMD_UI_EVENT2    

Use

This Business Add-In (BAdI) is used in the Master Data Governance (CA-MDG) component.

You can use this BAdI to modify the user interface in single processing of an entity. You can customize the user interface as follows:

  • Adjust the definition of attributes or add new attributes
  • Initialize the displayed data (when creating a new entity, for example)
  • Restrict the values displayed in a dropdown box or selection field group
  • Restrict the values displayed in the input help
  • Dynamically control the visibility of fields on the user interface and of the property that determines if fields are required or display-only
  • Define navigation destinations of UI elements of the type hyperlink (or pushbutton)
  • Check if the lead selection of a table may be changed

Requirements

You have created a data model and a related UI configuration.

Standard settings

In the standard system, there is no activated BAdI implementation.

The BAdI is filter-dependent. Create a separate implementation for each UI configuration. In the BAdI filter, you also can specify multiple UI configurations for a BAdI implementation.

The BAdI is not designed for multiple use.

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.

If you want to add a row or delete a row in a list, you need to trigger the SAP events USMD_TABLE_ADD_LINE and USMD_TABLE_DEL_LINE on the basis of your own events. You can react on your own events in the interface implementation IF_EX_USMD_UI_EVENT2~MODIFY_VIEW, for example.

  • If you want to add a row, then you need to assign your event to the SAP event USMD_TABLE_ADD_LINE.
  • If you want to delete a row, then you need to assign your event to the SAP event USMD_TABLE_DEL_LINE.

Example

See also

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

Business Attributes
ASAP Roadmap ID 203   Establish Master Data 
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  20091013 
SAP Release Created in 702