Creating an SAP Custom Container 

The "custom control" is actually a container for a control, which allows the screen framework to support resizing and compression of controls.

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

Requirements

You must have opened the layout editor of the alphanumeric Screen Painter in change mode.

Procedure

  1. Place the cursor at the position you want the top left-hand corner of the container to occupy.
  2. Choose Edit ® Create element ® Custom control.
    The system displays the change screen for the container in its maximum dimensions.
  3. Position the cursor at the position you want the bottom right-hand corner of the container to occupy.
  4. Choose Mark ctrl end to fix this position.
    The attribute dialog box for custom controls appears.
  5. Enter the custom control attributes.
  6. Choose Copy.
    The system displays the control container with the dimensions that you specified in the dialog box.

Functions for Editing the Container

Function

Description

Ctrl Attributes

Changes the attributes of the custom control

Mark ctrl end

Changes the bottom right-hand corner of the control

Deselect ctrl

Deselects the control

Delete ctrl

Deletes the control

Move ctrl

Moves the control to a new position

 

See also

Creating a Control Using the SAP Picture as an Example