Explaining User Interface Modeling in MDG

Objective

After completing this lesson, you will be able to explain User Interface Modeling in MDG

MDG UI Overview and Navigation

The graphic shows the connection between the data model and user interfaces. Information is provided in the following text.

The possible workflow steps are defined in the workflow.

The status of the change request and the workflow step are used in the process logic of the workflow to determine:

  • The possible actions in the UI.
  • The next workflow step.
  • The next change request status.
The graphic shows the change request steps. Information about the change request is provided in the next paragraph.

The change request (which has "many" change request steps) is bound to a workflow (which has "many" workflow steps). Workflows are designed in the Workflow Builder and "some" of the workflow steps are bound to a particular change request step.

Actions (which are also visible as buttons on the UI) define the transition between change request steps and status. A status can span more than one change request step. On a technical level, the actions correspond to a "status change" workflow item in the workflow.

The change request steps correspond to a status, which is visible in the UI (see example in "My Change Requests").

The Workflow Log shows which workflow steps are carried out until the current state.

The graphic shows the IMG activity to define actions for change request UIs. Actions define the next choices a user has in a specific change request step. This is not to be confused with logical actions. Customer-specific actions allow a simple way to streamline governance processes.

The figure illustrates the IMG activity to define actions for Change Request UIs, and explains them.

The graphic shows the Define Actions for Change Request UIs screens when the activity is started.

The figure shows the customizing activity Define Actions for Change Request UIs and the screens, which are called, when this activity is started.

The graphic shows the available UI applications: MDG-S, MDG-C, MDG-M, MDG-F, and MDG for custom objects.

The figure illustrates the IMG activity to set UI applications, and explains them.

The graphic shows the business activity determination. Specification of business activity is baed on current UI and logical action for application specific UIs.

The figure illustrates the IMG activity to set the business activity determination, and explains it.

The graphic shows the UI Navigation. View (Standard Definition) or change (Custom Definition) the navigation to the next UI.

The figure illustrates the IMG activity to set the UI navigation, and explains it.

The graphic shows the UI Navigation and Adaptation. Information is provided in the following text.

A UI is defined by a UI Application and a UI Configuration. The UI Configuration defines the look and feel of the UI.

MDG UI Basics and Technical Connection to MDG

SAP Master Data Governance UI Configuration

The graphic shows the possible settings for the UI configuration and how several settings interact.

The figure highlights the possible settings for the UI configuration and how several settings interact.

SAP Master Data Governance Fiori Apps

  • Lean Request and Approval SAP Fiori applications are available for MDG Central Governance starting with release MDG 7.0.
  • For MDG 9.0 and for S/4HANA 1610 (and following) these central governance SAP Fiori apps can be installed using the software component version: SAP Fiori 2.0 for SAP Master Data Governance
  • For Master Data Governance, Consolidation and Mass Processing as well as for Master Data Governance, Data Quality, all applications are based on SAP Fiori.
The graphic shows the anatomy of a Web Dynpro (WD) component. It contains UI elements and layout (in Views), context data, eventing, methods, and attributes (in Controllers), and interface controller and interface view (in the Component Interface).

Structure of a Floorplan Manager Application

The graphic shows the structure of a Floorplan Manager app. The configured parts have a static definition and can be adapted in Customizing and Personalization. The coded parts are dynamic adaptations which are created by a developer and can only be enhanced. They have pre- and post-exits and no further adaptation is possible.

The figure illustrates a typical structure of a Floorplan Manager app.

The graphic shows the structure in FPM (deep-copy mode) and a list of components/configurations.

The graphic shows the structure in FPM (deep-copy mode) and a list of components/configurations.

The graphic explains the basic UI structure in display mode. 1. Page Header Title (OVP can be configured to have multiple pages). 2. Page Header (Global) Toolbar -MDG Communicator adds buttons and controls their state at runtime (for example, Approve, Submit). 3. Section (OVP can be configured to have multiple sections). 4. UIBB with Panel (=Assignment Block) multiple UIBBs can be in one section. 5. Panel Header. 6. Assignment Block Toolbar.

The figure explains the basic UI structure in display mode.

The graphic explains the basic UI structure in create mode. 1. Change Request Section with Change Request UIBB (CRUIBB). Variant A has no explicit configuration and is added by MDG Communicator at runtime. Variant B has explicit configuration in OVP. Section(s) with UIBB(s), can be multiple UIBBs.

The figure explains the basic UI structure in create mode.

MDG Communicator

The reference to the configuration of the Web Dynpro Application USMD_OVP_GEN is made by using the same name for the MDG Communicator configuration and for the application configuration of USMD_OVP_GEN.

The configuration of the MDG Communicator includes a reference to a UIBB in the OVP that can supply the key of the main entity. In our example, this is the FPM Form GUIBB for Country on the MAIN page. Since you did not change this UIBB, you also do not need to change the configuration of the MDG Communicator.

Overview of Components and Their Configuration

The graphic shows an overview of the different components and their usage in exercise.

The figure gives an overview of the different components and their usage.

FPM Application Configuration for USMD_OVP_GEN

The graphic explain the FPM application configuration for USMD_OVP_GEN and includes configuration IDs of FPM Adaptable OVP and FPM OVP Floorplan and the object type code (USMD_OTC). The configuration ID of the application must be the same as the configuration of the MDG Communicator to be used.

The figure explains the FPM application configuration for USMD_OVP_GEN.

A complete UI configuration for MDG includes:

  • One FPM Application configuration for USMD_OVP_GEN that includes:

    (Optionally) one FPM Adaptable OVP configuration for CBA.

  • One FPM OVP floorplan configuration that includes:
    • At least a MAIN page that includes:

      The Change Request Section that includes the Change Request UIBB, both automatically added by the MDG Communicator.

    • At least one configured section that includes:
      • At least one UIBB (typically a FPM Form GUIBB).
      • A configuration of the MDG Communicator with the same ID as the ID of the application configuration.

FPM OVP Floorplan Configuration

The graphic shows the FPM OVP Floorplan configuration which includes pages, sections, toolbars, wiring, and so on. A reference to the application controller: The generic MDG Web Dynpro component USMD_GEN_OVP.

The generic MDG Web Dynpro component USMD_GEN_OVP as the application controller makes the OVP an MDG OVP. This component is responsible for finding the correct MDG Communicator configuration, so that in the end the Change Request Section, Change Request UIBB, Change Request-related buttons in the global toolbar are there.

Usability of Generic Single-Object Processing

The graphic shows the major features of the generic single-object processing. These are the various personalization features (layout, defaulting, and so on), uniform assignment block for change request information, validity information included (if editions are used), FPM-based customizing and configuration, including Context-Based Adaptation (CBA), and support for complex objects (multiple SUT4 entity types, and FPM Edit Pages.

CBA: Context-based adaptation (CBA) for determination of UI configuration at runtime, dependent on attributes like change request type, object type, and so on (Feature of Floorplan Manager (FPM), MDG uses FPM_ADAPTABLE_OVP, schema USMD_GEN). The schema in the standard is USMD_GEN with dimensions OTC, CRTYPE, ACTION, and WFSTEP, see view cluster FPM_VC_ADAPT_SCHEMA).

Support for complex objects (multiple SUT4 entity types, FPM Edit Pages).

Old UI can only handle a nesting from one leading entity with a storage and use type 1 to one dependent entity with a storage and use type 4. The new UI can also handle a deeper nesting of dependent entities, for example you can configure a UI with an entity type PFLI in a form, a dependent entity type FLIGHT in a table, and with an entity type BOOK that depends on FLIGHT in another table.

You can also use FPM Edit Pages to open such dependent data structures on a separate page.

Initial Page Unnecessary for Key Entry

The graphic shows the initial page for key entry. The single-object processing UI is immediately available for data input, including key fields. The screenshot shows an example with two key fields in the flight connection: airline and connection number.

The displayed dialog boxes are required when single-objects are processed by key fields.

One Application Configuration Per OTC (Typically)

The graphic shows the steps needed to perform a typical one application configuration per OTC.

The figure highlights the necessary steps to perform a typical one application configuration per OTC.

Object-Specific UIBB-Configurations

The graphic shows an object-specific UIBB-configuration.

The figure illustrates an object-specific UIBB-configuration.

MDG Communicator Configuration

The graphic explains the configuration of the MDG Communication which included a reference to an UIBB of the OVP that supplies the MDG Communication at runtime with the information about the main entity. Technically, it creates a wire from this UIBB to the Change Request UIBB (same parameters as for other wires in the OVP.

The figure explains the configuration of the MDG Communicator.

Technical Connection to MDG

The purpose of genIL is to provide uniform access to the underlying data persistency layer. It encapsulates a business object-specific implementation and provides a uniform interface to access data from the persistency layer.

Screenshot of the building blocks of the custom object UI framework. Information is provided in the next paragraph.

The major building blocks of the custom object UI framework are shown in the image. It is the runtime architecture and building blocks of the custom object UI framework.

The loose coupling of the various building blocks guarantees minimum disruption. For example, if the SAP OData framework has a BOL adapter, then we can easily replace the Floorplan Manager with SAP Fiori without changing the code in the underlying genIL and BOL framework.

Additional Details

The graphic shows the generic MDG feeder class for FPM from UIBB.

The figure highlights the generic MDG feeder class for FPM form UIBB.

Generic MDG Feeder Class for FPM

Screenshot of PFLI entity type. Information is provided in the following text.

The example shows the form for entity type PFLI in model SF.

The component MUST be set to MDG to use the generic MDG GenIl model.

Generic MDG Feeder Class for Attachment to Entities

The graphic shows the generic MDG feeder class for attachments.

The figure highlights the generic MDG feeder class for attachments.

Dialog Boxes Necessary for Adding Attachments

Screenshot of the required dialog boxes. Information is provided in the following text.

The figure highlights the required dialog boxes, which are necessary for adding attachments.

How to Create a Custom User Interface

For the steps and data of this demonstration, see the exercise: Create a Custom User Interface.

Create a Custom User Interface

Business Example

In this exercise you will create a custom user interface.