There are the following ways to create a View:
● Within your Web Dynpro component
You create the view directly in the Web Dynpro component and embed it in a window afterwards.
● Within your Web Dynpro window
You create the view unit with graphical support of the Data Modeler tool.
The view layout is designed and implemented in another graphical tool, the View Designer.
● You have created a Web Dynpro DC.
● A WD component with a window definition is available.
...
...
1. In the Web Dynpro Explorer open the component node to which you want to add a view.
2. In the context menu of the Viewnode, choose Create View and follow the wizard.
...
1. Open the Window Editor by choosing the context menu entry on the window name in the Web Dynpro Explorer.
2. From the Palette panel, choose New View and follow the wizard.
...
1. Open the Window Editor by choosing the context menu entry on the window name in the Web Dynpro Explorer.
2. In the context menu of the Windows node, choose Embed View.
3. Choose Embed existing view and follow the wizard.
The new view is graphically displayed in the Window Editor. In the Web Dynpro Explorer, the view is displayed below the subnode Views of your WD component node. The following files were automatically created:
● <myView>.wdview
View context XML file for the data flow between the view and the view context. The file contains the following subobjects:
○ View controller reference
○ WD component reference
○ Transparent container for user interface elements
○ User interface element references, including layout data
● <myView>.wdcontroller
This controller XML file for the data flow between the view context and the other WD entities has the following parameters:
○ Controller event handler inbound plug
○ Main node Context (value node with cardinality 1:1)
○ Controller reference to the WD component
● <myView>.wdview.xlf
The view properties XML file is relevant for translation.
Under no circumstances should you change any of the files listed above. However, you can display the relevant source code in the Navigator view. To open the XML Editor, choose the context menu entry Open With → Text Editor for the corresponding file.