Start of Content Area

Background documentation Introduction  Locate the document in its SAP Library structure

Architecture

This graphic is explained in the accompanying text

Explanation

You must assign each control that you want to display on a screen to a container control. The graphic above shows how a textedit control is integrated into a screen by means of a custom container control. Using a container created in the Screen Painter, you must determine an area that the custom container control is to fill.

A container control organizes the representation of one or more controls. Depending on the type of container control, you can:

·         Place a control on the screen at a fixed position, for example, on a subscreen (custom container control)

·         Embed several controls into a container control that is divided into areas (splitter container control and easy splitter container control)

·         Represent a control in a modeless dialog box that can be moved freely (dialog box container control)

·         Dock a control with a selected screen margin (docking container control).

 

Note

For a detailed description on the individual container controls, see SAP Container.

It is also possible to nest container controls. For example, you can specify a container control for the parent parameter of a container control. This way, you can arrange controls on the screen in many different ways.

Once you have created a container control, you can also display it on another screen. To do this, you must reassign the control, in other words, link it to another screen. All controls that have specified this container control as their parent, are also reassigned. If you have a nested container control, you can only reassign that control which contains all other controls.

Caution

Each screen is assigned to a popup level of 0 to 9. During their lifetime, container controls cannot be assigned to any other level than the one that was specified when they were created. If you want to display a control at a different popup level, you must create a new container control for this level.

Conclusions

Based on the architecture, we can derive the following steps for creating a control:

...

       1.      To display a control in a specific screen area, you create a container in the Screen Painter.

       2.      Using the CREATE OBJECT statement, you create a container control at PBO time that you assign to the screen.

       3.      Using the CREATE OBJECT statement, you create a control instance at PBO time that you assign to the container control.

 

 

 

 

 

 

 

 

 

End of Content Area