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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 4 | 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 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_HR99S00_STRATEGY | Algorithm for structure offset calculation | 20110921 | |||
| 2 | Instance attribute | Protected | Type reference (TYPE) | P99SD_DAQ_NODE | DAQ map | 20110218 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | P99SD_DAQ_NODE_MAP | 20110218 | ||||
| 4 | Instance attribute | Public | Type reference (TYPE) | P99SD_TAB_SECTN | 20110218 | ||||
| 5 | Instance attribute | Protected | Type reference (TYPE) | P99SD_TAB_FIFOR | Processed sections during tree creation | 20110218 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | P99SD_TAB_DAQ_NODE | All siblings of current node | 20110218 | |||
| 7 | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | 20110218 | ||||
| 8 | Instance attribute | Protected | Type reference (TYPE) | P99SD_TAB_SECTN_ID | Structure of the table | 20110218 | |||
| 9 | Instance attribute | Protected | Type reference (TYPE) | P99SD_T_ID_INDEX | 20120514 | ||||
| 10 | Instance attribute | Public | Type reference (TYPE) | P_APPL | Subapplication | 20110923 | |||
| 11 | Instance attribute | Protected | Type reference (TYPE) | I | Index of current node in internal table | 20110218 | |||
| 12 | Instance attribute | Public | Type reference (TYPE) | MOLGA | Country Grouping | 20110923 | |||
| 13 | 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 | Instance method | Protected | Method | Add all fields of a section ot the map | 20110218 | |
| 2 | Instance method | Protected | Method | Create a lookup table with line id pointing to a table index | 20120514 | |
| 3 | Instance method | Protected | Method | Initialization: Create the DAQ map | 20110218 | |
| 4 | Instance method | Public | Method | Calfulat offset of value fields | 20110921 | |
| 5 | Instance method | Protected | Method | Clear all attributes of iterator | 20110218 | |
| 6 | Instance method | Public | Method | 20110218 | ||
| 7 | Instance method | Public | Constructor | CONSTRUCTOR | 20110218 | |
| 8 | Static method | Public | Method | Create a new Tree Walker and set current node to root | 20110218 | |
| 9 | Instance method | Public | Method | Insert node (a DAQ section) in to tree and child fields | 20110218 | |
| 10 | Instance method | Public | Method | Return all nodes in tree matching condition | 20120201 | |
| 11 | Instance method | Public | Method | Move to and return the first child of current node | 20110218 | |
| 12 | Instance method | Public | Method | Return the current node | 20110218 | |
| 13 | Instance method | Public | Method | A node which does not have a value, i.e. a section | 20110218 | |
| 14 | Instance method | Protected | Method | Returns next available ID for the tree | 20110218 | |
| 15 | Instance method | Public | Method | Get a node from the lookup tree by supplying its ID | 20110923 | |
| 16 | Instance method | Public | Method | Returns the root as defined when the tree walker was created | 20110218 | |
| 17 | Instance method | Public | Method | Insert node (a DAQ section) in to tree and child fields | 20110218 | |
| 18 | Instance method | Public | Method | Move to and return the next sibling of the current node | 20110218 | |
| 19 | Instance method | Public | Method | Returns current parent. Does not move iterator. | 20110218 | |
| 20 | 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 | IM_IGNORE_SUB | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Ignore sections contained in fields of this section | 20110218 | ||
| 2 | IM_INDEX | Call by reference | Type reference (TYPE) | I | 20110218 | ||||
| 3 | IM_PARENT_ID | Call by reference | Type reference (TYPE) | I | 20110218 | ||||
| 4 | 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 | IV_OFFSET | Call by reference | Type reference (TYPE) | I | 20110921 | ||||
| 2 | IV_ORDSE | Call by reference | Type reference (TYPE) | P_99S_ORDSE | Forms: order in structure | 20110921 | |||
| 3 | IV_STRCT | Call by reference | Type reference (TYPE) | TABNAME | DDIC structure | 20110921 | |||
| 4 | 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 | IM_OPER | Call by reference | Type reference (TYPE) | C | Operator | 20110218 | |||
| 2 | IM_VALUE | Call by reference | Type reference (TYPE) | ANY | 20110218 | ||||
| 3 | RE_IS_MATCH | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20110218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Operation supplied was not recognized | 20110218 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_DAQ_SECTN | Call by reference | Type reference (TYPE) | P99SD_TAB_SECTN | Data acquistion for forms | 20110218 | |||
| 2 | IM_TABLE | Call by reference | Type reference (TYPE) | P99ST_TAB_RAW_ID | class for TemSe Southern Europe | 20110218 | |||
| 3 | IM_TAB_OFFS | Call by reference | Type reference (TYPE) | I | 1 | 20110218 | |||
| 4 | IO_OFF_CALC | Call by reference | Object reference (TYPE REF TO) | IF_HR99S00_STRATEGY | Algorithm for structure offset calculation | 20110921 | |||
| 5 | IV_APPL | Call by reference | Type reference (TYPE) | P_APPL | Subapplication | 20110923 | |||
| 6 | IV_MOLGA | Call by reference | Type reference (TYPE) | MOLGA | Country Grouping | 20110923 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110318 | |||
| 2 | 20110218 |
Method CREATE_TREE_WALKER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_DAQ_SECTN | Call by reference | Type reference (TYPE) | P99SD_TAB_SECTN | Data acquistion for forms | 20110218 | |||
| 2 | IM_TABLE | Call by reference | Type reference (TYPE) | P99ST_TAB_RAW_ID | Raw TemSe data, each row with an ID | 20110218 | |||
| 3 | IM_TAB_OFFS | Call by reference | Type reference (TYPE) | I | 1 | Number of lines in Temse to skip | 20110921 | ||
| 4 | IO_OFF_CALC | Call by reference | Object reference (TYPE REF TO) | IF_HR99S00_STRATEGY | Algorithm for structure offset calculation | 20110921 | |||
| 5 | IV_APPL | Call by reference | Type reference (TYPE) | P_APPL | Subapplication | 20110923 | |||
| 6 | IV_MOLGA | Call by reference | Type reference (TYPE) | MOLGA | Country Grouping | 20110923 | |||
| 7 | 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 | 20110318 | |||
| 2 | 20110318 |
Method DELETE_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | ET_NODES | Call by reference | Type reference (TYPE) | P99SD_TAB_DAQ_NODE | Found nodes | 20120201 | |||
| 2 | IV_FIRST | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Return only the first match | 20120201 | ||
| 3 | IV_LAST | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Return only the last match | 20120201 | ||
| 4 | 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 | 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 | 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 | EX_ABAP_TYPE | Call by reference | Type reference (TYPE) | C | 20110218 | ||||
| 2 | EX_VALUE | Call by reference | Type reference (TYPE) | ANY | 20110218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | IV_ID | Call by reference | Type reference (TYPE) | I | Node ID | 20110923 | |||
| 2 | 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 | 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 | IM_NODE | Call by reference | Type reference (TYPE) | P99SD_DAQ_NODE | DAQ map | 20110218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110218 |
Method NEXT_SIBLING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | 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 | IM_NODE | Call by reference | Type reference (TYPE) | P99SD_DAQ_NODE | DAQ map | 20110218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110218 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 600 |