CMIG_MAST SAP (Enhanced MAST Structure) Structure details

Dictionary Type: Structure
Description: Enhanced MAST Structure




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




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

CMIG_MAST 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 "Enhanced MAST 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_CMIG_MAST TYPE CMIG_MAST.

The CMIG_MAST table consists of various fields, each holding specific information or linking keys about Enhanced MAST Structure data available in SAP. These include MANDT (Client), MATNR (Material Number), WERKS (Plant), STLAN (BOM Usage).. 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: Not classified


SAP CMIG_MAST 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
MANDTClient MANDTCLNT3T000MANDT
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
STLANBOM Usage STLANCHAR1T416STLANCSV
STLNRBill of material STNUMCHAR8NUMCVSTNUMSTLNR
STLALAlternative BOM STALTCHAR2ALPHAALTNR
LOSVNFrom Lot Size LOSVNQUAN13(3) MENG13
LOSBSTo Lot Size LOSBSQUAN13(3) MENG13
ANDATDate record created on ANDATDATS8DATUM
ANNAMUser who created record ANNAMCHAR12USNAM
AEDATChanged On AEDATDATS8DATUM
AENAMName of Person Who Changed Object AENAMCHAR12USNAM
CSLTYIndicator: configured material (material variant) CSLTYCHAR1XFELD
LOSMELot-size unit CS_LOSMEUNIT3Assigned to domainCUNITMEINS
HANDLEInternal ID of an object HANDLEINT410OBZAE
TPTESTChar 20 CHAR20CHAR20CHAR20

Key field Non-key field



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

As CMIG_MAST 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 CMIG_MAST as there is no data to select.

How to access SAP table CMIG_MAST

Within an ECC or HANA version of SAP you can also view further information about CMIG_MAST 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!