The COMPMSG table in SAP ERP or S/4HANA stores Messages from checks for leveling steps data. There are total 13 fields in COMPMSG table. The Messages from checks for leveling steps table is available in all major SAP S/4HANA versions, is implemented as a Column Store table within the SAP HANA database. Additionally we provide an overview of the structure and fields of COMPMSG table. It is in Application development Order Change Management (COCM) ABAP package and is part of the Production Orders (PP-SFC) module.
SAP COMPMSG Table Fields
Following is the list of fields that are available in SAP COMPMSG table. The primary key fields of the table are MANDT (Client), COMPNUM (Unambiguous identification number of a comparison result), COMPCNT (Counter for result of individual comparison), COMPOBJ (Data objects of a task list), MESGCNT (Counter).
| Field | Description | Data Element | Check Table | Data Type |
|---|---|---|---|---|
| MANDT | Client | MANDT | * | CLNT (3) |
| COMPNUM | Unambiguous identification number of a comparison result | COMPNUM | NUMC (10) | |
| COMPCNT | Counter for result of individual comparison | COMPCNT | NUMC (6) | |
| COMPOBJ | Data objects of a task list | CP_OBJECT | CHAR (1) | |
| MESGCNT | Counter | COUNT | NUMC (3) | |
| MSGTY | Message type (E, I, W, …) | MSGTY_CO | CHAR (1) | |
| TEXT | Message Text | NATXT | CHAR (73) | |
| ARBGB | Application Area | ARBGB | * | CHAR (20) |
| TXTNR | Message number | MSGNR | * | CHAR (3) |
| MSGV1 | Message Variable | SYMSGV | CHAR (50) | |
| MSGV2 | Message Variable | SYMSGV | CHAR (50) | |
| MSGV3 | Message Variable | SYMSGV | CHAR (50) | |
| MSGV4 | Message Variable | SYMSGV | CHAR (50) |


