SAP ABAP Class CL_HR99S00_DAQ_TREE_WALKER (Iterator class for the DAQ)
Hierarchy
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
   PY-XX-RS (Application Component) Reuse Services for Country Development
     P99S (Package) Southern Europe Basis
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_HR99S00_OBSERVER This object can be informed of changes in observable objects 20110218
Properties
Class CL_HR99S00_DAQ_TREE_WALKER  
Short Description Iterator class for the DAQ    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package P99S   Southern Europe Basis 
Created 20110218   SAP 
Last change 20130531   SAP 
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)
2 P99SD Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 P99ST Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 PFRDA Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_HR99S00_OBSERVER This object can be informed of changes in observable objects 20110218
Friends
Class CL_HR99S00_DAQ_TREE_WALKER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MO_OFFS_CALC Instance attribute Protected Object reference (TYPE REF TO) IF_HR99S00_STRATEGY Algorithm for structure offset calculation 20110921
2 MS_CURRENT_NODE Instance attribute Protected Type reference (TYPE) P99SD_DAQ_NODE DAQ map 20110218
3 MT_DAQ_MAP Instance attribute Private Type reference (TYPE) P99SD_DAQ_NODE_MAP 20110218
4 MT_DAQ_SECTN Instance attribute Public Type reference (TYPE) P99SD_TAB_SECTN 20110218
5 MT_PROCESSED Instance attribute Protected Type reference (TYPE) P99SD_TAB_FIFOR Processed sections during tree creation 20110218
6 MT_SIBLINGS Instance attribute Protected Type reference (TYPE) P99SD_TAB_DAQ_NODE All siblings of current node 20110218
7 MT_TABLE Instance attribute Protected Object reference (TYPE REF TO) DATA 20110218
8 MT_TAB_STRCT Instance attribute Protected Type reference (TYPE) P99SD_TAB_SECTN_ID Structure of the table 20110218
9 MT_TEMSE_INDEX Instance attribute Protected Type reference (TYPE) P99SD_T_ID_INDEX 20120514
10 MV_APPL Instance attribute Public Type reference (TYPE) P_APPL Subapplication 20110923
11 MV_CURRENT_INDEX Instance attribute Protected Type reference (TYPE) I Index of current node in internal table 20110218
12 MV_MOLGA Instance attribute Public Type reference (TYPE) MOLGA Country Grouping 20110923
13 MV_NEXT_ID Instance attribute Private Type reference (TYPE) I 1 Stores the next avialable ID for the tree 20110218
Methods
# Method Level Visibility Method type Description Created on
1 ADD_FIELDS_OF_SECTION Instance method Protected Method Add all fields of a section ot the map 20110218
2 BUILD_TEMSE_LINE_HASH Instance method Protected Method Create a lookup table with line id pointing to a table index 20120514
3 BUILD_TREE Instance method Protected Method Initialization: Create the DAQ map 20110218
4 CALC_FIELD_OFFSET Instance method Public Method Calfulat offset of value fields 20110921
5 CLEAR Instance method Protected Method Clear all attributes of iterator 20110218
6 COMPARE_TO_CURRENT_NODE Instance method Public Method 20110218
7 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20110218
8 CREATE_TREE_WALKER Static method Public Method Create a new Tree Walker and set current node to root 20110218
9 DELETE_NODE Instance method Public Method Insert node (a DAQ section) in to tree and child fields 20110218
10 FIND_ALL_IN_TREE Instance method Public Method Return all nodes in tree matching condition 20120201
11 FIRST_CHILD Instance method Public Method Move to and return the first child of current node 20110218
12 GET_CURRENT_NODE Instance method Public Method Return the current node 20110218
13 GET_CURRENT_NODE_VALUE Instance method Public Method A node which does not have a value, i.e. a section 20110218
14 GET_NEXT_ID Instance method Protected Method Returns next available ID for the tree 20110218
15 GET_NODE_BY_ID Instance method Public Method Get a node from the lookup tree by supplying its ID 20110923
16 GET_ROOT Instance method Public Method Returns the root as defined when the tree walker was created 20110218
17 INSERT_SECTION Instance method Public Method Insert node (a DAQ section) in to tree and child fields 20110218
18 NEXT_SIBLING Instance method Public Method Move to and return the next sibling of the current node 20110218
19 PARENT Instance method Public Method Returns current parent. Does not move iterator. 20110218
20 SET_CURRENT_NODE Instance method Public Method Set current node 20110218
Events
Class CL_HR99S00_DAQ_TREE_WALKER has no event.
Types
Class CL_HR99S00_DAQ_TREE_WALKER has no local type.
Method Signatures

Method ADD_FIELDS_OF_SECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_IGNORE_SUB Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Ignore sections contained in fields of this section 20110218
2 Importing IM_INDEX Call by reference Type reference (TYPE) I 20110218
3 Importing IM_PARENT_ID Call by reference Type reference (TYPE) I 20110218
4 Importing IM_SECTN Call by reference Type reference (TYPE) P99SD_SECTN 20110218

Method ADD_FIELDS_OF_SECTION on class CL_HR99S00_DAQ_TREE_WALKER has no exception.

Method BUILD_TEMSE_LINE_HASH Signature

Method BUILD_TEMSE_LINE_HASH on class CL_HR99S00_DAQ_TREE_WALKER has no parameter.
Method BUILD_TEMSE_LINE_HASH on class CL_HR99S00_DAQ_TREE_WALKER has no exception.

Method BUILD_TREE Signature

Method BUILD_TREE on class CL_HR99S00_DAQ_TREE_WALKER has no parameter.
Method BUILD_TREE on class CL_HR99S00_DAQ_TREE_WALKER has no exception.

Method CALC_FIELD_OFFSET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OFFSET Call by reference Type reference (TYPE) I 20110921
2 Importing IV_ORDSE Call by reference Type reference (TYPE) P_99S_ORDSE Forms: order in structure 20110921
3 Importing IV_STRCT Call by reference Type reference (TYPE) TABNAME DDIC structure 20110921
4 Returning RE_OFFSET Value transfer Type reference (TYPE) I 20110921

Method CALC_FIELD_OFFSET on class CL_HR99S00_DAQ_TREE_WALKER has no exception.

Method CLEAR Signature

Method CLEAR on class CL_HR99S00_DAQ_TREE_WALKER has no parameter.
Method CLEAR on class CL_HR99S00_DAQ_TREE_WALKER has no exception.

Method COMPARE_TO_CURRENT_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_OPER Call by reference Type reference (TYPE) C Operator 20110218
2 Importing IM_VALUE Call by reference Type reference (TYPE) ANY 20110218
3 Returning RE_IS_MATCH Value transfer Type reference (TYPE) ABAP_BOOL 20110218
# Exception Resumable Description Created on
1 INVALID_OPERATION Operation supplied was not recognized 20110218

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DAQ_SECTN Call by reference Type reference (TYPE) P99SD_TAB_SECTN Data acquistion for forms 20110218
2 Importing IM_TABLE Call by reference Type reference (TYPE) P99ST_TAB_RAW_ID class for TemSe Southern Europe 20110218
3 Importing IM_TAB_OFFS Call by reference Type reference (TYPE) I 1 20110218
4 Importing IO_OFF_CALC Call by reference Object reference (TYPE REF TO) IF_HR99S00_STRATEGY Algorithm for structure offset calculation 20110921
5 Importing IV_APPL Call by reference Type reference (TYPE) P_APPL Subapplication 20110923
6 Importing IV_MOLGA Call by reference Type reference (TYPE) MOLGA Country Grouping 20110923
# Exception Resumable Description Created on
1 INVALID_TEMSE_FILE 20110318
2 NO_ROOT_NODE_FOUND 20110218

Method CREATE_TREE_WALKER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DAQ_SECTN Call by reference Type reference (TYPE) P99SD_TAB_SECTN Data acquistion for forms 20110218
2 Importing IM_TABLE Call by reference Type reference (TYPE) P99ST_TAB_RAW_ID Raw TemSe data, each row with an ID 20110218
3 Importing IM_TAB_OFFS Call by reference Type reference (TYPE) I 1 Number of lines in Temse to skip 20110921
4 Importing IO_OFF_CALC Call by reference Object reference (TYPE REF TO) IF_HR99S00_STRATEGY Algorithm for structure offset calculation 20110921
5 Importing IV_APPL Call by reference Type reference (TYPE) P_APPL Subapplication 20110923
6 Importing IV_MOLGA Call by reference Type reference (TYPE) MOLGA Country Grouping 20110923
7 Returning RE_TREE_WALKER Value transfer Object reference (TYPE REF TO) CL_HR99S00_DAQ_TREE_WALKER Iterator class for the DAQ 20110218
# Exception Resumable Description Created on
1 INVALID_TEMSE_FILE 20110318
2 NO_ROOT_NODE_FOUND 20110318

Method DELETE_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_NODE Call by reference Type reference (TYPE) P99SD_DAQ_NODE DAQ map 20110218

Method DELETE_NODE on class CL_HR99S00_DAQ_TREE_WALKER has no exception.

Method FIND_ALL_IN_TREE 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) P99SD_TAB_DAQ_NODE Found nodes 20120201
2 Importing IV_FIRST Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Return only the first match 20120201
3 Importing IV_LAST Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Return only the last match 20120201
4 Importing IV_TAG Call by reference Type reference (TYPE) P_99S_XMLTG Node tag to search for 20120201

Method FIND_ALL_IN_TREE on class CL_HR99S00_DAQ_TREE_WALKER has no exception.

Method FIRST_CHILD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_CHILD Value transfer Type reference (TYPE) P99SD_DAQ_NODE DAQ map 20110218

Method FIRST_CHILD on class CL_HR99S00_DAQ_TREE_WALKER has no exception.

Method GET_CURRENT_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_NODE Value transfer Type reference (TYPE) P99SD_DAQ_NODE DAQ map 20110218

Method GET_CURRENT_NODE on class CL_HR99S00_DAQ_TREE_WALKER has no exception.

Method GET_CURRENT_NODE_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_ABAP_TYPE Call by reference Type reference (TYPE) C 20110218
2 Exporting EX_VALUE Call by reference Type reference (TYPE) ANY 20110218
# Exception Resumable Description Created on
1 NODE_HAS_NO_VALUE Sections do not have a value attached to them 20110218

Method GET_NEXT_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_ID Value transfer Type reference (TYPE) I 20110218

Method GET_NEXT_ID on class CL_HR99S00_DAQ_TREE_WALKER has no exception.

Method GET_NODE_BY_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ID Call by reference Type reference (TYPE) I Node ID 20110923
2 Returning RV_NODE Value transfer Type reference (TYPE) P99SD_DAQ_NODE Tree node 20110923

Method GET_NODE_BY_ID on class CL_HR99S00_DAQ_TREE_WALKER has no exception.

Method GET_ROOT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_ROOT Value transfer Type reference (TYPE) P99SD_DAQ_NODE DAQ map 20110218

Method GET_ROOT on class CL_HR99S00_DAQ_TREE_WALKER has no exception.

Method INSERT_SECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_NODE Call by reference Type reference (TYPE) P99SD_DAQ_NODE DAQ map 20110218
# Exception Resumable Description Created on
1 NODE_IS_NOT_A_VALID_SECTION 20110218

Method NEXT_SIBLING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_SIBLING Value transfer Type reference (TYPE) P99SD_DAQ_NODE DAQ map 20110218

Method NEXT_SIBLING on class CL_HR99S00_DAQ_TREE_WALKER has no exception.

Method PARENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RE_PARENT Value transfer Type reference (TYPE) P99SD_DAQ_NODE DAQ map 20110218

Method PARENT on class CL_HR99S00_DAQ_TREE_WALKER has no exception.

Method SET_CURRENT_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_NODE Call by reference Type reference (TYPE) P99SD_DAQ_NODE DAQ map 20110218
# Exception Resumable Description Created on
1 NODE_IS_NOT_PRESENT_IN_TREE 20110218
History
Last changed by/on SAP  20130531 
SAP Release Created in 600