Show TOC

Creating StructuresLocate this document in the navigation structure

Data type descriptions in the form of structures are used in Web applications and can be created in the Java Dictionary independently of the program code.

Context

Data type descriptions in the form of structures are used in Web applications and can be created in Java Dictionary independently of the program code. Structures created in Java Dictionary can be reused in different Web Dynpro contexts.

Procedure

  1. In the Dictionary Explorer , select the Dictionary DC where you want to store your new structure.
  2. In the context menu, choose Start of the navigation path New Next navigation step Structure End of the navigation path.
  3. Fill in the required data:
    1. Structure Name

    2. Structure Package

  4. Choose Finish .

    The SAP NetWeaver Developer Studio creates the structure and opens it for editing.

  5. (Optional) In the Description field of the structure editor, enter a short description for the structure.
  6. To create the elements of the structure, choose the Add element to structure pushbutton.

    The Add Element dialog opens.

  7. Enter a name for the element in the Element Name field.
    Note

    The name must begin with a letter and may contain only letters, digits and underscores.

  8. Specify other settings of the structure element:
    • Define one of the built-in data types as the type of the element.

      1. Select a data type from the Built-In Type dropdown list.

        The JDBC Type field is automatically set and provides information about the underlying, database-independent JDBC type that results from the selected Built-In Type and from the length entered for the field.

      2. If necessary, complete the Length , Decimals (decimal point precision), and Description fields.

    • Define a type, which is already defined manually in Java Dictionary, as the data type of the element.

      1. Choose Browse and select the simple type to be used in the Simple Type Selection dialog box.

      2. Choose OK .

        The SAP NetWeaver Developer Studio completes all of the relevant fields automatically.

    • Choose Finish .

  9. To save your entries, choose Save .