The CPEC_ROUTINE table in SAP ERP or S/4HANA stores CPE Routine data. There are total 6 fields in CPEC_ROUTINE table. The CPE Routine 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 CPEC_ROUTINE table. It is in Commodity Pricing Engine: Basic Objects (CPE_BASIS) ABAP package and is part of the Commodity Pricing Engine (CA-GTF-CPE) module.
SAP CPEC_ROUTINE Table Fields
Following is the list of fields that are available in SAP CPEC_ROUTINE table. The primary key fields of the table are CLIENT (Client), LOGSYS (Logical system), CPE_MODULE (CPE – Module of the Commodity Pricing Engine), SUBMODULE (CPE Log – Submodule), CPE_ROUTINE (CPE – Routine).
| Field | Description | Data Element | Check Table | Data Type |
|---|---|---|---|---|
| CLIENT | Client | MANDT | CLNT (3) | |
| LOGSYS | Logical system | LOGSYS | CHAR (10) | |
| CPE_MODULE | CPE – Module of the Commodity Pricing Engine | CPET_MODULE | CHAR (2) | |
| SUBMODULE | CPE Log – Submodule | CPET_LOG_SUBMODULE | CPEC_LOGSUBMOD | CHAR (2) |
| CPE_ROUTINE | CPE – Routine | CPET_ROUTINE | NUMC (7) | |
| JAVACLASSNAME | CPE – Java Class or Interface Name | CPET_JAVACLASSNAME | CHAR (255) |


