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
⤷ 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 | MMCR | 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 | GO_INSTANCE | Static Attribute | Private | Object reference (TYPE REF TO) | /SAPPSPRO/CL_HIER_SERVICES | Hierarchy routines for MIGO/MIRO | 20060705 | ||
2 | GT_HIERARCHY | Static Attribute | Private | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060705 | ||
3 | GT_HIERARCHY_EXLIN | Static Attribute | Private | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060724 | ||
4 | GT_HIER_SORT | Static Attribute | Private | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Sorted hierarchy info | 20070301 | ||
5 | GT_MR11_SEL | Static Attribute | Private | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060810 | ||
6 | GT_SORT_AGG | Static Attribute | Private | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060705 | ||
7 | GT_YDRSEG_ORG | Static Attribute | Private | Type reference (TYPE) | MMCR_TDRSEG | 20060928 | |||
8 | GV_ACTIVE | Static Attribute | Private | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20060705 | ||
9 | GV_EBELN_AGG | Static Attribute | Private | Type reference (TYPE) | EBELN | Purchasing Document Number | 20060928 | ||
10 | GV_UEBPO_AGG | Static Attribute | Private | Type reference (TYPE) | UEBPO | Higher-Level Item in Purchasing Documents | 20060705 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CLASS_CONSTRUCTOR | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20060719 |
2 | FILL_TOP_LEVEL | Static method | Public | Method | Fills top level position in field uebpo for aggregation | 20060725 |
3 | GET_AGG_TEMP | Static method | Public | Method | Gets aggregation table | 20060705 |
4 | GET_ALL_ITEMS | Instance method | Private | Method | Gets all ine items for which the stapo flag is set | 20060815 |
5 | GET_HIER | Static method | Public | Method | Gets the hierarchy below the selected line | 20060705 |
6 | GET_HIER_SORT_AGGR | Static method | Public | Method | gets sorted hierarchy info for aggregation | 20070301 |
7 | GET_LOWER_LEVELS | Instance method | Private | Method | Gets lower hierarchy levels | 20060705 |
8 | GET_MR11_SEL | Static method | Public | Method | Gets all in MR11 selected exlin/ebelp | 20060810 |
9 | IS_ACTIVE | Static method | Public | Method | Returns activity of SubClins | 20060705 |
10 | IS_CURRENT_AGGR | Static method | Public | Method | Checks whether this branch is selected | 20060705 |
11 | LOOKUP | Static method | Public | Method | Finds LIN by EBELP | 20060705 |
12 | LOOKUP_EBELP | Static method | Public | Method | Finds EBELP by LIN | 20060705 |
13 | LOOKUP_HIER | Instance method | Private | Method | Finds hierarchy information by ebelp | 20060705 |
14 | SELECT_DOC | Instance method | Private | Method | Selects all entries for a document | 20060705 |
15 | SET_AGG_TEMP | Static method | Public | Method | Stores aggregation table | 20060705 |
16 | SET_CURRENT_AGGR | Static method | Public | Method | Stores information which hierarchy branch is selected | 20060705 |
17 | SET_MR11_SEL | Static method | Public | Method | Stores all in MR11 selected exlin/ebelp | 20060810 |
18 | SORT | Static method | Public | Method | Sorts hierarchy | 20060705 |
19 | SORT_HIER | 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 | Changing | CT_DRSEG | Call by reference | Type reference (TYPE) | MMCR_TDRSEG | 20060725 | |||
2 | Changing | 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 | /SAPPSPRO/CX_DOC_NOT_FOUND | PO not found | 20060725 |
Method GET_AGG_TEMP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | 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 | Changing | CT_ITEMS | Call by reference | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data for MIGO/MIRO | 20060815 | ||
2 | Importing | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20060815 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SAPPSPRO/CX_DOC_NOT_FOUND | PO not found | 20060815 |
Method GET_HIER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20060705 | ||
2 | Importing | IV_EBELP | Call by reference | Type reference (TYPE) | EBELP | Item Number of Purchasing Document | 20060705 | ||
3 | Returning | RT_HIER | Value transfer | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060705 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SAPPSPRO/CX_DOC_NOT_FOUND | 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 | Exporting | 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 | Changing | CT_LOW_LEV | Call by reference | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060705 | ||
2 | Importing | 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 | Exporting | 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 | Returning | 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 | Importing | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20060705 | ||
2 | Importing | IV_EBELP | Call by reference | Type reference (TYPE) | EBELP | Item Number of Purchasing Document | 20060705 | ||
3 | Returning | 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 | Importing | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20060705 | ||
2 | Importing | IV_EBELP | Call by reference | Type reference (TYPE) | EBELP | Item Number of Purchasing Document | 20060705 | ||
3 | Returning | RV_LIN | Value transfer | Type reference (TYPE) | EXLIN | External Long Item Number | 20060705 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SAPPSPRO/CX_DOC_NOT_FOUND | PO not found | 20060711 |
Method LOOKUP_EBELP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20060705 | ||
2 | Importing | IV_EXLIN | Call by reference | Type reference (TYPE) | EXLIN | External Long Item Number | 20060705 | ||
3 | Returning | RV_EBELP | Value transfer | Type reference (TYPE) | EBELP | Item Number of Purchasing Document | 20060705 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SAPPSPRO/CX_DOC_NOT_FOUND | PO not found | 20060711 |
Method LOOKUP_HIER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20060705 | ||
2 | Importing | IV_EBELP | Call by reference | Type reference (TYPE) | EBELP | Item Number of Purchasing Document | 20060705 | ||
3 | Returning | RV_HIER | Value transfer | Type reference (TYPE) | /SAPPSPRO/HIERDATA | Hierarchy data for MIGO/MIRO | 20060705 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SAPPSPRO/CX_DOC_NOT_FOUND | PO not found | 20060725 |
Method SELECT_DOC Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20060705 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SAPPSPRO/CX_DOC_NOT_FOUND | PO not found | 20060711 |
Method SET_AGG_TEMP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_HIER_SORT | Call by reference | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Sorted hierarchy data | 20070301 | ||
2 | Importing | IT_SORT_AGG | Call by reference | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060705 | ||
3 | Importing | 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 | Importing | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20060705 | ||
2 | Importing | 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 | Importing | 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 | Exporting | ET_HIER_SORT | Call by reference | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060724 | ||
2 | Exporting | ET_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Table with sorted hierarchy | 20060705 | ||
3 | Importing | IT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Table with unsorted hierarchy | 20060705 | ||
4 | Importing | IV_MODE | Call by reference | Type reference (TYPE) | C | ASCENDING/DESCENDING | 20060705 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | /SAPPSPRO/CX_DOC_NOT_FOUND | PO not found | 20060711 |
Method SORT_HIER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CT_SORT | Call by reference | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060705 | ||
2 | Importing | IT_UNSORTED | Call by reference | Type reference (TYPE) | /SAPPSPRO/HIERDATA_T | Hierarchy data table type for MIGO/MIRO | 20060705 | ||
3 | Importing | IV_DEPTH | Call by reference | Type reference (TYPE) | INT4 | Hierarchy depth | 20060927 | ||
4 | Importing | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | Purchasing Document Number | 20060706 | ||
5 | Importing | IV_HIER_LEVEL | Call by reference | Type reference (TYPE) | UEBPO | Higher-Level Item in Purchasing Documents | 20060705 | ||
6 | Importing | IV_HLEVEL | Call by reference | Type reference (TYPE) | EBELP | Higher non functional position | 20060926 | ||
7 | Importing | IV_MODE | Call by reference | Type reference (TYPE) | C | ASCENDING/DESCENDING | 20060705 | ||
8 | Importing | 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 |