A_ProductStorageLocation
Storage Location Data
A_ProductStorageLocation is a Composite CDS View that provides data about "Storage Location Data" in SAP S/4HANA. It reads from 1 data source (I_ProductStorageLocation) and exposes 23 fields with key fields Product, Plant, StorageLocation. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProductStorageLocation | StorageLocation | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | E_Productstoragelocation | _StorageLocationExt | $projection.Product = _StorageLocationExt.Product and $projection.Plant = _StorageLocationExt.Plant and $projection.StorageLocation = _StorageLocationExt.StorageLocation |
| [1..1] | A_Product | _Product | $projection.Product = _Product.Product |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | APRODSTORAGELOC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Storage Location Data | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | Product | ||
| KEY | Plant | Plant | ||
| KEY | StorageLocation | StorageLocation | ||
| WarehouseStorageBin | WarehouseStorageBin | |||
| MaintenanceStatus | MaintenanceStatus | |||
| PhysicalInventoryBlockInd | PhysicalInventoryBlockInd | |||
| CreationDate | CreationDate | |||
| IsMarkedForDeletion | IsMarkedForDeletion | |||
| DateOfLastPostedCntUnRstrcdStk | DateOfLastPostedCntUnRstrcdStk | |||
| InventoryCorrectionFactor | InventoryCorrectionFactor | |||
| InvtryRestrictedUseStockInd | InvtryRestrictedUseStockInd | |||
| InvtryCurrentYearStockInd | InvtryCurrentYearStockInd | |||
| InvtryQualInspCurrentYrStkInd | InvtryQualInspCurrentYrStkInd | |||
| InventoryBlockStockInd | InventoryBlockStockInd | |||
| InvtryRestStockPrevPeriodInd | InvtryRestStockPrevPeriodInd | |||
| InventoryStockPrevPeriod | InventoryStockPrevPeriod | |||
| InvtryStockQltyInspPrevPeriod | InvtryStockQltyInspPrevPeriod | |||
| HasInvtryBlockStockPrevPeriod | HasInvtryBlockStockPrevPeriod | |||
| FiscalYearCurrentPeriod | FiscalYearCurrentPeriod | |||
| FiscalMonthCurrentPeriod | FiscalMonthCurrentPeriod | |||
| FiscalYearCurrentInvtryPeriod | FiscalYearCurrentInvtryPeriod | |||
| LeanWrhsManagementPickingArea | LeanWrhsManagementPickingArea | |||
| _Product | _Product |
@AbapCatalog.sqlViewName: 'APRODSTORAGELOC'
@AbapCatalog.compiler.compareFilter: true
@EndUserText.label: 'Storage Location Data'
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType:#COMPOSITE
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
@Metadata.ignorePropagatedAnnotations:true
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory : #XL
@ObjectModel.usageType.dataClass: #MASTER
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.createEnabled: true
@ObjectModel.updateEnabled: true
//@ObjectModel.deleteEnabled: true
define view A_ProductStorageLocation
as select from I_ProductStorageLocation as StorageLocation
association [0..1] to E_Productstoragelocation as _StorageLocationExt on $projection.Product = _StorageLocationExt.Product
and $projection.Plant = _StorageLocationExt.Plant
and $projection.StorageLocation = _StorageLocationExt.StorageLocation
association [1..1] to A_Product as _Product on $projection.Product = _Product.Product
{
key Product,
key Plant,
@ObjectModel.sapObjectNodeTypeReference:'StorageLocation'
key StorageLocation,
WarehouseStorageBin,
@ObjectModel.readOnly: true
MaintenanceStatus,
PhysicalInventoryBlockInd,
@ObjectModel.readOnly: true
CreationDate,
IsMarkedForDeletion,
DateOfLastPostedCntUnRstrcdStk,
InventoryCorrectionFactor,
InvtryRestrictedUseStockInd,
InvtryCurrentYearStockInd,
InvtryQualInspCurrentYrStkInd,
InventoryBlockStockInd,
InvtryRestStockPrevPeriodInd,
InventoryStockPrevPeriod,
InvtryStockQltyInspPrevPeriod,
HasInvtryBlockStockPrevPeriod,
FiscalYearCurrentPeriod,
FiscalMonthCurrentPeriod,
FiscalYearCurrentInvtryPeriod,
// new field as part of 2005 release
LeanWrhsManagementPickingArea,
_Product
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PRODUCTSTORAGELOCATION"
],
"ASSOCIATED":
[
"A_PRODUCT",
"E_PRODUCTSTORAGELOCATION"
],
"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