SAP ABAP Class CL_WB2_TREE_NODES_CONSTRUCTOR (Build Node Table for Simple Tree)
Hierarchy
EA-GLTRADE (Software Component) SAP Enterprise Extension Global Trade
   LO-GT-TEW (Application Component) Trading Execution Workbench
     WB2B_TEW (Package) Trading Execution Workbench
Properties
Class CL_WB2_TREE_NODES_CONSTRUCTOR  
Short Description Build Node Table for Simple Tree    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package WB2B_TEW   Trading Execution Workbench 
Created 20000414   SAP 
Last change 20031212   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_WB2_TREE_NODES_CONSTRUCTOR has no forward declaration.
Interfaces
Class CL_WB2_TREE_NODES_CONSTRUCTOR has no interface implemented.
Friends
Class CL_WB2_TREE_NODES_CONSTRUCTOR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ATS_CHILD_PARENT Instance attribute Private Type reference (TYPE) MTY_TS_CHILD_PARENT child->parent 20100917
2 AT_LEAF Instance attribute Private Type reference (TYPE) WB2_DOC_IN_TREE_STAB Leaves of the Tree 20010201
3 A_DISPLAY_NUM Static Attribute Private Type reference (TYPE) WB2_SHOW_DOC_NUM Display Document Numbers 20010625
4 A_NODEKEY Instance attribute Private Type reference (TYPE) I Node Counter 20000414
5 A_SHOW_ALL Static Attribute Private Type reference (TYPE) WB2_SHOW_ALL Display All Documents in Document Flow Tree 20010615
6 A_TREE Instance attribute Private Object reference (TYPE REF TO) CL_WB2_FLOW_TREE Document Flow Tree 20000414
7 C_MAX_LEVEL Constant Private Type reference (TYPE) I 100 Maximum Level Number 20000414
8 C_MAX_NODE_TRANSFER Constant Private Type reference (TYPE) I 300 Maximum Number of Nodes that can be Sent to the Control 20010213
9 S_BADI Static Attribute Private Object reference (TYPE REF TO) IF_EX_WB2_SHOW_DOC_IN_FLOW BAdI Interface IF_EX_WB2_SHOW_DOC_IN_FLOW 20001214
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20001213
2 CONSTRUCTOR Instance method Public Constructor Generate Object 20000414
3 CREATE_NEW_NODE Instance method Private Method New Entry in Tree 20010207
4 GET_ALL_NODES Instance method Public Method Transfer All Missing Information to Tree 20010201
5 GET_SUBNODES Instance method Public Method Create Nodes of the Next Level 20000704
6 GET_TREE_ROOT Instance method Public Method Tree Root 20000704
7 IS_PARENT_CONTAINED Instance method Private Method is parent contained 20100917
8 MAKE_ASSOCIATION_FOLDER Instance method Private Method Create Folder for Associations 20010207
9 MAKE_EXPENSE_FOLDER Instance method Private Method Create Folder for Expenses 20010205
10 READ_WBGT Static method Public Method Read WBGT 20010202
11 RESET Instance method Public Method Reset Object 20000414
12 WBGT_INFO Static method Public Method Information from WBGT Table 20001212
Events
Class CL_WB2_TREE_NODES_CONSTRUCTOR has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 MTY_S_CHILD_PARENT Private See coding 20100917 BEGIN OF mty_s_child_parent, child_node TYPE i, parent_node TYPE i, child_key TYPE wb2_doc_key, parent_key TYPE wb2_doc_key, END OF mty_s_child_parent
2 MTY_TS_CHILD_PARENT Private See coding 20100917 mty_ts_child_parent TYPE SORTED TABLE OF mty_s_child_parent WITH UNIQUE KEY child_node
Method Signatures

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_WB2_TREE_NODES_CONSTRUCTOR has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WB2_TREE_NODES_CONSTRUCTOR has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TREE Call by reference Object reference (TYPE REF TO) CL_WB2_FLOW_TREE Belegflußbaum 20000414

Method CONSTRUCTOR on class CL_WB2_TREE_NODES_CONSTRUCTOR has no exception.

Method CREATE_NEW_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ALL Call by reference Type reference (TYPE) BVAL alle Unterknoten lesen ? 20010207
2 Importing I_ASSO_DOC Call by reference Type reference (TYPE) BVAL Assoziationsdokument ? 20010208
3 Importing I_DOC Call by reference Object reference (TYPE REF TO) IF_WB2_DOC Beleg für den Knoten erstellt wird 20010207
4 Importing I_FATHER Call by reference Object reference (TYPE REF TO) IF_WB2_DOC Vaterbeleg 20010207
5 Importing I_FATHER_VISIBLE Call by reference Type reference (TYPE) BVAL 'X' Vaterbeleg ist sichtbar ? 20010615
6 Importing I_LEVEL Call by reference Type reference (TYPE) I Ebene im Baum 20010207
7 Importing I_NODEKEY_FATHER Call by reference Type reference (TYPE) I Knotennummer des Vaters 20010207
8 Importing I_TEW_TYPE Call by reference Type reference (TYPE) WB2_TEW_TYPE Trading Execution Workbench Art 20010207
9 Importing I_WBGT_ACTIVE Call by reference Type reference (TYPE) BVAL Erweiterungstabelle aktiv ? 20010207
10 Changing P_EXPENSE_NODEKEY Call by reference Type reference (TYPE) I Knotennummer der Nebenkostenmappe 20010207
11 Changing T_NODES Call by reference Type reference (TYPE) WB2_FLOW_NODE_TAB Tabelle des Tree Controls zur Belegflußanzeige 20010207
# Exception Resumable Description Created on
1 INTERNAL_ERROR interner Fehler 20010207

Method GET_ALL_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_NODES Call by reference Type reference (TYPE) WB2_FLOW_NODE_TAB Tabelle des Tree Controls zur Belegflußanzeige 20010201
# Exception Resumable Description Created on
1 INTERNAL_ERROR interner Fehler 20010201

Method GET_SUBNODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ALL Call by reference Type reference (TYPE) BVAL ' ' alle Unterknoten lesen ? 20000704
2 Importing I_DOC Call by reference Object reference (TYPE REF TO) IF_WB2_DOC Beleg für den Folgebelege dargestellt werden 20000704
3 Importing I_FATHER_VISIBLE Call by reference Type reference (TYPE) BVAL 'X' Vaterbeleg ist sichtbar ? 20010615
4 Importing I_LEVEL Call by reference Type reference (TYPE) I Ebene im Baum 20000704
5 Importing I_NODEKEY Call by reference Type reference (TYPE) I Nummer des Knotens für i_doc 20000704
6 Importing I_READ_NO_ASSO_DOC Call by reference Type reference (TYPE) BVAL keine Assoziationsbelege lesen 20010208
7 Changing T_NODES Call by reference Type reference (TYPE) WB2_FLOW_NODE_TAB Knotentabelle für Tree Control 20010205
# Exception Resumable Description Created on
1 INTERNAL_ERROR interner Fehler 20000704

Method GET_TREE_ROOT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_NODES Call by reference Type reference (TYPE) WB2_FLOW_NODE_TAB Wurzel des Baumes 20000704

Method GET_TREE_ROOT on class CL_WB2_TREE_NODES_CONSTRUCTOR has no exception.

Method IS_PARENT_CONTAINED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PARENT_DOC Call by reference Object reference (TYPE REF TO) IF_WB2_DOC Any Document 20100917
2 Importing IV_PARENT_NODE Call by reference Type reference (TYPE) I parent node key 20100917
3 Returning RV_CONTAINED Value transfer Type reference (TYPE) ABAP_BOOL 20100917

Method IS_PARENT_CONTAINED on class CL_WB2_TREE_NODES_CONSTRUCTOR has no exception.

Method MAKE_ASSOCIATION_FOLDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_ASSOCIATION_NODEKEY Call by reference Type reference (TYPE) I Nummer der Assoziationsmappe 20010207
2 Importing I_NODEKEY_FATHER Call by reference Type reference (TYPE) I Nummer des Vaterknotens 20010207
3 Changing T_NODES Call by reference Type reference (TYPE) WB2_FLOW_NODE_TAB Knotentabelle für Tree Control 20010207
# Exception Resumable Description Created on
1 INTERNAL_ERROR interner Fehler 20010207

Method MAKE_EXPENSE_FOLDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_EXPENSE_NODEKEY Call by reference Type reference (TYPE) I Nummer der Nebenkostenmappe 20010205
2 Importing I_NODEKEY_FATHER Call by reference Type reference (TYPE) I Nummer des Vaterknotens 20010205
3 Importing I_TEW_TYPE_KEY Value transfer Type reference (TYPE) WB2_TEW_TYPE Trading Execution Workbench Type 20110401
4 Changing T_NODES Call by reference Type reference (TYPE) WB2_FLOW_NODE_TAB Knotentabelle für Tree Control 20010205
# Exception Resumable Description Created on
1 INTERNAL_ERROR interner Fehler 20010205

Method READ_WBGT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DELETED Call by reference Type reference (TYPE) BVAL Beleg logisch gelöscht ? 20010530
2 Exporting E_WBGT Call by reference Type reference (TYPE) WBGT Global Trade: Generischen Beleginformationen 20010202
3 Importing I_DOC Call by reference Object reference (TYPE REF TO) IF_WB2_DOC beliebiges Dokument 20010202
# Exception Resumable Description Created on
1 NO_ENTRY kein Eintrag 20010202

Method RESET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TREE Call by reference Object reference (TYPE REF TO) CL_WB2_FLOW_TREE Belegflußbaum 20000414

Method RESET on class CL_WB2_TREE_NODES_CONSTRUCTOR has no exception.

Method WBGT_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DELETED Call by reference Type reference (TYPE) BVAL Beleg wurde logisch gelöscht 20010530
2 Exporting E_FINISHED Call by reference Type reference (TYPE) BVAL Dokument fertig ? 20001212
3 Exporting E_NO_ENTRY Call by reference Type reference (TYPE) BVAL kein WBGT Eintrag 20001212
4 Exporting E_WBGT Call by reference Type reference (TYPE) WBGT Global Trade: Generischen Beleginformationen 20010202
5 Importing I_DOC Call by reference Object reference (TYPE REF TO) IF_WB2_DOC beliebiges Dokument 20001212
6 Importing I_FATHER_DELETED Call by reference Type reference (TYPE) BVAL Vaterbeleg gelöscht ? 20010615
7 Importing I_FATHER_DOC_KEY Call by reference Type reference (TYPE) WB2_DOC_KEY Belegschlüssel 20010615
8 Importing I_FATHER_STEP Call by reference Type reference (TYPE) WB2_STEP Geschäftsprozeßschritt des Vaterbeleges 20010615

Method WBGT_INFO on class CL_WB2_TREE_NODES_CONSTRUCTOR has no exception.
History
Last changed by/on SAP  20031212 
SAP Release Created in