SAP ABAP Interface IF_CMM_MM_DB_ACCESS (Period-end valuation: Utility class for db access)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-CMM (Application Component) Commodity Management in Logistics
     LOG_CMM_MM (Package) Material Management enhancements for Commodity Management
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  CL_CMM_MM_DB_ACCESS Period-end valuation: Utility class for db access 20120928
2 Interface implementation (CLASS c. INTERFACES i_ref)  CL_CMM_MM_DB_ACCESS_MOCK Mocking Class for C_CMM_MM_DB_ACCESS 20121011
Properties
Interface IF_CMM_MM_DB_ACCESS  
Short Description Period-end valuation: Utility class for db access    
General Data
Package LOG_CMM_MM   Material Management enhancements for Commodity Management 
Created 20120928   SAP 
Last changed 20131127   SAP 
Unicode checks active    
Forward declarations
Interface IF_CMM_MM_DB_ACCESS has no forward declaration.
Interfaces
Interface IF_CMM_MM_DB_ACCESS has no interface.
Friends
Interface IF_CMM_MM_DB_ACCESS has no friend.
Attributes
Interface IF_CMM_MM_DB_ACCESS has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 CONVERT_TO_LOCAL_CURRENCY Instance method Public Method Convert to local Currency 20130103
2 DERIVE_TRANSLATION_DATE Instance method Public Method Derive translation date 20121018
3 PREFETCH_PO_DATA Instance method Public Method Prefetch PO header and fill buffer 20121011
4 PREFETCH_PO_HISTORY Instance method Public Method Prefetch PO history and fill buffer 20121011
5 READ_ACCOUNT_ASSIGNMENT Instance method Public Method Read account determination 20121214
6 READ_ACCOUNT_TYPE Instance method Public Method Read account type 20121218
7 READ_EKKO Instance method Public Method Read PO header data from buffer 20130304
8 READ_EKPO Instance method Public Method Read PO item data from buffer 20130304
9 READ_MBEW Instance method Public Method Read material valuation data 20121214
10 READ_PO_ITEM_DETAILS Instance method Public Method Read PO item details for invoice 20121011
11 READ_T001 Instance method Public Method Read table T001 for anticipation of final invoice 20120928
12 READ_T001K Instance method Public Method Read company code 20121214
13 READ_T001W Instance method Public Method Read company code 20121214
14 READ_T003 Instance method Public Method Read FI document type data 20120928
15 READ_T030A Instance method Public Method Read transaction key 20121214
16 READ_T169F Instance method Public Method Read period-end document type 20120928
17 READ_VENDOR_DATA Instance method Public Method Read vendor data 20121106
Events
Interface IF_CMM_MM_DB_ACCESS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_S_T030A Public See coding 20121214 BEGIN OF gty_s_t030a, ktosl TYPE ktosl, grupp TYPE grupp_030, tcode TYPE tcode, END OF gty_s_t030a
2 GTY_T_T030A Public See coding 20121214 gty_t_t030a TYPE TABLE OF gty_s_t030a
Method Signatures

Method CONVERT_TO_LOCAL_CURRENCY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EXCHANGE_RATE Call by reference Type reference (TYPE) KURSF Exchange rate 20130103
2 Exporting EV_LOCAL_AMOUNT Call by reference Type reference (TYPE) WRBTR_F048 Amount in Document Currency 20130103
3 Importing IV_EXCHANGE_RATE Call by reference Type reference (TYPE) KURSF Exchange rate 20130422
4 Importing IV_FOREIGN_AMOUNT Call by reference Type reference (TYPE) WRBTR_F048 Amount in Document Currency 20130103
5 Importing IV_FOREIGN_CURRENCY Call by reference Type reference (TYPE) WAERS Currency Key 20130103
6 Importing IV_LOCAL_CURRENCY Call by reference Type reference (TYPE) WAERS Currency Key 20130103
7 Importing IV_TYPE_OF_RATE Call by reference Type reference (TYPE) KURST Exchange rate type 20130103
8 Importing IV_WWERT Call by reference Type reference (TYPE) WWERT_D Translation Date 20130103
# Exception Resumable Description Created on
1 CX_CMM_DB_ACCESS Commodity Management: Error in invoice anticipation 20130103

Method DERIVE_TRANSLATION_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_KURSF Call by reference Type reference (TYPE) KURSF Exchange rate 20130417
2 Exporting EV_WWERT Call by reference Type reference (TYPE) WWERT_D Translation Date 20121018
3 Importing IV_BLART Call by reference Type reference (TYPE) BLART Document Type 20130204
4 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20121018
5 Importing IV_DOCUMENT_DATE Call by reference Type reference (TYPE) DATUM Document Date in Document 20121018
6 Importing IV_KUFIX Call by reference Type reference (TYPE) KUFIX Indicator: Fixing of Exchange Rate 20130417
7 Importing IV_KURSF Call by reference Type reference (TYPE) KURSF Exchange Rate 20130417
8 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) CHAR20 Object Type 20121018
9 Importing IV_POSTING_DATE Call by reference Type reference (TYPE) DATUM Posting Date in the Document 20121018
10 Importing IV_WAERS Call by reference Type reference (TYPE) WAERS Currency Key 20121018
# Exception Resumable Description Created on
1 CX_CMM_DB_ACCESS Commodity Management: Error in invoice anticipation 20121217

Method PREFETCH_PO_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_EKKO_KEYS Call by reference Type reference (TYPE) CMM_T_INV_ANTCP_EKKO_KEY Final Invoice Anticipation: Purchase Order Key 20121018
2 Importing IT_EKPO_KEYS Call by reference Type reference (TYPE) MMPUR_T_PURDOC_ITEM_KEY Table Type for Key Fields of a Purchasing Document Item 20121018
# Exception Resumable Description Created on
1 CX_CMM_ANTICIPATION_MM Commodity Management: Error in invoice anticipation 20121011

Method PREFETCH_PO_HISTORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_EKBE_KEYS Call by reference Type reference (TYPE) MMPUR_T_PURDOC_ITEM_KEY Table Type for Key Fields of a Purchasing Document Item 20121018
# Exception Resumable Description Created on
1 CX_CMM_ANTICIPATION_MM Commodity Management: Error in invoice anticipation 20121011

Method READ_ACCOUNT_ASSIGNMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ACCOUNT Call by reference Type reference (TYPE) SAKNR G/L Account Number 20121214
2 Exporting EV_POSTING_KEY Call by reference Type reference (TYPE) BSCHH Posting Key for Credit Postings 20121214
3 Importing IV_BKLAS Call by reference Type reference (TYPE) BKLAS Valuation Class 20121214
4 Importing IV_BWMOD Call by reference Type reference (TYPE) BWMOD Valuation Grouping Code 20121214
5 Importing IV_KOMOK Call by reference Type reference (TYPE) KOMOK Account Modification 20121214
6 Importing IV_KTOPL Call by reference Type reference (TYPE) KTOPL Chart of Accounts 20121214
7 Importing IV_KTOSL Call by reference Type reference (TYPE) KTOSL Transaction Key 20121214
8 Importing IV_SHKZG Call by reference Type reference (TYPE) SHKZG Debit/Credit Indicator 20121214
# Exception Resumable Description Created on
1 CX_CMM_DB_ACCESS Commodity Management: Error in invoice anticipation 20121214

Method READ_ACCOUNT_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ACCOUNT_TYPE Call by reference Type reference (TYPE) KOART Account Type 20121218
2 Importing IV_POSTING_KEY Call by reference Type reference (TYPE) BSCHL Posting Key 20121218
# Exception Resumable Description Created on
1 CX_CMM_DB_ACCESS Commodity Management: Error in invoice anticipation 20121218

Method READ_EKKO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_EKKO Call by reference Type reference (TYPE) EKKO Purchasing document header 20130304
2 Importing IV_EBELN Call by reference Type reference (TYPE) EBELN Purchasing document number 20130304
# Exception Resumable Description Created on
1 CX_CMM_DB_ACCESS Commodity Management: Error in invoice anticipation 20130304

Method READ_EKPO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_EKPO Call by reference Type reference (TYPE) EKPO Purchasing document header 20130304
2 Importing IV_EBELN Call by reference Type reference (TYPE) EBELN Purchasing document number 20130304
3 Importing IV_EBELP Call by reference Type reference (TYPE) EBELP Item Number of Purchasing Document 20130304
# Exception Resumable Description Created on
1 CX_CMM_DB_ACCESS Commodity Management: Error in invoice anticipation 20130304

Method READ_MBEW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_MBEW Call by reference Type reference (TYPE) MBEW Material Valuation 20130208
2 Importing IV_BWKEY Call by reference Type reference (TYPE) BWKEY Valuation Area 20130208
3 Importing IV_BWTAR Call by reference Type reference (TYPE) BWTAR_D Valuation Type 20130208
4 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20121214
# Exception Resumable Description Created on
1 CX_CMM_DB_ACCESS Commodity Management: Error in invoice anticipation 20121214

Method READ_PO_ITEM_DETAILS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_XEK08RN Call by reference Type reference (TYPE) EK08RN_T Table type for EK08RN 20121016
2 Importing IS_EKKO Call by reference Type reference (TYPE) EKKO Purchasing Document Header 20121011
3 Importing IS_INV_ANTCP_IMP Call by reference Type reference (TYPE) CMM_S_INV_ANTCP_IMP Importing data for final invoice anticipation 20121016
4 Importing IV_WWERT Call by reference Type reference (TYPE) WWERT_D Translation Date 20121011
# Exception Resumable Description Created on
1 CX_CMM_ANTICIPATION_MM Commodity Management: Error in invoice anticipation 20121016

Method READ_T001 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_T001 Call by reference Type reference (TYPE) T001 Company Codes 20120928
2 Importing IV_BUKRS Call by reference Type reference (TYPE) BUKRS Company Code 20120928
# Exception Resumable Description Created on
1 CX_CMM_DB_ACCESS Commodity Management: Error in invoice anticipation 20121214

Method READ_T001K Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_T001K Call by reference Type reference (TYPE) T001K Valuation area 20130208
2 Importing IV_BWKEY Call by reference Type reference (TYPE) BWKEY Valuation Area 20121214
# Exception Resumable Description Created on
1 CX_CMM_DB_ACCESS Commodity Management: Error in invoice anticipation 20121214

Method READ_T001W Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_T001W Call by reference Type reference (TYPE) T001W Plants/Branches 20130208
2 Importing IV_WERKS Call by reference Type reference (TYPE) WERKS_D Plant 20121214
# Exception Resumable Description Created on
1 CX_CMM_DB_ACCESS Commodity Management: Error in invoice anticipation 20121214

Method READ_T003 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_T003 Call by reference Type reference (TYPE) T003 Document Types 20120928
2 Importing IV_BLART Call by reference Type reference (TYPE) BLART Document Type 20120928
# Exception Resumable Description Created on
1 CX_CMM_DB_ACCESS Commodity Management: Error in invoice anticipation 20121217

Method READ_T030A Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_T030A Call by reference Type reference (TYPE) GTY_T_T030A 20121214
# Exception Resumable Description Created on
1 CX_CMM_DB_ACCESS 20121214

Method READ_T169F Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_T169F Call by reference Type reference (TYPE) T169F Transaction-Dependent Document Types 20130205
2 Importing IV_TCODE Call by reference Type reference (TYPE) TCODE Transaction Code 20120928
# Exception Resumable Description Created on
1 CX_CMM_DB_ACCESS Commodity Management: Error in invoice anticipation 20121217

Method READ_VENDOR_DATA 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 20121106
2 Importing IV_LIFNR Call by reference Type reference (TYPE) LIFNR Account Number of Vendor or Creditor 20121106
3 Returning RS_VF_KRED Value transfer Type reference (TYPE) VF_KRED Generated Table for View 20121106
# Exception Resumable Description Created on
1 CX_CMM_ANTICIPATION_MM Commodity Management: Error in invoice anticipation 20121106
History
Last changed by/on SAP  20131127 
SAP Release Created in 617