SAP ABAP Class CL_MM_PUR_AUT_MASTER (Class for ABAP Unit Test of MM-PUR optimizations)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-PUR-GF (Application Component) Basic Functions
     MMPUR_HDB (Package) In-Memory Optimizations for MM-PUR
Properties
Class CL_MM_PUR_AUT_MASTER  
Short Description Class for ABAP Unit Test of MM-PUR optimizations    
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 20120824   SAP 
Last change 20130531   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)
Interfaces
Class CL_MM_PUR_AUT_MASTER has no interface implemented.
Friends
Class CL_MM_PUR_AUT_MASTER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_AUT_OPTIMIZATION_OFF Constant Public Type reference (TYPE) CHAR1 'O' 20120824
2 GC_AUT_OPTIMIZATION_ON Constant Public Type reference (TYPE) CHAR1 'N' 20120824
3 GC_MEMORY_ID_RM06BA00 Constant Public Type reference (TYPE) MEMORY_ID 'RM06BA00_OPT_AUT' Memory ID 20120824
4 GC_MEMORY_ID_RM06BF00 Constant Public Type reference (TYPE) MEMORY_ID 'RM06BF00_OPT_AUT' Memory ID 20120827
5 GC_MEMORY_ID_RM06BZ00 Constant Public Type reference (TYPE) MEMORY_ID 'RM06BZ00_OPT_AUT' Memory ID 20120828
6 GV_OLD_DB Static Attribute Protected Type reference (TYPE) BOOL Link field for view query 20120827
7 GV_RTYPE Static Attribute Protected Type reference (TYPE) STRING Type used while testing PO History values 20130308
8 GV_TEST_MODE Static Attribute Protected Type reference (TYPE) BOOL Link field for view query 20120827
Methods
# Method Level Visibility Method type Description Created on
1 DELETE_MEMORY Static method Public Method 20120828
2 EXPORT_MEMORY Static method Public Method 20120827
3 GET_OLD_DB Static method Public Method 20120827
4 GET_PRM_COST_CENTER Static method Protected Method 20120903
5 GET_PRM_LAST_CLOSED_QUARTER Static method Protected Method Start and end day of last closed quarter year 20120903
6 GET_PRM_MATGRP Static method Protected Method 20120913
7 GET_PRM_RELEASE_CODES Static method Protected Method Return list of release codes 20120903
8 GET_RTYPE Static method Public Method Getter for the GV_RTYPE attribute 20130308
9 GET_TEST_MODE Static method Public Method 20120827
10 IMPORT_MEMORY Static method Public Method 20120828
11 SET_RTYPE Static method Public Method Setter for the GV_RTYPE attribute 20130308
12 SET_TEST_ENVIRONMENT Static method Public Method 20120827
13 SUBMIT_RM06BA00 Static method Public Method Call Report for TA ME5A 20120824
14 SUBMIT_RM06BF00 Static method Public Method Call Report for TA ME55 20120829
15 SUBMIT_RM06BZ00 Static method Public Method Call Report for TA ME57 20120910
Events
Class CL_MM_PUR_AUT_MASTER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 LTY_DATUM_RANGE_STR Public See coding 20120919 BEGIN OF lty_datum_range_str, sign(1) TYPE c, option(2) TYPE c, low TYPE d, high TYPE d, END OF lty_datum_range_str
2 LTY_DATUM_RANGE_TAB Public See coding 20120919 lty_datum_range_tab TYPE STANDARD TABLE OF lty_datum_range_str
3 LTY_FRGAB_STR Protected See coding 20120903 BEGIN OF lty_frgab_str, frgab TYPE frgab, frgtx TYPE frgtx, END OF lty_frgab_str
4 LTY_FRGAB_TAB Protected See coding 20120903 lty_frgab_tab TYPE STANDARD TABLE OF lty_frgab_str WITH NON-UNIQUE KEY frgab
5 LTY_KOSTL_STR Protected See coding 20120903 BEGIN OF lty_kostl_str, kostl TYPE kostl, END OF lty_kostl_str
6 LTY_KOSTL_TAB Protected See coding 20120903 lty_kostl_tab TYPE STANDARD TABLE OF lty_kostl_str WITH NON-UNIQUE KEY kostl
7 LTY_MATKL_STR Protected See coding 20120913 BEGIN OF lty_matkl_str, matkl TYPE matkl, END OF lty_matkl_str
8 LTY_MATKL_TAB Protected See coding 20120913 lty_matkl_tab TYPE STANDARD TABLE OF lty_matkl_str WITH NON-UNIQUE KEY matkl
Method Signatures

Method DELETE_MEMORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MEM_ID Call by reference Type reference (TYPE) MEMORY_ID Memory ID for EXPORT/IMPORT memory ID 20120828

Method DELETE_MEMORY on class CL_MM_PUR_AUT_MASTER has no exception.

Method EXPORT_MEMORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_RESULT Call by reference Type reference (TYPE) STRING 20120827
2 Importing IV_CHECK_MEM_ID Call by reference Type reference (TYPE) ABAP_BOOL 20120828
3 Importing IV_MEM_ID Call by reference Type reference (TYPE) MEMORY_ID 20120827

Method EXPORT_MEMORY on class CL_MM_PUR_AUT_MASTER has no exception.

Method GET_OLD_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_OLD_DB Value transfer Type reference (TYPE) BOOL Link field for view query 20120827

Method GET_OLD_DB on class CL_MM_PUR_AUT_MASTER has no exception.

Method GET_PRM_COST_CENTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_COST_CENTER Call by reference Type reference (TYPE) LTY_KOSTL_TAB 20120903

Method GET_PRM_COST_CENTER on class CL_MM_PUR_AUT_MASTER has no exception.

Method GET_PRM_LAST_CLOSED_QUARTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_END_DATE Call by reference Type reference (TYPE) D 20120903
2 Exporting EV_START_DATE Call by reference Type reference (TYPE) D 20120903
3 Importing IV_CURRENT_DATE Call by reference Type reference (TYPE) D SY-DATUM 20120903

Method GET_PRM_LAST_CLOSED_QUARTER on class CL_MM_PUR_AUT_MASTER has no exception.

Method GET_PRM_MATGRP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MATGRP Call by reference Type reference (TYPE) LTY_MATKL_TAB 20120913
2 Importing IV_EKGRP Call by reference Type reference (TYPE) EKGRP Purchasing group 20120913

Method GET_PRM_MATGRP on class CL_MM_PUR_AUT_MASTER has no exception.

Method GET_PRM_RELEASE_CODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FRGAB Call by reference Type reference (TYPE) LTY_FRGAB_TAB 20120903
2 Importing IV_FRGOT Call by reference Type reference (TYPE) FRGOT '1' Category of object to be released 20120903

Method GET_PRM_RELEASE_CODES on class CL_MM_PUR_AUT_MASTER has no exception.

Method GET_RTYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_RTYPE Value transfer Type reference (TYPE) STRING PO History Table Type 20130308

Method GET_RTYPE on class CL_MM_PUR_AUT_MASTER has no exception.

Method GET_TEST_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_TEST_MODE Value transfer Type reference (TYPE) ABAP_BOOL 20120827

Method GET_TEST_MODE on class CL_MM_PUR_AUT_MASTER has no exception.

Method IMPORT_MEMORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RESULT Call by reference Type reference (TYPE) STRING 20120828
2 Importing IV_MEM_ID Call by reference Type reference (TYPE) MEMORY_ID 20120828

Method IMPORT_MEMORY on class CL_MM_PUR_AUT_MASTER has no exception.

Method SET_RTYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_RTYPE Call by reference Type reference (TYPE) STRING PO History Table Type 20130308

Method SET_RTYPE on class CL_MM_PUR_AUT_MASTER has no exception.

Method SET_TEST_ENVIRONMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_AUT Call by reference Type reference (TYPE) CHAR1 Single-Character Flag 20120827

Method SET_TEST_ENVIRONMENT on class CL_MM_PUR_AUT_MASTER has no exception.

Method SUBMIT_RM06BA00 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FRGDT Call by reference Type reference (TYPE) LTY_DATUM_RANGE_TAB Range Table for Date 20120907
2 Importing IV_BSTBA Call by reference Type reference (TYPE) P_TEILBEST Indicator: Include "partially ordered" requisitions in list 20120907
3 Importing IV_EKGRP Call by reference Type reference (TYPE) EKGRP Purchasing group 20120907
4 Importing IV_ERLBA Call by reference Type reference (TYPE) P_ERLEDIGT Indicator: Also include closed requisitions in list 20120907
5 Importing IV_KOSTL Call by reference Type reference (TYPE) KOSTL Cost Center 20120907
6 Importing IV_P_AUT Call by reference Type reference (TYPE) CHAR1 Flag 20120824
7 Importing IV_P_LSTUB Call by reference Type reference (TYPE) LSTUB Scope of List: Purchase Requisitions 20120828
8 Importing IV_P_TXZ01 Call by reference Type reference (TYPE) TXZ01 Short Text 20120828
9 Importing IV_S_LFDAT Call by reference Type reference (TYPE) LTY_DATUM_RANGE_TAB Delivery date 20120828
10 Importing IV_ZUGBA Call by reference Type reference (TYPE) P_ZUGEORDN Indicator: Include assigned purchase requisitions in list 20120907

Method SUBMIT_RM06BA00 on class CL_MM_PUR_AUT_MASTER has no exception.

Method SUBMIT_RM06BF00 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_P_AUT Call by reference Type reference (TYPE) CHAR1 Flag 20120829
2 Importing IV_P_FRGAB Call by reference Type reference (TYPE) FRGAB Purchase requisition release code 20120829
3 Importing IV_P_LSTUB Call by reference Type reference (TYPE) LSTUB Scope of List: Purchase Requisitions 20120829
4 Importing IV_P_TXZ01 Call by reference Type reference (TYPE) TXZ01 Short Text 20120829
5 Importing IV_S_LFDAT Call by reference Type reference (TYPE) LTY_DATUM_RANGE_TAB Delivery date 20120829

Method SUBMIT_RM06BF00 on class CL_MM_PUR_AUT_MASTER has no exception.

Method SUBMIT_RM06BZ00 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FRGDT Call by reference Type reference (TYPE) LTY_DATUM_RANGE_TAB Range Table for Date 20120910
2 Importing IV_BSTBA Call by reference Type reference (TYPE) P_TEILBEST Indicator: Include "partially ordered" requisitions in list 20120910
3 Importing IV_EKGRP Call by reference Type reference (TYPE) EKGRP Purchasing group 20120910
4 Importing IV_ERLBA Call by reference Type reference (TYPE) P_ERLEDIGT Indicator: Also include closed requisitions in list 20120910
5 Importing IV_KOSTL Call by reference Type reference (TYPE) KOSTL Cost Center 20120910
6 Importing IV_MATKL Call by reference Type reference (TYPE) MATKL Material Group 20120910
7 Importing IV_P_AUT Call by reference Type reference (TYPE) CHAR1 Flag 20120910
8 Importing IV_P_LSTUB Call by reference Type reference (TYPE) LSTUB Scope of List: Purchase Requisitions 20120910
9 Importing IV_P_TXZ01 Call by reference Type reference (TYPE) TXZ01 Short Text 20120910
10 Importing IV_S_LFDAT Call by reference Type reference (TYPE) LTY_DATUM_RANGE_TAB Delivery date 20120910
11 Importing IV_ZUGBA Call by reference Type reference (TYPE) P_ZUGEORDN Indicator: Include assigned purchase requisitions in list 20120910

Method SUBMIT_RM06BZ00 on class CL_MM_PUR_AUT_MASTER has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 616