PRH_CPET_CALCULATION SAP (CPE Calculation) Structure details

Dictionary Type: Structure
Description: CPE Calculation




ABAP Code to SELECT data from PRH_CPET_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_GUIDCPE Caller - GUID of Document Item CPET_DOCITEM_GUIDRAW16SYSUUID
COND_TYPECPE: Condition Type for Commodity Pricing CPET_COND_TYPECHAR4Assigned to domainKSCHLCPE_COND_TYPE
TERMNOCPE Term - Number in Formula CPET_TERMNONUMC5NUMC5
CALCRULECPE Term - Calculation Rule CPET_CALCRULECHAR5ALPHACPE_RULECPE_CALCRULE
RULETEXTDescription BEZEI40CHAR40TEXT40
VALIDFROMCPE - 'Valid From' Time Stamp of Commodity Pricing Object CPET_VALIDFROMCHAR14TSTPSCPE_TIMESTAMPCPE_TIMESTAMP
CALCROUTCPE Term - Calculation Routine CPET_CALCROUTNUMC7CPEC_ROUTINECPE_ROUTINECPE_ROUTINE
CALCMINCPE Term - Minimum of Commodity Rate Calculation CPET_CALCMINCURR15(2) CPE_AMOUNT
CALCMAXCPE Term - Maximum of Commodity Rate Calculation CPET_CALCMAXCURR15(2) CPE_AMOUNT
CALCMMCURRCPE Term - Currency of Rate Calculation Limits CPET_CALCMMCURRCUKY5TCURCWAERS
CALCMMPRUNCPE Term - Price Unit of Rate Calculation Limits CPET_CALCMMPRUNDEC5CPE_PRUN
CALCMMUOMCPE Term - Unit of Measure for Rate Limits CPET_CALCMMUOMUNIT3T006CUNITMEINS
ROUTTEXTDescription BEZEI40CHAR40TEXT40
QUOTATIONCPE Term - Calculated Quotation CPET_QUOTATIONCURR15(2) CPE_AMOUNT
QUOTCURRQuotation Currency CPET_QUOTCURRCUKY5TCURCWAERS
QUOTPRUNPrice Unit of Quotation CPET_QUOTPRUNDEC5CPE_PRUN
QUOTUOMUnit of Measure of Quotation CPET_QUOTUOMUNIT3T006CUNITMEINS
CALC_LIMITUSEDCPE Term - Used Limit of Calculation Rule CPET_LIMITUSEDNUMC1CPE_LIMITUSED
QUOT_UOMSUBSTCPE Term - Unit of Measure Substitution for Quotations CPET_UOMSUB_QUOTCHAR1CHAR1
CALC_LIMITTEXTDescription BEZEI40CHAR40TEXT40

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 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!