I_EWM_StorageBin_2
Warehouse Storage Bin
I_EWM_StorageBin_2 is a Basic CDS View that provides data about "Warehouse Storage Bin" in SAP S/4HANA. It reads from 1 data source (/scwm/lagp) and exposes 53 fields with key fields EWMWarehouse, EWMStorageBin. It has 1 association to related views.
SAP Help Documentation
| Category | CDS Views for Master Data |
|---|
Purpose
This CDS view provides information about storage bins in your warehouse. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: SCWM_LGNU (Warehouse Number/Warehouse Complex) You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.
Structure
Important Fields Important fields in this view include the following: Field Name Description EWMWarehouse Warehouse Number/Warehouse Complex EWMStorageBin Storage Bin
This CDS view provides information about storage bins in your warehouse. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: SCWM_LGNU (Warehouse Number/Warehouse Complex) You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.
Structure
Important Fields Important fields in this view include the following: Field Name Description EWMWarehouse Warehouse Number/Warehouse Complex EWMStorageBin Storage Bin
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| /scwm/lagp | /scwm/lagp | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_EWM_WarehouseNumber_2 | _Warehouse | $projection.EWMWarehouse = _Warehouse.EWMWarehouse |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Warehouse Storage Bin | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Analytics.internalName | #LOCAL | view | |
| ObjectModel.representativeKey | EWMStorageBin | view | |
| Analytics.technicalName | IPISTORAGEBIN2 | view |
Fields (53)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EWMWarehouse | lgnum | Whse Number | |
| KEY | EWMStorageBin | lgpla | Storage Bin | |
| EWMStorageType | lgtyp | Storage Type | ||
| EWMStorageSection | lgber | Storage Section | ||
| EWMStorageBinType | lptyp | Stor. Bin Type | ||
| EWMStorageBinAccessType | bin_at | Bin Access Type | ||
| EWMStorageBinSection | plauf | Explosion Date | ||
| EWMStorageBinPosition | plpos | Bin position | ||
| EWMStorageBinSubdivision | flgsbin | Division | ||
| EWMStorageBinMaximumWeight | max_weight | Maximum Weight | ||
| WeightUnit | unit_w | Weight Unit | ||
| EWMStorageBinUsedWeight | weight | Weight Used | ||
| EWMStorageBinMaximumVolume | max_volume | Max. Volume | ||
| VolumeUnit | unit_v | Volume Unit | ||
| EWMStorageBinOccupiedVolume | volum | Volume | ||
| EWMStorBinTotalCapacityValue | max_capa | Total Capacity | ||
| EWMStorBinAvailCapacityValue | fcapa | Remain.Capacity | ||
| EWMStorBinFreeDefinedAisleText | aisle | Bin Aisle | ||
| EWMStorBinFreeDefinedStackText | stack | Bin Stack | ||
| EWMStorBinFreeDefinedLevelText | lvl_v | Bin Level | ||
| EWMStorBinIsBlockedForRemoval | skzua | Removal Block | ||
| EWMStorBinIsBlockedForPutaway | skzue | Putaway Block | ||
| EWMStorBinIsBlockedDueToPInv | skzsi | Inventory Act. | ||
| EWMStorageBinIsEmpty | kzler | Empty indicator | ||
| EWMStorageBinIsFull | kzvol | Full Indicator | ||
| EWMStorBinFreeDfndSectionText | binsc | Bin Section | ||
| EWMStorageBinFreeDfndDepthText | depth | Draught | ||
| EWMStorageBinRemainDepthValue | Remaining Depth | |||
| EWMStorageBinMaxDepthValue | Max.Depth | |||
| EWMStorBinWidthCoordinateValue | x_cord | X Coordinate | ||
| EWMStorBinLengthCoordinateVal | y_cord | Y Coordinate | ||
| EWMStorBinHeightCoordinateVal | z_cord | Z Coordinate | ||
| WarehouseLocationUUID | guid_loc | Location GUID | ||
| HandlingUnitUUID | guid_hu | Parent | ||
| EWMStorBinVerifiedByMobileID | verif | Verification | ||
| EWMStorageBinVerifiedByVoiceID | pbv_verif | PbV Verification | ||
| EWMPhysicalInventoryType | kzinv | PI Type | ||
| PhysicalInventoryDocNumber | ivnum | PI Document No. | ||
| PhysicalInventoryItemNumber | ivpos | Item | ||
| PInvCountedUTCDateTime | idatu | Start-up date | ||
| EWMStorageBinLastChangedByUser | uname | User Name | ||
| EWMStorageBinLastChgDateTime | Last change | |||
| EWMStorageBinLastWarehouseTask | WT of Last Mvt | |||
| EWMStorageBinFirstPutawayDate | ptwy_date | First Putaway | ||
| EWMStorageBinLastMvtDateTime | moved_at | Last Movement | ||
| EWMStorageBinLastClrgDateTime | cleared_at | Last Clearing | ||
| EWMStorageBinFixedBinType | fixbintyp | Fixed Bin Type | ||
| EWMStorageBinAngleValue | angle | Bin Angle | ||
| EWMStorBinNumberOfHndlgUnits | anzle | No.stor.units | ||
| EWMStorBinMaxNmbrOfHndlgUnits | maxle | Max.no.SUs | ||
| EWMFireContainmentSection | brand | Fire-Cont.Sect. | ||
| EWMStorageGroup | lgber_lgst | Storage Group | ||
| _Warehouse | _Warehouse |
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_StorageBin_2.
-- 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_StorageBin_2 AS
SELECT
lgnum AS EWMWarehouse,
lgpla AS EWMStorageBin,
lgtyp AS EWMStorageType,
lgber AS EWMStorageSection,
lptyp AS EWMStorageBinType,
bin_at AS EWMStorageBinAccessType,
plauf AS EWMStorageBinSection,
plpos AS EWMStorageBinPosition,
flgsbin AS EWMStorageBinSubdivision,
max_weight AS EWMStorageBinMaximumWeight,
unit_w AS WeightUnit,
weight AS EWMStorageBinUsedWeight,
max_volume AS EWMStorageBinMaximumVolume,
unit_v AS VolumeUnit,
volum AS EWMStorageBinOccupiedVolume,
max_capa AS EWMStorBinTotalCapacityValue,
fcapa AS EWMStorBinAvailCapacityValue,
aisle AS EWMStorBinFreeDefinedAisleText,
stack AS EWMStorBinFreeDefinedStackText,
lvl_v AS EWMStorBinFreeDefinedLevelText,
skzua AS EWMStorBinIsBlockedForRemoval,
skzue AS EWMStorBinIsBlockedForPutaway,
skzsi AS EWMStorBinIsBlockedDueToPInv,
kzler AS EWMStorageBinIsEmpty,
kzvol AS EWMStorageBinIsFull,
binsc AS EWMStorBinFreeDfndSectionText,
depth AS EWMStorageBinFreeDfndDepthText,
cast(rem_bin_depth as ewm_de_rem_bin_depth_no_conv) AS EWMStorageBinRemainDepthValue,
cast(max_bin_depth as ewm_de_max_bin_depth_no_conv) AS EWMStorageBinMaxDepthValue,
x_cord AS EWMStorBinWidthCoordinateValue,
y_cord AS EWMStorBinLengthCoordinateVal,
z_cord AS EWMStorBinHeightCoordinateVal,
guid_loc AS WarehouseLocationUUID,
guid_hu AS HandlingUnitUUID,
verif AS EWMStorBinVerifiedByMobileID,
pbv_verif AS EWMStorageBinVerifiedByVoiceID,
kzinv AS EWMPhysicalInventoryType,
ivnum AS PhysicalInventoryDocNumber,
ivpos AS PhysicalInventoryItemNumber,
idatu AS PInvCountedUTCDateTime,
uname AS EWMStorageBinLastChangedByUser,
cast(laedt as timestamp preserving type) AS EWMStorageBinLastChgDateTime,
cast(btanr as /scwm/tanum_noconv preserving type) AS EWMStorageBinLastWarehouseTask,
ptwy_date AS EWMStorageBinFirstPutawayDate,
moved_at AS EWMStorageBinLastMvtDateTime,
cleared_at AS EWMStorageBinLastClrgDateTime,
fixbintyp AS EWMStorageBinFixedBinType,
angle AS EWMStorageBinAngleValue,
anzle AS EWMStorBinNumberOfHndlgUnits,
maxle AS EWMStorBinMaxNmbrOfHndlgUnits,
brand AS EWMFireContainmentSection,
lgber_lgst AS EWMStorageGroup
FROM /scwm/lagp
LEFT OUTER JOIN I_EWM_WarehouseNumber_2 AS _Warehouse ON EWMWarehouse = _Warehouse.EWMWarehouse -- association [0..1]
;
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