I_ProductStorageLocationBasic
Product Storage Location
I_ProductStorageLocationBasic (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Storage Location · Database & Data Management
I_ProductStorageLocationBasic is a Basic CDS View (Dimension) that provides data about "Product Storage Location" in SAP S/4HANA. It reads from 1 data source (P_ProductStorageLocationBasic) and exposes 26 fields with key fields Product, Plant, StorageLocation. It has 6 associations to related views.
SAP Help Documentation
| Category | CDS Views for Product Master |
|---|---|
| Data Category | Dimension |
| Status | Released |
| Data Extraction Type | Full (physical deletions are possible in source tables) Delta: Change Data Capture |
| Corresponding DataSource | NA |
This CDS view will provide the information about Product Storage location for the provided Product from MARD table with the help of view V_MARD_MD. Only the Master data fields will be fetched from V_MBEW_MD, no redirect fields will be present. Description: Product Storage Location Data
Prerequisites
These restriction types are edited in the Maintain Business Roles app. Users must also have authorization to access the Material Master Data for Plant.
Structure
Object types This view relates to the following SAP object types: Material Product Plant Storage Location
SAP Business Warehouse (SAP BW) Extraction
Note The corresponding DataSource (Extractor) and this CDS view may have different functionalities. In case you are interested in the details of the DataSource, see the related documentation on the SAP Help Portal at https://help.sap.com/viewer/p/BI_CONTENT_757 under Use SAP Library BI Content . For more information about data extraction, see Extracting Data Through CDS Views to SAP BW/4HANA .
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Database & Data Management |
| Application Component | LO-MD-MM |
| Capabilities | Data Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source for Data Extraction |
| Package | Database & Data Management for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ProductStorageLocationBasic | StorageLocation | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Product | _Product | $projection.Product = _Product.Product |
| [0..1] | E_Productstoragelocation | _ProdStorLocExt | $projection.Product = _ProdStorLocExt.Product and $projection.Plant = _ProdStorLocExt.Plant and $projection.StorageLocation = _ProdStorLocExt.StorageLocation |
| [0..*] | I_MaterialStock_2 | _MaterialStock | $projection.Product = _MaterialStock.Material and $projection.Plant = _MaterialStock.Plant |
| [0..*] | I_MaterialStock | _Stock | $projection.Product = _Stock.Material and $projection.Plant = _Stock.Plant and $projection.StorageLocation = _Stock.StorageLocation |
| [1..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [1..1] | I_StorageLocation | _StorageLocation | $projection.Plant = _StorageLocation.Plant and $projection.StorageLocation = _StorageLocation.StorageLocation |
Annotations (18)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPRDSTORLOCBASIC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Product Storage Location | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.representativeKey | Product | view | |
| VDM.viewType | #BASIC | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.dataExtraction.delta.changeDataCapture.automatic | true | view | |
| Analytics.internalName | #LOCAL | view | |
| ObjectModel.sapObjectNodeType.name | StorageLocation | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | Product | Product Number | |
| KEY | Plant | Plant | Valuation Area | |
| KEY | StorageLocation | StorageLocation | Storage Location | |
| WarehouseStorageBin | WarehouseStorageBin | Storage Bin | ||
| MaintenanceStatus | MaintenanceStatus | Maintenance Status | ||
| IsMarkedForDeletion | IsMarkedForDeletion | Flag Material for Deletion at Storage Location Level | ||
| PhysicalInventoryBlockInd | PhysicalInventoryBlockInd | Physical Inventory Blocking Indicator | ||
| CreationDate | CreationDate | Time Stamp | ||
| DateOfLastPostedCntUnRstrcdStk | DateOfLastPostedCntUnRstrcdStk | Date of Last Posted Count | ||
| InventoryCorrectionFactor | InventoryCorrectionFactor | Inventory Correction Factor | ||
| InvtryRestrictedUseStockInd | InvtryRestrictedUseStockInd | Physical inventory indicator for restricted-use stock | ||
| InvtryCurrentYearStockInd | InvtryCurrentYearStockInd | Physical inventory indicator for whse stock in current year | ||
| InvtryQualInspCurrentYrStkInd | InvtryQualInspCurrentYrStkInd | Phys. inventory ind. f. stock in qual. insp. in current year | ||
| InventoryBlockStockInd | InventoryBlockStockInd | Physical inventory indicator for blocked stock | ||
| InvtryRestStockPrevPeriodInd | InvtryRestStockPrevPeriodInd | Physical inventory ind. for restricted-use stock, prev.pd | ||
| InventoryStockPrevPeriod | InventoryStockPrevPeriod | Physical inventory indicator for stock in previous year | ||
| InvtryStockQltyInspPrevPeriod | InvtryStockQltyInspPrevPeriod | Phys. inventory ind. f. stock in qual. insp. in prev. period | ||
| HasInvtryBlockStockPrevPeriod | HasInvtryBlockStockPrevPeriod | Phys. inventory indicator for blocked stock in prev. period | ||
| FiscalYearCurrentInvtryPeriod | FiscalYearCurrentInvtryPeriod | Fiscal Year of Current Physical Inventory Indicator | ||
| LeanWrhsManagementPickingArea | LeanWrhsManagementPickingArea | Picking area for lean WM | ||
| IsActiveEntity | Draft - Indicator - Is active document | |||
| _Product | _Product | |||
| _Stock | _Stock | |||
| _Plant | _Plant | |||
| _StorageLocation | _StorageLocation | |||
| _MaterialStock | _MaterialStock |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_ProductStorageLocationBasic.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
CREATE VIEW I_ProductStorageLocationBasic AS
SELECT
Product,
Plant,
StorageLocation,
WarehouseStorageBin,
MaintenanceStatus,
IsMarkedForDeletion,
PhysicalInventoryBlockInd,
CreationDate,
DateOfLastPostedCntUnRstrcdStk,
InventoryCorrectionFactor,
InvtryRestrictedUseStockInd,
InvtryCurrentYearStockInd,
InvtryQualInspCurrentYrStkInd,
InventoryBlockStockInd,
InvtryRestStockPrevPeriodInd,
InventoryStockPrevPeriod,
InvtryStockQltyInspPrevPeriod,
HasInvtryBlockStockPrevPeriod,
FiscalYearCurrentInvtryPeriod,
LeanWrhsManagementPickingArea,
cast( 'X' as sdraft_is_active preserving type ) AS IsActiveEntity
FROM P_ProductStorageLocationBasic AS StorageLocation
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product -- association [1..1]
LEFT OUTER JOIN E_Productstoragelocation AS _ProdStorLocExt ON Product = _ProdStorLocExt.Product AND Plant = _ProdStorLocExt.Plant AND StorageLocation = _ProdStorLocExt.StorageLocation -- association [0..1]
LEFT OUTER JOIN I_MaterialStock_2 AS _MaterialStock ON Product = _MaterialStock.Material AND Plant = _MaterialStock.Plant -- association [0..*]
LEFT OUTER JOIN I_MaterialStock AS _Stock ON Product = _Stock.Material AND Plant = _Stock.Plant AND StorageLocation = _Stock.StorageLocation -- association [0..*]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [1..1]
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON Plant = _StorageLocation.Plant AND StorageLocation = _StorageLocation.StorageLocation -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA