SAP ABAP Class CL_PPH_MDPSX_SELECTION (Select and access MDPSX from HDB)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
PP-MRP (Application Component) Material Requirements Planning
⤷
PPH_GENERAL (Package) PP on HANA: General Functions
⤷
⤷
Properties
| Class | CL_PPH_MDPSX_SELECTION | |
| Short Description | Select and access MDPSX from HDB | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PPH_GENERAL | PP on HANA: General Functions |
| Created | 20120717 | SAP |
| Last change | 20131127 | 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 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 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
Class CL_PPH_MDPSX_SELECTION has no interface implemented.
Friends
Class CL_PPH_MDPSX_SELECTION has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Public | Object reference (TYPE REF TO) | PPH_MDPSX_DBSYS_OPT | BAdI | 20120815 | |||
| 2 | Constant | Public | Type reference (TYPE) | CHAR1 | 'P' | keep buffer and extend | 20120816 | ||
| 3 | Constant | Public | Type reference (TYPE) | CHAR1 | 'X' | refresh buffer | 20120816 | ||
| 4 | Static Attribute | Private | See coding | 20120810 | |||||
| 5 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20120727 | ||||
| 6 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | General Flag | 20120815 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20120718 | ||||
| 8 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20120919 | ||||
| 9 | Static Attribute | Public | Type reference (TYPE) | ABAP_BOOL | Hana selection started | 20120913 | |||
| 10 | Static Attribute | Private | Type reference (TYPE) | DISST | Low-Level Code | 20120810 | |||
| 11 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20120806 | ||||
| 12 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20120804 | ||||
| 13 | Static Attribute | Private | See coding | 20121127 | |||||
| 14 | Static Attribute | Private | See coding | 20121127 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20120828 | |
| 2 | Static method | Public | Method | control different mechanisms when Hana active | 20120803 | |
| 3 | Static method | Public | Method | get buffered plan requests for current MRP level | 20130925 | |
| 4 | Static method | Public | Method | read HANA active switch | 20120726 | |
| 5 | Static method | Public | Method | Get status "selection via HANA was called" | 20120913 | |
| 6 | Static method | Public | Method | 20120804 | ||
| 7 | Static method | Public | Method | get MDPSX for material/plant combination | 20120801 | |
| 8 | Static method | Public | Method | 20121127 | ||
| 9 | Static method | Public | Method | get package of mat/werks/berid for preread | 20120810 | |
| 10 | Static method | Public | Method | Get other MATNR/WERKS/BERID combination for same plant | 20120920 | |
| 11 | Static method | Public | Method | selection via material and plant | 20120801 | |
| 12 | Static method | Public | Method | selection via material, plant and berid | 20120804 | |
| 13 | Static method | Public | Method | selection via MRP controller | 20120727 | |
| 14 | Static method | Public | Method | Allow switching OLTP/HANA | 20120718 | |
| 15 | Static method | Public | Method | Allow switching OLTP/HANA | 20120828 | |
| 16 | Static method | Public | Method | Set status "Selection via HANA was called" | 20120913 |
Events
Class CL_PPH_MDPSX_SELECTION has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TT_MDPS | Private | See coding | 20121127 | tt_mdps TYPE STANDARD TABLE OF mdps
|
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_PPH_MDPSX_SELECTION has no parameter.
Method CLASS_CONSTRUCTOR on class CL_PPH_MDPSX_SELECTION has no exception.
Method CONTROL_HANA_SWITCHES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AGG_SEL_FINISHED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120803 | ||||
| 2 | IV_READ_NONAGG_BUFFERED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120804 | ||||
| 3 | IV_SWITCH_ON_MEMORY | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120804 |
Method CONTROL_HANA_SWITCHES on class CL_PPH_MDPSX_SELECTION has no exception.
Method GET_BUFFERED_PLAN_REQUESTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MATNR_WERKS_BERID | Call by reference | Type reference (TYPE) | PPH_MATNR_WERKS_BERID_SEL_TAB | Global temporary table for selecting from HANA (PP) | 20130925 | |||
| 2 | IV_CURRENT_MRP_LEVEL | Call by reference | Type reference (TYPE) | DISST | Low-Level Code | 20130925 |
Method GET_BUFFERED_PLAN_REQUESTS on class CL_PPH_MDPSX_SELECTION has no exception.
Method GET_HANA_ACTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_HANA_ACTIVE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120726 |
Method GET_HANA_ACTIVE on class CL_PPH_MDPSX_SELECTION has no exception.
Method GET_HANA_SELECTION_TRIGGERED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_HANA_SELECTION_TRIGGERED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120913 |
Method GET_HANA_SELECTION_TRIGGERED on class CL_PPH_MDPSX_SELECTION has no exception.
Method GET_HANA_SWITCHES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_MEMORY_SWITCH_ON | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120804 |
Method GET_HANA_SWITCHES on class CL_PPH_MDPSX_SELECTION has no exception.
Method GET_MAT_WERKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_CM61M | Call by reference | Type reference (TYPE) | CM61M | MRP Control Indicator -Material Level- | 20120801 | |||
| 2 | CS_MDKP | Call by reference | Type reference (TYPE) | MDKP | Header Data for MRP Document | 20120801 | |||
| 3 | CS_MDSTA | Call by reference | Type reference (TYPE) | MDSTA | Statistic fields for stocks | 20120807 | |||
| 4 | CT_EQUKX | Call by reference | Type reference (TYPE) | DQUK_TAB | Table type for dquk | 20120822 | |||
| 5 | CT_EQUMX | Call by reference | Type reference (TYPE) | DQUM_TAB | Table type for dqum | 20120822 | |||
| 6 | CT_EQUPX | Call by reference | Type reference (TYPE) | CL_PPH_MDPSX_POSTPROCESSING=>TT_DQUP | Item in quota arrangement / MRP | 20120822 | |||
| 7 | ET_LORTX | Call by reference | Type reference (TYPE) | PPH_LORT_TAB | 20120816 | ||||
| 8 | ET_MDLPY | Call by reference | Type reference (TYPE) | TT_MDLP | 20120803 | ||||
| 9 | ET_MDPSL | Call by reference | Type reference (TYPE) | CL_PPH_MDPSX_POSTPROCESSING=>TT_MDPSX | 20120803 | ||||
| 10 | ET_MDPSO | Call by reference | Type reference (TYPE) | CL_PPH_MDPSX_POSTPROCESSING=>TT_MDPSX | 20120803 | ||||
| 11 | ET_MDPSX | Call by reference | Type reference (TYPE) | CL_PPH_MDPSX_POSTPROCESSING=>TT_MDPSX | enhanced MDPS table type | 20120801 | |||
| 12 | IS_CM61B | Call by reference | Type reference (TYPE) | M61X_CM61B | 20120801 | ||||
| 13 | IS_CM61W | Call by reference | Type reference (TYPE) | CM61W | MRP Control Indicator -Plant Level- | 20120801 | |||
| 14 | IS_CM61X | Call by reference | Type reference (TYPE) | CM61X | MRP Control Indicator -Transaction Level- | 20120801 | |||
| 15 | IS_ESFILT | Call by reference | Type reference (TYPE) | SFILT | Structure of Selection Filter and Display | 20120801 | |||
| 16 | IS_MT61D | Call by reference | Type reference (TYPE) | MT61D | Material Master: MRP | 20120801 | |||
| 17 | IS_T399D | Call by reference | Type reference (TYPE) | T399D | Control Parameters for MRP | 20120801 | |||
| 18 | IV_KEEP_BUFFER | Call by reference | Type reference (TYPE) | XFELD | Keep returned data in buffer | 20120924 | |||
| 19 | IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20120801 | |||
| 20 | IV_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20120801 |
Method GET_MAT_WERKS on class CL_PPH_MDPSX_SELECTION has no exception.
Method GET_MAT_WERKS_BERID_AGG_BUFFER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MDPSX | Call by reference | Type reference (TYPE) | CL_PPH_MDPSX_POSTPROCESSING=>TT_MDPSX | 20121127 | ||||
| 2 | IV_BERID | Call by reference | Type reference (TYPE) | BERID | MRP Area | 20121127 | |||
| 3 | IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20121127 | |||
| 4 | IV_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20121127 |
Method GET_MAT_WERKS_BERID_AGG_BUFFER on class CL_PPH_MDPSX_SELECTION has no exception.
Method GET_MRP_LEVEL_PLAN_REQUESTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MATNR_WERKS_BERID | Call by reference | Type reference (TYPE) | PPH_MATNR_WERKS_BERID_SEL_TAB | Global temporary table for selecting from HANA (PP) | 20120810 | |||
| 2 | EV_NEW_MRP_LEVEL | Call by reference | Type reference (TYPE) | FLAG | 20120811 | ||||
| 3 | IS_PLANNING_REQUEST_CURRENT | Call by reference | Type reference (TYPE) | MDMM | Planning file entry for single-item, multi-level planning | 20120920 | |||
| 4 | IT_PLANNING_REQUEST | Call by reference | Type reference (TYPE) | MRP_MDMMTAB | 20120810 | ||||
| 5 | IV_CURRENT_MRP_LEVEL | Call by reference | Type reference (TYPE) | DISST | Low-Level Code | 20120811 | |||
| 6 | IV_CURRENT_PLANREQ_INDEX | Call by reference | Type reference (TYPE) | CATS_TABIX | '1' | Current index in GT_PLANREQUEST | 20121214 |
Method GET_MRP_LEVEL_PLAN_REQUESTS on class CL_PPH_MDPSX_SELECTION has no exception.
Method GET_OTHER_MATNR_WERKS_REQUESTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MATNR_WERKS_BERID | Call by reference | Type reference (TYPE) | PPH_MATNR_WERKS_BERID_SEL_TAB | Global temporary table for selecting from HANA (PP) | 20120920 | |||
| 2 | IS_PLANNING_REQUEST_CURRENT | Call by reference | Type reference (TYPE) | CM61D | Planning file entry for single-item, multi-level planning | 20120920 | |||
| 3 | IT_PLANNING_REQUEST | Call by reference | Type reference (TYPE) | MRP_MDMMTAB | 20120920 |
Method GET_OTHER_MATNR_WERKS_REQUESTS on class CL_PPH_MDPSX_SELECTION has no exception.
Method SELECT_MATNR_WERKS_BERID_AGG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MATNR_WERKS_BERID | Call by reference | Type reference (TYPE) | PPH_MATNR_WERKS_BERID_SEL_TAB | Global temporary table for selecting from HANA (PP) | 20120801 | |||
| 2 | IV_BUFFER_RESULT | Call by reference | Type reference (TYPE) | CHAR1 | 'X' | General Flag | 20120811 | ||
| 3 | IV_CUTOFF_DATE | Call by reference | Type reference (TYPE) | CHAR8 | '99991231' | Cutoff Date | 20130308 |
Method SELECT_MATNR_WERKS_BERID_AGG on class CL_PPH_MDPSX_SELECTION has no exception.
Method SELECT_MATNR_WERKS_BERID_NOAGG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MATNR_WERKS_BERID | Call by reference | Type reference (TYPE) | PPH_MATNR_WERKS_BERID_SEL_TAB | Global temporary table for selecting from HANA (PP) | 20120804 | |||
| 2 | IV_BUFFER_RESULT | Call by reference | Type reference (TYPE) | CHAR1 | 'X' | Single-Character Indicator | 20120811 | ||
| 3 | IV_CUTOFF_DATE | Call by reference | Type reference (TYPE) | CHAR8 | '99991231' | Cutoff Date | 20130309 |
Method SELECT_MATNR_WERKS_BERID_NOAGG on class CL_PPH_MDPSX_SELECTION has no exception.
Method SELECT_MRP_CONTROLLER_AGG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CUTOFF_DATE | Call by reference | Type reference (TYPE) | CHAR8 | '99991231' | Cutoff Date | 20130309 | ||
| 2 | IV_DISPO | Call by reference | Type reference (TYPE) | DISPO | MRP Controller (Materials Planner) | 20120727 | |||
| 3 | IV_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20120727 |
Method SELECT_MRP_CONTROLLER_AGG on class CL_PPH_MDPSX_SELECTION has no exception.
Method SET_HANA_ACTIVE Signature
Method SET_HANA_ACTIVE on class CL_PPH_MDPSX_SELECTION has no parameter.
Method SET_HANA_ACTIVE on class CL_PPH_MDPSX_SELECTION has no exception.
Method SET_HANA_INACTIVE Signature
Method SET_HANA_INACTIVE on class CL_PPH_MDPSX_SELECTION has no parameter.
Method SET_HANA_INACTIVE on class CL_PPH_MDPSX_SELECTION has no exception.
Method SET_HANA_SELECTION_TRIGGERED Signature
Method SET_HANA_SELECTION_TRIGGERED on class CL_PPH_MDPSX_SELECTION has no parameter.
Method SET_HANA_SELECTION_TRIGGERED on class CL_PPH_MDPSX_SELECTION has no exception.
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in | 616 |