C_Distributioncentervh
Consumption-Dist Center Value Help
C_Distributioncentervh is a Consumption CDS View that provides data about "Consumption-Dist Center Value Help" in SAP S/4HANA. It reads from 1 data source (I_Plant) and exposes 4 fields with key field DistributionCenter. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Plant | DistributionCenter | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_PlantCategoryT | _PlantCategoryText | $projection.PlantCategory = _PlantCategoryText.PlantCategory |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CDCVH | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Consumption-Dist Center Value Help | view | |
| Search.searchable | true | view | |
| ObjectModel.representativeKey | DistributionCenter | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| Consumption.ranked | true | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DistributionCenter | |||
| PlantName | ||||
| PlantCategory | I_Plant | PlantCategory | ||
| _PlantCategoryText | _PlantCategoryText |
@AbapCatalog.sqlViewName: 'CDCVH'
@VDM.viewType: #CONSUMPTION
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Consumption-Dist Center Value Help'
@Search.searchable: true
@ObjectModel.representativeKey: 'DistributionCenter'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory : #S
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.dataCategory: #VALUE_HELP
@Consumption.ranked: true
define view C_Distributioncentervh
as select from I_Plant as DistributionCenter
association [0..*] to I_PlantCategoryT as _PlantCategoryText on $projection.PlantCategory = _PlantCategoryText.PlantCategory
{
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #HIGH
@ObjectModel.text.element: [ 'PlantName' ]
key cast(DistributionCenter.Plant as distributioncenter preserving type ) as DistributionCenter,
cast(DistributionCenter.PlantName as distributioncentername preserving type ) as PlantName,
@UI.hidden: true
@ObjectModel.text.association: '_PlantCategoryText'
DistributionCenter.PlantCategory,
_PlantCategoryText
}
where
DistributionCenter.PlantCategory = 'B'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PLANT"
],
"ASSOCIATED":
[
"I_PLANTCATEGORYT"
],
"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