MCCOMP SAP (Material Components) Structure details
Description: Material Components
Structure field list including key, data, relationships and ABAP select examples
MCCOMP 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 "Material Components" 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_MCCOMP TYPE MCCOMP.
The MCCOMP table consists of various fields, each holding specific information or linking keys about Material Components data available in SAP. These include RSNUM (Number of Reservation/Dependent Requirement), RSPOS (Item Number of Reservation/Dependent Requirement), WERKS (Plant), MATNR (Material 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 MCCOMP 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 |
AUFNR | Order Number | AUFNR | CHAR | 12 | AUFK | ALPHA | AUFNR | ANR | |
RSNUM | Number of Reservation/Dependent Requirement | RSNUM | NUMC | 10 | Assigned to domain | RSNUM | RES | ||
RSPOS | Item Number of Reservation/Dependent Requirement | RSPOS | NUMC | 4 | RSPOS | RPO | |||
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
LGORT | Storage Location | LGORT_D | CHAR | 4 | T001L | LGORT | LAG | ||
CHARG | Batch Number | CHARG_D | CHAR | 10 | MCH1 | CHARG | CHA | ||
BDMNG | Requirement Quantity | MC_BDMNG | QUAN | 15(3) | MENGV15 | ||||
ENMNG | Quantity withdrawn | MC_ENMNG | QUAN | 15(3) | MENGV15 | ||||
ENWRT | Issued Value | MC_ENWRT | CURR | 19(2) | WERTV10 | ||||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | T006 | CUNIT | MEINS | ||
WAERS | Currency Key | WAERS | CUKY | 5 | TCURC | WAERS | FWS | ||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | T148 | SOBKZ | |||
SHKZG | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
KDAUF | Sales Order Number | KDAUF | CHAR | 10 | VBUK | ALPHA | VBELN | AUN | |
KDPOS | Item Number in Sales Order | KDPOS | NUMC | 6 | NUM06 | KPO | |||
KDEIN | Delivery Schedule for Sales Order | KDEIN | NUMC | 4 | NUM04 | ||||
BWART | Movement Type (Inventory Management) | BWART | CHAR | 3 | T156 | BWART | BWA | ||
GSBER | Business Area | GSBER | CHAR | 4 | TGSB | GSBER | GSB | ||
UMWRK | Receiving/Issuing Plant | UMWRK | CHAR | 4 | T001W | WERKS | |||
UMLGO | Receiving/Issuing Storage Location | UMLGO | CHAR | 4 | T001L | LGORT | |||
AMGLG | Scrap quantity | AUMNG | QUAN | 13(3) | MENGV13 | ||||
ZMNG | Target consumption quantity | MC_ZMNG | QUAN | 15(3) | MENGV15 | ||||
MATEFF | Material efficiency | MC_MATEFF | QUAN | 15(3) | MENGV15 | ||||
BUDAT | Posting date of last goods issue | MC_BUDTCMP | DATS | 8 | DATUM | ||||
ARBID | Object ID | OBJEKTID | NUMC | 8 | NUM08 | PON | |||
IDNRK | BOM component | IDNRK | CHAR | 18 | Assigned to domain | MATN1 | MATNR | ||
A | Dummy function in length 1 | DUMMY | CHAR | 1 | DUMMY | ||||
DUMMY | Dummy function in length 1 | DUMMY | CHAR | 1 | DUMMY | ||||
MB_GRUND | Reason for Movement | MB_GRBEW | NUMC | 4 | T157D | MB_GRBEW |
Key field | Non-key field |
How do I retrieve data from SAP structure MCCOMP using ABAP code?
As MCCOMP 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 MCCOMP as there is no data to select.How to access SAP table MCCOMP
Within an ECC or HANA version of SAP you can also view further information about MCCOMP 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