Adding UI Elements Using View Templates 
The WD tools provide view templates where each of the template has its main function.
Form template
Allows you to define attributes for a form-like user interface layout that is to be part of the view.
Table template
Supports you when defining data binding for tables.
ActionButton template
Allows you to specify the properties of a button.
A Web Dynpro DC and WD component have been created.
View is available and displayed in Web Dynpro Explorer view.
Data Modeler tool has been started (context menu entry Open Data Modeler for the component name in the Web Dynpro Explorer)
In the Data Modeler editor, place the cursor on the view to which you want to assign a template and choose Apply Template in the context menu.
The main template wizard starts. Choose the desired template type.