I_Productstorage
Product Storage
I_Productstorage is a Basic CDS View that provides data about "Product Storage" in SAP S/4HANA. It reads from 1 data source (mara) and exposes 28 fields with key field Product. It has 12 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| mara | mara | from |
Associations (12)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Product | _Product | $projection.Product = _Product.Product |
| [0..1] | E_Product | _ProdStorageExt | $projection.Product = _ProdStorageExt.Product |
| [0..1] | I_Storagecondition | _Storagecondition | $projection.StorageConditions = _Storagecondition.StorageConditions |
| [0..1] | I_Tempindcndn | _TemperatureConditionInd | $projection.TemperatureConditionInd = _TemperatureConditionInd.TemperatureConditionInd |
| [0..*] | I_Tempindcndntext | _TemperatureConditionText | $projection.TemperatureConditionInd = _TemperatureConditionText.TemperatureConditionInd |
| [0..1] | I_ShelfLifeExprtnDateRndngRule | _ShelfLifeExprtnDateRndngRule | $projection.ShelfLifeExprtnDateRndingRule = _ShelfLifeExprtnDateRndngRule.ShelfLifeExprtnDateRndngRule |
| [0..1] | I_CtnRqmtsForProduct | _StorageBinInstruction | $projection.StorageBinInstruction = _StorageBinInstruction.StorageBinInstruction |
| [0..1] | I_LabelForm | _LabelForm | $projection.LabelForm = _LabelForm.LabelForm |
| [0..1] | I_ProdShelfLifeExprtnDtePerdVH | _ShelfLifeExpirationDatePeriod | $projection.ShelfLifeExpirationDatePeriod = _ShelfLifeExpirationDatePeriod.ShelfLifeExpirationDatePeriod |
| [0..1] | I_LabelType | _LabelType | $projection.LabelType = _LabelType.LabelType |
| [0..1] | I_ProductExpirationDateCode | _ProductExpirationDateCode | $projection.ExpirationDate = _ProductExpirationDateCode.ProductExpirationDateCode |
| [0..1] | I_UnitOfMeasure | _BaseUnitOfMeasure | $projection.BaseUnit = _BaseUnitOfMeasure.UnitOfMeasure |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPRDROOTSTORAGE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.status | #DEPRECATED | view | |
| VDM.lifecycle.successor | I_ProductStorage_2 | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Product Storage | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | mara | matnr | Vehicle Model |
| StorageConditions | mara | raube | Stor.conditions | |
| _Storagecondition | _Storagecondition | |||
| TemperatureConditionInd | mara | tempb | Temperature | |
| _TemperatureConditionInd | _TemperatureConditionInd | |||
| _TemperatureConditionText | _TemperatureConditionText | |||
| HazardousMaterialNumber | mara | stoff | Haz. matl no. | |
| NmbrOfGROrGISlipsToPrintQty | mara | wesch | GR slips quantity | |
| LabelType | mara | etiar | Label type | |
| LabelForm | mara | etifo | Label form | |
| MinRemainingShelfLife | mara | mhdrz | Rem. Shelf Life | |
| ExpirationDate | mara | sled_bbd | Expiration Date | |
| StorageBinInstruction | mara | behvo | Container | |
| _StorageBinInstruction | _StorageBinInstruction | |||
| TotalShelfLifeStoragePercent | mara | mhdlp | Storage % | |
| ShelfLifeExpirationDatePeriod | ||||
| ShelfLifeExprtnDateRndingRule | mara | rdmhd | Rounding rule | |
| AuthorizationGroup | mara | begru | AuthorizGroup | |
| IsActiveEntity | ||||
| TotalShelfLife | mara | mhdhb | Tot. shelf life | |
| BaseUnit | mara | meins | Valuation Unit | |
| _ShelfLifeExprtnDateRndngRule | _ShelfLifeExprtnDateRndngRule | |||
| _LabelForm | _LabelForm | |||
| _ShelfLifeExpirationDatePeriod | _ShelfLifeExpirationDatePeriod | |||
| _LabelType | _LabelType | |||
| _ProductExpirationDateCode | _ProductExpirationDateCode | |||
| _Product | _Product | |||
| _BaseUnitOfMeasure | _BaseUnitOfMeasure |
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_Productstorage.
-- 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_Productstorage AS
SELECT
mara.matnr AS Product,
mara.raube AS StorageConditions,
mara.tempb AS TemperatureConditionInd,
mara.stoff AS HazardousMaterialNumber,
mara.wesch AS NmbrOfGROrGISlipsToPrintQty,
mara.etiar AS LabelType,
mara.etifo AS LabelForm,
mara.mhdrz AS MinRemainingShelfLife,
mara.sled_bbd AS ExpirationDate,
mara.behvo AS StorageBinInstruction,
mara.mhdlp AS TotalShelfLifeStoragePercent,
cast(mara.iprkz as shelflifeexpirationdateperiod preserving type ) AS ShelfLifeExpirationDatePeriod,
mara.rdmhd AS ShelfLifeExprtnDateRndingRule,
mara.begru AS AuthorizationGroup,
cast( 'X' as sdraft_is_active preserving type ) AS IsActiveEntity,
mara.mhdhb AS TotalShelfLife,
mara.meins AS BaseUnit
FROM mara
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product -- association [1..1]
LEFT OUTER JOIN E_Product AS _ProdStorageExt ON Product = _ProdStorageExt.Product -- association [0..1]
LEFT OUTER JOIN I_Storagecondition AS _Storagecondition ON StorageConditions = _Storagecondition.StorageConditions -- association [0..1]
LEFT OUTER JOIN I_Tempindcndn AS _TemperatureConditionInd ON TemperatureConditionInd = _TemperatureConditionInd.TemperatureConditionInd -- association [0..1]
LEFT OUTER JOIN I_Tempindcndntext AS _TemperatureConditionText ON TemperatureConditionInd = _TemperatureConditionText.TemperatureConditionInd -- association [0..*]
LEFT OUTER JOIN I_ShelfLifeExprtnDateRndngRule AS _ShelfLifeExprtnDateRndngRule ON ShelfLifeExprtnDateRndingRule = _ShelfLifeExprtnDateRndngRule.ShelfLifeExprtnDateRndngRule -- association [0..1]
LEFT OUTER JOIN I_CtnRqmtsForProduct AS _StorageBinInstruction ON StorageBinInstruction = _StorageBinInstruction.StorageBinInstruction -- association [0..1]
LEFT OUTER JOIN I_LabelForm AS _LabelForm ON LabelForm = _LabelForm.LabelForm -- association [0..1]
LEFT OUTER JOIN I_ProdShelfLifeExprtnDtePerdVH AS _ShelfLifeExpirationDatePeriod ON ShelfLifeExpirationDatePeriod = _ShelfLifeExpirationDatePeriod.ShelfLifeExpirationDatePeriod -- association [0..1]
LEFT OUTER JOIN I_LabelType AS _LabelType ON LabelType = _LabelType.LabelType -- association [0..1]
LEFT OUTER JOIN I_ProductExpirationDateCode AS _ProductExpirationDateCode ON ExpirationDate = _ProductExpirationDateCode.ProductExpirationDateCode -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnitOfMeasure ON BaseUnit = _BaseUnitOfMeasure.UnitOfMeasure -- association [0..1]
;
Learn More
- S/4HANA CDS View Deprecation: What You Need to Know
- 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
- 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