SAP ABAP Class CL_PPH_COMPARE_MRP_HANA_ABAP (PPH Comparison Tool for MRP)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
PP-MRP (Application Component) Material Requirements Planning
⤷
PPH_SUPPORT (Package) PP on HANA: Test Entities
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_PPH_COMPARE_PROCEDURE | PPH Comparison Tool | 20130417 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_BADI_INTERFACE | Tag Interface for BAdIs | 20130417 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_PPH_COMPARE_BADI | Interface for BAdI: PPH_COMPARE_BADI | 20130417 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_PPH_COMPARE_MRP_DEL | PPH Comparison Tool for MRP: MRP elements to be deleted | 20130417 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_PPH_COMPARE_MRP_INS | PPH Comparison Tool for MRP: MRP elements to be inserted | 20130422 |
Properties
| Class | CL_PPH_COMPARE_MRP_HANA_ABAP | |
| Short Description | PPH Comparison Tool for MRP | |
| Super Class | CL_PPH_COMPARE_PROCEDURE | PPH Comparison Tool |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PPH_SUPPORT | PP on HANA: Test Entities |
| Created | 20130417 | SAP |
| Last change | 20131127 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_BADI_INTERFACE | Tag Interface for BAdIs | 20130417 | ||
| 2 | IF_PPH_COMPARE_BADI | Interface for BAdI: PPH_COMPARE_BADI | 20130417 |
Friends
Class CL_PPH_COMPARE_MRP_HANA_ABAP has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | MEMID4 | 'PLHS' | Memory ID for EXPORT/IMPORT | 20130417 | ||
| 2 | Constant | Protected | Type reference (TYPE) | PLSCN | '000' | Planning Scenario of Long-Term Planning | 20130417 | ||
| 3 | Static Attribute | Protected | Type reference (TYPE) | CM61X | CM61X for ABAP-MRP | 20130417 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | PPH_MRP_RESULT_TAB | Materials with Error during Classic MRP | 20130527 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | TT_CTRL_MRP_CDB | MRP Control Parameters used by Classic MRP | 20130806 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | TT_CTRL_MRP | MRP Control Parameters used by MRP Live | 20130806 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | TT_MDPS_INS_HDB | Table MDPS with duplicate THE_INDEX | 20131015 | |||
| 8 | Instance attribute | Protected | Type reference (TYPE) | PPH_MRP_RESULT_TAB | Result of MRP | 20130418 | |||
| 9 | Instance attribute | Protected | Type reference (TYPE) | PPH_MRP_RESULT_TAB | Materials planned in MRP Live, but with messages | 20130806 | |||
| 10 | Instance attribute | Protected | Type reference (TYPE) | PPH_MRP_HANA_STAT_TAB | Statistics returned from Hana MRP | 20130806 | |||
| 11 | Instance attribute | Protected | Type reference (TYPE) | PPH_MRP_SEL_MAT_PLANT_TAB | Material-Plant to be forwarded to MRP Live | 20130806 | |||
| 12 | Instance attribute | Protected | Type reference (TYPE) | PPH_MRP_SEL_MAT_PLANT_TAB | Material-Plant to be planned in ABAP only | 20130418 | |||
| 13 | Instance attribute | Protected | Type reference (TYPE) | PPH_MRP_SEL_MAT_PLANT_TAB | Material-Plant to be planned in HANA | 20130418 | |||
| 14 | Instance attribute | Protected | Type reference (TYPE) | PPH_MRP_MDPS_ITM_COMP_TAB | MDPS-Situation as it was initially determined by MRP Live | 20130919 | |||
| 15 | Instance attribute | Protected | Type reference (TYPE) | PPH_MRP_MDPS_ITM_CMP_VSTAT_TAB | Table type to compare MRP elements to be deleted | 20130502 | |||
| 16 | Instance attribute | Protected | Type reference (TYPE) | PPH_MRP_MDPS_ITM_CMP_VSTAT_TAB | Table type to compare MRP elements to be deleted | 20130502 | |||
| 17 | Instance attribute | Protected | Type reference (TYPE) | PPH_MRP_MDPS_ITM_COMP_TAB | MDPS-Situation as it was initially determined by MRP Live | 20130806 | |||
| 18 | Instance attribute | Protected | Type reference (TYPE) | PPH_MRP_MDPS_ITM_CMP_VSTAT_TAB | Table type to compare MRP elements to be inserted | 20130424 | |||
| 19 | Instance attribute | Protected | Type reference (TYPE) | PPH_MRP_MDPS_ITM_CMP_VSTAT_TAB | Table type to compare MRP elements to be inserted | 20130424 | |||
| 20 | Instance attribute | Protected | Type reference (TYPE) | XFELD | SPACE | CDBProcedure already executed | 20130527 | ||
| 21 | Instance attribute | Protected | Type reference (TYPE) | INT4 | Duration MRP Live | 20130806 | |||
| 22 | Instance attribute | Protected | Type reference (TYPE) | INT4 | Duration MRP Live | 20130806 | |||
| 23 | Instance attribute | Protected | Type reference (TYPE) | XFELD | SPACE | HDB Procedure already executed | 20130527 | ||
| 24 | Instance attribute | Protected | Type reference (TYPE) | CHAR03 | 'V02' | MRP Live Version | 20130806 | ||
| 25 | Instance attribute | Protected | Type reference (TYPE) | XFELD | SPACE | Flag: Compare MRP Insert | 20130527 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Create CM61X for ABAP-MRP | 20130417 | |
| 2 | Instance method | Public | Method | Compare control parameters for CDB and HDB | 20130806 | |
| 3 | Instance method | Public | Method | Display comparison of CDB- & HDB-MDPS for selected row | 20130424 | |
| 4 | Instance method | Public | Method | Display comparison of CDB- & HDB-MDPS for selected row | 20130806 | |
| 5 | Instance method | Public | Method | Display comparison of CDB- & HDB-MDPS for selected row | 20130425 | |
| 6 | Instance method | Protected | Method | Correct wrong initial valus of MDPS-structure | 20130806 | |
| 7 | Instance method | Protected | Method | Enhance information of MDPS elements to be deleted | 20130806 | |
| 8 | Instance method | Protected | Method | Free Memory of MRP results | 20130417 | |
| 9 | Instance method | Public | Method | Get materials for HANA-MRP and ABAP-only-MRP | 20130422 | |
| 10 | Instance method | Public | Method | Get results of in-memory and classic MRP | 20130502 | |
| 11 | Instance method | Protected | Method | Do planning in ABAP and collect MDPS (insert & delete) | 20130417 | |
| 12 | Instance method | Protected | Method | Do planning in HANA and collect MDPS (insert & delete) | 20130422 | |
| 13 | Instance method | Protected | Method | Do planning in HANA and collect MDPS (insert & delete) | 20130806 | |
| 14 | Instance method | Protected | Method | Do planning in HANA and collect MDPS (insert & delete) | 20130806 | |
| 15 | Instance method | Public | Method | Set MRP Live Version | 20130806 | |
| 16 | Instance method | Public | Method | Set MV_INS | 20130527 | |
| 17 | Instance method | Protected | Method | Unlock Material for MRP | 20130417 |
Events
Class CL_PPH_COMPARE_MRP_HANA_ABAP has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TS_CTRL_MRP_CDB | Public | See coding | 20130806 | BEGIN OF ts_ctrl_mrp_cdb,
matnr TYPE matnr,
werks TYPE werks_d,
berid TYPE berid,
mdkp TYPE mdkp,
mt61d TYPE mt61d,
cm61m TYPE cm61m,
cm61d TYPE cm61d,
cm61b TYPE m61x_cm61b,
END OF ts_ctrl_mrp_cdb
|
||
| 2 | TS_CTRL_MRP_EXC | Public | See coding | 20130806 | BEGIN OF ts_ctrl_mrp_exc,
matnr TYPE matnr,
werks TYPE werks_d,
berid TYPE berid,
fieldname TYPE name_feld,
value_hdb TYPE pph_mrp_value_hdb,
value_cdb TYPE pph_mrp_value_cdb,
cdb_struc TYPE strukname,
cm61m_value TYPE pph_mrp_value_cdb,
mdkp_value TYPE pph_mrp_value_cdb,
mt61d_value TYPE pph_mrp_value_cdb,
cm61d_value TYPE pph_mrp_value_cdb,
cm61b_value TYPE pph_mrp_value_cdb,
END OF ts_ctrl_mrp_exc
|
||
| 3 | TT_CTRL_MRP | Public | See coding | 20130806 | tt_ctrl_mrp TYPE STANDARD TABLE OF if_pph_v02_mrp_compare_mdps=>et_ctrl_mrp
|
||
| 4 | TT_CTRL_MRP_CDB | Public | See coding | 20130806 | tt_ctrl_mrp_cdb TYPE STANDARD TABLE OF ts_ctrl_mrp_cdb
|
||
| 5 | TT_CTRL_MRP_EXC | Public | See coding | 20130806 | tt_ctrl_mrp_exc TYPE STANDARD TABLE OF ts_ctrl_mrp_exc
|
||
| 6 | TT_MDPS_INS_HDB | Public | See coding | 20131015 | tt_mdps_ins_hdb TYPE STANDARD TABLE OF if_pph_v02_mrp_compare_mdps=>et_mdps_ins
|
Method Signatures
Method CM61X_CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DISPD | Call by reference | Type reference (TYPE) | DISPD | '00000000' | Date for planning (basis of comparison for time-phased plng) | 20130423 | ||
| 2 | IV_PLMOD | Call by reference | Type reference (TYPE) | PPH_MRP_PLMOD | '3' | Planning mode | 20130806 |
Method CM61X_CREATE on class CL_PPH_COMPARE_MRP_HANA_ABAP has no exception.
Method COMPARE_CTRL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CTRL_MRP_EXC | Call by reference | Type reference (TYPE) | TT_CTRL_MRP_EXC | Exceptions in MRP control parameters | 20130806 | |||
| 2 | IV_PLMOD | Call by reference | Type reference (TYPE) | PPH_MRP_PLMOD | SPACE | Planning Mode for MRP Live | 20130822 |
Method COMPARE_CTRL on class CL_PPH_COMPARE_MRP_HANA_ABAP has no exception.
Method COMPARE_MDPS_INS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_EXCEPTION | Call by reference | Type reference (TYPE) | ANY | 20130424 | ||||
| 2 | IT_FIELDS | Call by reference | Type reference (TYPE) | IF_PPH_COMPARE_PROCEDURE=>TT_FIELDS | 20130507 |
Method COMPARE_MDPS_INS on class CL_PPH_COMPARE_MRP_HANA_ABAP has no exception.
Method COMPARE_TWO_MDPS_DEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_EXCEPTION_CDB | Call by reference | Type reference (TYPE) | ANY | 20130806 | ||||
| 2 | IS_EXCEPTION_HDB | Call by reference | Type reference (TYPE) | ANY | 20130806 | ||||
| 3 | IT_FIELDS | Call by reference | Type reference (TYPE) | IF_PPH_COMPARE_PROCEDURE=>TT_FIELDS | 20130806 |
Method COMPARE_TWO_MDPS_DEL on class CL_PPH_COMPARE_MRP_HANA_ABAP has no exception.
Method COMPARE_TWO_MDPS_INS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_EXCEPTION_CDB | Call by reference | Type reference (TYPE) | ANY | 20130425 | ||||
| 2 | IS_EXCEPTION_HDB | Call by reference | Type reference (TYPE) | ANY | 20130425 | ||||
| 3 | IT_FIELDS | Call by reference | Type reference (TYPE) | IF_PPH_COMPARE_PROCEDURE=>TT_FIELDS | 20130507 |
Method COMPARE_TWO_MDPS_INS on class CL_PPH_COMPARE_MRP_HANA_ABAP has no exception.
Method CORRECT_INITIAL_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_MDPS | Call by reference | Type reference (TYPE) | PPH_MRP_MDPS_ITM_CMP_VSTAT | Item in MRP document | 20130806 |
Method CORRECT_INITIAL_VALUES on class CL_PPH_COMPARE_MRP_HANA_ABAP has no exception.
Method FILL_MT_MDPS_DEL_HDB_V01 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MDPS_DEL | Call by reference | Type reference (TYPE) | INDEX TABLE | MRP elements to be deleted | 20130806 |
Method FILL_MT_MDPS_DEL_HDB_V01 on class CL_PPH_COMPARE_MRP_HANA_ABAP has no exception.
Method FREE_MEMORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BERID | Call by reference | Type reference (TYPE) | BERID | MRP Area | 20130417 | |||
| 2 | IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20130417 | |||
| 3 | IV_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | Plant Table for National (Centrally Agreed) Contracts | 20130417 |
Method FREE_MEMORY on class CL_PPH_COMPARE_MRP_HANA_ABAP has no exception.
Method GET_MAT_PLANT_SWITCH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CDB_MRP_ERR | Call by reference | Type reference (TYPE) | PPH_MRP_RESULT_TAB | Materials with Error during Classic MRP | 20130527 | |||
| 2 | ET_HANA_CHECK_RESULT | Call by reference | Type reference (TYPE) | PPH_MRP_RESULT_TAB | Result of MRP | 20130422 | |||
| 3 | ET_HDB_MRP_ERR | Call by reference | Type reference (TYPE) | PPH_MRP_RESULT_TAB | Materials planned in MRP Live, but with messages | 20130806 | |||
| 4 | ET_MAT_WERKS_ABAP | Call by reference | Type reference (TYPE) | PPH_MRP_SEL_MAT_PLANT_TAB | Selection per Material and Plant | 20130422 | |||
| 5 | ET_MAT_WERKS_HANA | Call by reference | Type reference (TYPE) | PPH_MRP_SEL_MAT_PLANT_TAB | Selection per Material and Plant | 20130422 |
Method GET_MAT_PLANT_SWITCH on class CL_PPH_COMPARE_MRP_HANA_ABAP has no exception.
Method GET_MDPS_RESULTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CTRL_MRP | Call by reference | Type reference (TYPE) | TT_CTRL_MRP | MRP Control Parameters | 20130806 | |||
| 2 | ET_DUPL_INDEX_HDB | Call by reference | Type reference (TYPE) | TT_MDPS_INS_HDB | MRP elements to be inserted by MRP Live with duplicate THE_I | 20131015 | |||
| 3 | ET_HDB_STATISTICS | Call by reference | Type reference (TYPE) | PPH_MRP_HANA_STAT_TAB | Statistics returned from Hana MRP | 20130806 | |||
| 4 | ET_MDPS_CDB | Call by reference | Type reference (TYPE) | PPH_MRP_MDPS_ITM_COMP_TAB | MDPS-Situation as it was initially determined by MRP Live | 20130919 | |||
| 5 | ET_MDPS_DEL_CDB | Call by reference | Type reference (TYPE) | PPH_MRP_MDPS_ITM_CMP_VSTAT_TAB | Table type to compare MRP elements to be deleted | 20130502 | |||
| 6 | ET_MDPS_DEL_HDB | Call by reference | Type reference (TYPE) | PPH_MRP_MDPS_ITM_CMP_VSTAT_TAB | Table type to compare MRP elements to be deleted | 20130502 | |||
| 7 | ET_MDPS_HDB | Call by reference | Type reference (TYPE) | PPH_MRP_MDPS_ITM_COMP_TAB | MDPS-Situation as it was initially determined by MRP Live | 20130806 | |||
| 8 | ET_MDPS_INS_CDB | Call by reference | Type reference (TYPE) | PPH_MRP_MDPS_ITM_CMP_VSTAT_TAB | Table type to compare MRP elements to be inserted | 20130502 | |||
| 9 | ET_MDPS_INS_HDB | Call by reference | Type reference (TYPE) | PPH_MRP_MDPS_ITM_CMP_VSTAT_TAB | Table type to compare MRP elements to be inserted | 20130502 | |||
| 10 | EV_DUR_CDB | Call by reference | Type reference (TYPE) | INT4 | Duration MRP Live Procedure | 20130806 | |||
| 11 | EV_DUR_HDB | Call by reference | Type reference (TYPE) | INT4 | Duration MRP Live Procedure | 20130806 |
Method GET_MDPS_RESULTS on class CL_PPH_COMPARE_MRP_HANA_ABAP has no exception.
Method PROCEDURE_CDB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MDPS_DEL | Call by reference | Type reference (TYPE) | INDEX TABLE | MRP elements to be deleted | 20130422 | |||
| 2 | ET_MDPS_INS | Call by reference | Type reference (TYPE) | INDEX TABLE | MRP elements to be created | 20130422 |
Method PROCEDURE_CDB on class CL_PPH_COMPARE_MRP_HANA_ABAP has no exception.
Method PROCEDURE_HDB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MDPS_DEL | Call by reference | Type reference (TYPE) | INDEX TABLE | MRP elements to be deleted | 20130422 | |||
| 2 | ET_MDPS_INS | Call by reference | Type reference (TYPE) | INDEX TABLE | MRP elements to be created | 20130422 |
Method PROCEDURE_HDB on class CL_PPH_COMPARE_MRP_HANA_ABAP has no exception.
Method PROCEDURE_HDB_V1 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MDPS_DEL | Call by reference | Type reference (TYPE) | INDEX TABLE | MRP elements to be deleted | 20130806 | |||
| 2 | ET_MDPS_INS | Call by reference | Type reference (TYPE) | INDEX TABLE | MRP elements to be created | 20130806 |
Method PROCEDURE_HDB_V1 on class CL_PPH_COMPARE_MRP_HANA_ABAP has no exception.
Method PROCEDURE_HDB_V2 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MDPS_DEL | Call by reference | Type reference (TYPE) | INDEX TABLE | MRP elements to be deleted | 20130806 | |||
| 2 | ET_MDPS_INS | Call by reference | Type reference (TYPE) | INDEX TABLE | MRP elements to be created | 20130806 |
Method PROCEDURE_HDB_V2 on class CL_PPH_COMPARE_MRP_HANA_ABAP has no exception.
Method SET_MV_HDB_VERSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_HDB_VERSION | Call by reference | Type reference (TYPE) | CHAR03 | MRP Live Version | 20130806 |
Method SET_MV_HDB_VERSION on class CL_PPH_COMPARE_MRP_HANA_ABAP has no exception.
Method SET_MV_INS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_INS | Call by reference | Type reference (TYPE) | XFELD | SPACE | New value of MV_INS | 20130527 |
Method SET_MV_INS on class CL_PPH_COMPARE_MRP_HANA_ABAP has no exception.
Method UNLOCK_MATERIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BERID | Call by reference | Type reference (TYPE) | BERID | MRP Area | 20130417 | |||
| 2 | IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20130417 | |||
| 3 | IV_WERKS | Call by reference | Type reference (TYPE) | WERKS_D | Plant Table for National (Centrally Agreed) Contracts | 20130417 |
Method UNLOCK_MATERIAL on class CL_PPH_COMPARE_MRP_HANA_ABAP has no exception.
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in | 618 |