CPEC_FORMULA SAP (CPE Formula) Table details
Dictionary Type: Table
Description: CPE Formula
Description: CPE Formula
Table field list including key, data, relationships and ABAP select examples
CPEC_FORMULA is a standard SAP Table which is used to store CPE Formula data and is available within R/3 SAP systems depending on the version and release level.
The CPEC_FORMULA table consists of various fields, each holding specific information or linking keys about CPE Formula data available in SAP. These include LOGSYS (Logical system), FORMID (CPE Formula - Key), COND_TYPE (CPE: Condition Type for Commodity Pricing), VALIDTO (CPE - 'Valid From' Time Stamp of Commodity Pricing Object).. 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: C - Customising table, maintenance only by custDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
Text table = CPEC_FORMULA_T
SAP CPEC_FORMULA 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 |
CLIENT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
LOGSYS | Logical system | LOGSYS | CHAR | 10 | TBDLS | ALPHA | LOGSYS | ||
FORMID | CPE Formula - Key | CPET_FORMID | CHAR | 10 | CPE_FORMID | CPE_FORMID | |||
COND_TYPE | CPE: Condition Type for Commodity Pricing | CPET_COND_TYPE | CHAR | 4 | Assigned to domain | KSCHL | CPE_COND_TYPE | ||
VALIDTO | CPE - 'Valid From' Time Stamp of Commodity Pricing Object | CPET_VALIDFROM | CHAR | 14 | TSTPS | CPE_TIMESTAMP | CPE_TIMESTAMP | ||
FORMCOMMUOM | CPE Formula - Unit of Measure of Commodity Used in Formula | CPET_FORMCOMMUOM | UNIT | 3 | T006 | CUNIT | MEINS | ||
FORMCURR | CPE Formula - Currency | CPET_FORMCURR | CUKY | 5 | TCURC | WAERS | |||
FORMPRUN | CPE Formula - Price Unit | CPET_FORMPRUN | DEC | 5 | CPE_PRUN | ||||
FORMUOM | CPE Formula - Unit of Measure | CPET_FORMUOM | UNIT | 3 | T006 | CUNIT | MEINS | ||
FORMEVALROUT | CPE Formula - Routine for Evaluation | CPET_FORMEVALROUT | NUMC | 7 | CPEC_ROUTINE | CPE_ROUTINE | CPE_ROUTINE | ||
COMBROUT | CPE Formula - Routine for Combining Terms | CPET_COMBROUT | NUMC | 7 | CPEC_ROUTINE | CPE_ROUTINE | CPE_ROUTINE | ||
QUANSPLITROUT | CPE Term - Routine f. Splitting the Commodity Qty into Terms | CPET_QUANSPLITROUT | NUMC | 7 | CPEC_ROUTINE | CPE_ROUTINE | CPE_ROUTINE | ||
FORMQUANCONV | CPE - Quantity Conv. Rule from Product UoM to Commodity UoM | CPET_QUANCNV_FORM | CHAR | 5 | CPEC_QUANCONV | ALPHA | CPE_RULE | CPE_QUANCONVRULE | |
QUANCNV_COMM | CPE - Comm. Qty for Conversion from Product UoM to Comm. UoM | CPET_QUANCNV_COMM | QUAN | 15(3) | CPE_QUANTITY | ||||
QUANCNV_ITEM | CPE - Item Qty for Conversion from Product UoM to Comm. UoM | CPET_QUANCNV_ITEM | QUAN | 15(3) | CPE_QUANTITY | ||||
ITEMPRODUOM | CPE Caller - Unit of Measure of Product in Document Item | CPET_ITEMPRODUOM | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
R3ACCURACY | CPE - Evaluation with ABAP Accuracy | CPET_R3ACCURACY | CHAR | 1 | CHAR1 |
Key field | Non-key field |
How do I retrieve data from SAP table CPEC_FORMULA using ABAP code
The following ABAP code Example will allow you to do a basic selection on CPEC_FORMULA to SELECT all data from the tableDATA: WA_CPEC_FORMULA TYPE CPEC_FORMULA.
SELECT SINGLE *
FROM CPEC_FORMULA
INTO CORRESPONDING FIELDS OF WA_CPEC_FORMULA
WHERE...
How to access SAP table CPEC_FORMULA
Within an ECC or HANA version of SAP you can also view further information about CPEC_FORMULA 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