Show TOC

Procedure documentationOverriding Standard Attributes with Customer-Specific Attributes Locate this document in the navigation structure

 

You can use this procedure to override attributes delivered by SAP with customer-specific fields that you want to display on the UI. The following two situations are supported:

  • It is sufficient for your purposes to hide attributes delivered by SAP in UI modeling and display derived data in a customer-specific attribute. You use a Business Add-In (BAdI) to create your customer-specific attribute.

  • If you want to add new fields, for example, to the staging area, and you want to be able to later change these fields, you need to add the new attributes in data modeling. This is the only you can derive the changed values from standard SAP attributes from input data. For more information, see Adding New Attributes to Standard Entity Types.

Prerequisites

You edit the attributes in Customizing for Master Data Governance under   General Settings  . The paths specified below are also relative to this Customizing.

Procedure

  1. You configure the UI modeling as follows:

    1. Under   UI Modeling   Business Add-Ins   BAdI: Adjust User Interface for Single Processing   (BAdI USMD_UI_EVENT2), create customer-specific attributes with the BAdI:

      • To change field properties, use method MODIFY_VIEW.

      • To add new fields to the data model and assign events to them, use method MODIFY_DEFINITION.

      • To process these events, use method PROCESS_EVENT.

    2. In the UIBB configuration settings under   UI Modeling   Edit UI Configuration   (Web Dynpro application USMD_UI_CONFIGURATION), display the customer-specific attributes and remove the fields that you want to hide.

  2. If you have added new fields or attributes, configure the settings for validation and derivation (optional). For more information, see Adding New Attributes to Standard Entity Types.

  3. (Optional) Configure an enhancement for print forms using a Business Add-In under   UI Modeling   BAdI: Change Data to Be Printed   (BAdI USMD_PRINT_FORM).