SAP ABAP Class CL_DD_STRUCTURE_BROWSER (Structure Browser)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-DIC-ED (Application Component) Dictionary Maintenance
     SEDD_ANALYSIS (Package) Analysis Program
Properties
Class CL_DD_STRUCTURE_BROWSER  
Short Description Structure Browser    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SEDD_ANALYSIS   Analysis Program 
Created 20070612   SAP 
Last change 20090618   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_DD_STRUCTURE Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 CL_PAK_INTF_ANALYSIS Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
4 ICON Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_DD_STRUCTURE_BROWSER has no interface implemented.
Friends
Class CL_DD_STRUCTURE_BROWSER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ALV_TREE Instance attribute Private Object reference (TYPE REF TO) CL_GUI_ALV_TREE Tree 20070612
2 ALV_TREEBAR Instance attribute Private Object reference (TYPE REF TO) CL_GUI_TOOLBAR Toolbar 20070612
3 CONT Instance attribute Private Object reference (TYPE REF TO) CL_GUI_CONTAINER Container 20070612
4 KEY_INDEX Instance attribute Private Type reference (TYPE) TY_KEY_INDEX Index 20070612
5 LIST Instance attribute Private Type reference (TYPE) DDIC_STRUCTURE_BROWSER_LINES Detais 20070612
6 WB_MANAGER Instance attribute Private Object reference (TYPE REF TO) IF_WB_MANAGER Manager 20070612
Methods
# Method Level Visibility Method type Description Created on
1 ADD_FIELD Instance method Private Method Add a table field 20070613
2 ADD_STRUCTURE Instance method Private Method Add a structure 20080122
3 ADD_TABLE Instance method Private Method Add a table 20070612
4 ADD_TTYP Instance method Private Method Add a table type 20080121
5 ADD_VIEW Instance method Private Method Add a table 20080704
6 BUILD_TREE_FROM_STRUCTURE Instance method Public Method Build Tree from a an instance of cl_dd_structure 20080118
7 BUILD_TREE_FROM_TABNAME Instance method Public Method Build Tree for a table/structure specified by name 20080121
8 BUILD_TREE_FROM_TTYPNAME Instance method Public Method Build Tree for a tabletype specified by name 20080121
9 CHANGE_ALVTREE_TOOLBAR Instance method Private Method Toolbar(1) 20070612
10 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20070612
11 EXCLUDE_TB_FUNCTIONS Instance method Private Method Toolbar(2) 20070612
12 FREE Instance method Public Method Free Browser 20070612
13 GET_FIELD_ICON Instance method Private Method Node type -> Icon 20070615
14 GET_STATE_TEXT Instance method Private Method Active / Inactive / New 20070612
15 GET_SWITCHPOS_TEXT Instance method Private Method On/Off 20080121
16 GET_TABLE_ICON Instance method Private Method Get icon for a table / structure 20080121
17 GET_TTYP_ICON Instance method Private Method Get icon for a table type 20080121
18 GET_VIEW_ICON Instance method Private Method Get icon for a table / structure 20080704
19 HANDLE_NODE_DOUBLE_CLICK Instance method Private Event handling method Handle Double-Click 20070612
20 HIER_HEADER Instance method Private Method Hierarchy Column 20070612
21 REGISTER_ALVTREE_EVENTS Instance method Private Method Event registration 20070612
22 SETUP_FIELDLIST Instance method Private Method Setup fieldlist 20070612
Events
Class CL_DD_STRUCTURE_BROWSER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_INDEX_ENTRY Private See coding 20070612 begin of ty_index_entry, key type lvc_nkey, tabname type tabname, ttypname type typename, viewname type viewname, fieldname type fieldname, end of ty_index_entry
2 TY_KEY_INDEX Private See coding 20070612 ty_key_index type hashed table of ty_index_entry with unique key key
Method Signatures

Method ADD_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_FIELD Call by reference Type reference (TYPE) DD03P Field 20070613
2 Importing IM_PARENT_KEY Call by reference Type reference (TYPE) LVC_NKEY ALV Tree Control: Node Key 20070613
3 Importing IM_PREFIX Call by reference Type reference (TYPE) STRING 20080118
4 Importing IM_SUFFIX Call by reference Type reference (TYPE) STRING 20080118

Method ADD_FIELD on class CL_DD_STRUCTURE_BROWSER has no exception.

Method ADD_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PARENT_KEY Call by reference Type reference (TYPE) LVC_NKEY ALV Tree Control: Node Key 20080122
2 Importing IM_PREFIX Call by reference Type reference (TYPE) STRING 20080122
3 Importing IM_REF_FIELD Call by reference Type reference (TYPE) DD03P Supplied for structures 20080122
4 Importing IM_STRUCTURE Call by reference Object reference (TYPE REF TO) CL_DD_STRUCTURE Table Name 20080122
5 Importing IM_SUFFIX Call by reference Type reference (TYPE) STRING 20080122
6 Returning RE_KEY Value transfer Type reference (TYPE) LVC_NKEY ALV Tree Control: Node Key 20080122

Method ADD_STRUCTURE on class CL_DD_STRUCTURE_BROWSER has no exception.

Method ADD_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PARENT_KEY Call by reference Type reference (TYPE) LVC_NKEY ALV Tree Control: Node Key 20070612
2 Importing IM_PREFIX Call by reference Type reference (TYPE) STRING 20080121
3 Importing IM_REF_FIELD Call by reference Type reference (TYPE) DD03P Supplied for structures 20080121
4 Importing IM_SUFFIX Call by reference Type reference (TYPE) STRING 20080121
5 Importing IM_TABLE Call by reference Object reference (TYPE REF TO) CL_DD_STRUCTURE Table Name 20070612
6 Returning RE_KEY Value transfer Type reference (TYPE) LVC_NKEY ALV Tree Control: Node Key 20070615

Method ADD_TABLE on class CL_DD_STRUCTURE_BROWSER has no exception.

Method ADD_TTYP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PARENT_KEY Call by reference Type reference (TYPE) LVC_NKEY ALV Tree Control: Node Key 20080121
2 Importing IM_PREFIX Call by reference Type reference (TYPE) STRING 20080121
3 Importing IM_REF_FIELD Call by reference Type reference (TYPE) DD03P Structure 20080121
4 Importing IM_SUFFIX Call by reference Type reference (TYPE) STRING 20080121
5 Importing IM_TTYP Call by reference Object reference (TYPE REF TO) CL_DD_STRUCTURE Table Name 20080121
6 Returning RE_KEY Value transfer Type reference (TYPE) LVC_NKEY ALV Tree Control: Node Key 20080121

Method ADD_TTYP on class CL_DD_STRUCTURE_BROWSER has no exception.

Method ADD_VIEW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_PARENT_KEY Call by reference Type reference (TYPE) LVC_NKEY ALV Tree Control: Node Key 20080704
2 Importing IM_PREFIX Call by reference Type reference (TYPE) STRING 20080704
3 Importing IM_REF_FIELD Call by reference Type reference (TYPE) DD03P Supplied for structures 20080704
4 Importing IM_SUFFIX Call by reference Type reference (TYPE) STRING 20080704
5 Importing IM_VIEW Call by reference Object reference (TYPE REF TO) CL_DD_STRUCTURE Table Name 20080704
6 Returning RE_KEY Value transfer Type reference (TYPE) LVC_NKEY ALV Tree Control: Node Key 20080704

Method ADD_VIEW on class CL_DD_STRUCTURE_BROWSER has no exception.

Method BUILD_TREE_FROM_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_STRUCTURE Call by reference Object reference (TYPE REF TO) CL_DD_STRUCTURE Table Name 20080118
# Exception Resumable Description Created on
1 CX_PAK_GUI_ERROR GUI Package-Builder exceptions 20080118

Method BUILD_TREE_FROM_TABNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_SUPPRESS_AUTHORITY_CHECKS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20080128
2 Importing IM_TABLE Call by reference Type reference (TYPE) TABNAME Table Name 20080121
# Exception Resumable Description Created on
1 CX_PAK_GUI_ERROR GUI Package-Builder exceptions 20080121
2 CX_PAK_NOT_AUTHORIZED User doesn't have sufficient authorizations 20080128

Method BUILD_TREE_FROM_TTYPNAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_SUPPRESS_AUTHORITY_CHECKS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20080128
2 Importing IM_TTYP Call by reference Type reference (TYPE) TTYPENAME Name 20080121
# Exception Resumable Description Created on
1 CX_PAK_GUI_ERROR GUI Package-Builder exceptions 20080121
2 CX_PAK_NOT_AUTHORIZED User doesn't have sufficient authorizations 20080128

Method CHANGE_ALVTREE_TOOLBAR Signature

Method CHANGE_ALVTREE_TOOLBAR on class CL_DD_STRUCTURE_BROWSER has no parameter.
Method CHANGE_ALVTREE_TOOLBAR on class CL_DD_STRUCTURE_BROWSER has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CONTAINER Call by reference Object reference (TYPE REF TO) CL_GUI_CONTAINER Abstract Container for GUI Controls 20070612
2 Importing IM_WB_MANAGER Call by reference Object reference (TYPE REF TO) IF_WB_MANAGER Interface for Workbench Manager 20070612
# Exception Resumable Description Created on
1 CX_PAK_GUI_ERROR GUI Package-Builder exceptions 20070612

Method EXCLUDE_TB_FUNCTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting PT_EXCLUDE Call by reference Type reference (TYPE) UI_FUNCTIONS 20070612

Method EXCLUDE_TB_FUNCTIONS on class CL_DD_STRUCTURE_BROWSER has no exception.

Method FREE Signature

Method FREE on class CL_DD_STRUCTURE_BROWSER has no parameter.
Method FREE on class CL_DD_STRUCTURE_BROWSER has no exception.

Method GET_FIELD_ICON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_INTTYPE Call by reference Type reference (TYPE) INTTYPE Table category 20070615
2 Importing IM_KEYFLAG Call by reference Type reference (TYPE) KEYFLAG Identifies a key field of a table 20070615
3 Returning RE_ICON Value transfer Type reference (TYPE) TV_IMAGE Tree Control: Icon / Image 20070615

Method GET_FIELD_ICON on class CL_DD_STRUCTURE_BROWSER has no exception.

Method GET_STATE_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_TABLE Call by reference Object reference (TYPE REF TO) CL_DD_STRUCTURE Activation Status of a Repository Object 20080121
2 Returning RE_STATE Value transfer Type reference (TYPE) STRING 20070612

Method GET_STATE_TEXT on class CL_DD_STRUCTURE_BROWSER has no exception.

Method GET_SWITCHPOS_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_POS Call by reference Type reference (TYPE) SFW_SWITCHPOS Switch Position 20080121
2 Returning RE_TEXT Value transfer Type reference (TYPE) STRING 20080121

Method GET_SWITCHPOS_TEXT on class CL_DD_STRUCTURE_BROWSER has no exception.

Method GET_TABLE_ICON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_ICON Call by reference Type reference (TYPE) TV_IMAGE Tree Control: Icon / Image 20080121
2 Exporting EX_TYPE Call by reference Type reference (TYPE) STRING 20080121
3 Importing IM_GOTSTATE Call by reference Type reference (TYPE) DDGOTSTATE Activation Status of a Repository Object 20080121
4 Importing IM_TABCLASS Call by reference Type reference (TYPE) TABCLASS Table category 20080121

Method GET_TABLE_ICON on class CL_DD_STRUCTURE_BROWSER has no exception.

Method GET_TTYP_ICON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_ICON Value transfer Type reference (TYPE) TV_IMAGE Tree Control: Icon / Image 20080121

Method GET_TTYP_ICON on class CL_DD_STRUCTURE_BROWSER has no exception.

Method GET_VIEW_ICON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_ICON Call by reference Type reference (TYPE) TV_IMAGE Tree Control: Icon / Image 20080704
2 Exporting EX_TYPE Call by reference Type reference (TYPE) STRING 20080704
3 Importing IM_GOTSTATE Call by reference Type reference (TYPE) DDGOTSTATE Activation Status of a Repository Object 20080704
4 Importing IM_VIEWCLASS Call by reference Type reference (TYPE) VIEWCLASS Table category 20080704

Method GET_VIEW_ICON on class CL_DD_STRUCTURE_BROWSER has no exception.

Method HANDLE_NODE_DOUBLE_CLICK Signature

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

Method HANDLE_NODE_DOUBLE_CLICK on class CL_DD_STRUCTURE_BROWSER has no exception.

Method HIER_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_HIERARCHY_HEADER Call by reference Type reference (TYPE) TREEV_HHDR 20070612

Method HIER_HEADER on class CL_DD_STRUCTURE_BROWSER has no exception.

Method REGISTER_ALVTREE_EVENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACTIVATION Call by reference Type reference (TYPE) CHAR1 'X' 20070612
# Exception Resumable Description Created on
1 CTRL_ERROR 20070612

Method SETUP_FIELDLIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_FIELDLIST Call by reference Type reference (TYPE) LVC_T_FCAT Field catalog for ListViewer control 20070612
# Exception Resumable Description Created on
1 CX_PAK_GUI_ERROR 20070612
History
Last changed by/on SAP  20090618 
SAP Release Created in 710