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 | 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 | Constant | Public | Type reference (TYPE) | BOOLE_D | 'X' | Boolean Value: True | 20080710 | ||
| 2 | Static Attribute | Private | Object reference (TYPE REF TO) | /MRSS/IF_SGW_ORG_HIER | Interface for Organizational Structure | 20090817 | |||
| 3 | Static Attribute | Public | Object reference (TYPE REF TO) | /MRSS/CL_SGW_UI_ORG_TREEDATA | Data Model Organizational Structure | 20080901 | |||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | 20090811 | ||||
| 5 | Static Attribute | Private | Object reference (TYPE REF TO) | /MRSS/CL_SGW_ORGMANAGEMENT | Organizational Plan, Organizational Structure | 20090815 | |||
| 6 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20090817 | |||
| 7 | Instance attribute | Private | Object reference (TYPE REF TO) | DATA | 20090811 | ||||
| 8 | Instance attribute | Private | Type reference (TYPE) | /MRSS/T_SGW_OBJECT | Object Attributes | 20090818 | |||
| 9 | Static Attribute | Private | Type reference (TYPE) | /MRSS/T_SGW_HIER_OUTPUT | Output Field names for Hierarchy | 20090817 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | /MRSS/T_SGW_ORG_OBJECT_TAB | Table Type for Organization Objects | 20080613 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | /MRSS/T_SGW_ORG_OBJECT_TAB | Table Type for Organization Objects | 20080617 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | /MRSS/T_SGW_TREENODE_TAB | Table for Nodes in Tree | 20080613 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | /MRSS/T_SGW_TREEDATA_TAB | Table Type for Tree Data | 20080613 | |||
| 14 | Static Attribute | Private | Type reference (TYPE) | STRINGTAB | Table with Strings | 20090817 | |||
| 15 | Static Attribute | Private | Type reference (TYPE) | FIELDNAME | Field Name | 20090817 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | NUMC5 | Node id | 20080613 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Build Tree Nodes for random selected objects | 20081118 | |
| 2 | Instance method | Private | Method | Collect Lower Level subnodes | 20080613 | |
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20080613 | |
| 4 | Instance method | Public | Method | Create and Return Root Objects | 20090817 | |
| 5 | Instance method | Private | Method | Determine Neighbouring nodes | 20080613 | |
| 6 | Instance method | Private | Method | Expand the Tree node | 20080617 | |
| 7 | Instance method | Private | Method | Assigns Node ID | 20080613 | |
| 8 | Instance method | Public | Method | Get the key field name/visible fields | 20090817 | |
| 9 | Instance method | Private | Method | Fetch the Nodes | 20080613 | |
| 10 | Instance method | Public | Method | Get Object Reference from Id | 20080901 | |
| 11 | Instance method | Public | Method | Get the Tree nodes | 20080613 | |
| 12 | Instance method | Public | Method | Whether any changes occured | 20080613 | |
| 13 | Instance method | Private | Method | Get Child objects of given node | 20080617 | |
| 14 | Instance method | Public | Method | Action Handler for Expand/Collapse | 20080617 | |
| 15 | Instance method | Public | Method | Clear the Global Data | 20081126 | |
| 16 | Instance method | Public | Method | Refresh Data | 20090817 | |
| 17 | Instance method | Public | Method | Refresh Org Management Hierarchy | 20090817 | |
| 18 | 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 | ES_NODE | Call by reference | Type reference (TYPE) | /MRSS/T_SGW_TREENODE | Structure for Nodes in Tree | 20081118 | |||
| 2 | ET_PARENTS | Call by reference | Type reference (TYPE) | /MRSS/T_SGW_TREENODE_TAB | Structure for Nodes in Tree | 20081119 | |||
| 3 | IS_DATA | Call by reference | Type reference (TYPE) | /MRSS/T_SGW_ORG_DATA | Organization Unit Data | 20081118 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | CT_NODES | Call by reference | Type reference (TYPE) | TABLE | 20080613 | ||||
| 2 | CT_SUBNODES | Call by reference | Type reference (TYPE) | TABLE | 20080613 | ||||
| 3 | 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 | IT_ROOT_OBJECTS | Call by reference | Type reference (TYPE) | /MRSS/T_SGW_ORG_OBJECT_TAB | Table Type for Organization Objects | 20080613 | |||
| 2 | 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 | ET_ROOT_OBJECTS | Call by reference | Type reference (TYPE) | /MRSS/T_SGW_ORG_OBJECT_TAB | Table Type for Organization Objects | 20090817 | |||
| 2 | EV_RETURN_CODE | Call by reference | Type reference (TYPE) | SY-SUBRC | Return Value of ABAP Statements | 20090817 | |||
| 3 | IV_BEGIN_DATE | Call by reference | Type reference (TYPE) | SY-DATUM | Current Date of Application Server | 20090817 | |||
| 4 | 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 | CS_NODE | Call by reference | Type reference (TYPE) | ANY | 20080613 | ||||
| 2 | EREF_LEFT_NODE | Call by reference | Object reference (TYPE REF TO) | DATA | 20090811 | ||||
| 3 | EREF_PARENT_NODE | Call by reference | Object reference (TYPE REF TO) | DATA | 20090811 | ||||
| 4 | IS_NODE | Call by reference | Type reference (TYPE) | ANY | 20080613 | ||||
| 5 | IT_HIERARCHY | Call by reference | Type reference (TYPE) | ANY TABLE | 20080613 | ||||
| 6 | IT_NODES | Call by reference | Type reference (TYPE) | ANY TABLE | 20080613 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | 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 | EREF_STRUCTDESCR | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20090817 | |||
| 2 | ES_OUTPUT_FIELDS | Call by reference | Type reference (TYPE) | /MRSS/T_SGW_HIER_OUTPUT | Output Field names for Hierarchy | 20090817 | |||
| 3 | ET_VISIBLE_FIELDS | Call by reference | Type reference (TYPE) | STRINGTAB | Table with Strings | 20090817 | |||
| 4 | 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 | 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 | ES_NODE | Call by reference | Type reference (TYPE) | ANY | 20080901 | ||||
| 2 | ET_PARENTS | Call by reference | Type reference (TYPE) | ANY TABLE | 20081119 | ||||
| 3 | IS_DATA | Call by reference | Type reference (TYPE) | ANY | 20081205 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Reference doesnt exist | 20080901 |
Method GET_TREE_NODES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | 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 | ET_OBJECTS | Call by reference | Type reference (TYPE) | /MRSS/T_SGW_ORG_OBJECT_TAB | Organization Objects | 20080624 | |||
| 2 | IREF_OBJECT | Call by reference | Object reference (TYPE REF TO) | /MRSS/CL_SGW_ORG_OBJECT | Organization Objects | 20080617 | |||
| 3 | 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 | 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 | IV_BEGDA | Call by reference | Type reference (TYPE) | SYDATUM | SY-DATUM | Current Date of Application Server | 20090817 | ||
| 2 | IV_ENDDA | Call by reference | Type reference (TYPE) | SYDATUM | SY-DATUM | Current Date of Application Server | 20090817 | ||
| 3 | IV_OBJID | Call by reference | Type reference (TYPE) | ANY | 20090817 | ||||
| 4 | IV_OTYPE | Call by reference | Type reference (TYPE) | OTYPE | Object Type | 20090817 | |||
| 5 | IV_PLVAR | Call by reference | Type reference (TYPE) | PLVAR | Plan Version | 20090817 | |||
| 6 | 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 |