SAP ABAP Class CL_OPC_NAMESPACE_TREE (Tree for Namespace Browsing of OPC Server)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   PP-PI-PMA (Application Component) Process Management
     COOPC (Package) OPC Interface (Open Process Control)
Properties
Class CL_OPC_NAMESPACE_TREE  
Short Description Tree for Namespace Browsing of OPC Server    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package COOPC   OPC Interface (Open Process Control) 
Created 20000914   SAP 
Last change 20050109   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CNTB Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CTOPC Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 GFW Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_OPC_NAMESPACE_TREE has no interface implemented.
Friends
Class CL_OPC_NAMESPACE_TREE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_COLUMN_DESCR Constant Private Type reference (TYPE) TV_ITMNAME 'DESCR' Constant: Name of Text Column 20000926
2 CO_COLUMN_QUALITY Constant Private Type reference (TYPE) TV_ITMNAME 'QUALITY' Constant: Name of Quality Column 20000926
3 CO_COLUMN_TOKEN Constant Private Type reference (TYPE) TV_ITMNAME 'TOKEN' Constant: Name of Token Column 20000926
4 CO_COLUMN_VALUE Constant Private Type reference (TYPE) TV_ITMNAME 'VALUE' Constant: Name of Item Value Column 20000926
5 CO_FCODE_FLAT Constant Private Type reference (TYPE) UI_FUNC 'FLAT' Constant: FCode "Flat Namespace" 20000926
6 CO_FCODE_REFRESH Constant Private Type reference (TYPE) UI_FUNC 'REFRESH' Constant: FCode "Refresf" 20000926
7 CO_FCODE_REFRESH_VALUES Constant Private Type reference (TYPE) UI_FUNC 'REFRESH_VALUES' Constant: FCode "Refresh Values" 20000926
8 CO_FCODE_SELECT_SERVER Constant Private Type reference (TYPE) UI_FUNC 'SELECT_SERVER' Constant: FCode "Select Server" 20000926
9 CO_TOKENTYPE_AE_ROOT Constant Public Type reference (TYPE) CHAR1 'E' Token Type "Alarms/Events Root" 20011105
10 CO_TOKENTYPE_AREA Constant Public Type reference (TYPE) CHAR1 'A' Token Type "Alarms/Events Area" 20011102
11 CO_TOKENTYPE_BRANCH Constant Public Type reference (TYPE) CHAR1 'B' Token Type "Data Access Node" 20011102
12 CO_TOKENTYPE_BRITEM Constant Public Type reference (TYPE) CHAR1 'J' Token Type "Data Access Item Node" 20011102
13 CO_TOKENTYPE_COND Constant Public Type reference (TYPE) CHAR1 'C' Token Type "Alarms/Events Condition" 20011102
14 CO_TOKENTYPE_DA_ROOT Constant Public Type reference (TYPE) CHAR1 'T' Token Type "Data Access Root" 20011105
15 CO_TOKENTYPE_INFO Constant Public Type reference (TYPE) CHAR1 'M' Token Type "Info Text" 20011105
16 CO_TOKENTYPE_ITEM Constant Public Type reference (TYPE) CHAR1 'I' Token Type "Data Access Item" 20011102
17 CO_TOKENTYPE_ROOT Constant Public Type reference (TYPE) CHAR1 'R' Token Type "Root" 20011105
18 CO_TOKENTYPE_SOURCE Constant Public Type reference (TYPE) CHAR1 'S' Token Type "Alarms/Events Source" 20011102
19 CO_TOKENTYPE_SUBCOND Constant Public Type reference (TYPE) CHAR1 'D' Token Type "Alarms/Events Subcondition" 20011102
20 M_BROWSETYPE Instance attribute Private Type reference (TYPE) COOPC_BROWSEFILTERTYPE Browse Type: Flat or Hierarchical 20000926
21 M_NAMESPACE_BUFFER_TAB Instance attribute Private Type reference (TYPE) TY_NODE_TAB Namespace Buffer Table 20000915
22 M_NODEKEY_COUNT Instance attribute Private Type reference (TYPE) TV_NODEKEY Last Node Key Taken 20000915
23 M_SEL_TOKENTYPES Instance attribute Private Type reference (TYPE) CHAR20 Token Type(s) that can Be Selected in Tree 20011112
24 M_SERVER_AE Instance attribute Private Type reference (TYPE) FLAG Indicator: Browse Alarms/Events Area 20011102
25 M_SERVER_DA Instance attribute Private Type reference (TYPE) FLAG Indicator: Browse Data Access Namespace 20011102
26 M_SERVER_DESCR Instance attribute Private Type reference (TYPE) COOPC_SERVERTXT Short Text of OPC Server to Browse 20000915
27 M_SERVER_ID Instance attribute Private Type reference (TYPE) COOPC_SERVERID ID of OPC Server to Browse 20000915
28 M_SERVER_RFCDEST Instance attribute Private Type reference (TYPE) COOPC_RFCDEST RFC Destination of OPC Server to Browse 20000915
29 M_TOOLBAR Instance attribute Private Object reference (TYPE REF TO) CL_GUI_TOOLBAR Reference to Toolbar Control 20000915
30 M_TREE Instance attribute Private Object reference (TYPE REF TO) CL_GUI_COLUMN_TREE Reference to Tree Control 20000915
Methods
# Method Level Visibility Method type Description Created on
1 BROWSE_AE_NAMESPACE Instance method Private Method Alarms/Events Namespace Browsing 20011102
2 BROWSE_AE_SOURCECOND Instance method Private Method Alarms/Events Source Conditions Browsing 20011102
3 BROWSE_AE_SUBCOND Instance method Private Method Alarms/Events Subsconditions Browsing 20011102
4 BROWSE_DA_NAMESPACE Instance method Private Method Data Access Namespace Browsing 20011102
5 BROWSE_ROOT Instance method Private Method Create Root Node 20011105
6 CONSTRUCTOR Instance method Public Constructor Create New Tree 20000914
7 GET_NAMESPACE_VIA_NODEKEY Instance method Private Method Get Namespace Below a Certain Node 20000914
8 GET_NEXT_NODEKEY Instance method Private Method Determine New Node Key 20000914
9 GET_OPC_SERVER Instance method Public Method Read Server Currently Browsed 20000915
10 GET_SELECTED_TREEITEM Instance method Public Method Get Selected Entry in Tree 20000915
11 GET_TREE_NODES Instance method Private Method Create Tree Node Table 20000914
12 ON_TOOLBAR_BUTTON_PRESSED Instance method Private Event handling method Event Handler: Toolbar Button was Pressed 20000914
13 ON_TREEITEM_SELECTED Instance method Private Event handling method Event Handler: Item was Selected in Tree (Double-Click) 20000914
14 ON_TREE_EXPANDED Instance method Private Event handling method Event Handler: Node was Expanded in Tree 20000914
15 REFRESH_TREE Instance method Public Method Refresh Tree Contents (Namespace Buffer is Withdrawn) 20000915
16 REFRESH_VALUES Instance method Private Method Refresh Item Value in Tree 20000925
17 SET_OPC_SERVER Instance method Public Method Set Server to Browse 20000915
Events
# Event Type Visibility Description Created on
1 TREEITEM_SELECTED Instance Event
(0)
Public
(2)
An Entry in the Tree was Double-Clicked 20000915
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_NODE_TAB Private See coding Table Type of Internal OPC Namespace Table 20000914
2 TY_NODE_WA Private See coding Structure of Internal OPC Namespace Table 20000914
Method Signatures

Method BROWSE_AE_NAMESPACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CHILD_NODES Call by reference Type reference (TYPE) TY_NODE_TAB Tabelle der Kinderknoten 20011102
2 Importing CURRENT_NODE Call by reference Type reference (TYPE) TY_NODE_WA Aktueller Knoten als Startpunkt zum Browsen 20011102
# Exception Resumable Description Created on
1 FAILED Fehlgeschlagen 20011102
2 PARENTNODE_UNKNOWN Startknoten ist auf dem Server unbekannt 20011102

Method BROWSE_AE_SOURCECOND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CHILD_NODES Call by reference Type reference (TYPE) TY_NODE_TAB Tabelle der Kinderknoten 20011102
2 Importing CURRENT_NODE Call by reference Type reference (TYPE) TY_NODE_WA Aktueller Knoten als Startpunkt zum Browsen 20011102
# Exception Resumable Description Created on
1 FAILED Fehlgeschlagen 20011102
2 PARENTNODE_UNKNOWN Startknoten ist auf dem Server unbekannt 20011102

Method BROWSE_AE_SUBCOND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CHILD_NODES Call by reference Type reference (TYPE) TY_NODE_TAB Tabelle der Kinderknoten 20011102
2 Importing CURRENT_NODE Call by reference Type reference (TYPE) TY_NODE_WA Aktueller Knoten als Startpunkt zum Browsen 20011102
# Exception Resumable Description Created on
1 FAILED Fehlgeschlagen 20011102
2 PARENTNODE_UNKNOWN Startknoten ist auf dem Server unbekannt 20011102

Method BROWSE_DA_NAMESPACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CHILD_NODES Call by reference Type reference (TYPE) TY_NODE_TAB Tabelle der Kinderknoten 20011102
2 Importing CURRENT_NODE Call by reference Type reference (TYPE) TY_NODE_WA Aktueller Knoten als Startpunkt zum Browsen 20011102
# Exception Resumable Description Created on
1 FAILED Fehlgeschlagen 20011102
2 PARENTNODE_UNKNOWN Startknoten ist auf dem Server unbekannt 20011102

Method BROWSE_ROOT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CHILD_NODES Call by reference Type reference (TYPE) TY_NODE_TAB Tabelle der Kinderknoten 20011105
2 Importing CURRENT_NODE Call by reference Type reference (TYPE) TY_NODE_WA Aktueller Knoten als Startpunkt zum Browsen 20011105
# Exception Resumable Description Created on
1 FAILED Fehlgeschlagen 20011105
2 PARENTNODE_UNKNOWN Startknoten ist auf dem Server unbekannt 20011105

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing O_CONTAINER Call by reference Object reference (TYPE REF TO) CL_GUI_CONTAINER Abstracter Container fuer GUI Controls 20000914
# Exception Resumable Description Created on
1 FAILED Instanziierung fehlgeschlagen 20000915

Method GET_NAMESPACE_VIA_NODEKEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CHILD_NODES Call by reference Type reference (TYPE) TY_NODE_TAB Tabelle der Kinderknoten 20000914
2 Importing PARENT_NODEKEY Call by reference Type reference (TYPE) TV_NODEKEY Schlüssel des Elternknotens 20000914
# Exception Resumable Description Created on
1 FAILED Interner Fehler 20000914
2 PARENTNODE_IS_NO_BRANCH Elternknoten ist kein expandierbarer Knoten 20000914
3 PARENTNODE_UNKNOWN Elternknoten unbekannt 20000914

Method GET_NEXT_NODEKEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning NODEKEY Value transfer Type reference (TYPE) TV_NODEKEY Schlüssel eines Knotens 20000914

Method GET_NEXT_NODEKEY on class CL_OPC_NAMESPACE_TREE has no exception.

Method GET_OPC_SERVER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting SERVER_AE Call by reference Type reference (TYPE) FLAG Es wird die Alarms&Events-Area gebrowsed 20011102
2 Exporting SERVER_DA Call by reference Type reference (TYPE) FLAG Es wird der DataAccess-Namensraum gebrowsed 20011102
3 Exporting SERVER_DESCR Call by reference Type reference (TYPE) COOPC_SERVERTXT Kurzbeschreibung des zu browsenden OPC-Servers 20000915
4 Exporting SERVER_ID Call by reference Type reference (TYPE) COOPC_SERVERID ID des zu browsenden OPC-Servers 20000915
5 Exporting SERVER_RFCDEST Call by reference Type reference (TYPE) COOPC_RFCDEST RFC-Destination des zu browsenden OPC-Servers 20000915

Method GET_OPC_SERVER on class CL_OPC_NAMESPACE_TREE has no exception.

Method GET_SELECTED_TREEITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ITEM_DESCR Call by reference Type reference (TYPE) TEXT80 Beschreibung des Items 20000915
2 Exporting ITEM_ID Call by reference Type reference (TYPE) TEXT255 Voll qualifizierte ID (Item-/Area-/Source-ID) 20000915
3 Exporting SELECTION_ALLOWED Call by reference Type reference (TYPE) FLAG Flag: 'X' die Selektion dieses Tokentyps ist erlaubt 20011112
4 Exporting TOKEN_TYPE Call by reference Type reference (TYPE) CHAR1 Art des Tokens (siehe Tokentype-Konstanten) 20011102
# Exception Resumable Description Created on
1 NO_ITEM_SELECTED Kein OPC-Item im Tree ausgewählt 20000915

Method GET_TREE_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ITEM_TAB Call by reference Type reference (TYPE) RCOOPC_TREEITEMS_TAB Tree Control: Itemtabelle 20000914
2 Exporting NODE_TAB Call by reference Type reference (TYPE) TREEV_NTAB Tree Control: Knotentabelle 20000914
3 Importing PARENT_NODE Call by reference Type reference (TYPE) TV_NODEKEY Schlüssel eines Eltern-Knotens 20000914

Method GET_TREE_NODES on class CL_OPC_NAMESPACE_TREE has no exception.

Method ON_TOOLBAR_BUTTON_PRESSED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FCODE Value transfer Attribute reference (LIKE) 20000914

Method ON_TOOLBAR_BUTTON_PRESSED on class CL_OPC_NAMESPACE_TREE has no exception.

Method ON_TREEITEM_SELECTED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODE_KEY Value transfer Attribute reference (LIKE) Schlüssel des Knotens 20000914

Method ON_TREEITEM_SELECTED on class CL_OPC_NAMESPACE_TREE has no exception.

Method ON_TREE_EXPANDED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODE_KEY Value transfer Attribute reference (LIKE) Schlüssel des Knotens 20000914

Method ON_TREE_EXPANDED on class CL_OPC_NAMESPACE_TREE has no exception.

Method REFRESH_TREE Signature

Method REFRESH_TREE on class CL_OPC_NAMESPACE_TREE has no parameter.
Method REFRESH_TREE on class CL_OPC_NAMESPACE_TREE has no exception.

Method REFRESH_VALUES Signature

Method REFRESH_VALUES on class CL_OPC_NAMESPACE_TREE has no parameter.
Method REFRESH_VALUES on class CL_OPC_NAMESPACE_TREE has no exception.

Method SET_OPC_SERVER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SEL_TOKENTYPES Call by reference Type reference (TYPE) CLIKE SPACE Im Tree selektierbare Token-Typ(en) 20011112
2 Importing SERVER_AE Call by reference Type reference (TYPE) FLAG SPACE Alarms&Events-Area browsen 20011102
3 Importing SERVER_DA Call by reference Type reference (TYPE) FLAG 'X' DataAccess-Namensraum browsen 20011102
4 Importing SERVER_DESCR Call by reference Type reference (TYPE) COOPC_SERVERTXT Kurzbeschreibung des zu browsenden OPC-Servers 20000915
5 Importing SERVER_ID Call by reference Type reference (TYPE) COOPC_SERVERID ID des zu browsenden OPC-Servers 20000915
6 Importing SERVER_RFCDEST Call by reference Type reference (TYPE) COOPC_RFCDEST RFC-Destination des zu browsenden OPC-Servers 20000915

Method SET_OPC_SERVER on class CL_OPC_NAMESPACE_TREE has no exception.
Event Signatures

Event TREEITEM_SELECTED Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 ITEM_DESCR Exporting Value transfer Type reference (TYPE) TEXT80 Beschreibung des Items 20000915
2 ITEM_ID Exporting Value transfer Type reference (TYPE) TEXT255 Voll qualifizierte ID (Item-/Source-/Area-ID) 20000915
3 TOKEN_TYPE Exporting Value transfer Type reference (TYPE) CHAR1 Type des Items (siehe tokentype-Konstanten) 20011102
History
Last changed by/on SAP  20050109 
SAP Release Created in 46C