N_ProductStorageLocation
Auxiliary view for Storage Location
N_ProductStorageLocation is a CDS View that provides data about "Auxiliary view for Storage Location" in SAP S/4HANA. It reads from 1 data source (mard) and exposes 4 fields with key fields Product, Plant, StorageLocation. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| mard | StorageLocation | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_StorageLocation | _StorageLocation | $projection.Plant = _StorageLocation.Plant and $projection.StorageLocation = _StorageLocation.StorageLocation |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | NPRDSTORLOC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Auxiliary view for Storage Location | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.auxiliaryEntity.for.entity | I_ProductStorageLocation | view |
@AbapCatalog:{
sqlViewName: 'NPRDSTORLOC',
compiler.compareFilter: true
}
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Auxiliary view for Storage Location'
@ObjectModel:{
usageType:{
//Service category is A as this CDS view is based on a single underlying DB table
serviceQuality: #A,
//Size category is L here as in the underlying db table the expected records is
//indicated as 67.000 to 260.000
sizeCategory : #XL,
dataClass: #MASTER
}
}
@VDM:{
auxiliaryEntity:{
for.entity: 'I_ProductStorageLocation',
usage.type: [#ENTERPRISE_SEARCH]
}
}
define view N_ProductStorageLocation
as select from mard as StorageLocation
association [1..1] to I_StorageLocation as _StorageLocation on $projection.Plant = _StorageLocation.Plant
and $projection.StorageLocation = _StorageLocation.StorageLocation
{
key StorageLocation.matnr as Product, //request
key StorageLocation.werks as Plant, //request
key StorageLocation.lgort as StorageLocation, //response
_StorageLocation
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"MARD"
],
"ASSOCIATED":
[
"I_STORAGELOCATION"
],
"BASE":
[],
"ANNO_REF":
[],
"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