C_EWM_StorageBin
Warehouse Storage Bin
C_EWM_StorageBin is a Consumption CDS View that provides data about "Warehouse Storage Bin" in SAP S/4HANA. It reads from 1 data source (I_EWM_StorageBin) and exposes 48 fields with key fields Warehouse, StorageBin. It has 12 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_EWM_StorageBin | I_EWM_StorageBin | from |
Associations (12)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_EWM_WarehouseNumberText | _WarehouseText | $projection.Warehouse = _WarehouseText.Warehouse |
| [0..*] | I_EWM_StorageTypeText | _StorageTypeText | $projection.Warehouse = _StorageTypeText.Warehouse and $projection.StorageType = _StorageTypeText.StorageType |
| [0..*] | I_EWM_StorageSectionText | _StorageSectionText | $projection.Warehouse = _StorageSectionText.Warehouse and $projection.StorageType = _StorageSectionText.StorageType and $projection.StorageSection = _StorageSectionText.StorageSection |
| [0..*] | I_EWM_StorageBinTypeText | _StorageBinTypeText | $projection.Warehouse = _StorageBinTypeText.Warehouse and $projection.StorageBinType = _StorageBinTypeText.StorageBinType |
| [0..*] | I_EWM_SrceStorBinAccTypeText | _SourceStorageBinAccTypeText | $projection.Warehouse = _SourceStorageBinAccTypeText.Warehouse and $projection.SourceStorageBinAccessType = _SourceStorageBinAccTypeText.SourceStorageBinAccessType |
| [0..*] | I_EWM_StorageBinIsEmptyText | _StorageBinIsEmptyText | $projection.StorageBinIsEmpty = _StorageBinIsEmptyText.StorageBinIsEmpty |
| [0..*] | I_EWM_StorageBinIsFullText | _StorageBinIsFullText | $projection.StorageBinIsFull = _StorageBinIsFullText.StorageBinIsFull |
| [0..*] | I_EWM_StorBinRemovalBlockText | _StorBinRemovalBlockText | $projection.StorageBinIsBlockedForRemoval = _StorBinRemovalBlockText.StorageBinIsBlockedForRemoval |
| [0..*] | I_EWM_StorBinPutawayBlockText | _StorBinPutawayBlockText | $projection.StorageBinIsBlockedForPutaway = _StorBinPutawayBlockText.StorageBinIsBlockedForPutaway |
| [0..*] | I_EWM_StorBinPInvBlockText | _StorBinPInvBlockText | $projection.StorageBinIsBlockedDueToPInv = _StorBinPInvBlockText.StorageBinIsBlockedDueToPInv |
| [0..*] | I_UnitOfMeasureText | _WeightUnitOfMeasureText | $projection.WeightUnit = _WeightUnitOfMeasureText.UnitOfMeasure |
| [0..*] | I_UnitOfMeasureText | _VolumeUnitOfMeasureText | $projection.VolumeUnit = _VolumeUnitOfMeasureText.UnitOfMeasure |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CEWMSTORAGEBIN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.representativeKey | StorageBin | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Warehouse Storage Bin | view | |
| Search.searchable | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.lifecycle.status | #DEPRECATED | view | |
| VDM.lifecycle.successor | C_EWM_StorageBin_2 | view |
Fields (48)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Warehouse | Warehouse | Warehouse No. | |
| KEY | StorageBin | StorageBin | Storage Bin | |
| StorageType | StorageType | Storage Type | ||
| StorageSection | StorageSection | Storage Section | ||
| StorageBinType | StorageBinType | Stor. Bin Type | ||
| SourceStorageBinAccessType | SourceStorageBinAccessType | Bin Access Type | ||
| SectionOfStorageBin | SectionOfStorageBin | Explosion Date | ||
| PositionInStorageBin | PositionInStorageBin | Bin position | ||
| StorageBinIsSubdivided | StorageBinIsSubdivided | Division | ||
| HandlingUnitsInStorageBin | HandlingUnitsInStorageBin | No.stor.units | ||
| MaxHandlingUnitsInStorageBin | Max.no.SUs | |||
| LoadCapacityOfStorageBin | LoadCapacityOfStorageBin | Maximum Weight | ||
| WeightUnit | WeightUnit | Weight unit | ||
| WeightOfMaterialsInStorageBin | WeightOfMaterialsInStorageBin | Weight Used | ||
| StorageBinMaxVolume | StorageBinMaxVolume | Max. Volume | ||
| VolumeUnit | VolumeUnit | Volume Unit | ||
| StorageBinOccupiedVolume | StorageBinOccupiedVolume | Volume | ||
| TotalCapacityOfStorageBin | TotalCapacityOfStorageBin | Total Capacity | ||
| AvailableCapacityInStorageBin | AvailableCapacityInStorageBin | Remain.Capacity | ||
| StorageBinFreeDefinedAisleText | StorageBinFreeDefinedAisleText | Bin Aisle | ||
| StorageBinFreeDefinedStackText | StorageBinFreeDefinedStackText | Bin Stack | ||
| StorageBinFreeDefinedLevelText | StorageBinFreeDefinedLevelText | Bin Level | ||
| StorageBinIsBlockedForRemoval | StorageBinIsBlockedForRemoval | Removal Block | ||
| StorageBinIsBlockedForPutaway | StorageBinIsBlockedForPutaway | Putaway Block | ||
| StorageBinIsBlockedDueToPInv | StorageBinIsBlockedDueToPInv | Inventory Act. | ||
| StorageBinIsEmpty | StorageBinIsEmpty | Empty indicator | ||
| StorageBinIsFull | StorageBinIsFull | Full Indicator | ||
| StorageBinFreeDfndSectionText | StorageBinFreeDfndSectionText | Bin Section | ||
| StorageBinFreeDefinedDepthText | StorageBinFreeDefinedDepthText | Draught | ||
| StorageBinFreeDepthValue | StorageBinFreeDepthValue | |||
| StorageBinMaxDepthValue | StorageBinMaxDepthValue | |||
| StorageBinRowPositionInWhse | StorageBinRowPositionInWhse | X Coordinate | ||
| StorageBinStackPositionInWhse | StorageBinStackPositionInWhse | Y Coordinate | ||
| StorageBinLevelPositionInWhse | StorageBinLevelPositionInWhse | Z Coordinate | ||
| WarehouseLocationUUID | WarehouseLocationUUID | Location GUID | ||
| HandlingUnitUUID | HandlingUnitUUID | Parent | ||
| _WarehouseText | _WarehouseText | |||
| _StorageTypeText | _StorageTypeText | |||
| _StorageSectionText | _StorageSectionText | |||
| _StorageBinTypeText | _StorageBinTypeText | |||
| _SourceStorageBinAccTypeText | _SourceStorageBinAccTypeText | |||
| _StorageBinIsEmptyText | _StorageBinIsEmptyText | |||
| _StorageBinIsFullText | _StorageBinIsFullText | |||
| _StorBinRemovalBlockText | _StorBinRemovalBlockText | |||
| _StorBinPutawayBlockText | _StorBinPutawayBlockText | |||
| _StorBinPInvBlockText | _StorBinPInvBlockText | |||
| _WeightUnitOfMeasureText | _WeightUnitOfMeasureText | |||
| _VolumeUnitOfMeasureText | _VolumeUnitOfMeasureText |
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 C_EWM_StorageBin.
-- 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 C_EWM_StorageBin AS
SELECT
Warehouse,
StorageBin,
StorageType,
StorageSection,
StorageBinType,
SourceStorageBinAccessType,
SectionOfStorageBin,
PositionInStorageBin,
StorageBinIsSubdivided,
HandlingUnitsInStorageBin,
cast( MaxHandlingUnitsInStorageBin as /scwm/de_ui_lagp_maxle) AS MaxHandlingUnitsInStorageBin,
LoadCapacityOfStorageBin,
WeightUnit,
WeightOfMaterialsInStorageBin,
StorageBinMaxVolume,
VolumeUnit,
StorageBinOccupiedVolume,
TotalCapacityOfStorageBin,
AvailableCapacityInStorageBin,
StorageBinFreeDefinedAisleText,
StorageBinFreeDefinedStackText,
StorageBinFreeDefinedLevelText,
StorageBinIsBlockedForRemoval,
StorageBinIsBlockedForPutaway,
StorageBinIsBlockedDueToPInv,
StorageBinIsEmpty,
StorageBinIsFull,
StorageBinFreeDfndSectionText,
StorageBinFreeDefinedDepthText,
StorageBinFreeDepthValue,
StorageBinMaxDepthValue,
StorageBinRowPositionInWhse,
StorageBinStackPositionInWhse,
StorageBinLevelPositionInWhse,
WarehouseLocationUUID,
HandlingUnitUUID
FROM I_EWM_StorageBin
LEFT OUTER JOIN I_EWM_WarehouseNumberText AS _WarehouseText ON Warehouse = _WarehouseText.Warehouse -- association [0..*]
LEFT OUTER JOIN I_EWM_StorageTypeText AS _StorageTypeText ON Warehouse = _StorageTypeText.Warehouse AND StorageType = _StorageTypeText.StorageType -- association [0..*]
LEFT OUTER JOIN I_EWM_StorageSectionText AS _StorageSectionText ON Warehouse = _StorageSectionText.Warehouse AND StorageType = _StorageSectionText.StorageType AND StorageSection = _StorageSectionText.StorageSection -- association [0..*]
LEFT OUTER JOIN I_EWM_StorageBinTypeText AS _StorageBinTypeText ON Warehouse = _StorageBinTypeText.Warehouse AND StorageBinType = _StorageBinTypeText.StorageBinType -- association [0..*]
LEFT OUTER JOIN I_EWM_SrceStorBinAccTypeText AS _SourceStorageBinAccTypeText ON Warehouse = _SourceStorageBinAccTypeText.Warehouse AND SourceStorageBinAccessType = _SourceStorageBinAccTypeText.SourceStorageBinAccessType -- association [0..*]
LEFT OUTER JOIN I_EWM_StorageBinIsEmptyText AS _StorageBinIsEmptyText ON StorageBinIsEmpty = _StorageBinIsEmptyText.StorageBinIsEmpty -- association [0..*]
LEFT OUTER JOIN I_EWM_StorageBinIsFullText AS _StorageBinIsFullText ON StorageBinIsFull = _StorageBinIsFullText.StorageBinIsFull -- association [0..*]
LEFT OUTER JOIN I_EWM_StorBinRemovalBlockText AS _StorBinRemovalBlockText ON StorageBinIsBlockedForRemoval = _StorBinRemovalBlockText.StorageBinIsBlockedForRemoval -- association [0..*]
LEFT OUTER JOIN I_EWM_StorBinPutawayBlockText AS _StorBinPutawayBlockText ON StorageBinIsBlockedForPutaway = _StorBinPutawayBlockText.StorageBinIsBlockedForPutaway -- association [0..*]
LEFT OUTER JOIN I_EWM_StorBinPInvBlockText AS _StorBinPInvBlockText ON StorageBinIsBlockedDueToPInv = _StorBinPInvBlockText.StorageBinIsBlockedDueToPInv -- association [0..*]
LEFT OUTER JOIN I_UnitOfMeasureText AS _WeightUnitOfMeasureText ON WeightUnit = _WeightUnitOfMeasureText.UnitOfMeasure -- association [0..*]
LEFT OUTER JOIN I_UnitOfMeasureText AS _VolumeUnitOfMeasureText ON VolumeUnit = _VolumeUnitOfMeasureText.UnitOfMeasure -- association [0..*]
;
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