The COMT_EXT_TEMPH table in SAP ERP or S/4HANA stores Template for Extension Tables History data. There are total 10 fields in COMT_EXT_TEMPH table. The Template for Extension Tables History 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 COMT_EXT_TEMPH table. It is in Templates for Generating Set Types (COM_SETTYPE_TEMPLATES) ABAP package and is part of the Set Types and Attributes (AP-MD-PRO-SET) module.
SAP COMT_EXT_TEMPH Table Fields
Following is the list of fields that are available in SAP COMT_EXT_TEMPH table. The primary key fields of the table are CLIENT (Client), PRODUCT_GUID (Internal Unique ID of Product), VALID_TO (Valid To (Time Stamp)), KEY_FIELD1 (Character Field with Length 10).
| Field | Description | Data Element | Check Table | Data Type |
|---|---|---|---|---|
| CLIENT | Client | MANDT | * | CLNT (3) |
| PRODUCT_GUID | Internal Unique ID of Product | COMT_PRODUCT_GUID | RAW (16) | |
| VALID_TO | Valid To (Time Stamp) | COMT_VALID_TO | DEC (15) | |
| KEY_FIELD1 | Character Field with Length 10 | CHAR10 | CHAR (10) | |
| VALID_FROM | Valid From (Time Stamp) | COMT_VALID_FROM | DEC (15) | |
| UPNAME | Name of the User Who Last Changed the Set | COMT_UPNAME | CHAR (12) | |
| LOGSYS | Original System | COMT_LOGSYS | * | CHAR (10) |
| UPDATE_TYPE | Type of Change | UPDATE_TYPE | CHAR (1) | |
| FIELDNAME | Data Element for Templates | COMT_FLDNAME_TEMP | CHAR (10) | |
| ATTRIBUTE_SVU | Data Element for Templates | COMT_FLDNAME_TEMP | CHAR (10) |


