Procedure
The maintenance screen for structures appears.
Carry out the following steps for all the fields you want to include in the structure.
You can include structures as substructures instead of individual fields. The procedure here is described in
Including substructures.If you want to include the structure in a transparent table as a substructure, the field name may not have more than 16 places.
You can also define fields by directly specifying the data type and length. Choose Edit
® Direct type entry. Values can now be entered in fields Type, Length, DecPlaces and Short text.You can combine fields with direct type definitions and fields specified by a type reference as required.
You can switch by to entering type references with Edit
® Type reference.You can make these entries by scrolling to the right and entering these values in the fields Ref. table and Ref. field.
Proceed as when maintaining the foreign keys of a table (see
Creating Foreign Keys).You are asked to assign the structure a development class.
The results of the activation can be found in the activation log. You can display the activation log with Utilities
Other Options
Creating Documentation
You can create information about using the structure with Goto
® Documentation. This documentation is also output when the structure is printed.Assigning a Search Help
You can assign the structure a search help. This search help is offered on all the screen fields referring to this structure field when the input help (F4 help) is called (see
Attaching Search Helps to Table Fields). Choose Goto ® Search help.A dialog box appears. Enter the search help name and choose Continue. The system automatically makes a proposal for the assignment of the search help parameters to structure fields. An attempt is made to assign a structure field with the same domain to a search help parameter. If there is no such field, the assignment is open.
You can change the system proposal (except for the search field, that is the field to which the search help was assigned) by assigning a structure field with the same data type and same field length to a search help parameter.
Activation type
The
activation type defines whether the structure can be activated directly from the ABAP Dictionary, or whether the runtime object of the structure must first be generated with a C program. It is only important to define an activation type for structures of the runtime environment.Choose Extras ® Activation type. A dialog box appears in which you can enter the required activation type.