Procedure documentationHow Do I Create Components and Views? Locate this document in the navigation structure

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   Browser Component Structure   Views  .

  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   Structure   Inbound Plugs  , create a new inbound plug with the name DEFAULT.

  2. Under   Runtime Repository Editor   Component   Windows  , 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   Runtime Repository Editor   Component   Component Interface   Interface View  , add the inbound plug.

  6. Under   Browser Component Structure   Component   Views  , select your view.

  7. Double-click your inbound plug under   Structure   Inbound Plugs  .

  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   Customer Relationship Management   UI Framework   UI Framework Definition   Maintain Fact Sheet  .

  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.