CMIG_KEYCLS SAP (Internal Key for Classic Object) Structure details
Description: Internal Key for Classic Object
Structure field list including key, data, relationships and ABAP select examples
CMIG_KEYCLS 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 "Internal Key for Classic Object" 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_KEYCLS TYPE CMIG_KEYCLS.
The CMIG_KEYCLS table consists of various fields, each holding specific information or linking keys about Internal Key for Classic Object data available in SAP. These include STLNR (Bill of material), STLAL (Alternative BOM), STKOZ (Internal counter), STVKN (Inherited node number of BOM item).. 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_KEYCLS 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 |
STLTY | BOM category | STLTY | CHAR | 1 | STZU | STLTY | |||
STLNR | Bill of material | STNUM | CHAR | 8 | STZU | NUMCV | STNUM | STLNR | |
STLAL | Alternative BOM | STALT | CHAR | 2 | STKO | ALPHA | ALTNR | ||
STKOZ | Internal counter | CIM_COUNT | NUMC | 8 | STKO | CIM_COUNT | |||
STVKN | Inherited node number of BOM item | STVKN | NUMC | 8 | STPO | KNTNR | |||
STLKN | BOM item node number | STLKN | NUMC | 8 | STPO | KNTNR | |||
PLNTY | Task List Type | PLNTY | CHAR | 1 | TCA01 | PLNTY | PTY | H_TCA01 | |
PLNNR | Key for Task List Group | PLNNR | CHAR | 8 | ALPHA | PLNNR | PLN | PLKS | |
PLNAL | Group Counter | PLNAL | CHAR | 2 | ALPHA | ALTNR | PAL | ||
PLNKN | Number of the task list node | PLNKN | NUMC | 8 | KNTNR | ||||
PLNFL | Sequence | PLNFOLGE | CHAR | 6 | ALPHA | PLNFOLGE | |||
ZAEHL | Internal counter | CIM_COUNT | NUMC | 8 | CIM_COUNT |
Key field | Non-key field |
How do I retrieve data from SAP structure CMIG_KEYCLS using ABAP code?
As CMIG_KEYCLS 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_KEYCLS as there is no data to select.How to access SAP table CMIG_KEYCLS
Within an ECC or HANA version of SAP you can also view further information about CMIG_KEYCLS 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