Entering content frameFunction documentationCONSTRUCTOR Locate the document in its SAP Library structure

Use

The constructor creates, initializes, and positions the control.

NoteThe constructor method is called automatically when you instantiate the class ( create object statement). You generally pass the parameters of the method in the create object statement.

Features

create object splitter_container

  exporting
    link_dynnr = link_dynnr
    link_repid = link_repid
    shellstyle = shellststyle
    left = left
    top = top
    width = width
    height = height
    metric = metric
    align = align
    parent = parent
    rows = rows
    columns = columns
    no_autodef_progid_dynnr = no_autodef_progid_dynnr

  exceptions
    cntl_error = 1
    cntl_system_error = 2.

Parameters

Description

Possible values

link_dynnr

Number of the screen to which you want to attach the control

 

link_repid

Report ID: Program to which you want to attach the control

 

Shellstyle

Controls the appearance and behavior of the control

Constants from the class CL_GUI_CONTROL that begin with WS_*

left

Left-hand position of the container

 

top

Position of top of container

 

width

Width of the container

 

height

Height of the container

 

metric

Metric

splitter_container->metric_default : Screen metric (default)

splitter_container->metric_pixel : Pixels

splitter_container->metric_mm : millimeters

align

Alignment of the Splitter Container

Constants from the class CL_GUI_CONTROL that begin with ALIGN_*

parent

Parent of the instance, that is, the container in which you want to place the control

 

rows

Number of rows

Maximum = 16

columns

Number of columns

Maximum = 16

no_autodef_progid_dynnr

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

space
Program ID and screen number are used automatically (default value)

'X'
Switches off automatic definition of the program ID and screen number.

 

Leaving content frame