PRH_CPET_CALCULATION SAP (CPE Calculation) Structure details
Description: CPE Calculation
Related tables to PRH_CPET_CALCULATION
Access table PRH_CPET_CALCULATION
Structure field list including key, data, relationships and ABAP select examples
PRH_CPET_CALCULATION 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 Calculation" 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_PRH_CPET_CALCULATION TYPE PRH_CPET_CALCULATION.
The PRH_CPET_CALCULATION table consists of various fields, each holding specific information or linking keys about CPE Calculation 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: Can be enhanced (character-type or numeric)
SAP PRH_CPET_CALCULATION 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 |
DOCITEM_GUID | CPE Caller - GUID of Document Item | CPET_DOCITEM_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 | ||||
QUOTATION | CPE Term - Calculated Quotation | CPET_QUOTATION | CURR | 15(2) | CPE_AMOUNT | ||||
QUOTCURR | Quotation Currency | CPET_QUOTCURR | CUKY | 5 | TCURC | WAERS | |||
QUOTPRUN | Price Unit of Quotation | CPET_QUOTPRUN | DEC | 5 | CPE_PRUN | ||||
QUOTUOM | Unit of Measure of Quotation | CPET_QUOTUOM | UNIT | 3 | T006 | CUNIT | MEINS | ||
CALC_LIMITUSED | CPE Term - Used Limit of Calculation Rule | CPET_LIMITUSED | NUMC | 1 | CPE_LIMITUSED | ||||
QUOT_UOMSUBST | CPE Term - Unit of Measure Substitution for Quotations | CPET_UOMSUB_QUOT | CHAR | 1 | CHAR1 | ||||
CALC_LIMITTEXT | Description | BEZEI40 | CHAR | 40 | TEXT40 |
Key field | Non-key field |
How do I retrieve data from SAP structure PRH_CPET_CALCULATION using ABAP code?
As PRH_CPET_CALCULATION 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 PRH_CPET_CALCULATION as there is no data to select.How to access SAP table PRH_CPET_CALCULATION
Within an ECC or HANA version of SAP you can also view further information about PRH_CPET_CALCULATION 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