Deprecated
This CDS view is deprecated in S/4HANA. Use I_EWM_StorageBin_2 instead. View all deprecated CDS views →

I_EWM_StorageBin

DDL: I_EWM_STORAGEBIN SQL: IPISTORAGEBIN Type: view BASIC

Warehouse Storage Bin

I_EWM_StorageBin 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 52 fields with key fields Warehouse, StorageBin.

Data Sources (1)

SourceAliasJoin Type
/scwm/lagp /scwm/lagp from

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IPISTORAGEBIN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Warehouse Storage Bin view
VDM.viewType #BASIC view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.representativeKey StorageBin view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_EWM_StorageBin_2 view

Fields (52)

KeyFieldSource TableSource FieldDescription
KEY Warehouse lgnum Whse Number
KEY StorageBin lgpla Storage Bin
StorageType lgtyp Storage Type
StorageSection lgber Storage Section
StorageBinType lptyp Stor. Bin Type
SourceStorageBinAccessType bin_at Bin Access Type
SectionOfStorageBin plauf Explosion Date
PositionInStorageBin plpos Bin position
StorageBinIsSubdivided flgsbin Division
HandlingUnitsInStorageBin anzle No.stor.units
MaxHandlingUnitsInStorageBin maxle Max.no.SUs
LoadCapacityOfStorageBin max_weight Maximum Weight
WeightUnit unit_w Weight Unit
WeightOfMaterialsInStorageBin weight Weight Used
StorageBinMaxVolume max_volume Max. Volume
VolumeUnit unit_v Volume Unit
StorageBinOccupiedVolume volum Volume
TotalCapacityOfStorageBin max_capa Total Capacity
AvailableCapacityInStorageBin fcapa Remain.Capacity
StorageBinFreeDefinedAisleText aisle Bin Aisle
StorageBinFreeDefinedStackText stack Bin Stack
StorageBinFreeDefinedLevelText lvl_v Bin Level
StorageBinIsBlockedForRemoval skzua Removal Block
StorageBinIsBlockedForPutaway skzue Putaway Block
StorageBinIsBlockedDueToPInv skzsi Inventory Act.
StorageBinIsEmpty kzler Empty indicator
StorageBinIsFull kzvol Full Indicator
StorageBinFreeDfndSectionText binsc Bin Section
StorageBinFreeDefinedDepthText depth Draught
StorageBinFreeDepthValue Remaining Depth
StorageBinMaxDepthValue Max.Depth
StorageBinRowPositionInWhse x_cord X Coordinate
StorageBinStackPositionInWhse y_cord Y Coordinate
StorageBinLevelPositionInWhse z_cord Z Coordinate
WarehouseLocationUUID guid_loc Location GUID
HandlingUnitUUID guid_hu Parent
StorageBinVerifiedByMobileID verif Verification
StorageBinVerifiedByVoiceID 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

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.
-- 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.
-- SQL view name: IPISTORAGEBIN

CREATE VIEW I_EWM_StorageBin AS
SELECT
  lgnum AS Warehouse,
  lgpla AS StorageBin,
  lgtyp AS StorageType,
  lgber AS StorageSection,
  lptyp AS StorageBinType,
  bin_at AS SourceStorageBinAccessType,
  plauf AS SectionOfStorageBin,
  plpos AS PositionInStorageBin,
  flgsbin AS StorageBinIsSubdivided,
  anzle AS HandlingUnitsInStorageBin,
  maxle AS MaxHandlingUnitsInStorageBin,
  max_weight AS LoadCapacityOfStorageBin,
  unit_w AS WeightUnit,
  weight AS WeightOfMaterialsInStorageBin,
  max_volume AS StorageBinMaxVolume,
  unit_v AS VolumeUnit,
  volum AS StorageBinOccupiedVolume,
  max_capa AS TotalCapacityOfStorageBin,
  fcapa AS AvailableCapacityInStorageBin,
  aisle AS StorageBinFreeDefinedAisleText,
  stack AS StorageBinFreeDefinedStackText,
  lvl_v AS StorageBinFreeDefinedLevelText,
  skzua AS StorageBinIsBlockedForRemoval,
  skzue AS StorageBinIsBlockedForPutaway,
  skzsi AS StorageBinIsBlockedDueToPInv,
  kzler AS StorageBinIsEmpty,
  kzvol AS StorageBinIsFull,
  binsc AS StorageBinFreeDfndSectionText,
  depth AS StorageBinFreeDefinedDepthText,
  cast(rem_bin_depth as ewm_de_rem_bin_depth_no_conv) AS StorageBinFreeDepthValue,
  cast(max_bin_depth as ewm_de_max_bin_depth_no_conv) AS StorageBinMaxDepthValue,
  x_cord AS StorageBinRowPositionInWhse,
  y_cord AS StorageBinStackPositionInWhse,
  z_cord AS StorageBinLevelPositionInWhse,
  guid_loc AS WarehouseLocationUUID,
  guid_hu AS HandlingUnitUUID,
  verif AS StorageBinVerifiedByMobileID,
  pbv_verif AS StorageBinVerifiedByVoiceID,
  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
FROM /scwm/lagp
;