CMM_MTM_AGGREGATED_DIS SAP (Display Structure for MtM Adhoc Report) Structure details
Description: Display Structure for MtM Adhoc Report
Related tables to CMM_MTM_AGGREGATED_DIS
Access table CMM_MTM_AGGREGATED_DIS
Structure field list including key, data, relationships and ABAP select examples
CMM_MTM_AGGREGATED_DIS 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 "Display Structure for MtM Adhoc Report" 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_DIS TYPE CMM_MTM_AGGREGATED_DIS.
The CMM_MTM_AGGREGATED_DIS table consists of various fields, each holding specific information or linking keys about Display Structure for MtM Adhoc Report data available in SAP. These include ROOT_DOC_ITM (Root Document Item for MtM Calculation), INVOICE (Final Invoice), INVOICE_ITM (Final Invoice Item), BELNR (Sales and Distribution Document Number).. 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_DIS 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 |
ROOT_DOC | Root Document for MtM Calculation | CMM_MTM_ROOT_DOC | CHAR | 10 | Assigned to domain | ALPHA | VBELN | ||
ROOT_DOC_ITM | Root Document Item for MtM Calculation | CMM_MTM_ROOT_DOC_ITM | NUMC | 6 | Assigned to domain | POSNR | |||
INVOICE | Final Invoice | CMM_MTM_INV_DOC | CHAR | 10 | Assigned to domain | ALPHA | VBELN | ||
INVOICE_ITM | Final Invoice Item | CMM_MTM_INV_ITM | NUMC | 6 | Assigned to domain | POSNR | |||
BELNR | Sales and Distribution Document Number | VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
WAERK | SD Document Currency | WAERK | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
KUNNR | Sold-to party | KUNAG | CHAR | 10 | KNA1 | ALPHA | KUNNR | VAG | |
LIFNR | Vendor Account Number | ELIFN | CHAR | 10 | LFA1 | ALPHA | LIFNR | LIF | KRED_C |
VKORG | Sales Organization | VKORG | CHAR | 4 | TVKO | VKORG | VKO | C_VKORG | |
VTWEG | Distribution Channel | VTWEG | CHAR | 2 | TVTW | VTWEG | VTW | C_VTWEG | |
EKORG | Purchasing Organization | EKORG | CHAR | 4 | T024E | EKORG | EKO | ||
ERDAT | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
KPOSN | Condition item number | KPOSN | NUMC | 6 | NUM6 | ||||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
SPART | Division | SPART | CHAR | 2 | TSPA | SPART | SPA | C_SPART | |
KAPPL | Application | KAPPL | CHAR | 2 | Assigned to domain | KAPPL | KAP | ||
VBELN | Sales and Distribution Document Number | VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
POSNR | Item number of the SD document | POSNR | NUMC | 6 | Assigned to domain | POSNR | |||
VBELN_VF | Billing Document | VBELN_VF | CHAR | 10 | Assigned to domain | ALPHA | VBELN | VF | |
POSNR_VF | Billing item | POSNR_VF | NUMC | 6 | Assigned to domain | POSNR | |||
EBELN | Purchasing Document Number | EBELN | CHAR | 10 | Assigned to domain | ALPHA | EBELN | BES | MEKK_C |
EBELP | Item Number of Purchasing Document | EBELP | NUMC | 5 | Assigned to domain | EBELP | BSP | ||
MBLNR | Document Number of an Invoice Document | RE_BELNR | CHAR | 10 | ALPHA | BELNR | RBN | ||
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
BUZEI | Item in Material Document | MBLPO | NUMC | 4 | MBLPO | POS | |||
TKONN | Trading Contract: Trading Contract Number | TKONN | CHAR | 10 | Assigned to domain | ALPHA | TKONN | WKN | WBHK |
TPOSN | Trading Contract: Item Number | TPOSN | NUMC | 6 | TPOSN | WKP | |||
TKONN_ROOT | Trading Contract: Trading Contract Number | TKONN | CHAR | 10 | Assigned to domain | ALPHA | TKONN | WKN | WBHK |
TPOSN_ROOT | Trading Contract: Item Number | TPOSN | NUMC | 6 | TPOSN | WKP | |||
TKONN_EX | Trading Contract: External Document Number | TKONN_EX | CHAR | 30 | TKONN_EX | WKN_EX | |||
TKONN_EX_ROOT | Trading Contract: External Document Number | TKONN_EX | CHAR | 30 | TKONN_EX | WKN_EX | |||
PRICE_U | Contractual Value - Undiscounted | CMM_MTM_PU | CURR | 17(2) | CMM_MTM_KYFIG_AMNT | ||||
PRICE_D | Contractual Value - Discounted | CMM_MTM_PD | CURR | 17(2) | CMM_MTM_KYFIG_AMNT | ||||
MARKET_U | Market Value - Undiscounted | CMM_MTM_MU | CURR | 17(2) | CMM_MTM_KYFIG_AMNT | ||||
MARKET_D | Market Value - Discounted | CMM_MTM_MD | CURR | 17(2) | CMM_MTM_KYFIG_AMNT | ||||
MTM_U | Mark-to-Market - Undiscounted | CMM_MTM_MTM_U | CURR | 17(2) | CMM_MTM_KYFIG_AMNT | ||||
MTM_D | Mark-to-Market - Discounted | CMM_MTM_MTM_D | CURR | 17(2) | CMM_MTM_KYFIG_AMNT | ||||
PRICE_U_DOC | Contractual Value - Undiscounted | CMM_MTM_PU | CURR | 17(2) | CMM_MTM_KYFIG_AMNT | ||||
MARKET_U_DOC | Market Value - Undiscounted | CMM_MTM_MU | CURR | 17(2) | CMM_MTM_KYFIG_AMNT | ||||
MTM_U_DOC | Mark-to-Market - Undiscounted | CMM_MTM_MTM_U | CURR | 17(2) | CMM_MTM_KYFIG_AMNT | ||||
DATE_PYMNT | Payment Date | CMM_MTM_DATE_PYMNT | DATS | 8 | DATUM | ||||
COMMODITY | Physical Commodity | TBA_STOEFFCHEN | CHAR | 18 | TBAC_PHYSCOMM | TBA_STOEFFCHEN | |||
STWAE | Statistics currency | STWAE | CUKY | 5 | TCURC | WAERS | |||
MGAME | Quantity | CMM_MTM_MENGE_D | QUAN | 17(3) | CMM_MTM_KYFIG_QUAN | ||||
VRKME | Sales unit | VRKME | UNIT | 3 | T006 | CUNIT | MEINS | ||
MGLME | Quantity | CMM_MTM_MENGE_D | QUAN | 17(3) | CMM_MTM_KYFIG_QUAN | ||||
LAGME | Base Unit of Measure | LAGME | UNIT | 3 | T006 | CUNIT | MEINS | ||
MGAME_ADJ | Quantity | CMM_MTM_MENGE_D | QUAN | 17(3) | CMM_MTM_KYFIG_QUAN | ||||
MGLME_ADJ | Quantity | CMM_MTM_MENGE_D | QUAN | 17(3) | CMM_MTM_KYFIG_QUAN | ||||
COMMODITY_QUAN_P | Commodity Quantity | CMM_MTM_QUAN_COMM | QUAN | 17(3) | CMM_MTM_KYFIG_QUAN | ||||
COMMODITY_ADJ_P | Commodity Quantity | CMM_MTM_QUAN_COMM | QUAN | 17(3) | CMM_MTM_KYFIG_QUAN | ||||
COMMODITY_UOM_P | Unit of Measure for Commodity | CMM_MTM_QUAN_COMMUOM | UNIT | 3 | T006 | CUNIT | MEINS | ||
COMMODITY_RF_UOM_P | Reference unit of measure for proportion unit/product unit | REFME_WS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
COMMODITY_QUAN_M | Commodity Quantity | CMM_MTM_QUAN_COMM | QUAN | 17(3) | CMM_MTM_KYFIG_QUAN | ||||
COMMODITY_ADJ_M | Commodity Quantity | CMM_MTM_QUAN_COMM | QUAN | 17(3) | CMM_MTM_KYFIG_QUAN | ||||
COMMODITY_UOM_M | Unit of Measure for Commodity | CMM_MTM_QUAN_COMMUOM | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
COMMODITY_RF_UOM_M | Reference unit of measure for proportion unit/product unit | REFME_WS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
FACT_ASSIGNED | Factor for Remaining MtM Calculation | CMM_MTM_FACT_OPEN | D34D | 16(14) | CMM_MTM_FACT_OPEN | ||||
SPMON | Period to analyze - month | SPMON | NUMC | 6 | PERI | MCPERIOD | |||
SPTAG | Period to analyze - current date | SPTAG | DATS | 8 | DATUM | ||||
SPWOC | Period to analyze - week | SPWOC | NUMC | 6 | PERI | MCPERIOD |
Key field | Non-key field |
How do I retrieve data from SAP structure CMM_MTM_AGGREGATED_DIS using ABAP code?
As CMM_MTM_AGGREGATED_DIS 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_DIS as there is no data to select.How to access SAP table CMM_MTM_AGGREGATED_DIS
Within an ECC or HANA version of SAP you can also view further information about CMM_MTM_AGGREGATED_DIS and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects