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
⤷
⤷
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 | 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 | Static Attribute | Private | Type reference (TYPE) | IF_MMPUR_ME_READ_HISTORY=>TT_PO_HISTORY_VALUES | 20130308 | ||||
| 2 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130308 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130308 | |||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | MMPUR_DBSYSOPT_POH | 20130308 | ||||
| 5 | Instance attribute | Private | See coding | 20130710 | |||||
| 6 | Instance attribute | Private | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | ||||
| 7 | Instance attribute | Private | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | ||||
| 8 | Instance attribute | Private | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | ||||
| 9 | Instance attribute | Private | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | ||||
| 10 | Instance attribute | Private | Type reference (TYPE) | RSDS_WHERE_TAB | 20130308 | ||||
| 11 | Instance attribute | Private | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | ||||
| 12 | Instance attribute | Private | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | ||||
| 13 | Instance attribute | Private | Type reference (TYPE) | IF_MMPUR_ME_READ_HISTORY=>TT_PO_HISTORY_VALUES | 20130308 | ||||
| 14 | Instance attribute | Private | Type reference (TYPE) | IF_MMPUR_ME_READ_HISTORY=>TT_PO_HISTORY_VALUES | 20130308 | ||||
| 15 | Instance attribute | Private | Type reference (TYPE) | IF_MMPUR_ME_READ_HISTORY=>TT_PO_HISTORY_VALUES | 20130308 | ||||
| 16 | Instance attribute | Private | Type reference (TYPE) | IF_MMPUR_ME_READ_HISTORY=>TT_PO_HISTORY_VALUES | 20130308 | ||||
| 17 | Instance attribute | Private | Type reference (TYPE) | IF_MMPUR_ME_READ_HISTORY=>TT_PO_HISTORY_VALUES | 20130308 | ||||
| 18 | Instance attribute | Private | See coding | Buffer for preliminary history data | 20130710 | ||||
| 19 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20130308 | |||
| 20 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20130318 | ||||
| 21 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20130308 | |||
| 22 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Indicator that the Document Posted buffer is not loaded yet | 20130710 | ||
| 23 | Instance attribute | Private | Type reference (TYPE) | ELIKZ | 20130318 | ||||
| 24 | 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 | Instance method | Public | Method | Clean up data | 20130717 | |
| 2 | Instance method | Public | Constructor | Constructor | 20130308 | |
| 3 | Static method | Public | Method | Factory | 20130308 | |
| 4 | Instance method | Private | Method | Load HDB data into internal buffers | 20130308 | |
| 5 | Instance method | Private | Method | Load Document Posted Netto data into internal buffers | 20130710 | |
| 6 | Instance method | Private | Method | Load HDB data into internal preliminary buffers | 20130710 | |
| 7 | Instance method | Private | Method | Make sure that HDB data is loaded | 20130308 | |
| 8 | Instance method | Private | Method | Make sure that that Document Posted Netto data is loaded | 20130710 | |
| 9 | Instance method | Private | Method | Make sure that Preliminary History Data is loaded | 20130710 | |
| 10 | Instance method | Private | Method | Map PO History data from a buffer to a result table | 20130308 | |
| 11 | Instance method | Private | Method | Check if a fallback is necessary to use ANYDB data provider | 20130308 | |
| 12 | 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 | IT_EBELN | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | ||||
| 2 | IT_EBELP | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | ||||
| 3 | IT_EKGRP | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | ||||
| 4 | IT_EKORG | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | ||||
| 5 | IT_FILTER | Call by reference | Type reference (TYPE) | RSDS_WHERE_TAB | 20130308 | ||||
| 6 | IT_LIFNR | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | ||||
| 7 | IT_MATNR | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | ||||
| 8 | IV_CLEARED | Call by reference | Type reference (TYPE) | ABAP_BOOL | Return values for cleared items as well | 20130318 | |||
| 9 | IV_ELIKZ | Call by reference | Type reference (TYPE) | ELIKZ | "Delivery Completed" Indicator | 20130318 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130308 |
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_EBELN | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | ||||
| 2 | IT_EBELP | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | ||||
| 3 | IT_EKGRP | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | ||||
| 4 | IT_EKORG | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | ||||
| 5 | IT_ELIKZ | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | ||||
| 6 | IT_FILTER | Call by reference | Type reference (TYPE) | RSDS_WHERE_TAB | 20130308 | ||||
| 7 | IT_LIFNR | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | ||||
| 8 | IT_MATNR | Call by reference | Type reference (TYPE) | TT_RSDSSELOPT | 20130308 | ||||
| 9 | IV_CLEARED | Call by reference | Type reference (TYPE) | ABAP_BOOL | Return values for cleared items as well | 20130318 | |||
| 10 | IV_ELIKZ | Call by reference | Type reference (TYPE) | ELIKZ | "Delivery Completed" Indicator | 20130318 | |||
| 11 | R_INSTANCE | Value transfer | Object reference (TYPE REF TO) | IF_MMPUR_ME_READ_HISTORY | Result | 20130308 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130308 |
Method FILL_BUFFERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_DONE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20130308 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130308 |
Method FILL_DPN_BUFFERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_DONE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20130710 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130710 |
Method FILL_PRELIMINARY_BUFFERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_DONE | Value transfer | Type reference (TYPE) | ABAP_BOOL | Indicator: done | 20130710 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | RV_DONE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20130308 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130308 |
Method LOAD_DPN_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_DONE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20130710 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130710 |
Method LOAD_PRELIMINARY_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_DONE | Value transfer | Type reference (TYPE) | ABAP_BOOL | Indicator: done | 20130710 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | ET_PO_HISTORY_VALUES | Call by reference | Type reference (TYPE) | IF_MMPUR_ME_READ_HISTORY=>TT_PO_HISTORY_VALUES | 20130308 | ||||
| 2 | ET_TAB | Call by reference | Object reference (TYPE REF TO) | DATA | 20130308 | ||||
| 3 | ET_TABS | Call by reference | Object reference (TYPE REF TO) | DATA | 20130308 | ||||
| 4 | IT_TAB | Call by reference | Type reference (TYPE) | TT_POHVAL | 20130308 | ||||
| 5 | IV_EBELN | Call by reference | Type reference (TYPE) | EBELN | 20130308 | ||||
| 6 | IV_EBELP | Call by reference | Type reference (TYPE) | EBELP | 20130308 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IT_EKBE | Call by reference | Type reference (TYPE) | ME_EKBE | 20130308 | ||||
| 2 | IT_EKBES | Call by reference | Type reference (TYPE) | ME_EKBES | 20130308 | ||||
| 3 | IT_EKBES_MA | Call by reference | Type reference (TYPE) | EKBES_MA_TTY | 20130308 | ||||
| 4 | IT_EKBEZ | Call by reference | Type reference (TYPE) | ME_EKBEZ | 20130308 | ||||
| 5 | IT_EKBE_MA | Call by reference | Type reference (TYPE) | ME_EKBE_MA_S | 20130308 | ||||
| 6 | IT_EKBNK | Call by reference | Type reference (TYPE) | ME_EKBNK | 20130308 | ||||
| 7 | IT_EKBNK_MA | Call by reference | Type reference (TYPE) | EKBNK_MA_TTY | 20130308 | ||||
| 8 | IT_EKBZ | Call by reference | Type reference (TYPE) | ME_EKBZ | 20130308 | ||||
| 9 | IT_EKBZ_MA | Call by reference | Type reference (TYPE) | ME_EKBZ_MA | 20130308 | ||||
| 10 | IT_RSEG | Call by reference | Type reference (TYPE) | TY_RSEG | 20130308 | ||||
| 11 | RV_SCOPED_OUT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20130308 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130308 |
Method TRIGGER_FALLBACK Signature
Method TRIGGER_FALLBACK on class CL_MMPUR_HDB_READ_HISTORY has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130308 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 617 |