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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_PPH_MDPSX_POSTPROCESSING Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 M61X Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 MRP 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 GB_BADI_PPH_MDPSX_DBSYS_OPT Static Attribute Public Object reference (TYPE REF TO) PPH_MDPSX_DBSYS_OPT BAdI 20120815
2 GC_BUFFER_MODE_P Constant Public Type reference (TYPE) CHAR1 'P' keep buffer and extend 20120816
3 GC_BUFFER_MODE_X Constant Public Type reference (TYPE) CHAR1 'X' refresh buffer 20120816
4 GT_MATNR_WERKS_BERID_SEL Static Attribute Private See coding 20120810
5 GV_AGG_SEL_FINISHED Static Attribute Private Type reference (TYPE) ABAP_BOOL 20120727
6 GV_BADI_ACTIVE_CHECKED Static Attribute Private Type reference (TYPE) ABAP_BOOL General Flag 20120815
7 GV_HANA Static Attribute Private Type reference (TYPE) ABAP_BOOL 20120718
8 GV_HANA_MAIN_SWITCH Static Attribute Private Type reference (TYPE) ABAP_BOOL 20120919
9 GV_HANA_SELECTION_TRIGGERED Static Attribute Public Type reference (TYPE) ABAP_BOOL Hana selection started 20120913
10 GV_LAST_MRP_LEVEL Static Attribute Private Type reference (TYPE) DISST Low-Level Code 20120810
11 GV_MEMORY_SWITCH_ON Static Attribute Private Type reference (TYPE) ABAP_BOOL 20120806
12 GV_READ_NONAGG_BUFFERED Static Attribute Private Type reference (TYPE) ABAP_BOOL 20120804
13 MDPSX_EXT Static Attribute Private See coding 20121127
14 MT_MDPSX_EXT Static Attribute Private See coding 20121127
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20120828
2 CONTROL_HANA_SWITCHES Static method Public Method control different mechanisms when Hana active 20120803
3 GET_BUFFERED_PLAN_REQUESTS Static method Public Method get buffered plan requests for current MRP level 20130925
4 GET_HANA_ACTIVE Static method Public Method read HANA active switch 20120726
5 GET_HANA_SELECTION_TRIGGERED Static method Public Method Get status "selection via HANA was called" 20120913
6 GET_HANA_SWITCHES Static method Public Method 20120804
7 GET_MAT_WERKS Static method Public Method get MDPSX for material/plant combination 20120801
8 GET_MAT_WERKS_BERID_AGG_BUFFER Static method Public Method 20121127
9 GET_MRP_LEVEL_PLAN_REQUESTS Static method Public Method get package of mat/werks/berid for preread 20120810
10 GET_OTHER_MATNR_WERKS_REQUESTS Static method Public Method Get other MATNR/WERKS/BERID combination for same plant 20120920
11 SELECT_MATNR_WERKS_BERID_AGG Static method Public Method selection via material and plant 20120801
12 SELECT_MATNR_WERKS_BERID_NOAGG Static method Public Method selection via material, plant and berid 20120804
13 SELECT_MRP_CONTROLLER_AGG Static method Public Method selection via MRP controller 20120727
14 SET_HANA_ACTIVE Static method Public Method Allow switching OLTP/HANA 20120718
15 SET_HANA_INACTIVE Static method Public Method Allow switching OLTP/HANA 20120828
16 SET_HANA_SELECTION_TRIGGERED 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 Importing IV_AGG_SEL_FINISHED Call by reference Type reference (TYPE) ABAP_BOOL 20120803
2 Importing IV_READ_NONAGG_BUFFERED Call by reference Type reference (TYPE) ABAP_BOOL 20120804
3 Importing 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 Exporting 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 Importing 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 Returning 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 Returning 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 Exporting 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 Changing CS_CM61M Call by reference Type reference (TYPE) CM61M MRP Control Indicator -Material Level- 20120801
2 Changing CS_MDKP Call by reference Type reference (TYPE) MDKP Header Data for MRP Document 20120801
3 Changing CS_MDSTA Call by reference Type reference (TYPE) MDSTA Statistic fields for stocks 20120807
4 Changing CT_EQUKX Call by reference Type reference (TYPE) DQUK_TAB Table type for dquk 20120822
5 Changing CT_EQUMX Call by reference Type reference (TYPE) DQUM_TAB Table type for dqum 20120822
6 Changing CT_EQUPX Call by reference Type reference (TYPE) CL_PPH_MDPSX_POSTPROCESSING=>TT_DQUP Item in quota arrangement / MRP 20120822
7 Exporting ET_LORTX Call by reference Type reference (TYPE) PPH_LORT_TAB 20120816
8 Exporting ET_MDLPY Call by reference Type reference (TYPE) TT_MDLP 20120803
9 Exporting ET_MDPSL Call by reference Type reference (TYPE) CL_PPH_MDPSX_POSTPROCESSING=>TT_MDPSX 20120803
10 Exporting ET_MDPSO Call by reference Type reference (TYPE) CL_PPH_MDPSX_POSTPROCESSING=>TT_MDPSX 20120803
11 Exporting ET_MDPSX Call by reference Type reference (TYPE) CL_PPH_MDPSX_POSTPROCESSING=>TT_MDPSX enhanced MDPS table type 20120801
12 Importing IS_CM61B Call by reference Type reference (TYPE) M61X_CM61B 20120801
13 Importing IS_CM61W Call by reference Type reference (TYPE) CM61W MRP Control Indicator -Plant Level- 20120801
14 Importing IS_CM61X Call by reference Type reference (TYPE) CM61X MRP Control Indicator -Transaction Level- 20120801
15 Importing IS_ESFILT Call by reference Type reference (TYPE) SFILT Structure of Selection Filter and Display 20120801
16 Importing IS_MT61D Call by reference Type reference (TYPE) MT61D Material Master: MRP 20120801
17 Importing IS_T399D Call by reference Type reference (TYPE) T399D Control Parameters for MRP 20120801
18 Importing IV_KEEP_BUFFER Call by reference Type reference (TYPE) XFELD Keep returned data in buffer 20120924
19 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20120801
20 Importing 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 Exporting ET_MDPSX Call by reference Type reference (TYPE) CL_PPH_MDPSX_POSTPROCESSING=>TT_MDPSX 20121127
2 Importing IV_BERID Call by reference Type reference (TYPE) BERID MRP Area 20121127
3 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20121127
4 Importing 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 Exporting 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 Exporting EV_NEW_MRP_LEVEL Call by reference Type reference (TYPE) FLAG 20120811
3 Importing IS_PLANNING_REQUEST_CURRENT Call by reference Type reference (TYPE) MDMM Planning file entry for single-item, multi-level planning 20120920
4 Importing IT_PLANNING_REQUEST Call by reference Type reference (TYPE) MRP_MDMMTAB 20120810
5 Importing IV_CURRENT_MRP_LEVEL Call by reference Type reference (TYPE) DISST Low-Level Code 20120811
6 Importing 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 Exporting 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 Importing IS_PLANNING_REQUEST_CURRENT Call by reference Type reference (TYPE) CM61D Planning file entry for single-item, multi-level planning 20120920
3 Importing 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 Importing 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 Importing IV_BUFFER_RESULT Call by reference Type reference (TYPE) CHAR1 'X' General Flag 20120811
3 Importing 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 Importing 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 Importing IV_BUFFER_RESULT Call by reference Type reference (TYPE) CHAR1 'X' Single-Character Indicator 20120811
3 Importing 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 Importing IV_CUTOFF_DATE Call by reference Type reference (TYPE) CHAR8 '99991231' Cutoff Date 20130309
2 Importing IV_DISPO Call by reference Type reference (TYPE) DISPO MRP Controller (Materials Planner) 20120727
3 Importing 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