Ansicht
Dokumentation

FMDM_USMD_UI_EVENT2 - BAdI: Adjust User Interface for Single Processing

FMDM_USMD_UI_EVENT2 - BAdI: Adjust User Interface for Single Processing

General Material Data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

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 using the Web Dynpro application USMD_ENTITY_VALUE2. 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

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

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.

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.

If you want to create a customer-specific BAdI implementation for the same filter value (UICONFIGURATION = MDG_BP_SUPPLIER_APPL), deactivate the BAdI implementation MDG_UI_EVENT_SUPPLIER before activating the customer-specific BAdI implementation.

If you want to mostly retain the function of the BAdI implementation MDG_UI_EVENT_SUPPLIER as delivered by SAP, and want to ensure that you receive corrections from SAP Notes, you can derive a customer-specific implementing class from implementing class CL_MDG_BS_UI_EVENT_SUPPLIER and redefine methods as required.

If you have copied the UI configuration with the filter value MDG_BP_SUPPLIER_APPL and changed the copy, we recommend you also copy the delivered enhancement implementation and change the filter value in the copy of the enhancement accordingly.

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.

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






General Material Data   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 3816 Date: 20240523 Time: 192451     sap01-206 ( 111 ms )