SAP ABAP Class CL_LIST_TREE_MODEL (List Tree Control with Data Management at the Backend)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-UTL (Application Component) Workbench Utilities
     SEU_TREE_MODEL (Package) Tree Model Framework
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_ITEM_TREE_MODEL Tree Model with Items 19990719
Properties
Class CL_LIST_TREE_MODEL  
Short Description List Tree Control with Data Management at the Backend    
Super Class CL_ITEM_TREE_MODEL Tree Model with Items 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SEU_TREE_MODEL   Tree Model Framework 
Created 19981029   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 TREEM Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_LIST_TREE_MODEL has no interface implemented.
Friends
Class CL_LIST_TREE_MODEL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ALIGN_AUTO Constant Public Type reference (TYPE) I 3 Automatic Length 19990720
2 HIERARCHY_HEADER Instance attribute Private Type reference (TYPE) TREEM_HIERARCHY_HEADER Hierarchy Header 19990720
3 ITEM_PROVIDER Instance attribute Private Object reference (TYPE REF TO) IF_LIST_TREE_MODEL_ITEM_PROV " 19990921
4 LIST_HEADER Instance attribute Private Type reference (TYPE) TREEM_LIST_HEADER List Header 19990720
5 PRINT_MAX_WIDTH Instance attribute Private Type reference (TYPE) I " 19991014
6 TREE_CONTROL Instance attribute Private Object reference (TYPE REF TO) CL_GUI_LIST_TREE List Tree Control 19990720
7 WITH_HEADERS Instance attribute Private Type reference (TYPE) AS4FLAG 'X': With Headers 19990720
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ITEMS Instance method Public Method Insert Items 19990720
2 ADD_NODE Instance method Public Method Insert Nodes 19990720
3 ADD_NODES Instance method Public Method Insert Nodes 19990720
4 CALC_PRINT_HEADER_POSITIONS Instance method Private Method " 19991014
5 CONSTRUCTOR Instance method Public Constructor Constructor 19990719
6 GET_ITEM_LENGTH Instance method Private Method " 19991014
7 GET_NAMES_OF_VISIBLE_ITEMS Instance method Private Method Read the Names of the Visible Items of a Node 19991014
8 GET_TREE Instance method Public Method Returns the Tree in Tabular Form 19990813
9 GET_WITH_HEADERS Instance method Public Method Returns Whether the List Tree Has Headings 19990901
10 HIERARCHY_HEADER_ADJUST_WIDTH Instance method Public Method Adapt the Width of the Hierarchy Area to the Contents 19990721
11 HIERARCHY_HEADER_GET_PROPS Instance method Public Method Read Attributes of the Hierarchy Heading (Without Width) 19990901
12 HIERARCHY_HEADER_GET_WIDTH Instance method Public Method Read the Width of the Hierarchy Header 19990721
13 HIERARCHY_HEADER_SET_TEXT Instance method Public Method Set the Text of the Hierarchy Header 19990721
14 HIERARCHY_HEADER_SET_TOOLTIP Instance method Public Method Set Tool Tip for Hierarchy Header 19990721
15 HIERARCHY_HEADER_SET_T_IMAGE Instance method Public Method Sets the Picture for the Hierarchy Header 19990721
16 HIERARCHY_HEADER_SET_WIDTH Instance method Public Method Sets the Width of the Hierarchy Header 19990721
17 ITEM_SET_ALIGNMENT Instance method Public Method Sets the Alignment of an Item / Automatic Width 19990811
18 ITEM_SET_LENGTH Instance method Public Method Sets the Width of an Item 19990811
19 LIST_HEADER_GET_PROPERTIES Instance method Public Method Read Attributes of the List Heading 19990901
20 LIST_HEADER_SET_TEXT Instance method Public Method Sets Text for the List Header 19990721
21 LIST_HEADER_SET_TOOLTIP Instance method Public Method Sets Tool Tip for the List Header 19990721
22 LIST_HEADER_SET_T_IMAGE Instance method Public Method Sets Picture for List Header 19990721
23 NODE_GET_ITEM Instance method Public Method Returns an Item of a Node 19990812
24 NODE_GET_ITEMS Instance method Public Method Returns the Items of a Node 19990812
25 NODE_GET_PROPERTIES Instance method Public Method Returns the Attributes of a Node 19990812
26 NODE_SET_LAST_HIERARCHY_ITEM Instance method Public Method Defines Last Item Under the Hierarchy Header 19990721
27 PRINT_ITEM Instance method Private Method " 19991011
28 PRINT_ITEMS Instance method Private Method " 19991011
29 PRINT_TREE_NODE_INT Instance method Private Method Print 19991014
30 SET_ITEM_PROVIDER Instance method Public Method " 19990921
31 UPDATE_HIERARCHY_HEADER_INT Instance method Private Method Update the Hierarchy Heading 19990720
32 UPDATE_ITEMS Instance method Public Method Change Items 19990721
33 UPDATE_LIST_HEADER_INT Instance method Private Method Update the List Heading 19990720
34 UPDATE_NODES Instance method Public Method Change Nodes 19990721
Events
Class CL_LIST_TREE_MODEL has no event.
Types
Class CL_LIST_TREE_MODEL has no local type.
Method Signatures

Method ADD_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITEM_TABLE Call by reference Type reference (TYPE) TREEMLITAC Items 19990720
# Exception Resumable Description Created on
1 ERROR_IN_ITEM_TABLE ITEM_TABLE enthält einen fehlerhaften Eintrag 19990810

Method ADD_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DISABLED Value transfer Type reference (TYPE) AS4FLAG " 19990720
2 Importing DRAG_DROP_ID Value transfer Type reference (TYPE) I " 19990720
3 Importing EXPANDED_IMAGE Value transfer Type reference (TYPE) TV_IMAGE " 19990720
4 Importing EXPANDER Value transfer Type reference (TYPE) AS4FLAG " 19990720
5 Importing HIDDEN Value transfer Type reference (TYPE) AS4FLAG " 19990720
6 Importing IMAGE Value transfer Type reference (TYPE) TV_IMAGE " 19990720
7 Importing ISFOLDER Call by reference Type reference (TYPE) AS4FLAG " 19990720
8 Importing ITEMS_INCOMPLETE Value transfer Type reference (TYPE) AS4FLAG " 19990921
9 Importing ITEM_TABLE Call by reference Type reference (TYPE) TREEMLITAB Items des Knotens 19990727
10 Importing LAST_HITEM Value transfer Type reference (TYPE) TV_ITMNAME " 19990720
11 Importing NODE_KEY Call by reference Type reference (TYPE) TM_NODEKEY Schlüssel des Knotens 19990720
12 Importing NO_BRANCH Value transfer Type reference (TYPE) AS4FLAG " 19990720
13 Importing RELATIONSHIP Value transfer Type reference (TYPE) I Verwandschaftsbeziehung 19990720
14 Importing RELATIVE_NODE_KEY Call by reference Type reference (TYPE) TM_NODEKEY Schlüssel des verwandten Knotens 19990720
15 Importing STYLE Value transfer Type reference (TYPE) INT4 " 19990720
16 Importing USER_OBJECT Value transfer Object reference (TYPE REF TO) OBJECT User Objekt 19990812
# Exception Resumable Description Created on
1 ERROR_IN_ITEM_TABLE ITEM_TABLE enthält einen fehlerhaften Eintrag 19990810
2 ILLEGAL_RELATIONSHIP RELATIONSHIP hat unzulässigen Wert 19990720
3 NODE_KEY_EMPTY NODE_KEY ist initial oder besteht nur aus Blanks 19990810
4 NODE_KEY_EXISTS Knotenschlüssel ist bereits vorhanden 19990720
5 RELATIVE_NODE_NOT_FOUND Knoten RELATIVE_NODE gehört nicht zu diesem Baum 19990720

Method ADD_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODE_TABLE Call by reference Type reference (TYPE) TREEMLNOTA Knoten-Tabelle 19990720
# Exception Resumable Description Created on
1 ERROR_IN_NODE_TABLE Knotentabelle fehlerhaft 19990720

Method CALC_PRINT_HEADER_POSITIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing USE_MAX_WIDTH Value transfer Type reference (TYPE) AS4FLAG " 19991014

Method CALC_PRINT_HEADER_POSITIONS on class CL_LIST_TREE_MODEL has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing HIDE_SELECTION Value transfer Type reference (TYPE) AS4FLAG Sichtbarkeit der Selektion 19990719
2 Importing HIERARCHY_HEADER Call by reference Type reference (TYPE) TREEMHHDR Hierarchie-Header 19990719
3 Importing ITEM_SELECTION Value transfer Type reference (TYPE) AS4FLAG Selektierbarkeit einzelner Items 19990719
4 Importing LIST_HEADER Call by reference Type reference (TYPE) TREEMLHDR List-Header 19990719
5 Importing NODE_SELECTION_MODE Value transfer Type reference (TYPE) I Knoten: Einfach- oder Mehrfachselektion 19990719
6 Importing WITH_HEADERS Value transfer Type reference (TYPE) AS4FLAG 'X': mit Headern 19990719
# Exception Resumable Description Created on
1 ILLEGAL_NODE_SELECTION_MODE Parameter NODE_SELECTION_MODE fehlerhaft 19990719

Method GET_ITEM_LENGTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITEM Call by reference Type reference (TYPE) TREEMIITEM " 19991014
2 Returning ITEM_LENGTH Value transfer Type reference (TYPE) I " 19991014

Method GET_ITEM_LENGTH on class CL_LIST_TREE_MODEL has no exception.

Method GET_NAMES_OF_VISIBLE_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing ITEM_NAMES Call by reference Type reference (TYPE) TREEMINAMT Tabelle von Item-Namen 19991014
2 Importing NODE Value transfer Object reference (TYPE REF TO) CL_ITEM_TREE_MODEL_NODE " 19991014

Method GET_NAMES_OF_VISIBLE_ITEMS on class CL_LIST_TREE_MODEL has no exception.

Method GET_TREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ITEM_TABLE Call by reference Type reference (TYPE) TREEMLITAC Item-Tabelle 19990813
2 Exporting NODE_TABLE Call by reference Type reference (TYPE) TREEMLNOTA Knoten-Tabelle 19990813
3 Importing ROOT_NODE_KEY Call by reference Type reference (TYPE) TM_NODEKEY Schlüssel Wurzelknoten des Teilbaumes 19990813
# Exception Resumable Description Created on
1 ROOT_NODE_NOT_FOUND Knoten mit Schlüssel ROOT_NODE_KEY existiert nicht 19990813

Method GET_WITH_HEADERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting WITH_HEADERS Value transfer Type reference (TYPE) AS4FLAG 'X': List Tree hat Header 19990901

Method GET_WITH_HEADERS on class CL_LIST_TREE_MODEL has no exception.

Method HIERARCHY_HEADER_ADJUST_WIDTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INCLUDE_HEADING Value transfer Type reference (TYPE) AS4FLAG 'X': Überschrift bei der Breitenberechnung berücksichtigen 19990923
# Exception Resumable Description Created on
1 CNTL_SYSTEM_ERROR " 19990721
2 CONTROL_DEAD Tree Control wurde bereits zerstört 19990721
3 CONTROL_NOT_EXISTING Tree Control existiert nicht 19990721
4 FAILED Allgemeiner Fehler 19990721

Method HIERARCHY_HEADER_GET_PROPS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting PROPERTIES Call by reference Type reference (TYPE) TREEMHHDR Eigenschaften des Hierarchie Headers 19990901
# Exception Resumable Description Created on
1 TREE_HAS_NO_HEADERS Dieser List Tree hat keine Header 19990901

Method HIERARCHY_HEADER_GET_WIDTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting WIDTH Value transfer Type reference (TYPE) I Breite des Headers 19990901
# Exception Resumable Description Created on
1 CNTL_SYSTEM_ERROR " 19990721
2 CONTROL_DEAD Tree Control wurde bereits zerstört 19990721
3 CONTROL_NOT_EXISTING Tree Control existiert nicht 19990721
4 FAILED Allgemeiner Fehler 19990721
5 TREE_HAS_NO_HEADERS Dieser List Tree hat keine Header 19990721

Method HIERARCHY_HEADER_SET_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing TEXT Call by reference Type reference (TYPE) TV_HEADING Text des Headers 19990721
# Exception Resumable Description Created on
1 TREE_HAS_NO_HEADERS Dieser List Tree hat keine Header 19990721

Method HIERARCHY_HEADER_SET_TOOLTIP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing TOOLTIP Call by reference Type reference (TYPE) TV_HEADING Tooltip des Headers 19990721
# Exception Resumable Description Created on
1 TREE_HAS_NO_HEADERS Dieser List Tree hat keine Header 19990721

Method HIERARCHY_HEADER_SET_T_IMAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing T_IMAGE Call by reference Type reference (TYPE) TV_IMAGE Bild des Headers 19990721
# Exception Resumable Description Created on
1 TREE_HAS_NO_HEADERS Dieser List Tree hat keine Header 19990721

Method HIERARCHY_HEADER_SET_WIDTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing WIDTH Value transfer Type reference (TYPE) I Breite des Headers in Zeichen 19990721
# Exception Resumable Description Created on
1 TREE_HAS_NO_HEADERS Dieser List Tree hat keine Header 19990721

Method ITEM_SET_ALIGNMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ALIGNMENT Value transfer Type reference (TYPE) I Ausrichtung des Items 19990811
2 Importing ITEM_NAME Value transfer Type reference (TYPE) TV_ITMNAME Name des Items 19990811
3 Importing NODE_KEY Call by reference Type reference (TYPE) TM_NODEKEY Schlüssel des Knotens 19990811
# Exception Resumable Description Created on
1 ILLEGAL_ALIGNMENT Parameter ALIGNMENT hat unzulässigen Wert 19990811
2 ITEM_NOT_FOUND Item mit Namen ITEM_NAME nicht vorhanden 19990811
3 NODE_NOT_FOUND Knoten mit Schlüssel NODE_KEY nicht vorhanden 19990811

Method ITEM_SET_LENGTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITEM_NAME Value transfer Type reference (TYPE) TV_ITMNAME Name des Items 19990811
2 Importing LENGTH Value transfer Type reference (TYPE) I Länge des Items in Zeichen 19990811
3 Importing NODE_KEY Call by reference Type reference (TYPE) TM_NODEKEY Schlüssel des Knotens 19990811
# Exception Resumable Description Created on
1 ITEM_NOT_FOUND Item mit Namen ITEM_NAME nicht vorhanden 19990811
2 NODE_NOT_FOUND Knoten mit Schlüssel NODE_KEY nicht vorhanden 19990811

Method LIST_HEADER_GET_PROPERTIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting PROPERTIES Call by reference Type reference (TYPE) TREEMLHDR Eigenschaften des List Headers 19990901
# Exception Resumable Description Created on
1 TREE_HAS_NO_HEADERS Dieser List Tree hat keine Header 19990901

Method LIST_HEADER_SET_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing TEXT Call by reference Type reference (TYPE) TV_HEADING Text des Headers 19990721
# Exception Resumable Description Created on
1 TREE_HAS_NO_HEADERS Dieser List Tree hat keine Header 19990721

Method LIST_HEADER_SET_TOOLTIP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing TOOLTIP Call by reference Type reference (TYPE) TV_HEADING Tooltip des Headers 19990721
# Exception Resumable Description Created on
1 TREE_HAS_NO_HEADERS Dieser List Tree hat keine Header 19990721

Method LIST_HEADER_SET_T_IMAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing T_IMAGE Call by reference Type reference (TYPE) TV_IMAGE Bild des Headers 19990721
# Exception Resumable Description Created on
1 TREE_HAS_NO_HEADERS Dieser List Tree hat keine Header 19990721

Method NODE_GET_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ITEM Call by reference Type reference (TYPE) TREEMLITEM Item 19990812
2 Importing ITEM_NAME Value transfer Type reference (TYPE) TV_ITMNAME Name des Items 19990812
3 Importing NODE_KEY Call by reference Type reference (TYPE) TM_NODEKEY Schlüssel des Knotens 19990812
# Exception Resumable Description Created on
1 ITEM_NOT_FOUND Item mit Namen ITEM_NAME exisiert nicht 19990812
2 NODE_NOT_FOUND Knoten mit Schlüssel NODE_KEY existiert nicht 19990812

Method NODE_GET_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ITEM_TABLE Call by reference Type reference (TYPE) TREEMLITAB Items 19990812
2 Importing NODE_KEY Call by reference Type reference (TYPE) TM_NODEKEY Schlüssel des Knotens 19990812
# Exception Resumable Description Created on
1 NODE_NOT_FOUND Knoten mit Schlüssel NODE_KEY existiert nicht 19990812

Method NODE_GET_PROPERTIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODE_KEY Call by reference Type reference (TYPE) TM_NODEKEY Schlüssel des Knotens 19990812
2 Exporting PROPERTIES Call by reference Type reference (TYPE) TREEMLNODT Eigenschaften des Knotens 19990812
# Exception Resumable Description Created on
1 NODE_NOT_FOUND Knoten mit Schlüssel NODE_KEY existiert nicht 19990812

Method NODE_SET_LAST_HIERARCHY_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LAST_HIERARCHY_ITEM Value transfer Type reference (TYPE) TV_ITMNAME 'Name des Items 19990721
2 Importing NODE_KEY Call by reference Type reference (TYPE) TM_NODEKEY Schlüssel des Knotens 19990721
# Exception Resumable Description Created on
1 NODE_NOT_FOUND Knoten existiert nicht 19990721

Method PRINT_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITEM Call by reference Type reference (TYPE) TREEMIITEM " 19991011
2 Importing MAX_LENGTH Value transfer Type reference (TYPE) I " 19991011
3 Exporting OUTPUT_LENGTH Value transfer Type reference (TYPE) I " 19991011
4 Exporting OUTPUT_TRUNCATED Value transfer Type reference (TYPE) AS4FLAG " 19991011
5 Importing POS Value transfer Type reference (TYPE) I " 19991011

Method PRINT_ITEM on class CL_LIST_TREE_MODEL has no exception.

Method PRINT_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CALC_LAYOUT Value transfer Type reference (TYPE) AS4FLAG " 19991014
2 Importing END_ITEM_INDEX Value transfer Type reference (TYPE) I " 19991011
3 Exporting ITEMS_WIDTH Value transfer Type reference (TYPE) I " 19991014
4 Changing ITEM_NAMES Call by reference Type reference (TYPE) TREEMINAMT " 19991011
5 Importing MAX_POS Value transfer Type reference (TYPE) I " 19991011
6 Importing NODE Value transfer Object reference (TYPE REF TO) CL_ITEM_TREE_MODEL_NODE " 19991011
7 Importing POS Value transfer Type reference (TYPE) I " 19991011

Method PRINT_ITEMS on class CL_LIST_TREE_MODEL has no exception.

Method PRINT_TREE_NODE_INT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CALC_LAYOUT Value transfer Type reference (TYPE) AS4FLAG " 19991014
2 Importing NODE Value transfer Object reference (TYPE REF TO) CL_TREE_MODEL_NODE " 19991014
3 Importing POS Value transfer Type reference (TYPE) I " 19991014

Method PRINT_TREE_NODE_INT on class CL_LIST_TREE_MODEL has no exception.

Method SET_ITEM_PROVIDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITEM_PROVIDER Value transfer Object reference (TYPE REF TO) IF_LIST_TREE_MODEL_ITEM_PROV " 19990921

Method SET_ITEM_PROVIDER on class CL_LIST_TREE_MODEL has no exception.

Method UPDATE_HIERARCHY_HEADER_INT Signature

Method UPDATE_HIERARCHY_HEADER_INT on class CL_LIST_TREE_MODEL has no parameter.
# Exception Resumable Description Created on
1 CNTL_SYSTEM_ERROR " 19990720
2 FAILED " 19990720

Method UPDATE_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITEM_TABLE Call by reference Type reference (TYPE) TREEMLITAD Items des Knotens 19990721
# Exception Resumable Description Created on
1 ERROR_IN_ITEM_TABLE ITEM_TABLE enthält einen fehlerhaften Eintrag 19990810

Method UPDATE_LIST_HEADER_INT Signature

Method UPDATE_LIST_HEADER_INT on class CL_LIST_TREE_MODEL has no parameter.
# Exception Resumable Description Created on
1 CNTL_SYSTEM_ERROR " 19990720
2 FAILED " 19990720

Method UPDATE_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODE_TABLE Call by reference Type reference (TYPE) TREEMLUNOT Knotentabelle 19990721
# Exception Resumable Description Created on
1 ERROR_IN_NODE_TABLE NODE_TABLE enthält einen fehlerhaften Eintrag 19990811
History
Last changed by/on SAP  20130531 
SAP Release Created in