!--a11y-->
Creating Structures 
A structure (structured type) consists of structure elements. The individual elements are typed. A structure element can reference an elementary type.
Data type descriptions in the form of structures are used for Web applications and can be created in the Java Dictionary independently of the program code.
Structures created in the Java Dictionary can be reused in different Web Dynpro contexts.
To create a structure, proceed as follows:
...
1. Open the Dictionary perspective.
Create a Dictionary project or a DC component. For this purpose, read the section Development Process.
2. In the Dictionary Explorer, position the cursor on Structures (underneath Data Types) and choose Create Structure in the context menu.
3. Enter the name of the package and the name of the structure.
4. In the Description field, enter a short description for the structure.
5. Choose Add Column to create the elements of the structure.
If you choose the Simple Type tab in the following dialog box, the element of the structure refers to a data type defined in the Java Dictionary. In the Built-in Type tab, define the data type of the element.

Built-in Type
¡ Enter a name for the element in the Element Name field. The name may only contain letters, digits, and underscore lines, and it must begin with a letter.
¡ In the Built-in Type field, choose a data type. The JDBC Type field is automatically set and provides information on the underlying, database-independent JDBC type that results from the selected Built-in Type and from the length entered for the field.
¡ In the following fields, you can enter the length, number of decimal places, and a short description, if required.
¡ If required, enter the DB Default. For more information, refer to the section Initial Values.
¡ If required, select the checkbox Not Null. For more information, refer to the section Initial Values.
Simple Type
¡ After you have chosen Add Element, choose the Simple Type tab. Then enter the name of the element, the package in which the simple type is contained, and the simple type. In this way, you can include predefined data types in a structure. Alternatively, you can use the Browse pushbutton. For more information, read the explanations in the section Creating Data Types.
Using the Browse pushbutton, you can also create reference fields for currency fields.
6.
Save your
entries with the pushbutton
(Save All Metadata). All the project metadata is then stored. In
the following dialog box, assign an activity for the check-in into the
DTR.
See also:
