add_column

Use this method to add a column to a standard table. It returns an object reference with the type cl_dd_area , which you can then use to fill the column.

CALL METHOD valid_reference->add_column
          EXPORTING width       = width
                    heading     = heading
          IMPORTING column      = column.

Parameter and Type

Opt.

Description

width
TYPE I

X

Width of the column as a percentage of the whole table width

heading
SDYDO_TEXT_
ELEMENT

X

Column heading (only if you specified that the table should have column headings)

column
TYPE REF TO CL_DD_AREA

 

An object reference to the column. Use this to place elements in the column.