COMH SAP (PP-PI: Header Data for Process Messages) Table details
Dictionary Type: Table
Description: PP-PI: Header Data for Process Messages
Description: PP-PI: Header Data for Process Messages
Table field list including key, data, relationships and ABAP select examples
COMH is a standard SAP Table which is used to store PP-PI: Header Data for Process Messages data and is available within R/3 SAP systems depending on the version and release level.
The COMH table consists of various fields, each holding specific information or linking keys about PP-PI: Header Data for Process Messages data available in SAP. These include MSID (Number of the Process Message), WERK (Plant), MSCLA (Process Message Category), TSTKZ (Indicator: Message or Control Recipe for Test Purposes).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)
SAP COMH table 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 | |||
MSID | Number of the Process Message | CO_MSID | NUMC | 18 | CO_MSID | ||||
WERK | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
MSCLA | Process Message Category | CO_MELDG | CHAR | 8 | TC50 | CO_COSTR | MEC | ||
TSTKZ | Indicator: Message or Control Recipe for Test Purposes | TSTKZ | CHAR | 1 | FLAG | ||||
SEDAT | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
SEUZT | Time when the record was created | ANUZT | TIMS | 6 | UZEIT | ||||
SOURCE | Sender of the process message | CO_SOURCE | CHAR | 32 | CHAR32 | ||||
ERRKZ | Processing status of the process message/the control recipe | CO_ERRKZ | CHAR | 1 | CHAR1 | ||||
ARFCIPID | Host ID (IP ID | ARFCIPID | CHAR | 8 | ARFCIPID | ||||
ARFCPID | Process ID | ARFCPID | CHAR | 4 | ARFCPID | ||||
ARFCTIME | Time Stamp | ARFCTIME | CHAR | 8 | ARFCTIME | ||||
ARFCTIDCNT | Transaction ID (LUW -> COMMIT WORK) | ARFCTIDCNT | CHAR | 4 | ARFCTIDCNT | ||||
SNDALL | Indicator: Send message to all destinations or not at all | CO_SNDALL | CHAR | 1 | XFLAG | ||||
AUFNR | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR |
Key field | Non-key field |
How do I retrieve data from SAP table COMH using ABAP code
The following ABAP code Example will allow you to do a basic selection on COMH to SELECT all data from the tableDATA: WA_COMH TYPE COMH.
SELECT SINGLE *
FROM COMH
INTO CORRESPONDING FIELDS OF WA_COMH
WHERE...
How to access SAP table COMH
Within an ECC or HANA version of SAP you can also view further information about COMH 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