CONSTRUCTOR

Use

The constructor creates, initializes, and binds the control.

Features

Parameter

Meaning

Possible Values

parent

Parent of the instance, that is, the contain in which the control is to be displayed

 

dynnr

Number of the dynpro to which the control is bound

 

repid

Report ID: Report to which the container is bound

 

side

Side of the dynpro to which the area is attached

docking_container->dock_at_left: Left edge

docking_container->dock_at_right: Right edge

docking_container->dock_at_top: Top edge

docking_container->dock_at_bottom: Bottom edge

extension

Extension of the docking container, i.e. free length parameter when the container is attached (for example, width of the docking container is determined when attached to the left)

 

style

Controls the appearance and behavior of the control

Constants from the class CL_GUI_CONTROL that begin with WS_*

lifetime

Lifetime management parameter specifying the lifetime of the control

cntl_lifetime_imode:

The control remains alive for the lifetime of the internal session (that is, until a statement such as leave program, leave transaction)

cntl_lifetime_dynpro: The control remains alive for the lifetime of the dynpro (that is, while it remains in the dynpro stack). It is not destroyed, for example, by a call screen 100, call transaction.

metric

Metric

docking_container->metric_default: Dynpro metric (default)

docking_container->metric_pixel: Pixel

docking_container->metric_mm: Millimeters

caption

Header

Any character field

no_autodef_progid_dynnr

Switches off automatic definition of the program ID and dynpro number.

space

Program ID and dynpro number are used automatically (default value)

'X'

Switches off automatic definition of the program ID and dynpro number.