SAP ABAP Class CL_WSD_CBP_TREE_MANAGER (Tree manager for CBP)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   SD-MD-MM-CS (Application Component) Additional Material Functions
     WSD_CS_FU (Package) Functionality Enhanced Material Search
Properties
Class CL_WSD_CBP_TREE_MANAGER  
Short Description Tree manager for CBP    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class WSD_MESSAGE    
Program status     
Category 0   
Package WSD_CS_FU   Functionality Enhanced Material Search 
Created 20060802   SAP 
Last change 20100310   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_WSD_CBP_TREE_MANAGER has no forward declaration.
Interfaces
Class CL_WSD_CBP_TREE_MANAGER has no interface implemented.
Friends
Class CL_WSD_CBP_TREE_MANAGER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ABAP_FALSE Constant Protected Type reference (TYPE) BOOLEAN ' ' Boolean Variable (X=True, -=False, Space=Unknown) 20060802
2 ABAP_TRUE Constant Protected Type reference (TYPE) BOOLEAN 'X' Boolean Variable (X=True, -=False, Space=Unknown) 20060802
3 C_CLOSE_BY_PLANTS Constant Public Type reference (TYPE) NAME_FELD 'CLOSE_BY_PLANTS' Close-by plants string 20070301
4 C_TOP_NODE_ID Constant Private Type reference (TYPE) WSD_CBP_NODE_ID '!TOP_NODE!' Top node id 20060920
5 MR_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_WSD_CBP_TREE_MANAGER Tree manager for CBP 20060926
6 MT_GROUPINGS Static Attribute Private Type reference (TYPE) WSDT_CBP_DHTEXT_TTY Table of WSDT_CBP_DHTEXT 20060802
7 MT_GROUPINGS_HIERARCHY Static Attribute Private Type reference (TYPE) WSDT_CBP_DHSEQ_TTY Table of WSDT_CBP_DHSEQ 20060802
8 MT_PLANTS Static Attribute Private Type reference (TYPE) WSD_CBP_T001W_TTY Table of plants (T001W) 20060802
9 M_CONFIG Static Attribute Private Object reference (TYPE REF TO) CL_WSD_CONFIG Config class 20060802
10 M_CURRENT_DH_ID Static Attribute Private Type reference (TYPE) WSD_DH_ID Current DH_ID 20060803
11 M_FIELD_DESC Static Attribute Private Object reference (TYPE REF TO) CL_WSD_CBP_T001W_FIELD_DESC T001W field description 20060825
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Private Constructor Constructor 20060802
2 CREATE_TOP_GROUPING_NODE Instance method Public Method Set top node data 20060803
3 FILL_CHILDREN_NODE_DATA Instance method Private Method Fill Children nodes content 20060821
4 GET_CHILDREN_FILTER_NAME Instance method Private Method Return children filter name 20060808
5 GET_CLOSE_BY_FROM_NODE_DATA Instance method Public Method Get a plant from a node data 20060922
6 GET_FIELD_VALUE Instance method Public Method Return children filter name 20060808
7 GET_GROUPINGS Instance method Public Method Return grouping values 20060802
8 GET_INSTANCE Static method Public Method Get Instance 20060926
9 GET_NODE_DESCRIPTION Instance method Public Method Get Node Description 20060808
10 GET_NODE_ID Instance method Public Method Get node id 20060920
11 GET_PLANTS_FILTER Instance method Public Method Get plants filter 20060920
12 GET_PLANT_FROM_NODE_DATA Instance method Public Method Get a plant from a node data 20060828
13 GET_PLANT_FROM_WERKS Instance method Private Method Get plant from werks 20060828
14 GET_PLANT_INDEX_FROM_WERKS Instance method Public Method Get plant index from werks 20060828
15 GET_WERKS_FROM_NODE_DATA Instance method Public Method Get a plant from a node data 20060920
16 GET_WERK_FROM_NODE_DATA Instance method Public Method Get a plant from a node data 20060921
17 IS_CLOSE_BY_NODE_DATA Instance method Public Method Return true if a node data is a close-by 20060808
18 IS_PLANT_NODE_DATA Instance method Public Method Return true if a node data is a plant 20060808
19 LOAD_SUB_NODES Instance method Public Method Load sub node of current node 20060807
20 LOAD_SUB_NODES_IMPL Instance method Private Method Load sub node of current node 20060809
21 READ_PLANTS Instance method Private Method Read plants from database 20060808
22 SELECT_UNIQUE_NODES Instance method Private Method Select unique node from list for a fieldname 20060802
23 SET_CHILDREN_FILTER Instance method Private Method Set children filter 20060808
24 SHOULD_LOAD_CLOSE_BY Instance method Public Method Should load close-by nodes 20060804
25 SORT_CLOSE_BY Instance method Public Method Sort Close-by 20070306
26 SORT_PLANTS Instance method Private Method Sort plants 20060808
Events
Class CL_WSD_CBP_TREE_MANAGER has no event.
Types
Class CL_WSD_CBP_TREE_MANAGER has no local type.
Method Signatures

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_WSD_CBP_TREE_MANAGER has no parameter.
Method CONSTRUCTOR on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method CREATE_TOP_GROUPING_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_GROUPING_INDEX Call by reference Type reference (TYPE) WSD_DH_ID Display Hierarchy ID for close-by plants 20060803
2 Importing I_LOAD_CLOSE_BY Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20060804
3 Returning R_NODE_DATA Value transfer Type reference (TYPE) WSD_CBP_NODE_DATA_STY Display all information of nodes 20060803

Method CREATE_TOP_GROUPING_NODE on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method FILL_CHILDREN_NODE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_NODES_DATA Call by reference Type reference (TYPE) WSD_CBP_NODE_DATA_TTY Table of WSD_CBP_NODE_DATA_TTY 20060821
2 Importing IS_PARENT_NODE_DATA Call by reference Type reference (TYPE) WSD_CBP_NODE_DATA_STY Id of a close-by plant representing a sorting hierarchy 20060828
3 Importing I_NODE_TYPE Call by reference Type reference (TYPE) NAME_FELD Field name 20060821

Method FILL_CHILDREN_NODE_DATA on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method GET_CHILDREN_FILTER_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_FILTER_NAME Call by reference Type reference (TYPE) NAME_FELD Field name 20060808
2 Importing IT_PLANTS_FILTER Call by reference Type reference (TYPE) WSD_CBP_PLANTS_FILTER_TTY Table of plants filter 20060808

Method GET_CHILDREN_FILTER_NAME on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method GET_CLOSE_BY_FROM_NODE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_NODE_DATA Call by reference Type reference (TYPE) WSD_CBP_NODE_DATA_STY Display all information of nodes 20060922
2 Returning R_WERK Value transfer Type reference (TYPE) WERKS_D Plants/Branches 20060922

Method GET_CLOSE_BY_FROM_NODE_DATA on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method GET_FIELD_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_PLANTS_FILTER Call by reference Type reference (TYPE) WSD_CBP_PLANTS_FILTER_TTY Table of plants filter 20060808
2 Importing I_FIELD_NAME Call by reference Type reference (TYPE) NAME_FELD Field name 20060808
3 Returning R_FIELD_VALUE Value transfer Type reference (TYPE) WSD_CBP_FIELD_VALUE Field name 20060808

Method GET_FIELD_VALUE on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method GET_GROUPINGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_GROUPINGS Value transfer Type reference (TYPE) WSDT_CBP_DHTEXT_TTY Table of WSDT_CBP_DHTEXT 20060802

Method GET_GROUPINGS on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RR_INSTANCE Value transfer Object reference (TYPE REF TO) CL_WSD_CBP_TREE_MANAGER Tree manager for CBP 20060926

Method GET_INSTANCE on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method GET_NODE_DESCRIPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PLANT Call by reference Type reference (TYPE) T001W Plants/Branches 20060828
2 Importing I_FIELD_NAME Call by reference Type reference (TYPE) NAME_FELD Field name 20060808
3 Returning R_DESCRIPTION Value transfer Type reference (TYPE) WSD_CBP_NODE_DESCRIPTION Node description 20060808

Method GET_NODE_DESCRIPTION on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method GET_NODE_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_WERKS Call by reference Type reference (TYPE) WERKS_D Plant 20060920
2 Returning R_NODE_ID Value transfer Type reference (TYPE) WSD_CBP_NODE_ID Parent ID of node. Concatenate node ID of all parents. 20060920

Method GET_NODE_ID on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method GET_PLANTS_FILTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_WERKS Call by reference Type reference (TYPE) WERKS_D Plant 20060920
2 Returning RT_PLANTS_FILTER Value transfer Type reference (TYPE) WSD_CBP_PLANTS_FILTER_TTY Table of plants filter 20060920

Method GET_PLANTS_FILTER on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method GET_PLANT_FROM_NODE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_NODE_DATA Call by reference Type reference (TYPE) WSD_CBP_NODE_DATA_STY Display all information of nodes 20060828
2 Returning RS_PLANT Value transfer Type reference (TYPE) T001W Plants/Branches 20060828

Method GET_PLANT_FROM_NODE_DATA on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method GET_PLANT_FROM_WERKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_WERKS Call by reference Type reference (TYPE) WERKS_D Plant 20060828
2 Returning RS_PLANT Value transfer Type reference (TYPE) T001W Plants/Branches 20060828

Method GET_PLANT_FROM_WERKS on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method GET_PLANT_INDEX_FROM_WERKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_WERKS Call by reference Type reference (TYPE) WERKS_D Plant 20060828
2 Returning R_INDEX Value transfer Type reference (TYPE) I 20060828

Method GET_PLANT_INDEX_FROM_WERKS on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method GET_WERKS_FROM_NODE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_WERKS Call by reference Type reference (TYPE) WSD_CBP_WERKS_TTY Plants/Branches 20060922
2 Importing IS_NODE_DATA Call by reference Type reference (TYPE) WSD_CBP_NODE_DATA_STY Display all information of nodes 20060920

Method GET_WERKS_FROM_NODE_DATA on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method GET_WERK_FROM_NODE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_NODE_DATA Call by reference Type reference (TYPE) WSD_CBP_NODE_DATA_STY Display all information of nodes 20060921
2 Returning R_WERK Value transfer Type reference (TYPE) WERKS_D Plants/Branches 20060921

Method GET_WERK_FROM_NODE_DATA on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method IS_CLOSE_BY_NODE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_NODE_DATA Call by reference Type reference (TYPE) WSD_CBP_NODE_DATA_STY Display all information of nodes 20060808
2 Returning R_IS_CLOSE_BY Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20060821

Method IS_CLOSE_BY_NODE_DATA on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method IS_PLANT_NODE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_NODE_DATA Call by reference Type reference (TYPE) WSD_CBP_NODE_DATA_STY Display all information of nodes 20060808
2 Returning R_IS_PLANT Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20060808

Method IS_PLANT_NODE_DATA on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method LOAD_SUB_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_PARENT_NODE_DATA Call by reference Type reference (TYPE) WSD_CBP_NODE_DATA_STY Display all information of nodes 20060821
2 Exporting ET_CHILDREN_NODES_DATA Call by reference Type reference (TYPE) WSD_CBP_NODE_DATA_TTY Table of WSD_CBP_NODE_DATA_TTY 20060821
3 Importing I_RECURSIVE_LOAD Call by reference Type reference (TYPE) BOOLEAN ' ' Boolean Variable (X=True, -=False, Space=Unknown) 20060809

Method LOAD_SUB_NODES on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method LOAD_SUB_NODES_IMPL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_PARENT_NODE_DATA Call by reference Type reference (TYPE) WSD_CBP_NODE_DATA_STY Display all information of nodes 20060821
2 Exporting ET_CHILDREN_NODES_DATA Call by reference Type reference (TYPE) WSD_CBP_NODE_DATA_TTY Table of WSD_CBP_NODE_DATA_TTY 20060821

Method LOAD_SUB_NODES_IMPL on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method READ_PLANTS Signature

Method READ_PLANTS on class CL_WSD_CBP_TREE_MANAGER has no parameter.
Method READ_PLANTS on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method SELECT_UNIQUE_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_NODES_DATA Call by reference Type reference (TYPE) WSD_CBP_NODE_DATA_TTY Table of WSD_CBP_NODE_NAME 20060821
2 Importing IS_NODE_DATA Call by reference Type reference (TYPE) WSD_CBP_NODE_DATA_STY Display all information of nodes 20060821
3 Importing I_FILTER_FIELDNAME Call by reference Type reference (TYPE) NAME_FELD Field name 20060802

Method SELECT_UNIQUE_NODES on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method SET_CHILDREN_FILTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CHILD_PLANTS_FILTER Call by reference Type reference (TYPE) WSD_CBP_PLANTS_FILTER_TTY Table of plants filter 20060808
2 Exporting E_IS_FILTERING_ENDED Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20060808
3 Importing IT_PLANTS_FILTER Call by reference Type reference (TYPE) WSD_CBP_PLANTS_FILTER_TTY Table of plants filter 20060808
4 Importing I_FIELDNAME_TO_CHANGE Call by reference Type reference (TYPE) NAME_FELD Field name 20060808
5 Importing I_FIELDVALUE_TO_SET Call by reference Type reference (TYPE) FIELD_TYPE Field type 20060808

Method SET_CHILDREN_FILTER on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method SHOULD_LOAD_CLOSE_BY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_NODE_DATA Call by reference Type reference (TYPE) WSD_CBP_NODE_DATA_STY Display all information of nodes 20060804
2 Returning R_SHOULD_LOAD_CLOSE_BY Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20060804

Method SHOULD_LOAD_CLOSE_BY on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method SORT_CLOSE_BY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_CBP Call by reference Type reference (TYPE) WSD_CBP_TTY Table of close by plants 20070306

Method SORT_CLOSE_BY on class CL_WSD_CBP_TREE_MANAGER has no exception.

Method SORT_PLANTS Signature

Method SORT_PLANTS on class CL_WSD_CBP_TREE_MANAGER has no parameter.
Method SORT_PLANTS on class CL_WSD_CBP_TREE_MANAGER has no exception.
History
Last changed by/on SAP  20100310 
SAP Release Created in 700