CPET_DEFCALCRULE_COM SAP (CPE - Communication Structure for Default Calculation Rule) Structure details
Description: CPE - Communication Structure for Default Calculation Rule
Related tables to CPET_DEFCALCRULE_COM
Access table CPET_DEFCALCRULE_COM
Structure field list including key, data, relationships and ABAP select examples
CPET_DEFCALCRULE_COM is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "CPE - Communication Structure for Default Calculation Rule" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_CPET_DEFCALCRULE_COM TYPE CPET_DEFCALCRULE_COM.
The CPET_DEFCALCRULE_COM table consists of various fields, each holding specific information or linking keys about CPE - Communication Structure for Default Calculation Rule data available in SAP. These include COND_TYPE (CPE: Condition Type for Commodity Pricing), TERMNO (CPE Term - Number in Formula), CALCRULE (CPE Term - Calculation Rule), RULETEXT (Description).. 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:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP CPET_DEFCALCRULE_COM structure 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 |
DOC_GUID | CPE Caller - GUID of Document Header | CPET_DOC_GUID | RAW | 16 | SYSUUID | ||||
COND_TYPE | CPE: Condition Type for Commodity Pricing | CPET_COND_TYPE | CHAR | 4 | Assigned to domain | KSCHL | CPE_COND_TYPE | ||
TERMNO | CPE Term - Number in Formula | CPET_TERMNO | NUMC | 5 | NUMC5 | ||||
CALCRULE | CPE Term - Calculation Rule | CPET_CALCRULE | CHAR | 5 | ALPHA | CPE_RULE | CPE_CALCRULE | ||
RULETEXT | Description | BEZEI40 | CHAR | 40 | TEXT40 | ||||
VALIDFROM | CPE - 'Valid From' Time Stamp of Commodity Pricing Object | CPET_VALIDFROM | CHAR | 14 | TSTPS | CPE_TIMESTAMP | CPE_TIMESTAMP | ||
CALCROUT | CPE Term - Calculation Routine | CPET_CALCROUT | NUMC | 7 | CPEC_ROUTINE | CPE_ROUTINE | CPE_ROUTINE | ||
CALCMIN | CPE Term - Minimum of Commodity Rate Calculation | CPET_CALCMIN | CURR | 15(2) | CPE_AMOUNT | ||||
CALCMAX | CPE Term - Maximum of Commodity Rate Calculation | CPET_CALCMAX | CURR | 15(2) | CPE_AMOUNT | ||||
CALCMMCURR | CPE Term - Currency of Rate Calculation Limits | CPET_CALCMMCURR | CUKY | 5 | TCURC | WAERS | |||
CALCMMPRUN | CPE Term - Price Unit of Rate Calculation Limits | CPET_CALCMMPRUN | DEC | 5 | CPE_PRUN | ||||
CALCMMUOM | CPE Term - Unit of Measure for Rate Limits | CPET_CALCMMUOM | UNIT | 3 | T006 | CUNIT | MEINS | ||
ROUTTEXT | Description | BEZEI40 | CHAR | 40 | TEXT40 | ||||
FLAG | Checkbox in Reporting | CHECKBOX | CHAR | 1 | FUNC |
Key field | Non-key field |
How do I retrieve data from SAP structure CPET_DEFCALCRULE_COM using ABAP code?
As CPET_DEFCALCRULE_COM is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on CPET_DEFCALCRULE_COM as there is no data to select.How to access SAP table CPET_DEFCALCRULE_COM
Within an ECC or HANA version of SAP you can also view further information about CPET_DEFCALCRULE_COM 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