PRH_CPET_SURCHARGE SAP (CPE Surcharge) Structure details
Description: CPE Surcharge
Related tables to PRH_CPET_SURCHARGE
Access table PRH_CPET_SURCHARGE
Structure field list including key, data, relationships and ABAP select examples
PRH_CPET_SURCHARGE 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 Surcharge" 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_SURCHARGE TYPE PRH_CPET_SURCHARGE.
The PRH_CPET_SURCHARGE table consists of various fields, each holding specific information or linking keys about CPE Surcharge data available in SAP. These include COND_TYPE (CPE: Condition Type for Commodity Pricing), TERMNO (CPE Term - Number in Formula), SURCHARGERULE (CPE Term - Surcharge 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_SURCHARGE 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 | ||||
SURCHARGERULE | CPE Term - Surcharge Rule | CPET_SURCHARGERULE | CHAR | 5 | ALPHA | CPE_RULE | CPE_SURCHARGERULE | ||
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 | ||
ROUTTEXT | Description | BEZEI40 | CHAR | 40 | TEXT40 | ||||
SURCHARGEROUT | CPE Term - Surcharge Routine | CPET_SURCHARGEROUT | NUMC | 7 | CPEC_ROUTINE | CPE_ROUTINE | CPE_ROUTINE | ||
SURCHARGEABS | CPE Term - Absolute Surcharge for Commodity | CPET_SURCHARGEABS | CURR | 15(2) | CPE_AMOUNT | ||||
SURCHARGECURR | CPE Term - Currency of Absolute Surcharge | CPET_SURCHARGECURR | CUKY | 5 | TCURC | WAERS | |||
SURCHARGEPRUN | CPE Term - Price Unit of Absolute Surcharge | CPET_SURCHARGEPRUN | DEC | 5 | CPE_PRUN | ||||
SURCHARGEUOM | CPE Term - Unit of Measure of Absolute Surcharge | CPET_SURCHARGEUOM | UNIT | 3 | T006 | CUNIT | MEINS | ||
SURCHARGEFACTOR1 | CPE Term - Factor 1 when Combining Surcharge and Quotation | CPET_SURCHARGEFACTOR1 | DEC | 10(6) | CPE_FACTOR | ||||
SURCHARGEFACTOR2 | CPE Term - Factor 2 when Combining Surcharge and Quotation | CPET_SURCHARGEFACTOR2 | DEC | 10(6) | CPE_FACTOR | ||||
SURCHARGERATE | CPE Term - Total Surcharge for Commodity | CPET_SURCHARGERATE | CURR | 15(2) | CPE_AMOUNT | ||||
SURCHRATECURR | CPE Term - Currency of Absolute Surcharge | CPET_SURCHRATECURR | CUKY | 5 | TCURC | WAERS | |||
SURCHRATEPRUN | CPE Term - Price Unit of Absolute Surcharge | CPET_SURCHRATEPRUN | DEC | 5 | CPE_PRUN | ||||
SURCHRATEUOM | CPE Term - Unit of Measure of Absolute Surcharge | CPET_SURCHRATEUOM | UNIT | 3 | T006 | CUNIT | MEINS | ||
SURCH_UOMSUBST | CPE Term - Unit of Measure Substitution for Surcharge | CPET_UOMSUB_SUR | CHAR | 1 | CHAR1 |
Key field | Non-key field |
How do I retrieve data from SAP structure PRH_CPET_SURCHARGE using ABAP code?
As PRH_CPET_SURCHARGE 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_SURCHARGE as there is no data to select.How to access SAP table PRH_CPET_SURCHARGE
Within an ECC or HANA version of SAP you can also view further information about PRH_CPET_SURCHARGE 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