CMFIMSG SAP (Internal structure for collecting messages from 2.2) Structure details
Description: Internal structure for collecting messages from 2.2
Structure field list including key, data, relationships and ABAP select examples
CMFIMSG 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 structure for collecting messages from 2.2" 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_CMFIMSG TYPE CMFIMSG.
The CMFIMSG table consists of various fields, each holding specific information or linking keys about Internal structure for collecting messages from 2.2 data available in SAP. These include MANDT (Client), APLID (Error Management in the Application), NR (Error Management Number), MSGCNT (Total Number of System Messages).. 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: Cannot Be Enhanced
SAP CMFIMSG 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
APLID | Error Management in the Application | CM_APLID | CHAR | 4 | TCMF6 | CMF_ID | |||
NR | Error Management Number | CMF_NR | NUMC | 12 | NUMC12 | ||||
MSGCNT | Total Number of System Messages | CMF_MSGCNT | NUMC | 5 | NUMC | ||||
ARBGB | Application Area | ARBGB | CHAR | 20 | T100A | ARBGB | MAG | ||
MSGTY | Message Type | SYMSGTY | CHAR | 1 | SYCHAR01 | ||||
MSGNR | Message number | MSGNR | CHAR | 3 | T100 | MSGNR | |||
MSGV1 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGV2 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGV3 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGV4 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
SPRAS | Language Key | SPRAS | LANG | 1 | T002 | ISOLA | SPRAS | SPR | H_T002 |
OBJKZ | Object-Dependent System Message | CMF_OBJKZ | CHAR | 1 | XFELD | ||||
OBJECT | Application-Indep. Object for Which Messages Are Collected | CMF_OBJECT | CHAR | 100 | CHAR100 | ||||
SUBOBJ | Applic.-Independent Subobject for Which Msgs Are Collected | CMF_SUBOBJ | CHAR | 60 | CHAR60 | ||||
DUPCOUNT | Number of Times a Message Recurred | CMF_COUNT | NUMC | 4 | NUMC4 | ||||
VBFIX | Predefined Area of Responsibility | CMF_VBFIX | NUMC | 2 | CMF_VBFIX | ||||
VEBE | Area of Responsibility | CMF_VEBE | NUMC | 2 | TCMF3 | CMF_VEBE | |||
VBSPZ | Specification: Area of Responsibility | CMF_VBSPZ | CHAR | 10 | CMF_VBSPZ | ||||
GRU1 | Grouping Term 1 | CMF_GRUP | CHAR | 10 | CMF_GRUP | ||||
GRU2 | Grouping Term 1 | CMF_GRUP | CHAR | 10 | CMF_GRUP | ||||
OCSKZ | Indicator: Message Sent via OCS | CMF_OCSKZ | CHAR | 1 | XFELD | ||||
DATUM | Date on Which Error Log Was Generated | CMF_DATUM | DATS | 8 | DATUM | ||||
UZEIT | Time | UZEIT | TIMS | 6 | UZEIT | ||||
KOKRS | Controlling Area | KOKRS | CHAR | 4 | TKA01 | CACCD | CAC | ||
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
USEREXITT | Application Log: Callback: Type (Ext. Perform, FM, etc.) | BALUET | CHAR | 1 | BALUET | ||||
USEREXITP | Application Log: Callback: Program name | BALUEP | CHAR | 40 | PROGNAME | ||||
USEREXITF | Application Log: Callback: Routine name | BALUEF | CHAR | 30 | CHAR30 | ||||
LOGSYS | Logical Destination (Specified in Function Call) | RFCDEST | CHAR | 32 | Assigned to domain | RFCDEST | RFC | F4_RFCDESTYPEALL | |
TEXT | Message Text | NATXT | CHAR | 73 | NATXT | ||||
SELKZ | Selection flag | SELKZ | CHAR | 1 | SELKZ | ||||
V61B_SELKZ | Selection flag | SELKZ | CHAR | 1 | SELKZ | ||||
INDEX | Row Index of Internal Tables | SYTABIX | INT4 | 10 | SYST_LONG | ||||
IXMSGPAR | Row Index of Internal Tables | SYTABIX | INT4 | 10 | SYST_LONG |
Key field | Non-key field |
How do I retrieve data from SAP structure CMFIMSG using ABAP code?
As CMFIMSG 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 CMFIMSG as there is no data to select.How to access SAP table CMFIMSG
Within an ECC or HANA version of SAP you can also view further information about CMFIMSG 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