The Control Framework Architecture
The graphical user interface (GUI) in the SAP system is based on SAP GUI windows. These GUI windows are screens from the technical view point of the programmer.
The application program communicates with the screen at runtime using various services of the runtime system (ABAP processor and dynpro processor). This communication also uses services in the SAP GUI, such as managing the windows and their pop-up levels, data transfer, and so on.
You can use screen elements other than those provided in the Screen Painter in SAP GUI windows. These additional screen elements are known as controls. Controls are standalone binary software components that are reusable. As a developer, you can integrate one or more controls in your user dialogs and use the functions that are available.

Graphic Illustration of the Objects
Graphically, the connection of a GUI control to a screen is a chain of objects. An area is reserved on the screen to display a control. A container control is placed in this area. The ALV Grid is then linked to the container and is displayed in the reserved screen area.

Container Screen Creation
Consider a simple dialog program with a selection screen as its initial screen and a screen for displaying an ALV.
When the program is executed, the following steps happen:
Note: There are specific ALV user actions that do not necessarily trigger a PAI or PBO cycle.

Screen Components
A screen has the following parts:
Flow logic does not contain ABAP code, instead it consists of special flow logic statements

Creation of a Screen
When you create a screen, perform the following tasks.

Creating a Screen – Screen Attributes
To create a screen from the Object Navigator (transaction code SE80), proceed as follows:
You can also create screens by double-clicking the screen number <nnnn> in the ABAP command CALL SCREEN <nnnn> in the ABAP Editor.

Creating a Screen – Layout
In the left toolbar, choose the Custom Control