Creating a Custom Container 

A custom container is a control into which you can place other controls. It allows the screen framework to resize and compress controls at runtime.

For further information about control technology, refer to the SAP Control Framework documentation.

.

Prerequisites

You must already have opened the graphical layout editor in change mode.

Procedure

  1. Choose the Custom Control icon in the element palette.
    The shape of the cursor changes.
  2. Use the cursor to position the container on the screen and drag it out to the required size.
  3. Change the size and position of the container if required.
  4. Enter the name of the container.
  5. Specify the resizing attributes.

Result

You have now created a custom container. The actual reserved area in the Screen Painter is a placeholder for the control that you will embed there. The custom container is referred to as the parent of the control or controls that are to be embedded in it.

See also:

Creating a Control using the SAP Picture as an Example