SAP ABAP Class /MRSS/CL_SGW_UI_ORG_TREEDATA (Data Model Organizational Structure)
Hierarchy
MRSS_NW (Software Component) SAP Multiresource Scheduling for SAP Net
   PM-WOC (Application Component) Maintenance Processing
     /MRSS/SGW (Package) MRS Planning Board Web Interface
Properties
Class /MRSS/CL_SGW_UI_ORG_TREEDATA  
Short Description Data Model Organizational Structure    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /MRSS/SGW   MRS Planning Board Web Interface 
Created 20080613   SAP 
Last change 20141109    
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)
Interfaces
Class /MRSS/CL_SGW_UI_ORG_TREEDATA has no interface implemented.
Friends
Class /MRSS/CL_SGW_UI_ORG_TREEDATA has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_TRUE Constant Public Type reference (TYPE) BOOLE_D 'X' Boolean Value: True 20080710
2 GREF_HIERARCHY Static Attribute Private Object reference (TYPE REF TO) /MRSS/IF_SGW_ORG_HIER Interface for Organizational Structure 20090817
3 GREF_INSTANCE Static Attribute Public Object reference (TYPE REF TO) /MRSS/CL_SGW_UI_ORG_TREEDATA Data Model Organizational Structure 20080901
4 GREF_NODES Instance attribute Private Object reference (TYPE REF TO) DATA 20090811
5 GREF_ORG_MGMT Static Attribute Private Object reference (TYPE REF TO) /MRSS/CL_SGW_ORGMANAGEMENT Organizational Plan, Organizational Structure 20090815
6 GREF_STRUCTDESCR Static Attribute Private Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20090817
7 GREF_TREE_DATA Instance attribute Private Object reference (TYPE REF TO) DATA 20090811
8 GS_ORG_OBJECT Instance attribute Private Type reference (TYPE) /MRSS/T_SGW_OBJECT Object Attributes 20090818
9 GS_OUTPUT_FIELDS Static Attribute Private Type reference (TYPE) /MRSS/T_SGW_HIER_OUTPUT Output Field names for Hierarchy 20090817
10 GT_CREATED_OBJECTS Instance attribute Private Type reference (TYPE) /MRSS/T_SGW_ORG_OBJECT_TAB Table Type for Organization Objects 20080613
11 GT_LOADED_OBJECTS Instance attribute Private Type reference (TYPE) /MRSS/T_SGW_ORG_OBJECT_TAB Table Type for Organization Objects 20080617
12 GT_NODES Instance attribute Private Type reference (TYPE) /MRSS/T_SGW_TREENODE_TAB Table for Nodes in Tree 20080613
13 GT_TREE_DATA Instance attribute Private Type reference (TYPE) /MRSS/T_SGW_TREEDATA_TAB Table Type for Tree Data 20080613
14 GT_VISIBLE_FIELDS Static Attribute Private Type reference (TYPE) STRINGTAB Table with Strings 20090817
15 GV_FIELD_NAME Static Attribute Private Type reference (TYPE) FIELDNAME Field Name 20090817
16 GV_ID_COUNTER Instance attribute Private Type reference (TYPE) NUMC5 Node id 20080613
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_TREE_NODES Instance method Public Method Build Tree Nodes for random selected objects 20081118
2 COLLECT_SUBNODES Instance method Private Method Collect Lower Level subnodes 20080613
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20080613
4 CREATE_ROOT_OBJECTS Instance method Public Method Create and Return Root Objects 20090817
5 DETERMINE_NEIGHBOUR_NODES Instance method Private Method Determine Neighbouring nodes 20080613
6 EXPAND_NODE Instance method Private Method Expand the Tree node 20080617
7 GET_ID Instance method Private Method Assigns Node ID 20080613
8 GET_INFO_FOR_FIELDS Instance method Public Method Get the key field name/visible fields 20090817
9 GET_NODES_OF_CREATED_OBJECTS Instance method Private Method Fetch the Nodes 20080613
10 GET_NODE_BY_ID Instance method Public Method Get Object Reference from Id 20080901
11 GET_TREE_NODES Instance method Public Method Get the Tree nodes 20080613
12 HAS_CHANGES Instance method Public Method Whether any changes occured 20080613
13 INSTANTIATE_SUBOBJECTS Instance method Private Method Get Child objects of given node 20080617
14 ON_EXPAND_CLICK Instance method Public Method Action Handler for Expand/Collapse 20080617
15 REFRESH Instance method Public Method Clear the Global Data 20081126
16 REFRESH_HIER Instance method Public Method Refresh Data 20090817
17 REFRESH_HIERARCHY Instance method Public Method Refresh Org Management Hierarchy 20090817
18 UPDATE_CREATED Instance method Private Method Create Nodes 20080613
Events
Class /MRSS/CL_SGW_UI_ORG_TREEDATA has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_NODES_ITEM Private Type reference (TYPE) /MRSS/T_SGW_TREENODE Structure for Nodes in Tree 20080617
Method Signatures

Method BUILD_TREE_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_NODE Call by reference Type reference (TYPE) /MRSS/T_SGW_TREENODE Structure for Nodes in Tree 20081118
2 Exporting ET_PARENTS Call by reference Type reference (TYPE) /MRSS/T_SGW_TREENODE_TAB Structure for Nodes in Tree 20081119
3 Importing IS_DATA Call by reference Type reference (TYPE) /MRSS/T_SGW_ORG_DATA Organization Unit Data 20081118
# Exception Resumable Description Created on
1 TREE_NOT_BUILD Error during build tree nodes 20081119

Method COLLECT_SUBNODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_NODES Call by reference Type reference (TYPE) TABLE 20080613
2 Changing CT_SUBNODES Call by reference Type reference (TYPE) TABLE 20080613
3 Importing IS_NODE Call by reference Type reference (TYPE) ANY 20080613

Method COLLECT_SUBNODES on class /MRSS/CL_SGW_UI_ORG_TREEDATA has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ROOT_OBJECTS Call by reference Type reference (TYPE) /MRSS/T_SGW_ORG_OBJECT_TAB Table Type for Organization Objects 20080613
2 Importing IV_VISIBLE_NODES Call by reference Type reference (TYPE) INT4 Visible Nodes in a Tree Structure 20080613

Method CONSTRUCTOR on class /MRSS/CL_SGW_UI_ORG_TREEDATA has no exception.

Method CREATE_ROOT_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ROOT_OBJECTS Call by reference Type reference (TYPE) /MRSS/T_SGW_ORG_OBJECT_TAB Table Type for Organization Objects 20090817
2 Exporting EV_RETURN_CODE Call by reference Type reference (TYPE) SY-SUBRC Return Value of ABAP Statements 20090817
3 Importing IV_BEGIN_DATE Call by reference Type reference (TYPE) SY-DATUM Current Date of Application Server 20090817
4 Importing IV_END_DATE Call by reference Type reference (TYPE) SY-DATUM Current Date of Application Server 20090817

Method CREATE_ROOT_OBJECTS on class /MRSS/CL_SGW_UI_ORG_TREEDATA has no exception.

Method DETERMINE_NEIGHBOUR_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_NODE Call by reference Type reference (TYPE) ANY 20080613
2 Exporting EREF_LEFT_NODE Call by reference Object reference (TYPE REF TO) DATA 20090811
3 Exporting EREF_PARENT_NODE Call by reference Object reference (TYPE REF TO) DATA 20090811
4 Importing IS_NODE Call by reference Type reference (TYPE) ANY 20080613
5 Importing IT_HIERARCHY Call by reference Type reference (TYPE) ANY TABLE 20080613
6 Importing IT_NODES Call by reference Type reference (TYPE) ANY TABLE 20080613
# Exception Resumable Description Created on
1 NEIGHBOUR_NOT_YET_PROCESSED Adjacent Nodes Have Not Yet Been Processed 20080613

Method EXPAND_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_INDEX Call by reference Type reference (TYPE) SYTABIX index of the node 20080617

Method EXPAND_NODE on class /MRSS/CL_SGW_UI_ORG_TREEDATA has no exception.

Method GET_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_NODE_ID Value transfer Type reference (TYPE) NUMC5 5 Character Numeric NUMC 20080613

Method GET_ID on class /MRSS/CL_SGW_UI_ORG_TREEDATA has no exception.

Method GET_INFO_FOR_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EREF_STRUCTDESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20090817
2 Exporting ES_OUTPUT_FIELDS Call by reference Type reference (TYPE) /MRSS/T_SGW_HIER_OUTPUT Output Field names for Hierarchy 20090817
3 Exporting ET_VISIBLE_FIELDS Call by reference Type reference (TYPE) STRINGTAB Table with Strings 20090817
4 Exporting EV_FIELD_NAME Call by reference Type reference (TYPE) FIELDNAME Field Name 20090817

Method GET_INFO_FOR_FIELDS on class /MRSS/CL_SGW_UI_ORG_TREEDATA has no exception.

Method GET_NODES_OF_CREATED_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RREF_NODES Value transfer Object reference (TYPE REF TO) DATA 20090811

Method GET_NODES_OF_CREATED_OBJECTS on class /MRSS/CL_SGW_UI_ORG_TREEDATA has no exception.

Method GET_NODE_BY_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_NODE Call by reference Type reference (TYPE) ANY 20080901
2 Exporting ET_PARENTS Call by reference Type reference (TYPE) ANY TABLE 20081119
3 Importing IS_DATA Call by reference Type reference (TYPE) ANY 20081205
# Exception Resumable Description Created on
1 OBJECT_NOT_FOUND Reference doesnt exist 20080901

Method GET_TREE_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EREF_TREEDATA Value transfer Object reference (TYPE REF TO) DATA 20090811

Method GET_TREE_NODES on class /MRSS/CL_SGW_UI_ORG_TREEDATA has no exception.

Method HAS_CHANGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_CHANGED Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20080613

Method HAS_CHANGES on class /MRSS/CL_SGW_UI_ORG_TREEDATA has no exception.

Method INSTANTIATE_SUBOBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_OBJECTS Call by reference Type reference (TYPE) /MRSS/T_SGW_ORG_OBJECT_TAB Organization Objects 20080624
2 Importing IREF_OBJECT Call by reference Object reference (TYPE REF TO) /MRSS/CL_SGW_ORG_OBJECT Organization Objects 20080617
3 Importing IV_READ_NEXT_LEVEL Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20080617

Method INSTANTIATE_SUBOBJECTS on class /MRSS/CL_SGW_UI_ORG_TREEDATA has no exception.

Method ON_EXPAND_CLICK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NODE_ID Call by reference Type reference (TYPE) STRING Node id of Node to be expanded/collapsed 20080617

Method ON_EXPAND_CLICK on class /MRSS/CL_SGW_UI_ORG_TREEDATA has no exception.

Method REFRESH Signature

Method REFRESH on class /MRSS/CL_SGW_UI_ORG_TREEDATA has no parameter.
Method REFRESH on class /MRSS/CL_SGW_UI_ORG_TREEDATA has no exception.

Method REFRESH_HIER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BEGDA Call by reference Type reference (TYPE) SYDATUM SY-DATUM Current Date of Application Server 20090817
2 Importing IV_ENDDA Call by reference Type reference (TYPE) SYDATUM SY-DATUM Current Date of Application Server 20090817
3 Importing IV_OBJID Call by reference Type reference (TYPE) ANY 20090817
4 Importing IV_OTYPE Call by reference Type reference (TYPE) OTYPE Object Type 20090817
5 Importing IV_PLVAR Call by reference Type reference (TYPE) PLVAR Plan Version 20090817
6 Importing IV_WEGID Call by reference Type reference (TYPE) WEGID Evaluation Path 20090817

Method REFRESH_HIER on class /MRSS/CL_SGW_UI_ORG_TREEDATA has no exception.

Method REFRESH_HIERARCHY Signature

Method REFRESH_HIERARCHY on class /MRSS/CL_SGW_UI_ORG_TREEDATA has no parameter.
Method REFRESH_HIERARCHY on class /MRSS/CL_SGW_UI_ORG_TREEDATA has no exception.

Method UPDATE_CREATED Signature

Method UPDATE_CREATED on class /MRSS/CL_SGW_UI_ORG_TREEDATA has no parameter.
Method UPDATE_CREATED on class /MRSS/CL_SGW_UI_ORG_TREEDATA has no exception.
History
Last changed by/on SAP  20141109 
SAP Release Created in 610