SAP ABAP Class CL_MMPUR_HDB_READ_HISTORY (DAO Class using HDB to access PO History values aggregated)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷ MM-PUR-GF (Application Component) Basic Functions
⤷ MMPUR_HDB (Package) In-Memory Optimizations for MM-PUR
⤷ MM-PUR-GF (Application Component) Basic Functions
⤷ MMPUR_HDB (Package) In-Memory Optimizations for MM-PUR
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_MMPUR_ME_READ_HISTORY | Interface for reading of the PO History data | 20130228 |
Properties
Class | CL_MMPUR_HDB_READ_HISTORY | |
Short Description | DAO Class using HDB to access PO History values aggregated | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | MMPUR_HDB | In-Memory Optimizations for MM-PUR |
Created | 20130228 | 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) |
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_MMPUR_ME_READ_HISTORY | Interface for reading of the PO History data | 20130228 |
Friends
Class CL_MMPUR_HDB_READ_HISTORY has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | GT_POH_VALUES | Static Attribute | Private | Type reference (TYPE) | IF_MMPUR_ME_READ_HISTORY=>TT_PO_HISTORY_VALUES | 20130308 | |||
2 | GV_LOAD_FINISHED | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130308 | ||
3 | GV_LOAD_STARTED | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130308 | ||
4 | MR_BADI_MMPUR_DBSYSOPT_POH | Instance attribute | Private | Object reference (TYPE REF TO) | MMPUR_DBSYSOPT_POH | 20130308 | |||
5 | MT_DPN_BUF | Instance attribute | Private | See coding | 20130710 | ||||
6 | MT_EBELN | Instance attribute | Private | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | |||
7 | MT_EBELP | Instance attribute | Private | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | |||
8 | MT_EKGRP | Instance attribute | Private | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | |||
9 | MT_EKORG | Instance attribute | Private | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | |||
10 | MT_FILTER | Instance attribute | Private | Type reference (TYPE) | RSDS_WHERE_TAB | 20130308 | |||
11 | MT_LIFNR | Instance attribute | Private | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | |||
12 | MT_MATNR | Instance attribute | Private | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | |||
13 | MT_POH | Instance attribute | Private | Type reference (TYPE) | IF_MMPUR_ME_READ_HISTORY=>TT_PO_HISTORY_VALUES | 20130308 | |||
14 | MT_POHE | Instance attribute | Private | Type reference (TYPE) | IF_MMPUR_ME_READ_HISTORY=>TT_PO_HISTORY_VALUES | 20130308 | |||
15 | MT_POHZ | Instance attribute | Private | Type reference (TYPE) | IF_MMPUR_ME_READ_HISTORY=>TT_PO_HISTORY_VALUES | 20130308 | |||
16 | MT_POHZ_MA | Instance attribute | Private | Type reference (TYPE) | IF_MMPUR_ME_READ_HISTORY=>TT_PO_HISTORY_VALUES | 20130308 | |||
17 | MT_POH_MA | Instance attribute | Private | Type reference (TYPE) | IF_MMPUR_ME_READ_HISTORY=>TT_PO_HISTORY_VALUES | 20130308 | |||
18 | MT_VBSEGS_BUF | Instance attribute | Private | See coding | Buffer for preliminary history data | 20130710 | |||
19 | MV_BUFFER_INITIAL | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20130308 | ||
20 | MV_CLEARED | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20130318 | |||
21 | MV_DATA_RANGE_INITIAL | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20130308 | ||
22 | MV_DPN_BUFFER_INITIAL | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Indicator that the Document Posted buffer is not loaded yet | 20130710 | |
23 | MV_ELIKZ | Instance attribute | Private | Type reference (TYPE) | ELIKZ | 20130318 | |||
24 | MV_PRELIMINARY_BUFFER_INITIAL | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Indicator that the preliminary buffer is not loaded yet | 20130710 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CLEANUP | Instance method | Public | Method | Clean up data | 20130717 |
2 | CONSTRUCTOR | Instance method | Public | Constructor | Constructor | 20130308 |
3 | CREATE | Static method | Public | Method | Factory | 20130308 |
4 | FILL_BUFFERS | Instance method | Private | Method | Load HDB data into internal buffers | 20130308 |
5 | FILL_DPN_BUFFERS | Instance method | Private | Method | Load Document Posted Netto data into internal buffers | 20130710 |
6 | FILL_PRELIMINARY_BUFFERS | Instance method | Private | Method | Load HDB data into internal preliminary buffers | 20130710 |
7 | LOAD_DATA | Instance method | Private | Method | Make sure that HDB data is loaded | 20130308 |
8 | LOAD_DPN_DATA | Instance method | Private | Method | Make sure that that Document Posted Netto data is loaded | 20130710 |
9 | LOAD_PRELIMINARY_DATA | Instance method | Private | Method | Make sure that Preliminary History Data is loaded | 20130710 |
10 | MAP_BUFFER_TO_RESULT | Instance method | Private | Method | Map PO History data from a buffer to a result table | 20130308 |
11 | SCOPE_OUT_FALLBACK | Instance method | Private | Method | Check if a fallback is necessary to use ANYDB data provider | 20130308 |
12 | TRIGGER_FALLBACK | Instance method | Private | Method | Raise exception reading isn't supported by HDB data provider | 20130308 |
Events
Class CL_MMPUR_HDB_READ_HISTORY has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TY_DPN_BUF | Private | See coding | 20130710 | BEGIN OF ty_dpn_buf ,
belnr TYPE mblnr ,
xnetb TYPE char1 ,
END OF ty_dpn_buf
|
Method Signatures
Method CLEANUP Signature
Method CLEANUP on class CL_MMPUR_HDB_READ_HISTORY has no parameter.
Method CLEANUP on class CL_MMPUR_HDB_READ_HISTORY has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_EBELN | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | |||
2 | Importing | IT_EBELP | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | |||
3 | Importing | IT_EKGRP | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | |||
4 | Importing | IT_EKORG | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | |||
5 | Importing | IT_FILTER | Call by reference | Type reference (TYPE) | RSDS_WHERE_TAB | 20130308 | |||
6 | Importing | IT_LIFNR | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | |||
7 | Importing | IT_MATNR | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | |||
8 | Importing | IV_CLEARED | Call by reference | Type reference (TYPE) | ABAP_BOOL | Return values for cleared items as well | 20130318 | ||
9 | Importing | IV_ELIKZ | Call by reference | Type reference (TYPE) | ELIKZ | "Delivery Completed" Indicator | 20130318 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_MMPUR_READ_HISTORY_CANT_BE | 20130308 |
Method CREATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_EBELN | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | |||
2 | Importing | IT_EBELP | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | |||
3 | Importing | IT_EKGRP | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | |||
4 | Importing | IT_EKORG | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | |||
5 | Importing | IT_ELIKZ | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | |||
6 | Importing | IT_FILTER | Call by reference | Type reference (TYPE) | RSDS_WHERE_TAB | 20130308 | |||
7 | Importing | IT_LIFNR | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | |||
8 | Importing | IT_MATNR | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | |||
9 | Importing | IV_CLEARED | Call by reference | Type reference (TYPE) | ABAP_BOOL | Return values for cleared items as well | 20130318 | ||
10 | Importing | IV_ELIKZ | Call by reference | Type reference (TYPE) | ELIKZ | "Delivery Completed" Indicator | 20130318 | ||
11 | Returning | R_INSTANCE | Value transfer | Object reference (TYPE REF TO) | IF_MMPUR_ME_READ_HISTORY | Result | 20130308 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_MMPUR_READ_HISTORY_CANT_BE | 20130308 |
Method FILL_BUFFERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RV_DONE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20130308 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_MMPUR_READ_HISTORY_CANT_BE | 20130308 |
Method FILL_DPN_BUFFERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RV_DONE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20130710 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_MMPUR_READ_HISTORY_CANT_BE | 20130710 |
Method FILL_PRELIMINARY_BUFFERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RV_DONE | Value transfer | Type reference (TYPE) | ABAP_BOOL | Indicator: done | 20130710 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_MMPUR_READ_HISTORY_CANT_BE | Exception class to control PO History DAO classes | 20130710 |
Method LOAD_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RV_DONE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20130308 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_MMPUR_READ_HISTORY_CANT_BE | 20130308 |
Method LOAD_DPN_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RV_DONE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20130710 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_MMPUR_READ_HISTORY_CANT_BE | 20130710 |
Method LOAD_PRELIMINARY_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RV_DONE | Value transfer | Type reference (TYPE) | ABAP_BOOL | Indicator: done | 20130710 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_MMPUR_READ_HISTORY_CANT_BE | Exception class to control PO History DAO classes | 20130710 |
Method MAP_BUFFER_TO_RESULT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_PO_HISTORY_VALUES | Call by reference | Type reference (TYPE) | IF_MMPUR_ME_READ_HISTORY=>TT_PO_HISTORY_VALUES | 20130308 | |||
2 | Exporting | ET_TAB | Call by reference | Object reference (TYPE REF TO) | DATA | 20130308 | |||
3 | Exporting | ET_TABS | Call by reference | Object reference (TYPE REF TO) | DATA | 20130308 | |||
4 | Importing | IT_TAB | Call by reference | Type reference (TYPE) | TT_POHVAL | 20130308 | |||
5 | Importing | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | 20130308 | |||
6 | Importing | IV_EBELP | Call by reference | Type reference (TYPE) | EBELP | 20130308 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_MMPUR_READ_HISTORY_CANT_BE | Exception raised if the optimization case is not supported | 20130710 |
Method SCOPE_OUT_FALLBACK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_EKBE | Call by reference | Type reference (TYPE) | ME_EKBE | 20130308 | |||
2 | Importing | IT_EKBES | Call by reference | Type reference (TYPE) | ME_EKBES | 20130308 | |||
3 | Importing | IT_EKBES_MA | Call by reference | Type reference (TYPE) | EKBES_MA_TTY | 20130308 | |||
4 | Importing | IT_EKBEZ | Call by reference | Type reference (TYPE) | ME_EKBEZ | 20130308 | |||
5 | Importing | IT_EKBE_MA | Call by reference | Type reference (TYPE) | ME_EKBE_MA_S | 20130308 | |||
6 | Importing | IT_EKBNK | Call by reference | Type reference (TYPE) | ME_EKBNK | 20130308 | |||
7 | Importing | IT_EKBNK_MA | Call by reference | Type reference (TYPE) | EKBNK_MA_TTY | 20130308 | |||
8 | Importing | IT_EKBZ | Call by reference | Type reference (TYPE) | ME_EKBZ | 20130308 | |||
9 | Importing | IT_EKBZ_MA | Call by reference | Type reference (TYPE) | ME_EKBZ_MA | 20130308 | |||
10 | Importing | IT_RSEG | Call by reference | Type reference (TYPE) | TY_RSEG | 20130308 | |||
11 | Returning | RV_SCOPED_OUT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20130308 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_MMPUR_READ_HISTORY_CANT_BE | 20130308 |
Method TRIGGER_FALLBACK Signature
Method TRIGGER_FALLBACK on class CL_MMPUR_HDB_READ_HISTORY has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_MMPUR_READ_HISTORY_CANT_BE | 20130308 |
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 617 |