CMM_MTM_AGGREGATED SAP (MtM Extractor Structure) Structure details

Dictionary Type: Structure
Description: MtM Extractor Structure




ABAP Code to SELECT data from CMM_MTM_AGGREGATED
Related tables to CMM_MTM_AGGREGATED
Access table CMM_MTM_AGGREGATED




Structure field list including key, data, relationships and ABAP select examples

CMM_MTM_AGGREGATED is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "MtM Extractor Structure" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_CMM_MTM_AGGREGATED TYPE CMM_MTM_AGGREGATED.

The CMM_MTM_AGGREGATED table consists of various fields, each holding specific information or linking keys about MtM Extractor Structure data available in SAP. These include BELNR (Sales and Distribution Document Number), WAERK (SD Document Currency), BUKRS (Company Code), KUNNR (Sold-to party).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP CMM_MTM_AGGREGATED structure fields - Full list of fields found in SAP data dictionary

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
BELNRSales and Distribution Document Number VBELNCHAR10Assigned to domainALPHAVBELNAUN
WAERKSD Document Currency WAERKCUKY5Assigned to domainWAERSFWS
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
KUNNRSold-to party KUNAGCHAR10KNA1ALPHAKUNNRVAG
LIFNRVendor Account Number ELIFNCHAR10LFA1ALPHALIFNRLIFKRED_C
VKORGSales Organization VKORGCHAR4TVKOVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2TVTWVTWEGVTWC_VTWEG
EKORGPurchasing Organization EKORGCHAR4T024EEKORGEKO
ERDATDate on Which Record Was Created ERDATDATS8DATUM
KPOSNCondition item number KPOSNNUMC6NUM6
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
SPARTDivision SPARTCHAR2TSPASPARTSPAC_SPART
KAPPLApplication KAPPLCHAR2Assigned to domainKAPPLKAP
VBELNSales and Distribution Document Number VBELNCHAR10Assigned to domainALPHAVBELNAUN
POSNRItem number of the SD document POSNRNUMC6Assigned to domainPOSNR
VBELN_VFBilling Document VBELN_VFCHAR10Assigned to domainALPHAVBELNVF
POSNR_VFBilling item POSNR_VFNUMC6Assigned to domainPOSNR
EBELNPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
EBELPItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
MBLNRDocument Number of an Invoice Document RE_BELNRCHAR10ALPHABELNRRBN
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
BUZEIItem in Material Document MBLPONUMC4MBLPOPOS
TKONNTrading Contract: Trading Contract Number TKONNCHAR10Assigned to domainALPHATKONNWKNWBHK
TPOSNTrading Contract: Item Number TPOSNNUMC6TPOSNWKP
TKONN_ROOTTrading Contract: Trading Contract Number TKONNCHAR10Assigned to domainALPHATKONNWKNWBHK
TPOSN_ROOTTrading Contract: Item Number TPOSNNUMC6TPOSNWKP
TKONN_EXTrading Contract: External Document Number TKONN_EXCHAR30TKONN_EXWKN_EX
TKONN_EX_ROOTTrading Contract: External Document Number TKONN_EXCHAR30TKONN_EXWKN_EX
PRICE_UContractual Value - Undiscounted CMM_MTM_PUCURR17(2) CMM_MTM_KYFIG_AMNT
PRICE_DContractual Value - Discounted CMM_MTM_PDCURR17(2) CMM_MTM_KYFIG_AMNT
MARKET_UMarket Value - Undiscounted CMM_MTM_MUCURR17(2) CMM_MTM_KYFIG_AMNT
MARKET_DMarket Value - Discounted CMM_MTM_MDCURR17(2) CMM_MTM_KYFIG_AMNT
MTM_UMark-to-Market - Undiscounted CMM_MTM_MTM_UCURR17(2) CMM_MTM_KYFIG_AMNT
MTM_DMark-to-Market - Discounted CMM_MTM_MTM_DCURR17(2) CMM_MTM_KYFIG_AMNT
PRICE_U_DOCContractual Value - Undiscounted CMM_MTM_PUCURR17(2) CMM_MTM_KYFIG_AMNT
MARKET_U_DOCMarket Value - Undiscounted CMM_MTM_MUCURR17(2) CMM_MTM_KYFIG_AMNT
MTM_U_DOCMark-to-Market - Undiscounted CMM_MTM_MTM_UCURR17(2) CMM_MTM_KYFIG_AMNT
DATE_PYMNTPayment Date CMM_MTM_DATE_PYMNTDATS8DATUM
COMMODITYPhysical Commodity TBA_STOEFFCHENCHAR18TBAC_PHYSCOMMTBA_STOEFFCHEN
STWAEStatistics currency STWAECUKY5TCURCWAERS
MGAMEQuantity CMM_MTM_MENGE_DQUAN17(3) CMM_MTM_KYFIG_QUAN
VRKMESales unit VRKMEUNIT3T006CUNITMEINS
MGLMEQuantity CMM_MTM_MENGE_DQUAN17(3) CMM_MTM_KYFIG_QUAN
LAGMEBase Unit of Measure LAGMEUNIT3T006CUNITMEINS
MGAME_ADJQuantity CMM_MTM_MENGE_DQUAN17(3) CMM_MTM_KYFIG_QUAN
MGLME_ADJQuantity CMM_MTM_MENGE_DQUAN17(3) CMM_MTM_KYFIG_QUAN
COMMODITY_QUAN_PCommodity Quantity CMM_MTM_QUAN_COMMQUAN17(3) CMM_MTM_KYFIG_QUAN
COMMODITY_ADJ_PCommodity Quantity CMM_MTM_QUAN_COMMQUAN17(3) CMM_MTM_KYFIG_QUAN
COMMODITY_UOM_PUnit of Measure for Commodity CMM_MTM_QUAN_COMMUOMUNIT3T006CUNITMEINS
COMMODITY_RF_UOM_PReference unit of measure for proportion unit/product unit REFME_WSUNIT3Assigned to domainCUNITMEINS
COMMODITY_QUAN_MCommodity Quantity CMM_MTM_QUAN_COMMQUAN17(3) CMM_MTM_KYFIG_QUAN
COMMODITY_ADJ_MCommodity Quantity CMM_MTM_QUAN_COMMQUAN17(3) CMM_MTM_KYFIG_QUAN
COMMODITY_UOM_MUnit of Measure for Commodity CMM_MTM_QUAN_COMMUOMUNIT3Assigned to domainCUNITMEINS
COMMODITY_RF_UOM_MReference unit of measure for proportion unit/product unit REFME_WSUNIT3Assigned to domainCUNITMEINS
FACT_ASSIGNEDFactor for Remaining MtM Calculation CMM_MTM_FACT_OPEND34D16(14) CMM_MTM_FACT_OPEN

Key field Non-key field



How do I retrieve data from SAP structure CMM_MTM_AGGREGATED using ABAP code?

As CMM_MTM_AGGREGATED is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on CMM_MTM_AGGREGATED as there is no data to select.

How to access SAP table CMM_MTM_AGGREGATED

Within an ECC or HANA version of SAP you can also view further information about CMM_MTM_AGGREGATED and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!