SAP ABAP Class CL_MEV_UTILITY_SD (Period-end valuation: SD side service methods)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-CMM (Application Component) Commodity Management in Logistics
     LOG_CMM_MEV_APPL_SD (Package) PEV package for SD specific objects
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_MEV_UTILITY_SD Utility methods 20121129
Properties
Class CL_MEV_UTILITY_SD  
Short Description Period-end valuation: SD side service methods    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class CMM_MEV_APPL_SD    
Program status     
Category 0   
Package LOG_CMM_MEV_APPL_SD   PEV package for SD specific objects 
Created 20120816   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)
2 IF_MEV_CONSTANTS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
# Interface Abstract Final Description Created on
1 IF_MEV_UTILITY_SD Utility methods 20121129
Friends
Class CL_MEV_UTILITY_SD 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 20121010
2 GO_DB_ACCESS_MM Static Attribute Private Object reference (TYPE REF TO) IF_CMM_MM_DB_ACCESS Period-end valuation: Utility class for db access 20130417
3 GO_ENQUEUE_HLP Static Attribute Private Object reference (TYPE REF TO) IF_MEV_ENQUEUE_HLP Period-end valuation: Enqueue methods 20121010
4 GO_SD_ACCESS Static Attribute Private Object reference (TYPE REF TO) IF_MEV_SD_ACCESS Period-end valuation: Access to SD functions 20130304
5 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 20130514
Methods
# Method Level Visibility Method type Description Created on
1 ADD_RELATED_WL_BO_ITEMS Instance method Public Method 20130514
2 BUILD_ITEM_SD_PAIR_VIEW Static method Public Method Extract the pair view data from XVBRK and XVBRP 20121206
3 BUILD_ITEM_SD_POST_RESET_PAIRS Static method Public Method Build table of post/reset pairs from reset billing documents 20121206
4 BUILD_KOMFKGN_TAB_FROM_CANCEL Static method Public Method Extract the pair view data from XVBRK and XVBRP 20121206
5 CLASS_CONSTRUCTOR Static method Public Constructor Class constructor 20121010
6 CLEAR_SY_MSG_VAR Static method Public Method Clear message-variables in SYST 20121212
7 DETERMINE_MISSING_VBRP_KEYS Static method Public Method Extract missing VBRK keys from current and complete table 20121206
8 ENRICH_AD_BO_ITEMS Instance method Public Method 20121129
9 ENRICH_WL_BO_ITEMS Instance method Public Method 20121129
10 ENSURE_COMPLETE_WL_LOCK Static method Public Method Ensure that all wl entries of a group (=billing document) 20121206
11 FILL_KOMK_KOMP Instance method Public Method 20130304
12 FILL_VBFS_FROM_EXCEPTION Static method Public Method Capture SY-MSG variables into VBFS 20130423
13 FILL_VBFS_FROM_SY Static method Public Method Capture SY-MSG variables into VBFS 20121206
14 GET_BILL_KEYS_FROM_WL_BO_ITEMS Static method Public Method Get addtional WL BO items with same billing document 20121206
15 GET_OBJ_TYPE_FRM_VBTYP_EXT_BIL Static method Public Method Determine OBJ_TYPE from billing VBTYP_EXT 20130306
16 GET_OBJ_TYPE_FROM_VBTYP_BILL Static method Public Method Determine OBJ_TYPE from billing VBTYP 20121206
17 GET_RELATED_WL_BO_ITEMS Static method Public Method Get related WL BO items 20130514
18 GET_VALUATION_KEY_DATE Static method Public Method Get valuation key date of worklist 20130610
19 GET_VBRKVB_FOR_VBELN Static method Public Method Get VBRKVB for VBELN from internal table 20130426
20 GET_VBTYP_EXT_INV_FRM_OBJ_TYPE Static method Public Method Determine billing VBTYP_EXT from OBJ_TYPE 20130306
21 GET_VBTYP_INV_FROM_OBJ_TYPE Static method Public Method Determine billing VBTYP from OBJ_TYPE 20121206
22 GET_VBTYP_REAL_FRM_VBTYP_EXT Static method Public Method Determine VBTYP for real invoice from VBTYP_EXT period-end 20130308
23 INSERT_KEY_TAB Static method Public Method Build sorted table of KEY structure 20130514
24 INSERT_REFS_FOR_BILL_TAB Static method Public Method Build sorted table of WL refs for VBELN and POSNR 20130514
25 LOCK_WL_AFTER_READ Instance method Public Method 20121129
26 MERGE_ITEM_SD_PAIR_VIEW Static method Public Method Extract the pair view data from XVBRK and XVBRP 20130128
27 VBFS_HAS_ERRORS Static method Public Method Check if VBFS contains errors 20130304
Events
Class CL_MEV_UTILITY_SD has no event.
Types
Class CL_MEV_UTILITY_SD has no local type.
Method Signatures

Method ADD_RELATED_WL_BO_ITEMS Signature

Method ADD_RELATED_WL_BO_ITEMS on class CL_MEV_UTILITY_SD has no parameter.
Method ADD_RELATED_WL_BO_ITEMS on class CL_MEV_UTILITY_SD has no exception.

Method BUILD_ITEM_SD_PAIR_VIEW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SD_PAIR_VIEW Call by reference Type reference (TYPE) MEV_T_ITEM_SD_PAIR_VIEW Period-end valuation: Table of billing item pair view 20121206
2 Importing IT_VBRKVB Call by reference Type reference (TYPE) VBRK_TAB tABLE TYPE FOR vbrk 20121206
3 Importing IT_VBRPVB Call by reference Type reference (TYPE) VBRP_TAB Table type for VBRP 20121206
4 Importing IV_FOR_EXISTING_DOCS Call by reference Type reference (TYPE) XFELD Checkbox 20130318

Method BUILD_ITEM_SD_PAIR_VIEW on class CL_MEV_UTILITY_SD has no exception.

Method BUILD_ITEM_SD_POST_RESET_PAIRS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SD_POST_RESET Call by reference Type reference (TYPE) MEV_T_ITEM_SD_POST_RESET Period-end valuation: Table of post/reset item pairs 20121206
2 Importing IT_VBRKVB Call by reference Type reference (TYPE) VBRK_TAB tABLE TYPE FOR vbrk 20121206
3 Importing IT_VBRPVB Call by reference Type reference (TYPE) VBRP_TAB Table type for VBRP 20121206

Method BUILD_ITEM_SD_POST_RESET_PAIRS on class CL_MEV_UTILITY_SD has no exception.

Method BUILD_KOMFKGN_TAB_FROM_CANCEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_KOMFKGN Call by reference Type reference (TYPE) KOMFKGN_TAB Table Type KOMFKGN 20121206
2 Importing IT_VBRKVB Call by reference Type reference (TYPE) VBRK_TAB tABLE TYPE FOR vbrk 20121206
3 Importing IT_VBRPVB Call by reference Type reference (TYPE) VBRP_TAB Table type for VBRP 20121206

Method BUILD_KOMFKGN_TAB_FROM_CANCEL on class CL_MEV_UTILITY_SD has no exception.

Method CLASS_CONSTRUCTOR Signature

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

Method CLEAR_SY_MSG_VAR Signature

Method CLEAR_SY_MSG_VAR on class CL_MEV_UTILITY_SD has no parameter.
Method CLEAR_SY_MSG_VAR on class CL_MEV_UTILITY_SD has no exception.

Method DETERMINE_MISSING_VBRP_KEYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_VBRP_KEY_MISSING Call by reference Type reference (TYPE) TDT_SDBEL Table of VBRP keys 20121206
2 Importing IT_VBRP_KEY_ALL Call by reference Type reference (TYPE) TDT_SDBEL Table of VBRP keys 20121206
3 Importing IT_VBRP_KEY_NOW Call by reference Type reference (TYPE) TDT_SDBEL Table of VBRP keys 20121206

Method DETERMINE_MISSING_VBRP_KEYS on class CL_MEV_UTILITY_SD has no exception.

Method ENRICH_AD_BO_ITEMS Signature

Method ENRICH_AD_BO_ITEMS on class CL_MEV_UTILITY_SD has no parameter.
Method ENRICH_AD_BO_ITEMS on class CL_MEV_UTILITY_SD has no exception.

Method ENRICH_WL_BO_ITEMS Signature

Method ENRICH_WL_BO_ITEMS on class CL_MEV_UTILITY_SD has no parameter.
Method ENRICH_WL_BO_ITEMS on class CL_MEV_UTILITY_SD has no exception.

Method ENSURE_COMPLETE_WL_LOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_WL_WORK Call by reference Type reference (TYPE) MEV_T_WL_SD_WORK Period-end valuation: SD worklist item (work structure) 20121206
2 Importing IT_WL_FOREIGN_LOCK Call by reference Type reference (TYPE) MEV_T_WL_SD_WORK Period-end valuation: SD worklist item (work structure) 20121206

Method ENSURE_COMPLETE_WL_LOCK on class CL_MEV_UTILITY_SD has no exception.

Method FILL_KOMK_KOMP Signature

Method FILL_KOMK_KOMP on class CL_MEV_UTILITY_SD has no parameter.
Method FILL_KOMK_KOMP on class CL_MEV_UTILITY_SD has no exception.

Method FILL_VBFS_FROM_EXCEPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_EXCEPTION Call by reference Object reference (TYPE REF TO) CX_ROOT Interface for Accessing T100 Texts 20130423
2 Returning RS_VBFS Value transfer Type reference (TYPE) VBFS Error Log for Collective Processing 20130423

Method FILL_VBFS_FROM_EXCEPTION on class CL_MEV_UTILITY_SD has no exception.

Method FILL_VBFS_FROM_SY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FUNC_NAME Call by reference Type reference (TYPE) RS38L_FNAM Function module 20121212
2 Returning RS_VBFS Value transfer Type reference (TYPE) VBFS Error Log for Collective Processing 20121206

Method FILL_VBFS_FROM_SY on class CL_MEV_UTILITY_SD has no exception.

Method GET_BILL_KEYS_FROM_WL_BO_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_VBRK_KEY Call by reference Type reference (TYPE) T_VBELN Table of billing documents 20121206
2 Exporting ET_VBRP_KEY Call by reference Type reference (TYPE) TDT_SDBEL Table of VBRP keys 20121206
3 Importing IT_ITEM_SD Call by reference Type reference (TYPE) MEV_T_WL_SD_WORK Period-end valuation: SD worklist item (work structure) 20121206

Method GET_BILL_KEYS_FROM_WL_BO_ITEMS on class CL_MEV_UTILITY_SD has no exception.

Method GET_OBJ_TYPE_FRM_VBTYP_EXT_BIL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_OBJ_TYPE Call by reference Type reference (TYPE) CMM_OBJ_TYPE Period-End Valuation: Object Type 20130306
2 Importing IV_VBTYP_EXT Call by reference Type reference (TYPE) TDD_VBTYP_EXT Extension of SD document category 20130306

Method GET_OBJ_TYPE_FRM_VBTYP_EXT_BIL on class CL_MEV_UTILITY_SD has no exception.

Method GET_OBJ_TYPE_FROM_VBTYP_BILL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_OBJ_TYPE Call by reference Type reference (TYPE) CMM_OBJ_TYPE Period-End Valuation: Object Type 20121206
2 Importing IV_VBTYP_BILL Call by reference Type reference (TYPE) TVFK-FKTYP Billing category 20121206

Method GET_OBJ_TYPE_FROM_VBTYP_BILL on class CL_MEV_UTILITY_SD has no exception.

Method GET_RELATED_WL_BO_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ITEMS_RELATED Call by reference Type reference (TYPE) MEV_T_WL_SD_WORK Period-end valuation: SD worklist item (work structure) 20130514
2 Importing IT_ITEMS Call by reference Type reference (TYPE) MEV_T_WL_SD_WORK Period-end valuation: SD worklist item (work structure) 20130514

Method GET_RELATED_WL_BO_ITEMS on class CL_MEV_UTILITY_SD has no exception.

Method GET_VALUATION_KEY_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ITEMS Call by reference Type reference (TYPE) MEV_T_WL_BO_ITEM_REFERENCES Period-end Valuation: References for worklist BO 20130610
2 Importing IV_VBTYP_EXT Call by reference Type reference (TYPE) TDD_VBTYP_EXT Extension of SD Document Category 20130610
3 Importing IV_VGBEL Call by reference Type reference (TYPE) VGBEL Document number of the reference document 20130610
4 Importing IV_VGPOS Call by reference Type reference (TYPE) VGPOS Item number of the reference item 20130610
5 Returning RV_VAL_DATE Value transfer Type reference (TYPE) MEV_VAL_DATE Valuation Key Date for Worklist 20130610

Method GET_VALUATION_KEY_DATE on class CL_MEV_UTILITY_SD has no exception.

Method GET_VBRKVB_FOR_VBELN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_VBRKVB Call by reference Type reference (TYPE) VBRKVB Reference Structure for XVBRK/YVBRP 20130426
2 Importing IT_VBRKVB Call by reference Type reference (TYPE) VBRK_TAB tABLE TYPE FOR vbrk 20130426
3 Importing IV_VBELN Call by reference Type reference (TYPE) VBRK-VBELN Billing Document 20130426

Method GET_VBRKVB_FOR_VBELN on class CL_MEV_UTILITY_SD has no exception.

Method GET_VBTYP_EXT_INV_FRM_OBJ_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_VBTYP_EXT_INV Call by reference Type reference (TYPE) TDD_VBTYP_EXT Extension of SD document category 20130306
2 Importing IV_OBJ_TYPE Call by reference Type reference (TYPE) CMM_OBJ_TYPE Period-End Valuation: Object Type 20130306

Method GET_VBTYP_EXT_INV_FRM_OBJ_TYPE on class CL_MEV_UTILITY_SD has no exception.

Method GET_VBTYP_INV_FROM_OBJ_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_VBTYP_INV Call by reference Type reference (TYPE) TVFK-VBTYP SD document category 20121206
2 Importing IV_OBJ_TYPE Call by reference Type reference (TYPE) CMM_OBJ_TYPE Period-End Valuation: Object Type 20121206

Method GET_VBTYP_INV_FROM_OBJ_TYPE on class CL_MEV_UTILITY_SD has no exception.

Method GET_VBTYP_REAL_FRM_VBTYP_EXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_VBTYP_REAL Call by reference Type reference (TYPE) VBTYP SD document category 20130308
2 Importing IV_VBTYP_EXT_PEV Call by reference Type reference (TYPE) TDD_VBTYP_EXT Extension of SD document category 20130308

Method GET_VBTYP_REAL_FRM_VBTYP_EXT on class CL_MEV_UTILITY_SD has no exception.

Method INSERT_KEY_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_KEY Call by reference Type reference (TYPE) CMM_T_OBJ_KEY Commodity Management: Object key (without Client) 20130514
2 Importing IS_KEY Call by reference Type reference (TYPE) CMM_S_OBJ_K Commodity Management: Object key (without Client) 20130514

Method INSERT_KEY_TAB on class CL_MEV_UTILITY_SD has no exception.

Method INSERT_REFS_FOR_BILL_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_REFS_FOR_BILL Call by reference Type reference (TYPE) MEV_T_WL_BO_REFS_FOR_BILL_SD Period-end valuation: Worklist - item references for billing 20130514
2 Importing IS_ITEM Call by reference Type reference (TYPE) MEV_S_WL_BO_ITEM_REFERENCES Period-end Valuation: References for worklist BO 20130514
3 Importing IV_POSNR Call by reference Type reference (TYPE) VBRP-POSNR Billing item 20130514
4 Importing IV_VBELN Call by reference Type reference (TYPE) VBRP-VBELN Billing Document 20130514

Method INSERT_REFS_FOR_BILL_TAB on class CL_MEV_UTILITY_SD has no exception.

Method LOCK_WL_AFTER_READ Signature

Method LOCK_WL_AFTER_READ on class CL_MEV_UTILITY_SD has no parameter.
Method LOCK_WL_AFTER_READ on class CL_MEV_UTILITY_SD has no exception.

Method MERGE_ITEM_SD_PAIR_VIEW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_SD_PAIR_VIEW_ALL Call by reference Type reference (TYPE) MEV_T_ITEM_SD_PAIR_VIEW Period-end valuation: Table of billing item pair view 20130128
2 Importing IT_SD_PAIR_VIEW Call by reference Type reference (TYPE) MEV_T_ITEM_SD_PAIR_VIEW Period-end valuation: Table of billing item pair view 20130128

Method MERGE_ITEM_SD_PAIR_VIEW on class CL_MEV_UTILITY_SD has no exception.

Method VBFS_HAS_ERRORS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_VBFS Call by reference Type reference (TYPE) VBFS Error Log for Collective Processing 20130304
2 Importing IT_VBFS Call by reference Type reference (TYPE) VBFS_T Error Log for Collective Processing 20130304
3 Returning RV_HAS_ERRORS Value transfer Type reference (TYPE) ABAP_BOOL 20130304

Method VBFS_HAS_ERRORS on class CL_MEV_UTILITY_SD has no exception.
History
Last changed by/on SAP  20131127 
SAP Release Created in 617