SAP ABAP Class /TDAG/CPCL_COL_TREE_CONFIG (CP: Handles the configuration of a column tree)
Hierarchy
☛
TDAGBCA (Software Component) TechniData Basic Components
⤷ EHS (Application Component) Environment, Health and Safety
⤷ /TDAG/CP (Package) Compliance for products
⤷ EHS (Application Component) Environment, Health and Safety
⤷ /TDAG/CP (Package) Compliance for products
Properties
Class | /TDAG/CPCL_COL_TREE_CONFIG | |
Short Description | CP: Handles the configuration of a column tree | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | /TDAG/CP | Compliance for products |
Created | 20071119 | SAP |
Last change | 20141109 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ESP1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class /TDAG/CPCL_COL_TREE_CONFIG has no interface implemented.
Friends
Class /TDAG/CPCL_COL_TREE_CONFIG has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MC_AUTOMATIC_COLUMN_SIZE | Constant | Public | Type reference (TYPE) | I | -2 | Indicator that the column size should be determined automat. | 20071119 | |
2 | MO_TREE | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_GUI_COLUMN_TREE | The column tree control whose configuration is handled here | 20071119 | ||
3 | MTS_TREE_COL_WIDTH | Instance attribute | Protected | Type reference (TYPE) | /TDAG/CPYS_TREE_COL_WIDTH | Table of column names and their widths | 20071119 | ||
4 | M_COL_NAME_TREE | Instance attribute | Protected | Type reference (TYPE) | TV_ITMNAME | Name of the hierarchy column | 20071119 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONSTRUCTOR | Instance method | Public | Constructor | Initializes the instance | 20071119 |
2 | GET_COLUMNS | Instance method | Public | Method | Returns the names and widhs of the tree columns | 20071119 |
3 | PUBLISH_VIEW_SIZE | Instance method | Public | Method | Saves the current size of the views in the context memory | 20071119 |
4 | RESET_VIEW_SIZE | Instance method | Public | Method | Resets the size of the views to the default values | 20071119 |
5 | SAVE_VIEW_SIZE | Instance method | Public | Method | Saves the current size of the views in the defaults database | 20071119 |
6 | SET_COLUMN_WIDTHS | Instance method | Public | Method | Sets the widths of the tree columns | 20071119 |
7 | SET_CONFIG | Instance method | Public | Method | Sets the configuration of the tree columns | 20071119 |
8 | UPDATE_VIEW_SIZE | Instance method | Public | Method | Updates the size of the views from the context memory | 20071119 |
Events
Class /TDAG/CPCL_COL_TREE_CONFIG has no event.
Types
Class /TDAG/CPCL_COL_TREE_CONFIG has no local type.
Method Signatures
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_TREE | Call by reference | Object reference (TYPE REF TO) | CL_GUI_COLUMN_TREE | The tree whose configuration should be handled here | 20071119 | ||
2 | Importing | I_COL_NAME_TREE | Call by reference | Type reference (TYPE) | TV_ITMNAME | Name of the hierarchy column | 20071119 |
Method CONSTRUCTOR on class /TDAG/CPCL_COL_TREE_CONFIG has no exception.
Method GET_COLUMNS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_COLUMNS | Call by reference | Type reference (TYPE) | TREEV_COWT | Table with column names and widths | 20071119 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CONTROL_ERROR | The columns could not be dertermined | 20071119 |
Method PUBLISH_VIEW_SIZE Signature
Method PUBLISH_VIEW_SIZE on class /TDAG/CPCL_COL_TREE_CONFIG has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | PUBLISH_FAILED | The view size could not be published | 20071119 |
Method RESET_VIEW_SIZE Signature
Method RESET_VIEW_SIZE on class /TDAG/CPCL_COL_TREE_CONFIG has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CONTROL_ERROR | An error occurred when updating the controls | 20071119 | |
2 | RESET_FAILED | The size of the view could not be reset | 20071119 |
Method SAVE_VIEW_SIZE Signature
Method SAVE_VIEW_SIZE on class /TDAG/CPCL_COL_TREE_CONFIG has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | SAVE_FAILED | The view size could not be saved | 20071119 |
Method SET_COLUMN_WIDTHS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | ITS_COLUMNS | Call by reference | Type reference (TYPE) | /TDAG/CPYS_TREE_COL_WIDTH | Table with column names and widths | 20071119 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | SET_FAILED | The width of the columns could not be set | 20071119 |
Method SET_CONFIG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | ITS_COLUMNS | Call by reference | Type reference (TYPE) | /TDAG/CPYS_TREE_COL_WIDTH | The initial (default) configuration | 20071119 |
Method SET_CONFIG on class /TDAG/CPCL_COL_TREE_CONFIG has no exception.
Method UPDATE_VIEW_SIZE Signature
Method UPDATE_VIEW_SIZE on class /TDAG/CPCL_COL_TREE_CONFIG has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | UPDATE_FAILED | The width of the columns could not be updated | 20071119 |
History
Last changed by/on | SAP | 20141109 |
SAP Release Created in | 222_46C |