SAP ABAP Class /SAPPSPRO/CL_HIER_SERVICES (Hierarchy routines for MIGO/MIRO)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
MM (Application Component) Materials Management
⤷
/SAPPSPRO/PUR_BASIS (Package) tables, structures, general infrastructure
⤷
⤷
Properties
| Class | /SAPPSPRO/CL_HIER_SERVICES | |
| Short Description | Hierarchy routines for MIGO/MIRO | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /SAPPSPRO/PUR_BASIS | tables, structures, general infrastructure |
| Created | 20060705 | SAP |
| Last change | 20100310 | 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) |
Interfaces
Class /SAPPSPRO/CL_HIER_SERVICES has no interface implemented.
Friends
Class /SAPPSPRO/CL_HIER_SERVICES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | /SAPPSPRO/CL_HIER_SERVICES | Hierarchy routines for MIGO/MIRO | 20060705 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060705 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060724 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Sorted hierarchy info | 20070301 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060810 | |||
| 6 | Static Attribute | Private | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060705 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | MMCR_TDRSEG | 20060928 | ||||
| 8 | Static Attribute | Private | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20060705 | |||
| 9 | Static Attribute | Private | Type reference (TYPE) | EBELN | Purchasing Document Number | 20060928 | |||
| 10 | Static Attribute | Private | Type reference (TYPE) | UEBPO | Higher-Level Item in Purchasing Documents | 20060705 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20060719 | |
| 2 | Static method | Public | Method | Fills top level position in field uebpo for aggregation | 20060725 | |
| 3 | Static method | Public | Method | Gets aggregation table | 20060705 | |
| 4 | Instance method | Private | Method | Gets all ine items for which the stapo flag is set | 20060815 | |
| 5 | Static method | Public | Method | Gets the hierarchy below the selected line | 20060705 | |
| 6 | Static method | Public | Method | gets sorted hierarchy info for aggregation | 20070301 | |
| 7 | Instance method | Private | Method | Gets lower hierarchy levels | 20060705 | |
| 8 | Static method | Public | Method | Gets all in MR11 selected exlin/ebelp | 20060810 | |
| 9 | Static method | Public | Method | Returns activity of SubClins | 20060705 | |
| 10 | Static method | Public | Method | Checks whether this branch is selected | 20060705 | |
| 11 | Static method | Public | Method | Finds LIN by EBELP | 20060705 | |
| 12 | Static method | Public | Method | Finds EBELP by LIN | 20060705 | |
| 13 | Instance method | Private | Method | Finds hierarchy information by ebelp | 20060705 | |
| 14 | Instance method | Private | Method | Selects all entries for a document | 20060705 | |
| 15 | Static method | Public | Method | Stores aggregation table | 20060705 | |
| 16 | Static method | Public | Method | Stores information which hierarchy branch is selected | 20060705 | |
| 17 | Static method | Public | Method | Stores all in MR11 selected exlin/ebelp | 20060810 | |
| 18 | Static method | Public | Method | Sorts hierarchy | 20060705 | |
| 19 | Instance method | Private | Method | Sorts one level of hierarchy | 20060705 |
Events
Class /SAPPSPRO/CL_HIER_SERVICES has no event.
Types
Class /SAPPSPRO/CL_HIER_SERVICES has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class /SAPPSPRO/CL_HIER_SERVICES has no parameter.
Method CLASS_CONSTRUCTOR on class /SAPPSPRO/CL_HIER_SERVICES has no exception.
Method FILL_TOP_LEVEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_DRSEG | Call by reference | Type reference (TYPE) | MMCR_TDRSEG | 20060725 | ||||
| 2 | CT_HIER | Call by reference | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060926 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | PO not found | 20060725 |
Method GET_AGG_TEMP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_YDRSEG_ORG | Call by reference | Type reference (TYPE) | MMCR_TDRSEG | Hierarchy data table type for MIGO/MIRO | 20060928 |
Method GET_AGG_TEMP on class /SAPPSPRO/CL_HIER_SERVICES has no exception.
Method GET_ALL_ITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_ITEMS | Call by reference | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data for MIGO/MIRO | 20060815 | |||
| 2 | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20060815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | PO not found | 20060815 |
Method GET_HIER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20060705 | |||
| 2 | IV_EBELP | Call by reference | Type reference (TYPE) | EBELP | Item Number of Purchasing Document | 20060705 | |||
| 3 | RT_HIER | Value transfer | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060705 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | PO not found | 20060711 |
Method GET_HIER_SORT_AGGR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_HIER_SORT | Call by reference | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20070301 |
Method GET_HIER_SORT_AGGR on class /SAPPSPRO/CL_HIER_SERVICES has no exception.
Method GET_LOWER_LEVELS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_LOW_LEV | Call by reference | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060705 | |||
| 2 | IV_EBELP | Call by reference | Type reference (TYPE) | EBELP | Item Number of Purchasing Document | 20060705 |
Method GET_LOWER_LEVELS on class /SAPPSPRO/CL_HIER_SERVICES has no exception.
Method GET_MR11_SEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MR11_SEL | Call by reference | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060810 |
Method GET_MR11_SEL on class /SAPPSPRO/CL_HIER_SERVICES has no exception.
Method IS_ACTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_ACTIVE | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20060705 |
Method IS_ACTIVE on class /SAPPSPRO/CL_HIER_SERVICES has no exception.
Method IS_CURRENT_AGGR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20060705 | |||
| 2 | IV_EBELP | Call by reference | Type reference (TYPE) | EBELP | Item Number of Purchasing Document | 20060705 | |||
| 3 | RV_BRANCH | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20060705 |
Method IS_CURRENT_AGGR on class /SAPPSPRO/CL_HIER_SERVICES has no exception.
Method LOOKUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20060705 | |||
| 2 | IV_EBELP | Call by reference | Type reference (TYPE) | EBELP | Item Number of Purchasing Document | 20060705 | |||
| 3 | RV_LIN | Value transfer | Type reference (TYPE) | EXLIN | External Long Item Number | 20060705 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | PO not found | 20060711 |
Method LOOKUP_EBELP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20060705 | |||
| 2 | IV_EXLIN | Call by reference | Type reference (TYPE) | EXLIN | External Long Item Number | 20060705 | |||
| 3 | RV_EBELP | Value transfer | Type reference (TYPE) | EBELP | Item Number of Purchasing Document | 20060705 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | PO not found | 20060711 |
Method LOOKUP_HIER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20060705 | |||
| 2 | IV_EBELP | Call by reference | Type reference (TYPE) | EBELP | Item Number of Purchasing Document | 20060705 | |||
| 3 | RV_HIER | Value transfer | Type reference (TYPE) | /SAPPSPRO/HIERDATA | Hierarchy data for MIGO/MIRO | 20060705 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | PO not found | 20060725 |
Method SELECT_DOC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20060705 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | PO not found | 20060711 |
Method SET_AGG_TEMP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_HIER_SORT | Call by reference | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Sorted hierarchy data | 20070301 | |||
| 2 | IT_SORT_AGG | Call by reference | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060705 | |||
| 3 | IT_YDRSEG_ORG | Call by reference | Type reference (TYPE) | MMCR_TDRSEG | 20060928 |
Method SET_AGG_TEMP on class /SAPPSPRO/CL_HIER_SERVICES has no exception.
Method SET_CURRENT_AGGR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20060705 | |||
| 2 | IV_UEBPO | Call by reference | Type reference (TYPE) | EBELP | Item Number of Purchasing Document | 20060928 |
Method SET_CURRENT_AGGR on class /SAPPSPRO/CL_HIER_SERVICES has no exception.
Method SET_MR11_SEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MR11_SEL | Call by reference | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060810 |
Method SET_MR11_SEL on class /SAPPSPRO/CL_HIER_SERVICES has no exception.
Method SORT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_HIER_SORT | Call by reference | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060724 | |||
| 2 | ET_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Table with sorted hierarchy | 20060705 | |||
| 3 | IT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Table with unsorted hierarchy | 20060705 | |||
| 4 | IV_MODE | Call by reference | Type reference (TYPE) | C | ASCENDING/DESCENDING | 20060705 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | PO not found | 20060711 |
Method SORT_HIER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_SORT | Call by reference | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060705 | |||
| 2 | IT_UNSORTED | Call by reference | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060705 | |||
| 3 | IV_DEPTH | Call by reference | Type reference (TYPE) | INT4 | Hierarchy depth | 20060927 | |||
| 4 | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20060706 | |||
| 5 | IV_HIER_LEVEL | Call by reference | Type reference (TYPE) | UEBPO | Higher-Level Item in Purchasing Documents | 20060705 | |||
| 6 | IV_HLEVEL | Call by reference | Type reference (TYPE) | EBELP | Higher non functional position | 20060926 | |||
| 7 | IV_MODE | Call by reference | Type reference (TYPE) | C | ASCENDING/DESCENDING | 20060705 | |||
| 8 | IV_TLEVEL | Call by reference | Type reference (TYPE) | EBELP | Top Level position | 20060724 |
Method SORT_HIER on class /SAPPSPRO/CL_HIER_SERVICES has no exception.
History
| Last changed by/on | SAP | 20100310 |
| SAP Release Created in | 700 |