SAP ABAP Class CL_MEV_RUN (Period-end valuation: Valuation run)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-CMM (Application Component) Commodity Management in Logistics
     LOG_CMM_MEV_GEN_WL (Package) Period-End Valuation Worklist
Properties
Class CL_MEV_RUN  
Short Description Period-end valuation: Valuation run    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class CMM_MEV_GEN_WL    
Program status     
Category 0   
Package LOG_CMM_MEV_GEN_WL   Period-End Valuation Worklist 
Created 20120627   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)
Interfaces
Class CL_MEV_RUN has no interface implemented.
Friends
Class CL_MEV_RUN has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GO_DB_ACCESS Static Attribute Private Object reference (TYPE REF TO) IF_MEV_DB_ACCESS Period-end valuation: Utility class for db access 20120904
2 GO_ENQUEUE_HELPER Static Attribute Private Object reference (TYPE REF TO) IF_MEV_ENQUEUE_HLP Period-end valuation: Enqueue methods 20121102
3 GO_IDX_MAINTAIN Static Attribute Private Object reference (TYPE REF TO) IF_CMM_IDX_MAINTAIN Index: API for maintaining the index table 20120903
4 GO_TRANSACTION_MANAGER Static Attribute Private Object reference (TYPE REF TO) IF_MEV_DB_TRANSACTION_MANAGER 20121129
5 GO_UTILITY Static Attribute Private Object reference (TYPE REF TO) IF_MEV_UTILITY Period-end valuation: Utility methods 20120906
6 GO_WL_DB_ACCESS Static Attribute Private Object reference (TYPE REF TO) IF_MEV_WL_DB_ACCESS Period-end valuation: Access to WL db tables 20120831
7 MO_CONFIGURATION Instance attribute Private Object reference (TYPE REF TO) CL_MEV_RUN_CONFIG Period-End Valuation Run Configuration 20120709
8 MO_CONTROLLER_MM Instance attribute Private Object reference (TYPE REF TO) CL_MEV_RUN_CONTROLLER_MM Period-End Valuation MM-Specific 20120628
9 MO_CONTROLLER_SD Instance attribute Private Object reference (TYPE REF TO) CL_MEV_RUN_CONTROLLER_SD Period-End Valuation SD-Specific 20120628
10 MO_LOG Instance attribute Protected Object reference (TYPE REF TO) CL_CMM_LOG Commodity Management: Message log 20121023
11 MT_INDEX Instance attribute Private Type reference (TYPE) CMM_T_IDX 20120903
12 MT_WL_ITEM Instance attribute Private Type reference (TYPE) MEV_T_WL_ITEM Period-end valuation: Table of Worklist Item 20130130
13 MV_INDEX_READ Instance attribute Private Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20130725
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor Class constructor 20120831
2 CONSTRUCTOR Instance method Public Constructor Default constructor 20120704
3 EXCLUDE_AD_DOCUMENT_CONFLICTS Instance method Private Method Exclude worklist items where the AD document is open 20130808
4 EXCLUDE_BACKDATING_CONFLICTS Instance method Private Method Exclude backdating conflicts from processing 20130611
5 EXCLUDE_ENTRIES Instance method Private Method Checks prerequisites to be processed 20120713
6 GET_CONFIGURATION Instance method Public Method Gets configuration parameters 20130725
7 GET_CONTROLLER_FOR_INDEX Instance method Private Method Gets consumer specific controller instances 20120704
8 GET_LOG Instance method Public Method Get log 20121023
9 GET_POSTING_PERIOD Static method Private Method Get posting period 20130208
10 GET_WL_ITEM Instance method Private Method Get wl item from local buffer 20130208
11 GET_WL_ITEM_FOR_INDEX Instance method Private Method Get wl item from local buffer 20130611
12 IS_INDEX_ENTRY_VALID Instance method Private Method Check if index entry is valid 20130208
13 IS_INDEX_SUCCESSFULLY_READ Instance method Public Method Indicate INDEX has been read succ. for the selection params 20130725
14 PREPARE_INDEX_SELECTION Instance method Private Method Prepares common selection criterias 20120808
15 PREPARE_INDEX_SELECTION_MM Static method Private Method Prepares Index selection MM specific 20120808
16 PREPARE_INDEX_SELECTION_SD Static method Private Method Prepares Index selection SD specific 20120808
17 PROCESS Instance method Public Method period-end valuation execution 20120627
18 READ_INDEX Instance method Private Method Reads index entries to be processed 20120627
19 READ_INDEX_ENTRIES Instance method Private Method Reads index entries 20120808
20 READ_INDEX_ENTRIES_BY_KEY Instance method Private Method Read index entries by key 20130725
21 READ_WL_ITEMS_FROM_DB Instance method Private Method Read Worklist item 20130208
22 RUN_ID_2_DATE Static method Private Method Convert run id to date 20130208
23 SET_CONFIGURATION Instance method Public Method Sets configuration parameters 20120709
24 SPLIT_INDEX Instance method Private Method Splits objects to be processed per object types (MM/SD) 20120628
Events
Class CL_MEV_RUN has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_S_IDX_WORK Public See coding 20120903 BEGIN OF gty_s_idx_work. INCLUDE TYPE cmm_s_obj_k AS k. TYPES: updkz TYPE mev_updkz, pre_obj_type TYPE cmm_idx_obj_type, pre_obj_id TYPE cmm_idx_obj_id. TYPES: END OF gty_s_idx_work
2 GTY_T_IDX_WORK Public See coding 20120903 gty_t_idx_work TYPE SORTED TABLE OF gty_s_idx_work WITH UNIQUE KEY k
Method Signatures

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_MEV_RUN has no parameter.
Method CLASS_CONSTRUCTOR on class CL_MEV_RUN has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_MEV_RUN has no parameter.
Method CONSTRUCTOR on class CL_MEV_RUN has no exception.

Method EXCLUDE_AD_DOCUMENT_CONFLICTS Signature

Method EXCLUDE_AD_DOCUMENT_CONFLICTS on class CL_MEV_RUN has no parameter.
Method EXCLUDE_AD_DOCUMENT_CONFLICTS on class CL_MEV_RUN has no exception.

Method EXCLUDE_BACKDATING_CONFLICTS Signature

Method EXCLUDE_BACKDATING_CONFLICTS on class CL_MEV_RUN has no parameter.
Method EXCLUDE_BACKDATING_CONFLICTS on class CL_MEV_RUN has no exception.

Method EXCLUDE_ENTRIES Signature

Method EXCLUDE_ENTRIES on class CL_MEV_RUN has no parameter.
Method EXCLUDE_ENTRIES on class CL_MEV_RUN has no exception.

Method GET_CONFIGURATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_CONFIGURATION Value transfer Object reference (TYPE REF TO) CL_MEV_RUN_CONFIG Period-end valuation: Run configuration 20130725

Method GET_CONFIGURATION on class CL_MEV_RUN has no exception.

Method GET_CONTROLLER_FOR_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_OBJ_TYPE Call by reference Type reference (TYPE) CMM_D_IDX-OBJ_TYPE Commodity Management: Index Table 20120704
2 Returning RO_CONTROLLER Value transfer Object reference (TYPE REF TO) CL_MEV_RUN_CONTROLLER Period-End Valuation Run 20120704

Method GET_CONTROLLER_FOR_INDEX on class CL_MEV_RUN has no exception.

Method GET_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_LOG Value transfer Object reference (TYPE REF TO) CL_CMM_LOG Commodity Management: Message log 20121023

Method GET_LOG on class CL_MEV_RUN has no exception.

Method GET_POSTING_PERIOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20130208
2 Importing IV_VAL_DATE Call by reference Type reference (TYPE) MEV_VAL_DATE Period-End Valuation: Valuation Key Date for Worklist 20130208
3 Returning RS_PERIOD Value transfer Type reference (TYPE) MEV_S_POPER_GJAHR 20130208
# Exception Resumable Description Created on
1 CX_MEV_CONFIG Period-end valuation: Error in configuration 20130208

Method GET_WL_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OBJ_ID Call by reference Type reference (TYPE) CMM_OBJ_ID Commodity Management: ID of Reference Document 20130208
2 Importing IV_OBJ_ITEM Call by reference Type reference (TYPE) CMM_OBJ_ITEM Commodity Management: Item Number of Reference Document 20130208
3 Importing IV_OBJ_TYPE Call by reference Type reference (TYPE) CMM_OBJ_TYPE Commodity Management: Object Type 20130208
4 Returning RS_WL_ITEM Value transfer Type reference (TYPE) MEV_D_WL_ITEM Period-end valuation: Worklist item 20130208

Method GET_WL_ITEM on class CL_MEV_RUN has no exception.

Method GET_WL_ITEM_FOR_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_INDEX Call by reference Type reference (TYPE) CMM_D_IDX Commodity Management: Index Table 20130611
2 Returning RS_WL_ITEM Value transfer Type reference (TYPE) MEV_D_WL_ITEM Period-end valuation: Worklist item 20130611

Method GET_WL_ITEM_FOR_INDEX on class CL_MEV_RUN has no exception.

Method IS_INDEX_ENTRY_VALID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_INDEX Call by reference Type reference (TYPE) CMM_D_IDX Commodity Management: Index Table 20130208
2 Returning RV_VALID Value transfer Type reference (TYPE) ABAP_BOOL 20130208

Method IS_INDEX_ENTRY_VALID on class CL_MEV_RUN has no exception.

Method IS_INDEX_SUCCESSFULLY_READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_READ Value transfer Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20130725

Method IS_INDEX_SUCCESSFULLY_READ on class CL_MEV_RUN has no exception.

Method PREPARE_INDEX_SELECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_SEL_CRIT Call by reference Type reference (TYPE) CMM_S_IDX_SEL_CRIT Index: Selection criteria 20120809

Method PREPARE_INDEX_SELECTION on class CL_MEV_RUN has no exception.

Method PREPARE_INDEX_SELECTION_MM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_SEL_CRIT Call by reference Type reference (TYPE) CMM_S_IDX_SEL_CRIT Index: Selection criteria 20120808

Method PREPARE_INDEX_SELECTION_MM on class CL_MEV_RUN has no exception.

Method PREPARE_INDEX_SELECTION_SD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_SEL_CRIT Call by reference Type reference (TYPE) CMM_S_IDX_SEL_CRIT Index: Selection criteria 20120808

Method PREPARE_INDEX_SELECTION_SD on class CL_MEV_RUN has no exception.

Method PROCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAL_HANDLE Call by reference Type reference (TYPE) BAL_T_LOGH Application Log: Log Handle Table 20120925
2 Exporting EV_ERRONEOUS Call by reference Type reference (TYPE) INT4 Erroneous valuation of index entries 20120713
3 Exporting EV_SUCCESSFUL Call by reference Type reference (TYPE) INT4 Valuated index entries 20130517
# Exception Resumable Description Created on
1 CX_MEV_RUN Period-end valuation error in PEV run 20120713

Method READ_INDEX Signature

Method READ_INDEX on class CL_MEV_RUN has no parameter.
# Exception Resumable Description Created on
1 CX_MEV_RUN Period-end valuation: Error in MEV run 20120808

Method READ_INDEX_ENTRIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_SEL_CRIT Call by reference Type reference (TYPE) CMM_S_IDX_SEL_CRIT Index: Selection criteria 20120808
# Exception Resumable Description Created on
1 CX_MEV_RUN Period-end valuation: Error in MEV run 20120808

Method READ_INDEX_ENTRIES_BY_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_KEYS Call by reference Type reference (TYPE) CMM_T_IDX_K Index: Key table 20130725

Method READ_INDEX_ENTRIES_BY_KEY on class CL_MEV_RUN has no exception.

Method READ_WL_ITEMS_FROM_DB Signature

Method READ_WL_ITEMS_FROM_DB on class CL_MEV_RUN has no parameter.
Method READ_WL_ITEMS_FROM_DB on class CL_MEV_RUN has no exception.

Method RUN_ID_2_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_RUN_ID Call by reference Type reference (TYPE) CMM_IDX_RUN_ID Index: Run ID 20130208
2 Returning RV_DATE Value transfer Type reference (TYPE) MEV_VAL_DATE Period-End Valuation: Valuation Key Date for Worklist 20130208

Method RUN_ID_2_DATE on class CL_MEV_RUN has no exception.

Method SET_CONFIGURATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_CONFIGURATION Call by reference Object reference (TYPE REF TO) CL_MEV_RUN_CONFIG Period-End Valuation Run Configuration 20120709

Method SET_CONFIGURATION on class CL_MEV_RUN has no exception.

Method SPLIT_INDEX Signature

Method SPLIT_INDEX on class CL_MEV_RUN has no parameter.
Method SPLIT_INDEX on class CL_MEV_RUN has no exception.
History
Last changed by/on SAP  20131127 
SAP Release Created in 607