SAP ABAP Class CL_WSD_CBP_ALV_TREE (Generic ALV Tree build for CBP)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   SD-MD-MM-CS (Application Component) Additional Material Functions
     WSD_CS_UI (Package) UI Enhanced Material Search
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_WSD_CBP_ALV_CLOSE_BY ALV Tree build for CBP 20061013
2 Inheritance (c INHERITING FROM c_ref)  CL_WSD_CBP_ALV_PLANT ALV Tree build for CBP 20061013
Properties
Class CL_WSD_CBP_ALV_TREE  
Short Description Generic ALV Tree build for CBP    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class WSD_MESSAGE    
Program status     
Category 0   
Package WSD_CS_UI   UI Enhanced Material Search 
Created 20061013   SAP 
Last change 20100310   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_WSD_CBP_ALV_TREE has no forward declaration.
Interfaces
Class CL_WSD_CBP_ALV_TREE has no interface implemented.
Friends
Class CL_WSD_CBP_ALV_TREE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_DEFAULT_EDIT_MODE Constant Private Type reference (TYPE) BOOLE_D ' ' Default mode 20061117
2 MC_ICON_TRANSPORT_POINT Constant Private Type reference (TYPE) WSD_CBP_ICON_NAME ICON_TRANSPORT_POINT ICON_TRANSPORT_POINT 20061017
3 MC_ICON_TREE Constant Private Type reference (TYPE) WSD_CBP_ICON_NAME ICON_TREE ICON_TREE 20061017
4 MC_ICON_WAREHOUSE Constant Private Type reference (TYPE) WSD_CBP_ICON_NAME ICON_WAREHOUSE ICON_WAREHOUSE 20061017
5 MR_EVENTS Instance attribute Private Object reference (TYPE REF TO) CL_WSD_CBP_ALV_EVENTS 20061017
6 MR_MSG_CENTER Instance attribute Protected Object reference (TYPE REF TO) CL_WSD_MESSAGE_CENTER Message Center for Exception 20061130
7 MR_TREE Instance attribute Protected Object reference (TYPE REF TO) CL_SALV_TREE Basis Class for Tree Structure 20061013
8 MT_LOCATE_ID_LIST Instance attribute Private Type reference (TYPE) WSD_CBP_ELEMENT_KEY_TTY Locate id list 20070306
9 MT_NODE_DATA Instance attribute Private Type reference (TYPE) WSD_CBP_NODE_DATA_TTY Table of WSD_CBP_NODE_DATA_TTY 20061013
10 MT_PLANT_KEY_NODES Instance attribute Protected Type reference (TYPE) WSD_CBP_SALV_KEY_NODE_TTY Key nodes for direct acces to CBP 20061016
11 M_APP_NAME Instance attribute Protected Type reference (TYPE) WSD_APPLICATION App name 20061031
12 M_ASSIGNMENT_MANAGER Instance attribute Protected Object reference (TYPE REF TO) CL_WSD_CBP_ASSIGNMENT_MANAGER Assignment Manager 20061013
13 M_BIDIRECTIONAL Instance attribute Protected Type reference (TYPE) BOOLE_D Bidirectional 20061020
14 M_CURRENT_GROUPING Instance attribute Protected Type reference (TYPE) WSD_DH_ID Current grouping 20070125
15 M_IS_CLOSE_BY_TREE Instance attribute Private Type reference (TYPE) BOOLE_D Is a close-by tree 20061017
16 M_IS_EDIT_MODE Instance attribute Protected Type reference (TYPE) BOOLE_D Is edit mode 20061027
17 M_LOCATE_PLANT_INDEX Instance attribute Private Type reference (TYPE) I Locate plant last index 20070306
18 M_PLANT_TO_LOCATE Instance attribute Private Type reference (TYPE) WERKS_D Plant to locate 20070306
19 M_TOP_NODE_KEY Instance attribute Protected Type reference (TYPE) SALV_DE_NODE_KEY Top node 20061019
20 M_TREE_MANAGER Instance attribute Protected Object reference (TYPE REF TO) CL_WSD_CBP_TREE_MANAGER Tree Manager 20061013
21 M_WAS_MODIFIED Instance attribute Protected Type reference (TYPE) BOOLE_D Was Modified 20061116
22 M_WAS_OPEN_ALL Instance attribute Protected Type reference (TYPE) BOOLE_D If open_all_nodes was called once 20061031
Methods
# Method Level Visibility Method type Description Created on
1 ADD_EVENTS Instance method Private Method Add events 20061117
2 ADD_NODE_DATA Instance method Protected Method Add a new node data 20061013
3 ADD_TREE_BUTTONS Instance method Private Method Add button 20061020
4 ASSIGN_PLANTS Instance method Public Method Assign plants 20061020
5 CLOSE_ALL_NODES Instance method Public Method Close all sub-nodes 20061013
6 CONSTRUCTOR Instance method Public Constructor Create Tree 20061013
7 COPY_SELECTED_PLANTS Instance method Public Method Copy selected plant 20061117
8 CREATE_CBP_FROM_COPY Instance method Public Method Create CBP from copy 20061117
9 CREATE_TOP_NODE Instance method Protected Method Update current grouping 20061027
10 DELETE_CBP_NODE Instance method Protected Method Update close-by key node 20061023
11 EXTRACT_REMAP_NODES Instance method Private Method Extract Remap nodes 20061207
12 GET_ICON Instance method Protected Method Get icon of a node data 20061023
13 GET_NEXT_ID_FOR_LOCATE Instance method Private Method Get next ID for Locate 20070306
14 GET_SELECTED_NODE_DATA Instance method Protected Method Get selected node data 20061023
15 GET_SELECTED_WERKS Instance method Protected Method Get selected werks 20061020
16 INIT_PLANT_LIST_FOR_LOCATE Instance method Private Method Init plant list 20070306
17 IS_IN_EDIT_MODE Instance method Public Method Is in edit mode 20061117
18 LOAD_DIRECT_CHILDREN Instance method Public Method Load children 20061018
19 LOAD_NODE_DATA Instance method Private Method Extract node data to key node 20061208
20 LOAD_SUB_NODES Instance method Private Method Load direct children of a node 20061016
21 LOCATE_PLANT Instance method Public Method Locate plant 20061019
22 NODE_DATA_TO_KEY_NODES Instance method Private Method Extract node data to key node 20061207
23 OFFER_TO_SAVE Instance method Protected Method Offer to save 20061212
24 OPEN_ALL_NODES Instance method Public Method Open all sub-nodes 20061013
25 REDRAW_TREE Instance method Protected Method Redraw tree 20061205
26 REPORT_SALV_EXCEPTION Instance method Protected Method Report exception 20061130
27 SAVE Instance method Public Method Save 20061212
28 SET_APP_NAME Instance method Public Method Set Application name 20061026
29 SET_COLUMNS_LAYOUT Instance method Private Method Set columns state and visibility 20061123
30 SET_DISPLAY_MODE Instance method Private Method Set edit mode 20061117
31 SET_EDIT_MODE Instance method Private Method Set edit mode 20061117
32 SET_GROUPING Instance method Public Method Set grouping 20061026
33 SET_PRIORITY Instance method Public Method Set Priority 20061020
34 SET_PRIORITY_DETECT_SELECTION Instance method Public Method Set priority and detect which node is currently selected 20070306
35 SORT_ALL_LOADED_PLANTS Instance method Protected Method Sort all loaded plants 20070301
36 SORT_CBP_NODES Instance method Protected Method Sort CBP nodes 20070219
37 TOGGLE_DISPLAY_EDIT Instance method Public Method Toggle from Display mode to Edit mode 20061020
38 UNASSIGN_PLANTS Instance method Public Method Unassign plants 20061020
39 UPDATE_KEY_NODE_TABLE Instance method Protected Method Update Key node table 20061206
Events
Class CL_WSD_CBP_ALV_TREE has no event.
Types
Class CL_WSD_CBP_ALV_TREE has no local type.
Method Signatures

Method ADD_EVENTS Signature

Method ADD_EVENTS on class CL_WSD_CBP_ALV_TREE has no parameter.
Method ADD_EVENTS on class CL_WSD_CBP_ALV_TREE has no exception.

Method ADD_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 20061019
2 Returning RS_KEY_NODE Value transfer Type reference (TYPE) SALV_S_NODES Key - Node Pair 20061019

Method ADD_NODE_DATA on class CL_WSD_CBP_ALV_TREE has no exception.

Method ADD_TREE_BUTTONS Signature

Method ADD_TREE_BUTTONS on class CL_WSD_CBP_ALV_TREE has no parameter.
Method ADD_TREE_BUTTONS on class CL_WSD_CBP_ALV_TREE has no exception.

Method ASSIGN_PLANTS Signature

Method ASSIGN_PLANTS on class CL_WSD_CBP_ALV_TREE has no parameter.
Method ASSIGN_PLANTS on class CL_WSD_CBP_ALV_TREE has no exception.

Method CLOSE_ALL_NODES Signature

Method CLOSE_ALL_NODES on class CL_WSD_CBP_ALV_TREE has no parameter.
Method CLOSE_ALL_NODES on class CL_WSD_CBP_ALV_TREE has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_CONTAINER Call by reference Object reference (TYPE REF TO) CL_GUI_CONTAINER Parent Container Name 20061017
2 Importing I_IS_CLOSE_BY_TREE Call by reference Type reference (TYPE) BOOLE_D ' ' Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20061013

Method CONSTRUCTOR on class CL_WSD_CBP_ALV_TREE has no exception.

Method COPY_SELECTED_PLANTS Signature

Method COPY_SELECTED_PLANTS on class CL_WSD_CBP_ALV_TREE has no parameter.
Method COPY_SELECTED_PLANTS on class CL_WSD_CBP_ALV_TREE has no exception.

Method CREATE_CBP_FROM_COPY Signature

Method CREATE_CBP_FROM_COPY on class CL_WSD_CBP_ALV_TREE has no parameter.
Method CREATE_CBP_FROM_COPY on class CL_WSD_CBP_ALV_TREE has no exception.

Method CREATE_TOP_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 20061027
2 Returning R_KEY Value transfer Type reference (TYPE) SALV_DE_NODE_KEY Display all information of nodes 20061027

Method CREATE_TOP_NODE on class CL_WSD_CBP_ALV_TREE has no exception.

Method DELETE_CBP_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_CBP Call by reference Type reference (TYPE) WSD_CBP One WebDynpro Element entry to access via CBP 20061023

Method DELETE_CBP_NODE on class CL_WSD_CBP_ALV_TREE has no exception.

Method EXTRACT_REMAP_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_REMAP_NODES Call by reference Type reference (TYPE) WSD_CBP_REMAP_SALV_NODE_TTY Structure to allow to remap SALV nodes 20061207

Method EXTRACT_REMAP_NODES on class CL_WSD_CBP_ALV_TREE has no exception.

Method GET_ICON 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 20061023
2 Returning R_ICON Value transfer Type reference (TYPE) WSD_CBP_ICON_NAME CBP Icon name 20061023

Method GET_ICON on class CL_WSD_CBP_ALV_TREE has no exception.

Method GET_NEXT_ID_FOR_LOCATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_PLANT_ID Value transfer Type reference (TYPE) WSD_CBP_ELEMENT_KEY Element key 20070306

Method GET_NEXT_ID_FOR_LOCATE on class CL_WSD_CBP_ALV_TREE has no exception.

Method GET_SELECTED_NODE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_NODE_DATA Call by reference Type reference (TYPE) WSD_CBP_NODE_DATA_TTY Table of werks_d 20061123

Method GET_SELECTED_NODE_DATA on class CL_WSD_CBP_ALV_TREE has no exception.

Method GET_SELECTED_WERKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WERKS Call by reference Type reference (TYPE) WSD_CBP_WERKS_TTY Table of werks_d 20061208
2 Exporting E_GROUP_SELECTED Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20061208

Method GET_SELECTED_WERKS on class CL_WSD_CBP_ALV_TREE has no exception.

Method INIT_PLANT_LIST_FOR_LOCATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PLANT Call by reference Type reference (TYPE) WERKS_D Plant 20070306

Method INIT_PLANT_LIST_FOR_LOCATE on class CL_WSD_CBP_ALV_TREE has no exception.

Method IS_IN_EDIT_MODE Signature

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

Method IS_IN_EDIT_MODE on class CL_WSD_CBP_ALV_TREE has no exception.

Method LOAD_DIRECT_CHILDREN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_KEY Call by reference Type reference (TYPE) SALV_DE_NODE_KEY Node Key 20061019

Method LOAD_DIRECT_CHILDREN on class CL_WSD_CBP_ALV_TREE has no exception.

Method LOAD_NODE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_NODE_DATA Call by reference Type reference (TYPE) WSD_CBP_NODE_DATA_STY Display all information of nodes 20061208
2 Exporting ET_CHILDREN_KEY_NODES Call by reference Type reference (TYPE) SALV_T_NODES Key - Node Pairs 20061208

Method LOAD_NODE_DATA on class CL_WSD_CBP_ALV_TREE has no exception.

Method LOAD_SUB_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_NODE Call by reference Object reference (TYPE REF TO) CL_SALV_NODE Id of a close-by plant representing a sorting hierarchy 20061019
2 Importing I_RECURSIVE_LOAD Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20061016
3 Importing I_SHOULD_LOAD_CLOSE_BY Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20061207

Method LOAD_SUB_NODES on class CL_WSD_CBP_ALV_TREE has no exception.

Method LOCATE_PLANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INIT_LOCATE Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20070306

Method LOCATE_PLANT on class CL_WSD_CBP_ALV_TREE has no exception.

Method NODE_DATA_TO_KEY_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_CHILDREN_KEY_NODES Call by reference Type reference (TYPE) SALV_T_NODES Key - Node Pairs 20061207
2 Importing IR_NODE Call by reference Object reference (TYPE REF TO) CL_SALV_NODE Single Node Object of Tree Structure 20061208
3 Importing IS_NODE_DATA Call by reference Type reference (TYPE) WSD_CBP_NODE_DATA_STY Display all information of nodes 20061207

Method NODE_DATA_TO_KEY_NODES on class CL_WSD_CBP_ALV_TREE has no exception.

Method OFFER_TO_SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_ANSWER_CANCEL Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20070125
2 Exporting E_ANSWER_NO Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20070125

Method OFFER_TO_SAVE on class CL_WSD_CBP_ALV_TREE has no exception.

Method OPEN_ALL_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ASK_CONFIRMATION Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20061208
2 Importing I_EXPAND Call by reference Type reference (TYPE) BOOLE_D 'X' Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20070220
3 Importing I_SHOULD_LOAD_CLOSE_BY Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20061207

Method OPEN_ALL_NODES on class CL_WSD_CBP_ALV_TREE has no exception.

Method REDRAW_TREE Signature

Method REDRAW_TREE on class CL_WSD_CBP_ALV_TREE has no parameter.
Method REDRAW_TREE on class CL_WSD_CBP_ALV_TREE has no exception.

Method REPORT_SALV_EXCEPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_SALV_EXCEPTION Call by reference Object reference (TYPE REF TO) CX_SALV_ERROR ALV: General Error Class with Message 20061130

Method REPORT_SALV_EXCEPTION on class CL_WSD_CBP_ALV_TREE has no exception.

Method SAVE Signature

Method SAVE on class CL_WSD_CBP_ALV_TREE has no parameter.
Method SAVE on class CL_WSD_CBP_ALV_TREE has no exception.

Method SET_APP_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_APP_NAME Call by reference Type reference (TYPE) WSD_APPLICATION Application name 20061026

Method SET_APP_NAME on class CL_WSD_CBP_ALV_TREE has no exception.

Method SET_COLUMNS_LAYOUT Signature

Method SET_COLUMNS_LAYOUT on class CL_WSD_CBP_ALV_TREE has no parameter.
Method SET_COLUMNS_LAYOUT on class CL_WSD_CBP_ALV_TREE has no exception.

Method SET_DISPLAY_MODE Signature

Method SET_DISPLAY_MODE on class CL_WSD_CBP_ALV_TREE has no parameter.
Method SET_DISPLAY_MODE on class CL_WSD_CBP_ALV_TREE has no exception.

Method SET_EDIT_MODE Signature

Method SET_EDIT_MODE on class CL_WSD_CBP_ALV_TREE has no parameter.
Method SET_EDIT_MODE on class CL_WSD_CBP_ALV_TREE has no exception.

Method SET_GROUPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_GROUPING Call by reference Type reference (TYPE) WSD_DH_ID Display Hierarchy ID for close-by plants 20061026

Method SET_GROUPING on class CL_WSD_CBP_ALV_TREE has no exception.

Method SET_PRIORITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_KEY Call by reference Type reference (TYPE) SALV_DE_NODE_KEY Node Key 20061020

Method SET_PRIORITY on class CL_WSD_CBP_ALV_TREE has no exception.

Method SET_PRIORITY_DETECT_SELECTION Signature

Method SET_PRIORITY_DETECT_SELECTION on class CL_WSD_CBP_ALV_TREE has no parameter.
Method SET_PRIORITY_DETECT_SELECTION on class CL_WSD_CBP_ALV_TREE has no exception.

Method SORT_ALL_LOADED_PLANTS Signature

Method SORT_ALL_LOADED_PLANTS on class CL_WSD_CBP_ALV_TREE has no parameter.
Method SORT_ALL_LOADED_PLANTS on class CL_WSD_CBP_ALV_TREE has no exception.

Method SORT_CBP_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PLANT Call by reference Type reference (TYPE) WERKS_D Plant to sort the CBP 20070222

Method SORT_CBP_NODES on class CL_WSD_CBP_ALV_TREE has no exception.

Method TOGGLE_DISPLAY_EDIT Signature

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

Method TOGGLE_DISPLAY_EDIT on class CL_WSD_CBP_ALV_TREE has no exception.

Method UNASSIGN_PLANTS Signature

Method UNASSIGN_PLANTS on class CL_WSD_CBP_ALV_TREE has no parameter.
Method UNASSIGN_PLANTS on class CL_WSD_CBP_ALV_TREE has no exception.

Method UPDATE_KEY_NODE_TABLE 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 20061206

Method UPDATE_KEY_NODE_TABLE on class CL_WSD_CBP_ALV_TREE has no exception.
History
Last changed by/on SAP  20100310 
SAP Release Created in 700