SAP ABAP Class CL_PPH_HANA_ACCESS_MATERIAL (Get Material Master MT61D and CM61B)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
PP-MRP (Application Component) Material Requirements Planning
⤷
PPH_ACCESS_HANA (Package) PP on HANA: Access to HANA objects
⤷
⤷
Properties
| Class | CL_PPH_HANA_ACCESS_MATERIAL | |
| Short Description | Get Material Master MT61D and CM61B | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PPH_ACCESS_HANA | PP on HANA: Access to HANA objects |
| Created | 20120723 | 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) |
Interfaces
Class CL_PPH_HANA_ACCESS_MATERIAL has no interface implemented.
Friends
Class CL_PPH_HANA_ACCESS_MATERIAL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_PPH_HANA_ACCESS_MATERIAL | Singleton | 20120802 | |||
| 2 | Instance attribute | Protected | Type reference (TYPE) | PPH_M61XCM61B_ENH_TAB | Table for MRP-Area Details (Type Grp M61X -> M61X_CM61B) | 20120723 | |||
| 3 | Instance attribute | Protected | Type reference (TYPE) | PPH_MAKT_TAB | Material Short Text - Table | 20120802 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | PPH_MAPRO_TAB | View on Material Master (Forecasting) | 20120816 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | PPH_MARC_MMSTA_TAB | Material status from MARC | 20120802 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | PPH_TTY_MSFCV | Material Master: MRP - Table Type | 20120811 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | PPH_MT61D_TAB | Material Master: MRP - Table Type | 20120723 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | KZVPL | Indicator that planning data for plant should be read | 20121122 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Fetch single MSFCV for a given MATNR/WERKS from result buffe | 20120811 | |
| 2 | Instance method | Public | Method | Retrieve complete buffered CM61B Table | 20120912 | |
| 3 | Static method | Public | Method | Singleton | 20120802 | |
| 4 | Instance method | Public | Method | 20130418 | ||
| 5 | Instance method | Public | Method | Retrieve complete buffered MT61D Table | 20120802 | |
| 6 | Instance method | Public | Method | Select Material in bulk for MAKT | 20120802 | |
| 7 | Instance method | Public | Method | Select Material in bulk for MAPRO | 20120816 | |
| 8 | Instance method | Public | Method | Select Material in bulk for MARC, Field MMSTA only | 20120802 | |
| 9 | Instance method | Public | Method | Select Material in bulk for MT61D AND CM61B | 20120802 | |
| 10 | Instance method | Public | Method | Refresh buffer (used for Unit Tests only) | 20120906 | |
| 11 | Instance method | Public | Method | Retrieve structure CM61B for a given MRP-Area (and MATNR) | 20120807 | |
| 12 | Instance method | Public | Method | Retrieve record from previously bulk-selected MAKT-records | 20120802 | |
| 13 | Instance method | Public | Method | Retrieve single MAPRO for a given MATNR/WERKS | 20120816 | |
| 14 | Instance method | Public | Method | Retrieve Material Status from prefetched table | 20120802 | |
| 15 | Instance method | Public | Method | Retrieve single MT61D for a given MATNR/WERKS | 20120723 | |
| 16 | Instance method | Public | Method | Set indicator that planning data for plant should be read | 20121122 |
Events
Class CL_PPH_HANA_ACCESS_MATERIAL has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | PPH_TTY_MSFCV | Protected | See coding | 20120811 | PPH_TTY_MSFCV TYPE SORTED TABLE OF PPH_TY_MSFCV WITH UNIQUE KEY matnr werks
|
||
| 2 | PPH_TY_MSFCV | Protected | See coding | 20120811 | BEGIN OF PPH_TY_MSFCV,
matnr TYPE matnr,
werks TYPE werks_d,
langu TYPE spras.
INCLUDE TYPE msfcv AS msfcv.
INCLUDE TYPE mtcor AS mtcor.
TYPES END OF PPH_TY_MSFCV
|
Method Signatures
Method FETCH_MSFCV_BY_MATNR_WERKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MSFCV | Call by reference | Type reference (TYPE) | MSFCV | Material Master View on Production Orders | 20120811 | |||
| 2 | ES_MTCOR | Call by reference | Type reference (TYPE) | MTCOR | Material Master View: Return Codes | 20120811 | |||
| 3 | EV_SUBRC | Call by reference | Type reference (TYPE) | SYSUBRC | Return Value of ABAP Statements | 20120811 | |||
| 4 | IS_SELECTION | Call by reference | Type reference (TYPE) | PPH_MATNR_WERKS_SEL | Type for Global temporary table for selecting from HANA (PP) | 20120811 | |||
| 5 | IV_LANGU | Call by reference | Type reference (TYPE) | SPRAS | Language Key of Current Text Environment | 20120811 |
Method FETCH_MSFCV_BY_MATNR_WERKS on class CL_PPH_HANA_ACCESS_MATERIAL has no exception.
Method GET_CM61B_ALL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_CM61B_OUT | Value transfer | Type reference (TYPE) | PPH_M61XCM61B_ENH_TAB | Material Master: MRP - Table Type | 20120912 |
Method GET_CM61B_ALL on class CL_PPH_HANA_ACCESS_MATERIAL has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_PPH_HANA_ACCESS_MATERIAL | Get Material Master MT61D and CM61B | 20120802 |
Method GET_INSTANCE on class CL_PPH_HANA_ACCESS_MATERIAL has no exception.
Method GET_MATNR_WERKS_BERID_SEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DISPO | Call by reference | Type reference (TYPE) | DISPO | MRP Controller (Materials Planner) | 20130418 | |||
| 2 | IV_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20130418 | |||
| 3 | RT_MATNR_WERKS_BERID_SEL | Value transfer | Type reference (TYPE) | PPH_MATNR_WERKS_BERID_SEL_TAB | Global temporary table for selecting from HANA (PP) | 20130418 |
Method GET_MATNR_WERKS_BERID_SEL on class CL_PPH_HANA_ACCESS_MATERIAL has no exception.
Method GET_MT61D_ALL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_MT61D_OUT | Value transfer | Type reference (TYPE) | PPH_MT61D_TAB | Material Master: MRP - Table Type | 20120802 |
Method GET_MT61D_ALL on class CL_PPH_HANA_ACCESS_MATERIAL has no exception.
Method PREPARE_MAKT_BULK_OPENSQL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SELECTION | Call by reference | Type reference (TYPE) | PPH_MATNR_WERKS_BERID_SEL_TAB | Global temporary table for selecting from HANA (PP) | 20120802 | |||
| 2 | IV_WITHFALLBACK_LANGU | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | search for a fallback language | 20120809 |
Method PREPARE_MAKT_BULK_OPENSQL on class CL_PPH_HANA_ACCESS_MATERIAL has no exception.
Method PREPARE_MAPRO_BULK_OPENSQL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SELECTION | Call by reference | Type reference (TYPE) | PPH_MATNR_WERKS_BERID_SEL_TAB | Global temporary table for selecting from HANA (PP) | 20120816 |
Method PREPARE_MAPRO_BULK_OPENSQL on class CL_PPH_HANA_ACCESS_MATERIAL has no exception.
Method PREPARE_MARCMMSTA_BULK_OPENSQL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SELECTION | Call by reference | Type reference (TYPE) | PPH_MATNR_WERKS_BERID_SEL_TAB | Global temporary table for selecting from HANA (PP) | 20120802 |
Method PREPARE_MARCMMSTA_BULK_OPENSQL on class CL_PPH_HANA_ACCESS_MATERIAL has no exception.
Method PREPARE_MT61D_BULK_OPENSQL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SELECTION | Call by reference | Type reference (TYPE) | PPH_MATNR_WERKS_BERID_SEL_TAB | Global temporary table for selecting from HANA (PP) | 20120802 |
Method PREPARE_MT61D_BULK_OPENSQL on class CL_PPH_HANA_ACCESS_MATERIAL has no exception.
Method REFRESH_MT61D_AND_CM61B Signature
Method REFRESH_MT61D_AND_CM61B on class CL_PPH_HANA_ACCESS_MATERIAL has no parameter.
Method REFRESH_MT61D_AND_CM61B on class CL_PPH_HANA_ACCESS_MATERIAL has no exception.
Method RETRIEVE_CM61B_BY_MATNR_BERID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_SELECTION | Call by reference | Type reference (TYPE) | PPH_MATNR_WERKS_BERID_SEL | Type for Global temporary table for selecting from HANA (PP) | 20120807 | |||
| 2 | RS_CM61B | Value transfer | Type reference (TYPE) | M61X_CM61B | Structure for MRP-Area Details (Type Grp M61X -> M61X_CM61B) | 20120807 |
Method RETRIEVE_CM61B_BY_MATNR_BERID on class CL_PPH_HANA_ACCESS_MATERIAL has no exception.
Method RETRIEVE_MAKT_BY_MATNR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20120802 | |||
| 2 | RS_MAKT_REDUCED | Value transfer | Type reference (TYPE) | MAKT | Material Descriptions | 20120802 |
Method RETRIEVE_MAKT_BY_MATNR on class CL_PPH_HANA_ACCESS_MATERIAL has no exception.
Method RETRIEVE_MAPRO_BY_MATNR_WERKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_SELECTION | Call by reference | Type reference (TYPE) | PPH_MATNR_WERKS_BERID_SEL | Type for Global temporary table for selecting from HANA (PP) | 20120816 | |||
| 2 | RS_MAPRO | Value transfer | Type reference (TYPE) | MAPRO | 20120816 |
Method RETRIEVE_MAPRO_BY_MATNR_WERKS on class CL_PPH_HANA_ACCESS_MATERIAL has no exception.
Method RETRIEVE_MMSTA_BY_MATNR_WERKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_SELECTION | Call by reference | Type reference (TYPE) | PPH_MATNR_WERKS_SEL | Type for Global temporary table for selecting from HANA (PP) | 20120802 | |||
| 2 | RS_MARCMMSTA | Value transfer | Type reference (TYPE) | PPH_MARC_MMSTA | Material status from MARC | 20120802 |
Method RETRIEVE_MMSTA_BY_MATNR_WERKS on class CL_PPH_HANA_ACCESS_MATERIAL has no exception.
Method RETRIEVE_MT61D_BY_MATNR_WERKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_SELECTION | Call by reference | Type reference (TYPE) | PPH_MATNR_WERKS_BERID_SEL | Type for Global temporary table for selecting from HANA (PP) | 20120723 | |||
| 2 | RS_MT61D | Value transfer | Type reference (TYPE) | MT61D | Material Master: MRP | 20120723 |
Method RETRIEVE_MT61D_BY_MATNR_WERKS on class CL_PPH_HANA_ACCESS_MATERIAL has no exception.
Method SET_PGZI Signature
Method SET_PGZI on class CL_PPH_HANA_ACCESS_MATERIAL has no parameter.
Method SET_PGZI on class CL_PPH_HANA_ACCESS_MATERIAL has no exception.
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in | 616 |