CPEC_FORMULA SAP (CPE Formula) Table details

Dictionary Type: Table
Description: CPE Formula




ABAP Code to SELECT data from CPEC_FORMULA
Related tables to CPEC_FORMULA
Access table CPEC_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 cust
Display/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
CLIENTClient MANDTCLNT3Assigned to domainMANDT
LOGSYSLogical system LOGSYSCHAR10TBDLSALPHALOGSYS
FORMIDCPE Formula - Key CPET_FORMIDCHAR10CPE_FORMIDCPE_FORMID
COND_TYPECPE: Condition Type for Commodity Pricing CPET_COND_TYPECHAR4Assigned to domainKSCHLCPE_COND_TYPE
VALIDTOCPE - 'Valid From' Time Stamp of Commodity Pricing Object CPET_VALIDFROMCHAR14TSTPSCPE_TIMESTAMPCPE_TIMESTAMP
FORMCOMMUOMCPE Formula - Unit of Measure of Commodity Used in Formula CPET_FORMCOMMUOMUNIT3T006CUNITMEINS
FORMCURRCPE Formula - Currency CPET_FORMCURRCUKY5TCURCWAERS
FORMPRUNCPE Formula - Price Unit CPET_FORMPRUNDEC5CPE_PRUN
FORMUOMCPE Formula - Unit of Measure CPET_FORMUOMUNIT3T006CUNITMEINS
FORMEVALROUTCPE Formula - Routine for Evaluation CPET_FORMEVALROUTNUMC7CPEC_ROUTINECPE_ROUTINECPE_ROUTINE
COMBROUTCPE Formula - Routine for Combining Terms CPET_COMBROUTNUMC7CPEC_ROUTINECPE_ROUTINECPE_ROUTINE
QUANSPLITROUTCPE Term - Routine f. Splitting the Commodity Qty into Terms CPET_QUANSPLITROUTNUMC7CPEC_ROUTINECPE_ROUTINECPE_ROUTINE
FORMQUANCONVCPE - Quantity Conv. Rule from Product UoM to Commodity UoM CPET_QUANCNV_FORMCHAR5CPEC_QUANCONVALPHACPE_RULECPE_QUANCONVRULE
QUANCNV_COMMCPE - Comm. Qty for Conversion from Product UoM to Comm. UoM CPET_QUANCNV_COMMQUAN15(3) CPE_QUANTITY
QUANCNV_ITEMCPE - Item Qty for Conversion from Product UoM to Comm. UoM CPET_QUANCNV_ITEMQUAN15(3) CPE_QUANTITY
ITEMPRODUOMCPE Caller - Unit of Measure of Product in Document Item CPET_ITEMPRODUOMUNIT3Assigned to domainCUNITMEINS
R3ACCURACYCPE - Evaluation with ABAP Accuracy CPET_R3ACCURACYCHAR1CHAR1

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 table
DATA: 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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!