Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
carsten_ziegler
Active Contributor

Configuration of the BRFplus workbench is an important feature of BRFplus. Especially for business experts, a simplified BRFplus workbench and easy navigation are required. In this blog, I would like to show you a few ways in which you can change the visual appearance of the BRFplus workbench.

The screenshots were taken in a system with NetWeaver 7.3 Enhancement Package 1 (which is equal to NetWeaver 7.0 Enhancement Package 1) and SAP NetWeaver Decision Service Management 1.0. The descriptions given apply to this release. However, most of the functionality described has already been available in a very similar form in older releases.

Content

  • Configuration
  • Preset configuration
  • Object filter
  • Catalog
  • Embedded BRFplus UI

Configuration

By default, the Personalization dialog is enabled and can be opened with the respective toolbar button (highlighted in the picture below). If you want to disable it, please see the Preset configuration section below.

With the Personalization settings, the user interface can be customized according to the user’s needs. It is possible to show or hide technical features that make the UI look more technical or more business-oriented. You can control the behavior of the navigation panel objects, pre-set catalogs, optimize the UI for your screen size, and so on.

Preset configuration

Whatever you find in the Personalization dialog can be preset. In addition, the Personalization dialog as a whole can be hidden from the user. We call this configuration. It is a common pattern for simplifying the workbench for business experts in a way that technical features are switched off and the catalog navigation is the only means of navigation provided with a few predefined catalogs for navigation.

You can achieve this in the following way:

  • Create a class that inherits from CL_FDT_WD_UI_SIMPLE_MODE. BRFplus supports two UI modes: Simple and Expert. You can define your own mode, which is just a combination of configuration parameters.
  • Redefine method IF_FDT_WD_UI_MODE~GET_CONFIGURATION to set some of the configuration parameters

All interfaces concerning UI configuration are nested in the interface IF_FDT_WD_CONFIGURATION. For example, you can also control the button properties with it:

  • Create a report or method to call the UI with your new configuration

In case of problems, check SAP note 1800571.

Object filter

With an object filter, you can define a subset of object types that should be available in a BRFplus application at design time. This helps you to ensure that for business rules of all kinds in an application, only those object types that can pass through the filter can be used. Especially, you can remove expression and action types that will definitely not be used by specific users or within specific use cases. Defining object filters as well as assigning them to user profiles is a typical administrative activity.

You create an object of the type object filter directly under an application. You need to specify two dimensions for each filter:

  • Applications: A filter can either be applicable for all applications in the system, or for an individual subset of applications that you specify.
  • Object types: Here, you define the object types that are available in the BRFplus workbench at design time. By default, all object types are allowed. If you change the scope to user-defined, you can deselect all the object types that you want to hide from the users.

Once you are done with the object filter definition, one last step remains: You need to add the filter to the Personalization settings of a user so that the filter-specific restrictions can take effect. To accomplish this, proceed as follows:

  1. Open the Personalization dialog.
  2. Navigate to the Filters tab and choose Add Filter.
  3. Select the filter that you want to make effective.

You can add multiple filters simultaneously. If you decide to do so, the available object types are calculated as the intersection of the object types that are defined as "allowed" in all the filters that you have added.

Catalog

Catalogs can be seen as an alternative organization method for the business rule artifacts. While the repository shows the complete overview of objects organized in applications and objects, the catalog allows you to define any structure suitable for the target group, such as functional experts. Nodes can be enriched by attributes, and all terminology expected by the target group can be applied in structure nodes as well as object nodes. By this, the appearance of the BRFplus workbench can be simplified. In combination with a preset configuration, it is possible to hide other navigation options and present some predefined catalogs.

Embedded BRFplus UI

Sometimes, it is necessary to embed an original BRFplus UI (such as the decision table) into an application UI. This can be done easily. For details, refer to the paper Embedding a BRFplus Object in an ABAP WebDynpro Application. Although specifically written for an older version of BRFplus, all of the principles described still apply. The paper gives step by step explanations of how to embed an object and modify its UI.

The BRFplus API even allows you to build custom UIs as a replacement or an alternative to the BRFplus workbench. For a description of the API, see the BRFplus book.

4 Comments