Show TOC

Background documentationDesign Layer Customizing

 

You can use the design layer Customizing to define design objects and assign these design objects to views.

In the first step, you define design objects and the settings regarding field labels and their visibility in Customizing. In the second step, you assign your design objects to views and their context nodes, in the UI Component Workbench.

In addition, you can define reference design objects. A reference design object inherits its design to design objects that are based on this reference design object.

You can copy existing SAP design objects and SAP reference design objects and adapt them to your requirements. You can also create your own design objects and reference design objects.

You can use the design layer Customizing for form views, tables, and advanced searches.

Activities

Creating Design Objects

You can create your own design objects in Customizing for UI Framework under Start of the navigation path UI Framework Definition Next navigation step Design Layer Next navigation step Define Design Object End of the navigation path.

The object type and the business object layer (BOL) object in this Customizing activity are used for filtering and to reduce the number of BOL attributes in the list. You can assign the design object to every BOL object and to every BOL attribute that you want.

Copying SAP Design Objects

You can copy existing SAP design objects in Customizing for UI Framework under Start of the navigation path UI Framework Definition Next navigation step Design Layer Next navigation step Copy SAP Design Object End of the navigation path. You can adapt the copied SAP design objects to your requirements in Customizing for UI Framework under Start of the navigation path UI Framework Definition Next navigation step Design Layer Next navigation step Define Design Object End of the navigation path.

Assigning Design Objects to Views

You can assign the design object to a context node, or to single attributes under a context node in a selected view. The assignment is only necessary if you have created your own design object and did not copy an SAP design object. Copied SAP design objects have the same name as the original SAP design object. Therefore, an assignment to views is not necessary. The assignment is valid for all configurations of the view.

Note Note

You cannot assign design objects to tree views (tree context nodes).

End of the note.
  1. Enter transaction BSP_WD_CMPWB to start the UI Component Workbench.

  2. In the UI Component Workbench, select a full context node or an individual context node attribute, to which you want to assign a design object.

  3. In the context menu, choose Assignment to Design Layer to access the assignment dialog box. In the Design Layer Assignment dialog box, you can see which design objects are assigned to the context node. The assignment is defined by the following key fields:

    • Component

    • View

    • Context node

    • Context node attribute

      The standard context node attribute is <DEFAULT>; this includes all attributes.

    • Object type

      Defines the UI object type used at runtime for the assignment; <DEFAULT> includes all UI object types.

    • Component usage

      Defines the component usages used at runtime for the assignment; <DEFAULT> includes all component usages.

    • Deviating attribute

      Defines the attribute name of the design object; this field is used only if the attribute name of the context node differs from the attribute name of the design object.

  4. Choose Insert Assignment to add a new assignment.

  5. Expand the UI object type and select the design object.

  6. Choose the UI object type.

    You can choose between the name of the UI object type and <DEFAULT>.

  7. Enter the component usage if required.

  8. Save your assignment.

  9. With Display SAP Assignments and Edit Customer Assignments, you can toggle between both assignments of design objects.

Creating Reference Design Objects

You can create your own reference design objects in Customizing for UI Framework under Start of the navigation path UI Framework Definition Next navigation step Design Layer Next navigation step Reference Design Objects Next navigation step Define Reference Design Objects End of the navigation path.

The object type and the BOL object in this Customizing activity are used for filtering and reducing the number of BOL attributes in the list. You can assign the reference design object to BOL objects and attributes as required.

Copying SAP Reference Design Objects

You can copy existing SAP reference design objects in Customizing for UI Framework under Start of the navigation path UI Framework Definition Next navigation step Design Layer Next navigation step Reference Design Objects Next navigation step Copy SAP Reference Design Object End of the navigation path. You can then adapt the copied SAP reference design objects to your requirements in Customizing for UI Framework under Start of the navigation path UI Framework Definition Next navigation step Design Layer Next navigation step Reference Design Objects Next navigation step Define Reference Design Objects End of the navigation path.