Show TOC

Creating Container ElementsLocate this document in the navigation structure

Prerequisites

You have chosen Create in the container display and are now in create mode for a new container element.

Procedure

  1. Enter the technical name of the container element into the field Element.

    You give each container element a technical name that can be used to identify it uniquely. The technical name must begin with a letter. This can be followed by letters, underscores, or digits. Upper and lower case are not distinguished. The technical name you choose should be in English.

  2. Under Texts maintain the name and the description.

    This text can include upper and lower cases.

  3. According to the data type reference of the container element, make the following entries on the tab page Data type. First check whether your container element is modeled on one of the predefined types. Choose and double-click to select the predefined type. The system carries out the necessary entries for the data type. If you want to create a container element that is not predefined, make the following entries, depending on the data type.
    • Structure or Table

      Choose ABAP Dictionary Reference, and enter the table or structure in the field Type name.

    • ABAP Dictionary field

      Choose ABAP Dictionary Reference, and specify the name od the structure and field name.

    • Object type

      Choose Object type, an object type category, and enter the name of the object type.

      Note

      Specification of an object type is not mandatory. If no object type is specified, the container element can be assigned a reference to an object of any type.

  4. On the tab page Properties, select whether the new element is to be an import and/or an export element. Mark an import element as mandatory if applicable.

    The values for each of the container elements may be in the form of a multiline list of field values or object references. This list is then saved under an element ID. You can select multiline in the container definition so that this container element can hold a multiline list of values.

  5. If necessary, enter an initial value for an import element on the tab page Initial value.
    Note

    To assign several values to a target element defined as multiline, create the additional input lines using .

  6. Choose .

Results

Result The container element is created, or its properties are adjusted. If you have defined initial value assignment, the system executes this at runtime.

Note

If there is a binding definition from another container to the container with the initial values, the system executes this binding at runtime after the initial value assignment. You define in the options for the binding instruction whether a binding deletes the initial value from an empty source element.