I_EWM_StorageBinVH
Storage Bin
I_EWM_StorageBinVH is a Composite CDS View that provides data about "Storage Bin" in SAP S/4HANA. It reads from 1 data source (I_EWM_StorageBin_2) and exposes 12 fields with key fields EWMWarehouse, EWMStorageBin. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_EWM_StorageBin_2 | I_EWM_StorageBin_2 | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_EWM_StorageTypeText_2 | _StorageTypeText | $projection.EWMWarehouse = _StorageTypeText.EWMWarehouse and $projection.EWMStorageType = _StorageTypeText.EWMStorageType and $projection.EWMStorageType is not null |
| [0..*] | I_EWM_StorageSectionText_2 | _StorageSectionText | $projection.EWMWarehouse = _StorageSectionText.EWMWarehouse and $projection.EWMStorageType = _StorageSectionText.EWMStorageType and $projection.EWMStorageSection = _StorageSectionText.EWMStorageSection and $projection.EWMStorageSection is not null |
| [0..*] | I_EWM_StorageBinTypeText_2 | _StorageBinTypeText | $projection.EWMWarehouse = _StorageBinTypeText.EWMWarehouse and $projection.EWMStorageBinType = _StorageBinTypeText.EWMStorageBinType and $projection.EWMStorageBinType is not null |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Storage Bin | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.representativeKey | EWMStorageBin | view | |
| Search.searchable | true | view | |
| Consumption.ranked | true | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EWMWarehouse | EWMWarehouse | Warehouse No. | |
| KEY | EWMStorageBin | EWMStorageBin | Storage Bin | |
| EWMStorageType | EWMStorageType | Storage Type | ||
| EWMStorageTypeName | ||||
| _StorageTypeText | _StorageTypeText | |||
| EWMStorageSection | EWMStorageSection | Storage Section | ||
| StorageSectionName | ||||
| _StorageSectionText | _StorageSectionText | |||
| EWMStorageBinType | EWMStorageBinType | Stor. Bin Type | ||
| StorageBinTypeName | ||||
| _StorageBinTypeText | _StorageBinTypeText | |||
| EWMStorageBinIsEmpty | EWMStorageBinIsEmpty | Empty indicator |
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_EWM_StorageBinVH.
-- 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_EWM_StorageBinVH AS
SELECT
EWMWarehouse,
EWMStorageBin,
EWMStorageType,
cast( _StorageTypeText[1:Language=$session.system_language].EWMStorageTypeName as ewm_de_storagetypedesc preserving type ) AS EWMStorageTypeName,
EWMStorageSection,
cast( _StorageSectionText[1:Language=$session.system_language].StorageSectionName as ewm_de_storagesectiondesc preserving type ) AS StorageSectionName,
EWMStorageBinType,
cast( _StorageBinTypeText[1:Language=$session.system_language].StorageBinTypeName as ewm_de_storagebintypedesc preserving type ) AS StorageBinTypeName,
EWMStorageBinIsEmpty
FROM I_EWM_StorageBin_2
LEFT OUTER JOIN I_EWM_StorageTypeText_2 AS _StorageTypeText ON EWMWarehouse = _StorageTypeText.EWMWarehouse AND EWMStorageType = _StorageTypeText.EWMStorageType AND EWMStorageType is not null -- association [0..*]
LEFT OUTER JOIN I_EWM_StorageSectionText_2 AS _StorageSectionText ON EWMWarehouse = _StorageSectionText.EWMWarehouse AND EWMStorageType = _StorageSectionText.EWMStorageType AND EWMStorageSection = _StorageSectionText.EWMStorageSection AND EWMStorageSection is not null -- association [0..*]
LEFT OUTER JOIN I_EWM_StorageBinTypeText_2 AS _StorageBinTypeText ON EWMWarehouse = _StorageBinTypeText.EWMWarehouse AND EWMStorageBinType = _StorageBinTypeText.EWMStorageBinType AND EWMStorageBinType is not null -- association [0..*]
;
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