P_Productstoragelocationref
P_Productstoragelocationref is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (P_PlantReferences, I_ProductStorageLocationBasic) and exposes 7 fields with key fields Product, Plant, StorageLocation. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_PlantReferences | Reference | left_outer |
| I_ProductStorageLocationBasic | StorageLocation | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Product | _Product | $projection.Product = _Product.Product |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPRDSTORAGEREF | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| Search.searchable | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | I_ProductStorageLocationBasic | Product | |
| KEY | Plant | I_ProductStorageLocationBasic | Plant | |
| KEY | StorageLocation | I_ProductStorageLocationBasic | StorageLocation | |
| PlantCategory | P_PlantReferences | PlantCategory | ||
| ReferenceDistributionCenter | P_PlantReferences | ReferenceDistributionCenter | ||
| ReferenceStore | P_PlantReferences | ReferenceStore | ||
| _Product | _Product |
@AbapCatalog.sqlViewName: 'PPRDSTORAGEREF'
@VDM.private: true
@VDM.viewType: #BASIC
@Search.searchable: true
@AbapCatalog.compiler.compareFilter: true
@ClientHandling.algorithm: #SESSION_VARIABLE
//@EndUserText.label: 'Storage location for references'
@AccessControl.authorizationCheck: #CHECK
define view P_Productstoragelocationref
as select from I_ProductStorageLocationBasic as StorageLocation
left outer join P_PlantReferences as Reference on StorageLocation.Plant = Reference.Plant
association [1..1] to I_Product as _Product on $projection.Product = _Product.Product
{
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
key StorageLocation.Product,
key StorageLocation.Plant,
key StorageLocation.StorageLocation,
Reference.PlantCategory,
Reference.ReferenceDistributionCenter,
Reference.ReferenceStore,
_Product
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PRODUCTSTORAGELOCATIONBASIC",
"P_PLANTREFERENCES"
],
"ASSOCIATED":
[
"I_PRODUCT"
],
"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