Creating Structures
Procedure
A dialog box appears in which you must select the type category.
The maintenance screen for structures appears.
You can for example find the structure at a later time using this short text.
Carry out the following steps for all the components you want to insert in the structure.
You can also include structures, tables or views instead of individual components. The procedure here is described in
Inserting an Include.If you want to insert the structure as an
include in a transparent table at a later time, the component names may not be longer than 16 characters.If you want to add components by entering the data type and length directly, choose Built-in type. You can now enter values for fields DTyp, Length, Dec.places, and Short description. With Component type you can switch back to the screen for entering references to existing types.
You can also enter a
Reference Type in the Component Type field. If you enter a class, interface, or generic reference (ANY, OBJECT, or DATA) in the Component Type field, the R type field is set automatically. If you enter a reference type already defined in the Dictionary as a reference type, a blue arrow appears in the D type column.If the type defined in the ABAP Dictionary or the built-in type is a reference type, set the indicator in the R Type column.
You can combine components with direct type definition and components that are defined by referencing an existing type as you like.
You can make these entries on the Currency/quantity fields tab page.
Proceed as when maintaining the foreign keys of a table (see
Creating Foreign Keys).You are asked to assign the structure a development class. You can change the development class later with Goto
® Change object directory entry.Result
The structure is now activated. The runtime object of the structure is created. At activation, a log is written; it can be displayed with Utilities
® Activation log. If errors occurred when the structure was activated, the activation log is automatically displayed.Other Options