I_CommodityPricingRoutine
CPE Routine
I_CommodityPricingRoutine is a Basic CDS View that provides data about "CPE Routine" in SAP S/4HANA. It reads from 1 data source (cpec_routine) and exposes 6 fields with key fields OriginSystem, PricingConditionModule, PricingConditionSubModule, PricingConditionRoutine. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cpec_routine | cpec_routine | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_CommodityPricingRoutineText | _Text | _Text.OriginSystem = $projection.OriginSystem and _Text.PricingConditionModule = $projection.PricingConditionModule and _Text.PricingConditionSubModule = $projection.PricingConditionSubModule and _Text.PricingConditionRoutine = $projection.PricingConditionRoutine |
| [1..1] | I_LogicalSystem | _OriginSystem | $projection.OriginSystem = _OriginSystem.LogicalSystem |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IROUTINE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | CPE Routine | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.representativeKey | PricingConditionRoutine | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OriginSystem | logsys | ||
| KEY | PricingConditionModule | cpe_module | ||
| KEY | PricingConditionSubModule | submodule | ||
| KEY | PricingConditionRoutine | cpe_routine | ||
| _Text | _Text | |||
| _OriginSystem | _OriginSystem |
@AbapCatalog.sqlViewName: 'IROUTINE'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'CPE Routine'
@VDM.viewType: #BASIC
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.representativeKey: 'PricingConditionRoutine'
define view I_CommodityPricingRoutine
as select from cpec_routine
association [1..*] to I_CommodityPricingRoutineText as _Text on _Text.OriginSystem = $projection.OriginSystem
and _Text.PricingConditionModule = $projection.PricingConditionModule
and _Text.PricingConditionSubModule = $projection.PricingConditionSubModule
and _Text.PricingConditionRoutine = $projection.PricingConditionRoutine
association [1..1] to I_LogicalSystem as _OriginSystem on $projection.OriginSystem = _OriginSystem.LogicalSystem
{
@ObjectModel.foreignKey.association: '_OriginSystem'
key logsys as OriginSystem,
key cpe_module as PricingConditionModule,
key submodule as PricingConditionSubModule,
@ObjectModel.text.association: '_Text'
key cpe_routine as PricingConditionRoutine,
_Text,
_OriginSystem
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"CPEC_ROUTINE"
],
"ASSOCIATED":
[
"I_COMMODITYPRICINGROUTINETEXT",
"I_LOGICALSYSTEM"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA