SAP ABAP Class CL_SALV_ITEM (Item in Tree Structure)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-ALV (Application Component) SAP List Viewer
⤷
SALV_OM_METADATA (Package) ALV: Meta Data
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_SALV_METADATA_TREE | ALV: Basis Class for Tree Metadata | 20040401 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SALV_C_ITEM_FONT | Font for Tree Cells | 20040406 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SALV_C_ITEM_TYPE | Type Definition for Tree Cells | 20040406 |
| 4 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SALV_C_TREE_STYLE | Style for Tree Nodes | 20040406 |
Properties
| Class | CL_SALV_ITEM | |
| Short Description | Item in Tree Structure | |
| Super Class | CL_SALV_METADATA_TREE | ALV: Basis Class for Tree Metadata |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | SALV_OM_METADATA | ALV: Meta Data |
| Created | 20040401 | SAP |
| Last change | 20040930 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SALV_ITEM has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_SALV_C_ITEM_FONT | Font for Tree Cells | 20040406 | ||
| 2 | IF_SALV_C_ITEM_TYPE | Type Definition for Tree Cells | 20040406 | ||
| 3 | IF_SALV_C_TREE_STYLE | Style for Tree Nodes | 20040406 |
Friends
Class CL_SALV_ITEM has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | SALV_DE_NODE_KEY | Node Key | 20040406 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SALV_NODE | Node for Item | 20040406 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | LVC_S_LAYI | Item Data | 20040406 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | 20040406 | ||
| 2 | Instance method | Public | Method | Get Name of Column That Contains the Items | 20040406 | |
| 3 | Instance method | Public | Method | Get Font of Item | 20040406 | |
| 4 | Instance method | Public | Method | Get Icon Item | 20040406 | |
| 5 | Instance method | Public | Method | Get Node Containing Item | 20040420 | |
| 6 | Instance method | Public | Method | Get Combination of Text and Background Color | 20040726 | |
| 7 | Instance method | Public | Method | Get Type of Item | 20040406 | |
| 8 | Instance method | Public | Method | Get Value of Item (Not for Items in Hierarchy Column) | 20040701 | |
| 9 | Instance method | Public | Method | Check Whether Checkbox in Item is Set | 20040406 | |
| 10 | Instance method | Public | Method | Check Whether Checkbox in Item Is Activated | 20040406 | |
| 11 | Instance method | Public | Method | Check Whether Item Can Be Selected | 20040406 | |
| 12 | Instance method | Public | Method | Check Whether Content of Item Is Hidden | 20040406 | |
| 13 | Instance method | Public | Method | Set Checkbox in Item | 20040406 | |
| 14 | Instance method | Public | Method | Activate Checkbox in Item | 20040406 | |
| 15 | Instance method | Public | Method | Set Selectability of Item | 20040406 | |
| 16 | Instance method | Public | Method | Set Font in Item | 20040406 | |
| 17 | Instance method | Public | Method | Set icon for Item | 20040406 | |
| 18 | Instance method | Public | Method | Set Combination of Text and Background Color | 20040726 | |
| 19 | Instance method | Public | Method | Set Type of Item | 20040406 | |
| 20 | Instance method | Public | Method | Set Value of Item (Not for items in Hierarchy Column) | 20040701 | |
| 21 | Instance method | Public | Method | Hide or Show Item Contents | 20040406 |
Events
Class CL_SALV_ITEM has no event.
Types
Class CL_SALV_ITEM has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PARENT | Call by reference | Object reference (TYPE REF TO) | CL_SALV_NODE | Knotenschlüssel | 20040406 | |||
| 2 | SETTINGS | Call by reference | Type reference (TYPE) | LVC_S_LAYI | Layoutstruktur für Items des ALV-Tree Controls | 20040406 |
Method CONSTRUCTOR on class CL_SALV_ITEM has no exception.
Method GET_COLUMNNAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VALUE | Value transfer | Type reference (TYPE) | LVC_FNAME | ALV-Control: Feldname internes Tabellenfeld | 20040406 |
Method GET_COLUMNNAME on class CL_SALV_ITEM has no exception.
Method GET_FONT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VALUE | Value transfer | Type reference (TYPE) | SALV_DE_CONSTANT | ALV: Datenelement für Konstanten | 20040406 |
Method GET_FONT on class CL_SALV_ITEM has no exception.
Method GET_ICON Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VALUE | Value transfer | Type reference (TYPE) | SALV_DE_TREE_IMAGE | Bild zur Tree Hierarchie | 20040406 |
Method GET_ICON on class CL_SALV_ITEM has no exception.
Method GET_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VALUE | Value transfer | Object reference (TYPE REF TO) | CL_SALV_NODE | ALV: Knoten eines Trees | 20040420 |
Method GET_NODE on class CL_SALV_ITEM has no exception.
Method GET_STYLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VALUE | Value transfer | Type reference (TYPE) | SALV_DE_CONSTANT | ALV: Datenelement für Konstanten | 20040726 |
Method GET_STYLE on class CL_SALV_ITEM has no exception.
Method GET_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VALUE | Value transfer | Type reference (TYPE) | SALV_DE_CONSTANT | ALV: Datenelement für Konstanten | 20040406 |
Method GET_TYPE on class CL_SALV_ITEM has no exception.
Method GET_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_VALUE | Value transfer | Object reference (TYPE REF TO) | DATA | 20040701 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Zu diesem Item gibt es keinen Tabelleneintrag | 20040701 |
Method IS_CHECKED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VALUE | Value transfer | Type reference (TYPE) | SAP_BOOL | boolsche Variable (X=true, space=false) | 20040406 |
Method IS_CHECKED on class CL_SALV_ITEM has no exception.
Method IS_EDITABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VALUE | Value transfer | Type reference (TYPE) | SAP_BOOL | boolsche Variable (X=true, space=false) | 20040406 |
Method IS_EDITABLE on class CL_SALV_ITEM has no exception.
Method IS_ENABLED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VALUE | Value transfer | Type reference (TYPE) | SAP_BOOL | boolsche Variable (X=true, space=false) | 20040406 |
Method IS_ENABLED on class CL_SALV_ITEM has no exception.
Method IS_VISIBLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VALUE | Value transfer | Type reference (TYPE) | SAP_BOOL | boolsche Variable (X=true, space=false) | 20040406 |
Method IS_VISIBLE on class CL_SALV_ITEM has no exception.
Method SET_CHECKED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VALUE | Value transfer | Type reference (TYPE) | SAP_BOOL | boolsche Variable (X=true, space=false) | 20040406 |
Method SET_CHECKED on class CL_SALV_ITEM has no exception.
Method SET_EDITABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VALUE | Call by reference | Type reference (TYPE) | SAP_BOOL | boolsche Variable (X=true, space=false) | 20040406 |
Method SET_EDITABLE on class CL_SALV_ITEM has no exception.
Method SET_ENABLED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VALUE | Call by reference | Type reference (TYPE) | SAP_BOOL | boolsche Variable (X=true, space=false) | 20040406 |
Method SET_ENABLED on class CL_SALV_ITEM has no exception.
Method SET_FONT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VALUE | Call by reference | Type reference (TYPE) | SALV_DE_CONSTANT | ALV: Datenelement für Konstanten | 20040406 |
Method SET_FONT on class CL_SALV_ITEM has no exception.
Method SET_ICON Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VALUE | Call by reference | Type reference (TYPE) | SALV_DE_TREE_IMAGE | Bild zur Tree Hierarchie | 20040406 |
Method SET_ICON on class CL_SALV_ITEM has no exception.
Method SET_STYLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VALUE | Call by reference | Type reference (TYPE) | SALV_DE_CONSTANT | ALV: Datenelement für Konstanten | 20040726 |
Method SET_STYLE on class CL_SALV_ITEM has no exception.
Method SET_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VALUE | Call by reference | Type reference (TYPE) | SALV_DE_CONSTANT | ALV: Datenelement für Konstanten | 20040406 |
Method SET_TYPE on class CL_SALV_ITEM has no exception.
Method SET_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_VALUE | Value transfer | Type reference (TYPE) | ANY | 20040701 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Zu diesem Item gibt es keinen Tabelleneintrag | 20040701 | ||
| 2 | Datentyp ist nicht korrekt | 20040701 |
Method SET_VISIBLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VALUE | Call by reference | Type reference (TYPE) | SAP_BOOL | boolsche Variable (X=true, space=false) | 20040406 |
Method SET_VISIBLE on class CL_SALV_ITEM has no exception.
History
| Last changed by/on | SAP | 20040930 |
| SAP Release Created in | 700 |