Entering content frame

Syntax documentation update_column Locate the document in its SAP Library structure

Use this method to change the attributes of a column header. There are four attributes that you can change using this method. For each attribute that you change, you must also set the corresponding UPDATE_<attribute name> parameter to 'X' .

CALL METHOD column_model->update_column
          EXPORTING name                  = name
                    hidden                = hidden
                    disabled              = disabled
                    alignment             = alignment
                    header_image          = header_image
                    header_text           = header_text
                    header_tooltip        = header_tooltip
                    width                 = width
                    update_hidden         = update_hidden
                    update_disabled       = update_disabled
                    update_alignment      = update_alignment
                    update_header_image   = update_header_image
                    update_header_text    = update_header_text
                    update_header_tooltip = update_header_tooltip
                    update_width          = update_width.

Parameter and Type

Opt.

Description

name
TYPE TV_ITMNAME

 

Name of the column

hidden
TYPE AS4FLAG

X

Flag indicating whether the column is hidden. Possible values:

  • 'X' : Column is hidden
  • ' ' : Column is visible

disabled
TYPE AS4FLAG

X

Flag indicating whether the column is disabled. Disabled columns cannot be selected.

  • 'X' : Column is disabled
  • ' ' : Column is not disabled

alignment
TYPE I

X

Alignment of the column. Possible values:

  • cl_column_tree_model=>align_left
  • cl_column_tree_model=>align_right
  • cl_column_tree_model=>align_center

header_image
TYPE TV_IMAGE

X

Icon to be displayed in the column heading. Possible values:

  • ' ' : No icon
  • '@XY@' : The SAP icon with code XY

header_text
TYPE TV_HEADING

X

The text of the column heading

header_tooltip
TYPE TV_HEADING

X

Text of the column heading tooltip. This is displayed whenever the mouse pointer is positioned over the heading.

width
TYPE I

 

Width of the column in characters

update_hidden
TYPE AS4FLAG

X

'X' if you entered a new value in hidden

update_disabled
TYPE AS4FLAG

X

'X' if you entered a new value in disabled

update_alignment
TYPE AS4FLAG

X

'X' if you entered a new value in alignment

update_header_image
TYPE AS4FLAG

X

'X' if you entered a new value in header_image

update_header_text
TYPE AS4FLAG

X

'X' if you entered a new value in header_text

update_header_tooltip
TYPE AS4FLAG

X

'X' if you entered a new value in header_tooltip

update_width
TYPE AS4FLAG

X

'X' if you entered a new value in width

 

 

 

Leaving content frame