How Do I Create Components and Views?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.
Enter the transaction code BSP_WD_CMPWB
.
Enter a component name and click Create
.
Create a new view with the following parameters:
Name
BOL entity
Model node
Model attribute
View type: Table
Select your view under .
Click Structure
.
Double-click the *.htm
file under View
Layout
.
You see the layout of the selected view.
Click Page Attributes
.
You see the attributes that are assigned to the view.
Under , create a new
inbound plug with the name DEFAULT
.
Under , select the Main Window
to
which you want to assign the inbound plug.
In the context menu, choose Add Plug with Follow-Up
Navigation
.
You see the page Create
Inbound Plug with Forwarding Navigational Link
.
Enter the appropriate values.
Under , add the inbound plug.
Under , select your view.
Double-click your inbound plug under .
In the Class Builder
, enter the
program code to calculate the property that is based on the BOL relation.
Click Configuration
and configure
your views.
Assign the views to an existing fact sheet.
You make this assignment in Customizing under .
Add a new entry in Customizing for each view.
Start component BSP_DLC_FS
in transaction BSP_WD_CMPWB
.
Under Views
, choose the view BSP_DLC_FS/factsheet
.
Configure the fact sheet under Configuration
.