I_EWM_StorageBinVH

DDL: I_EWM_STORAGEBINVH Type: view_entity COMPOSITE

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)

SourceAliasJoin Type
I_EWM_StorageBin_2 I_EWM_StorageBin_2 from

Associations (3)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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..*]
;