Show TOC

Procedure documentationHow Do I Create Components and Views?

Procedure

The following procedure corresponds to option 1, in which you create your own component, create your own views within this component, and define a configuration key.

Creating Components and Views
  1. Enter the transaction code BSP_WD_CMPWB.

  2. Enter a component name and click Create.

  3. Create a new view with the following parameters:

    • Name

    • BOL entity

    • Model node

    • Model attribute

    • View type: Table

Specifying the Configuration Key
  1. Select your view under Start of the navigation path Browser Component Structure Next navigation step Views End of the navigation path.

  2. Click Structure.

  3. Double-click the *.htm file under View Layout.

    You see the layout of the selected view.

  4. Click Page Attributes.

    You see the attributes that are assigned to the view.

Creating an Inbound Pug
  1. Under Start of the navigation path Structure Next navigation step Inbound Plugs End of the navigation path, create a new inbound plug with the name DEFAULT.

  2. Under Start of the navigation path Runtime Repository Editor Next navigation step Component Next navigation step Windows End of the navigation path, select the Main Window to which you want to assign the inbound plug.

  3. In the context menu, choose Add Plug with Follow-Up Navigation.

    You see the page Create Inbound Plug with Forwarding Navigational Link.

  4. Enter the appropriate values.

  5. Under Start of the navigation path Runtime Repository Editor Next navigation step Component Next navigation step Component Interface Next navigation step Interface View End of the navigation path, add the inbound plug.

  6. Under Start of the navigation path Browser Component Structure Next navigation step Component Next navigation step Views End of the navigation path, select your view.

  7. Double-click your inbound plug under Start of the navigation path Structure Next navigation step Inbound Plugs End of the navigation path.

  8. In the Class Builder, enter the program code to calculate the property that is based on the BOL relation.

Assigning Views to an Existing Fact Sheet
  1. Click Configuration and configure your views.

  2. Assign the views to an existing fact sheet.

    You make this assignment in Customizing under Start of the navigation path Customer Relationship Management Next navigation step UI Framework Next navigation step UI Framework Definition Next navigation step Fact Sheet Next navigation step Maintain Fact Sheet End of the navigation path.

  3. Add a new entry in Customizing for each view.

Configuring the Fact Sheet
  1. Start component BSP_DLC_FS in transaction BSP_WD_CMPWB.

  2. Under Views, choose the view BSP_DLC_FS/factsheet.

  3. Configure the fact sheet under Configuration.