I_EWM_StorageType_2
Storage Type
I_EWM_StorageType_2 is a Basic CDS View (Dimension) that provides data about "Storage Type" in SAP S/4HANA. It reads from 2 data sources (/scwm/t301, /scwm/t331) and exposes 6 fields with key fields EWMWarehouse, EWMStorageType. It has 2 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| /scwm/t301 | StorageType | from |
| /scwm/t331 | StorageTypeControl | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_EWM_WarehouseNumber_2 | _Warehouse | $projection.EWMWarehouse = _Warehouse.EWMWarehouse |
| [0..*] | I_EWM_StorageTypeText_2 | _Text | $projection.EWMWarehouse = _Text.EWMWarehouse and $projection.EWMStorageType = _Text.EWMStorageType |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Storage Type | view | |
| VDM.viewType | #BASIC | view | |
| Analytics.internalName | #LOCAL | view | |
| ObjectModel.representativeKey | EWMStorageType | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.technicalName | IEWMSTRGTYP2 | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.sapObjectNodeType.name | WarehouseStorageType | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EWMWarehouse | /scwm/t301 | lgnum | |
| _Warehouse | _Warehouse | |||
| KEY | EWMStorageType | /scwm/t301 | lgtyp | |
| EWMStorageTypeRole | /scwm/t331 | st_role | ||
| EWMStorageBehavior | /scwm/t331 | behav | ||
| _Text | _Text |
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Storage Type'
@VDM.viewType:#BASIC
@Analytics.internalName:#LOCAL
@ObjectModel.representativeKey: 'EWMStorageType'
@Analytics.dataCategory: #DIMENSION
@Analytics.technicalName: 'IEWMSTRGTYP2'
@ObjectModel.usageType: {serviceQuality: #A,
dataClass: #CUSTOMIZING,
sizeCategory: #M}
@ObjectModel.supportedCapabilities: [ #ANALYTICAL_DIMENSION,
#SQL_DATA_SOURCE,
#CDS_MODELING_DATA_SOURCE,
#CDS_MODELING_ASSOCIATION_TARGET ]
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@Metadata.ignorePropagatedAnnotations:true
@Metadata.allowExtensions:true
@ObjectModel.sapObjectNodeType.name: 'WarehouseStorageType'
define view entity I_EWM_StorageType_2
as select from /scwm/t301 as StorageType
inner join /scwm/t331 as StorageTypeControl on StorageType.lgnum = StorageTypeControl.lgnum
and StorageType.lgtyp = StorageTypeControl.lgtyp
association [0..1] to I_EWM_WarehouseNumber_2 as _Warehouse on $projection.EWMWarehouse = _Warehouse.EWMWarehouse
association [0..*] to I_EWM_StorageTypeText_2 as _Text on $projection.EWMWarehouse = _Text.EWMWarehouse
and $projection.EWMStorageType = _Text.EWMStorageType
{
@ObjectModel.foreignKey.association: '_Warehouse'
key StorageType.lgnum as EWMWarehouse,
_Warehouse,
@ObjectModel.text.association: '_Text'
key StorageType.lgtyp as EWMStorageType,
StorageTypeControl.st_role as EWMStorageTypeRole,
StorageTypeControl.behav as EWMStorageBehavior,
_Text
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"/SCWM/T301",
"/SCWM/T331"
],
"ASSOCIATED":
[
"I_EWM_STORAGETYPETEXT_2",
"I_EWM_WAREHOUSENUMBER_2"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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