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
⤷
⤷
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 | 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 | Constant | Public | Type reference (TYPE) | I | -2 | Indicator that the column size should be determined automat. | 20071119 | ||
| 2 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_GUI_COLUMN_TREE | The column tree control whose configuration is handled here | 20071119 | |||
| 3 | Instance attribute | Protected | Type reference (TYPE) | /TDAG/CPYS_TREE_COL_WIDTH | Table of column names and their widths | 20071119 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | TV_ITMNAME | Name of the hierarchy column | 20071119 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Initializes the instance | 20071119 | |
| 2 | Instance method | Public | Method | Returns the names and widhs of the tree columns | 20071119 | |
| 3 | Instance method | Public | Method | Saves the current size of the views in the context memory | 20071119 | |
| 4 | Instance method | Public | Method | Resets the size of the views to the default values | 20071119 | |
| 5 | Instance method | Public | Method | Saves the current size of the views in the defaults database | 20071119 | |
| 6 | Instance method | Public | Method | Sets the widths of the tree columns | 20071119 | |
| 7 | Instance method | Public | Method | Sets the configuration of the tree columns | 20071119 | |
| 8 | 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 | IO_TREE | Call by reference | Object reference (TYPE REF TO) | CL_GUI_COLUMN_TREE | The tree whose configuration should be handled here | 20071119 | |||
| 2 | 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 | ET_COLUMNS | Call by reference | Type reference (TYPE) | TREEV_COWT | Table with column names and widths | 20071119 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | An error occurred when updating the controls | 20071119 | ||
| 2 | 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 | 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 | 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 | 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 | 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 | The width of the columns could not be updated | 20071119 |
History
| Last changed by/on | SAP | 20141109 |
| SAP Release Created in | 222_46C |