In the Web Dynpro perspective, you can create simple data types and structures, immediately deploy them to the SAP Web Application Server, and then use them in your Web Dynpro application without having to switch to the Java Dictionary perspective even once. To define this local data, proceed as follows:
Before you create Dictionary data and structures, you must create a Web Dynpro project.
...
1. Place the cursor on the node Simple Types or Structures, which are subnodes of the nodes Dictionaries and Local Dictionary.
2. Choose the context menu entry Create Simple Type or Create Structure.
3. Enter an object name and a package name and choose Finish to save your entries.
The newly created data type or structure is displayed in the Web Dynpro Explorer:
To edit the data types and structures, proceed as follows:
...
1. Place the cursor on the data type or structure in the Web Dynpro Explorer and choose Edit in the context menu.
2. Depending on the Dictionary entity to be edited, an input mask for defining the parameters appears on the right of the screen. When editing, proceed as described under Creating Data Types and Creating Structures in the Java Dictionary chapter. The procedure in the Web Dynpro perspective is the same as that in the Dictionary perspective.