SAP ABAP Class CL_MEV_UTILITY (Period-end valuation: Utility class)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-CMM (Application Component) Commodity Management in Logistics
     LOG_CMM_MEV_GEN_COM (Package) Period-End Valuation Common Objects
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_MEV_UTILITY Period-end valuation: Utility methods 20120906
Properties
Class CL_MEV_UTILITY  
Short Description Period-end valuation: Utility class    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package LOG_CMM_MEV_GEN_COM   Period-End Valuation Common Objects 
Created 20120709   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
# Interface Abstract Final Description Created on
1 IF_MEV_UTILITY Period-end valuation: Utility methods 20120906
Friends
Class CL_MEV_UTILITY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GO_AD_BO_DAO Static Attribute Private Object reference (TYPE REF TO) IF_MEV_AD_BO_DAO Period-End Valuation: Data Access Object for the AD BO 20130731
2 GO_DB_ACCESS Static Attribute Private Object reference (TYPE REF TO) IF_MEV_DB_ACCESS Period-end valuation: Utility class for db access 20120913
3 GO_MEV_CUST_MM Static Attribute Private Object reference (TYPE REF TO) IF_MEV_CUST_MM Period-end valuation: Customizing MM 20130618
4 GO_MEV_CUST_SD Static Attribute Private Object reference (TYPE REF TO) IF_MEV_CUST_SD Period-end valuation: Customizing SD 20130618
5 GO_WL_BO_DAO Static Attribute Private Object reference (TYPE REF TO) IF_MEV_WL_BO_DAO Period-End Valuation: Data Access Object for the AD BO 20130731
6 GT_DOMTEXTS Static Attribute Private See coding 20130603
7 GT_POPER Static Attribute Private See coding 20121220
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_AUTHORIZATION_AD Instance method Public Method 20121026
2 CHECK_AUTHORIZATION_WL Instance method Public Method 20121026
3 CHECK_BUDAT_SUITS_VAL_DATE Instance method Public Method 20130102
4 CHECK_COMPANY_CODE Instance method Public Method 20121026
5 CHECK_IF_PEV_DATA_EXISTS Instance method Public Method 20130426
6 CHECK_POSTING_DATE Static method Public Method Check posting date 20121206
7 CHECK_VALUATION_DATE Static method Public Method Check valuation date 20121206
8 CLASS_CONSTRUCTOR Static method Public Constructor Class constructor 20120906
9 DRAW_NUMBERS_AD Instance method Public Method 20121004
10 DRAW_NUMBERS_KNUMV Instance method Public Method 20121206
11 GET_DOMAIN_VALUES Static method Public Method Get domain values 20121206
12 GET_LAST_DAY_OF_PREV_MONTH Static method Public Method Get last day of previous month 20131009
13 GET_POSTING_PERIOD Instance method Public Method 20121220
14 IS_DOCUMENT_OPEN Static method Public Method Check if document is open 20130423
15 IS_INDEX_ENTRY_VALID Static method Public Method Check if index entry is valid 20121206
16 IS_PEV_ACTIVE Static method Public Method Check if business functions activated period-end valuation 20130221
17 IS_PEV_ACTIVE_FOR_CC Static method Public Method Check if PEV is active for company code 20130618
18 OBJ_TYPE_IS_MM Static method Public Method Check if object type has a MM context 20121206
19 OBJ_TYPE_IS_SD Static method Public Method Check if object type has a SD context 20121206
20 RAISE_WORKFLOW_EVENT Instance method Public Method 20130306
21 SELECT_OPTIONS_READ Static method Public Method Read select options from selection screen 20130725
22 SPLIT_OBJ_KEYS_BY_APPLICATION Static method Public Method Split keys MM/SD 20130708
Events
Class CL_MEV_UTILITY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_S_POPER Private See coding 20121114 BEGIN OF gty_s_poper, bukrs TYPE bukrs, date TYPE datum, gjahr TYPE gjahr, poper TYPE poper, END OF gty_s_poper
2 LTY_S_DOMTEXT Private See coding 20130603 BEGIN OF lty_s_domtext , domname TYPE domname, value TYPE dd07v-domvalue_l, text TYPE val_text, END OF lty_s_domtext
3 TY_DATE Private See coding 20131009 BEGIN OF ty_date, year TYPE bdatj, month TYPE bumon, day TYPE butag, END OF ty_date
Method Signatures

Method CHECK_AUTHORIZATION_AD Signature

Method CHECK_AUTHORIZATION_AD on class CL_MEV_UTILITY has no parameter.
Method CHECK_AUTHORIZATION_AD on class CL_MEV_UTILITY has no exception.

Method CHECK_AUTHORIZATION_WL Signature

Method CHECK_AUTHORIZATION_WL on class CL_MEV_UTILITY has no parameter.
Method CHECK_AUTHORIZATION_WL on class CL_MEV_UTILITY has no exception.

Method CHECK_BUDAT_SUITS_VAL_DATE Signature

Method CHECK_BUDAT_SUITS_VAL_DATE on class CL_MEV_UTILITY has no parameter.
Method CHECK_BUDAT_SUITS_VAL_DATE on class CL_MEV_UTILITY has no exception.

Method CHECK_COMPANY_CODE Signature

Method CHECK_COMPANY_CODE on class CL_MEV_UTILITY has no parameter.
Method CHECK_COMPANY_CODE on class CL_MEV_UTILITY has no exception.

Method CHECK_IF_PEV_DATA_EXISTS Signature

Method CHECK_IF_PEV_DATA_EXISTS on class CL_MEV_UTILITY has no parameter.
Method CHECK_IF_PEV_DATA_EXISTS on class CL_MEV_UTILITY has no exception.

Method CHECK_POSTING_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BUDAT Call by reference Type reference (TYPE) BUDAT Posting Date in the Document 20121206
2 Importing IV_BUDAT_RESET Call by reference Type reference (TYPE) MEV_BUDAT_RESET Period-End Valuation: Reset Posting Date 20121206
# Exception Resumable Description Created on
1 CX_MEV_CONFIG Period-end valuation: Error in configuration 20121206

Method CHECK_VALUATION_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_VALUATION_DATE Call by reference Type reference (TYPE) MEV_VAL_DATE Period-end Valuation: Evaluation date 20121206
# Exception Resumable Description Created on
1 CX_MEV_CONFIG Period-end valuation: Error in configuration 20121206

Method CLASS_CONSTRUCTOR Signature

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

Method DRAW_NUMBERS_AD Signature

Method DRAW_NUMBERS_AD on class CL_MEV_UTILITY has no parameter.
Method DRAW_NUMBERS_AD on class CL_MEV_UTILITY has no exception.

Method DRAW_NUMBERS_KNUMV Signature

Method DRAW_NUMBERS_KNUMV on class CL_MEV_UTILITY has no parameter.
Method DRAW_NUMBERS_KNUMV on class CL_MEV_UTILITY has no exception.

Method GET_DOMAIN_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DOMNAME Call by reference Type reference (TYPE) DOMNAME Domain name 20121206
2 Importing IV_VALUE Call by reference Type reference (TYPE) C Values for Domains: Single Value / Upper Limit 20121206
3 Returning RV_VALUE_TEXT Value transfer Type reference (TYPE) VAL_TEXT Short Text for Fixed Values 20121206

Method GET_DOMAIN_VALUES on class CL_MEV_UTILITY has no exception.

Method GET_LAST_DAY_OF_PREV_MONTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DATE Call by reference Type reference (TYPE) DATUM Date 20131009
2 Returning RV_DATE Value transfer Type reference (TYPE) DATUM Date 20131009

Method GET_LAST_DAY_OF_PREV_MONTH on class CL_MEV_UTILITY has no exception.

Method GET_POSTING_PERIOD Signature

Method GET_POSTING_PERIOD on class CL_MEV_UTILITY has no parameter.
Method GET_POSTING_PERIOD on class CL_MEV_UTILITY has no exception.

Method IS_DOCUMENT_OPEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_APPROVAL_STATUS Call by reference Type reference (TYPE) MEV_AD_APPROVAL_STATUS Approval Status Code of Accrual Documents 20130423
2 Importing IV_APPR_REL_STATUS Call by reference Type reference (TYPE) MEV_AD_APPR_REL_STATUS Approval Relevance Status Code of Accrual Documents 20130423
3 Importing IV_DOCUMENT_CATEGORY Call by reference Type reference (TYPE) MEV_AD_DOCUMENT_CATEGORY Document Category of Accrual Document 20130423
4 Importing IV_POSTING_STATUS Call by reference Type reference (TYPE) MEV_AD_POSTING_STATUS Posting Status Code of Accrual Documents 20130423
5 Returning RV_OPEN Value transfer Type reference (TYPE) ABAP_BOOL 20130423

Method IS_DOCUMENT_OPEN on class CL_MEV_UTILITY 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 IV_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20121206
2 Importing IV_OBJ_ID Call by reference Type reference (TYPE) CMM_OBJ_ID Commodity Management: Object ID 20121206
3 Importing IV_OBJ_ITEM Call by reference Type reference (TYPE) CMM_OBJ_ITEM Commodity Management: Object Item Number 20121206
4 Importing IV_OBJ_TYPE Call by reference Type reference (TYPE) CMM_OBJ_TYPE Commodity Management: Object Type 20121206
5 Importing IV_PRE_OBJ_ID Call by reference Type reference (TYPE) CMM_OBJ_ID Commodity Management: Object ID 20121206
6 Importing IV_PRE_OBJ_ITEM Call by reference Type reference (TYPE) CMM_OBJ_ITEM Commodity Management: Object Item Number 20121206
7 Importing IV_PRE_OBJ_TYPE Call by reference Type reference (TYPE) CMM_OBJ_TYPE Commodity Management: Object Type 20121206
8 Importing IV_START_OBJ_DOC_CAT Call by reference Type reference (TYPE) CMM_OBJ_DOC_CAT Commodity Management: Document Category 20121206
9 Importing IV_START_OBJ_DOC_TYPE Call by reference Type reference (TYPE) CMM_OBJ_DOC_TYPE Commodity Management: Document Type 20121206
10 Importing IV_START_OBJ_ID Call by reference Type reference (TYPE) CMM_OBJ_ID Commodity Management: Object ID 20121206
11 Importing IV_START_OBJ_ITEM Call by reference Type reference (TYPE) CMM_OBJ_ITEM Commodity Management: Object Item Number 20121206
12 Importing IV_START_OBJ_TYPE Call by reference Type reference (TYPE) CMM_OBJ_TYPE Commodity Management: Object Type 20121206
13 Returning RV_VALID Value transfer Type reference (TYPE) ABAP_BOOL 20121206

Method IS_INDEX_ENTRY_VALID on class CL_MEV_UTILITY has no exception.

Method IS_PEV_ACTIVE Signature

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

Method IS_PEV_ACTIVE on class CL_MEV_UTILITY has no exception.

Method IS_PEV_ACTIVE_FOR_CC 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 20130618
2 Importing IV_CHECK_MM Call by reference Type reference (TYPE) ABAP_BOOL Check PEV active for MM 20130618
3 Importing IV_CHECK_SD Call by reference Type reference (TYPE) ABAP_BOOL Check PEV active for SD 20130618
4 Returning RV_IS_ACTIVE Value transfer Type reference (TYPE) ABAP_BOOL 20130618

Method IS_PEV_ACTIVE_FOR_CC on class CL_MEV_UTILITY has no exception.

Method OBJ_TYPE_IS_MM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OBJ_TYPE Call by reference Type reference (TYPE) CMM_IDX_OBJ_TYPE Index: Object Type 20121206
2 Returning RV_IS_MM Value transfer Type reference (TYPE) ABAP_BOOL 20121206

Method OBJ_TYPE_IS_MM on class CL_MEV_UTILITY has no exception.

Method OBJ_TYPE_IS_SD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OBJ_TYPE Call by reference Type reference (TYPE) CMM_IDX_OBJ_TYPE Index: Object Type 20121206
2 Returning RV_IS_SD Value transfer Type reference (TYPE) ABAP_BOOL 20121206

Method OBJ_TYPE_IS_SD on class CL_MEV_UTILITY has no exception.

Method RAISE_WORKFLOW_EVENT Signature

Method RAISE_WORKFLOW_EVENT on class CL_MEV_UTILITY has no parameter.
Method RAISE_WORKFLOW_EVENT on class CL_MEV_UTILITY has no exception.

Method SELECT_OPTIONS_READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_REPORT Call by reference Type reference (TYPE) RSVAR-REPORT 20130725
2 Returning RT_SEL_PARAMS Value transfer Type reference (TYPE) RSPARAMS_TT 20130725

Method SELECT_OPTIONS_READ on class CL_MEV_UTILITY has no exception.

Method SPLIT_OBJ_KEYS_BY_APPLICATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_KEYS_MM Call by reference Type reference (TYPE) CMM_T_OBJ_KEY Commodity Management: Object key (without Client) 20130708
2 Exporting ET_KEYS_SD Call by reference Type reference (TYPE) CMM_T_OBJ_KEY Commodity Management: Object key (without Client) 20130708
3 Importing IT_KEYS Call by reference Type reference (TYPE) CMM_T_OBJ_KEY Commodity Management: Object key (without Client) 20130708

Method SPLIT_OBJ_KEYS_BY_APPLICATION on class CL_MEV_UTILITY has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 607