I_PhysInvtryGaugeRdng

DDL: I_PHYSINVTRYGAUGERDNG SQL: IPHYINVGR Type: view COMPOSITE

Physical Inventory gauge reading

I_PhysInvtryGaugeRdng is a Composite CDS View that provides data about "Physical Inventory gauge reading" in SAP S/4HANA. It reads from 4 data sources (I_TimeDepdntMatlAssign, I_MaterialDescription, I_PhysInvtryGaugeRdngFld, I_StorageLocationIndex) and exposes 42 fields with key fields StorageObjSgmntNmbr, OpenTankDipTime, EventsInSiloTankDip.

Data Sources (4)

SourceAliasJoin Type
I_TimeDepdntMatlAssign MatAssign inner
I_MaterialDescription MatlDesc left_outer
I_PhysInvtryGaugeRdngFld PhysInvtryGR from
I_StorageLocationIndex StorageLocIndex inner

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IPHYINVGR view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
EndUserText.label Physical Inventory gauge reading view

Fields (42)

KeyFieldSource TableSource FieldDescription
KEY StorageObjSgmntNmbr I_PhysInvtryGaugeRdngFld StorageObjSgmntNmbr SOCSEG number
KEY OpenTankDipTime OpenTankDipTime Dip timestamp
KEY EventsInSiloTankDip EventsInSiloTankDip SOC event
clientNULLasPostingDate Dip timestamp
ReltdBookStkTankDipQty ReltdBookStkTankDipQty CorrBookStock
OilLinearVolCnvrsnSetNmbr OilLinearVolCnvrsnSetNmbr LVC set number
Plant I_StorageLocationIndex Plant Valuation Area
Location I_StorageLocationIndex Location Text
SequenceNumber I_StorageLocationIndex SequenceNumber Sort sequence
Material I_TimeDepdntMatlAssign Material Vehicle Model
MaterialDescription I_MaterialDescription MaterialDescription Product Description
UnitOfMeasureGroup I_TimeDepdntMatlAssign UnitOfMeasureGroup UoM Group
ConversionGroup I_TimeDepdntMatlAssign ConversionGroup Conv. Group
RecalibrationIndex RecalibrationIndex Recal.index
TankDipTotalHeight TankDipTotalHeight Total height
TankDipTotalHeightUoM TankDipTotalHeightUoM Length UoM
TankDipWaterHeight TankDipWaterHeight Water height
TankDipWaterHeightUoM TankDipWaterHeightUoM Length UoM
TankDipQtyStkKeepingUnit TankDipQtyStkKeepingUnit Qty. in SKU
BaseUnit BaseUnit Unit of Measure
LinearVolMaterialQty LinearVolMaterialQty Material volume
LinearVolWaterQty LinearVolWaterQty Water volume
DippingMethodInnageUllage DippingMethodInnageUllage Innage/ullage
LinearVolCnvrsnUom LinearVolCnvrsnUom Volume UoM
DipGUID DipGUID GUID 16
OilTankDipCreateDate OilTankDipCreateDate Entered On
OilTankDipCreateTime OilTankDipCreateTime Time created
CreatedByUser CreatedByUser User Name
OilTankDipChangeDate OilTankDipChangeDate Obsolete
OilTankDipChangeTime OilTankDipChangeTime Time changed
OilTankDipChangedByUser OilTankDipChangedByUser Changed By
IsTankDipBlocked IsTankDipBlocked Single-Character Flag
IsDeleted IsDeleted TRUE
TankDipTotalHeightFLTP TankDipTotalHeightFLTP Height
TankDipWaterHeightFLTP TankDipWaterHeightFLTP Height
TankDipTotalHeightString TankDipTotalHeightString
TankDipWaterHeightString TankDipWaterHeightString
IsReconciliationCompletion IsReconciliationCompletion Alloc Stat
OilTimeStampDisplay OilTimeStampDisplay Dip timestamp
StartDate StartDate Valid From
OpenTankDipTimeDcml OpenTankDipTimeDcml
CurrentSystemUTCDateTime CurrentSystemUTCDateTime

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_PhysInvtryGaugeRdng.
-- 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: IPHYINVGR

CREATE VIEW I_PhysInvtryGaugeRdng AS
SELECT
  PhysInvtryGR.StorageObjSgmntNmbr AS StorageObjSgmntNmbr,
  OpenTankDipTime,
  EventsInSiloTankDip,
  tstmp_to_dats( cast( OpenTankDipTime as abap.dec( 15, 0 )), abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as PostingDate AS clientNULLasPostingDate,
  ReltdBookStkTankDipQty,
  OilLinearVolCnvrsnSetNmbr,
  StorageLocIndex.Plant AS Plant,
  StorageLocIndex.Location AS Location,
  StorageLocIndex.SequenceNumber AS SequenceNumber,
  MatAssign.Material AS Material,
  MatlDesc.MaterialDescription AS MaterialDescription,
  MatAssign.UnitOfMeasureGroup AS UnitOfMeasureGroup,
  MatAssign.ConversionGroup AS ConversionGroup,
  RecalibrationIndex,
  TankDipTotalHeight,
  TankDipTotalHeightUoM,
  TankDipWaterHeight,
  TankDipWaterHeightUoM,
  TankDipQtyStkKeepingUnit,
  BaseUnit,
  LinearVolMaterialQty,
  LinearVolWaterQty,
  DippingMethodInnageUllage,
  LinearVolCnvrsnUom,
  DipGUID,
  OilTankDipCreateDate,
  OilTankDipCreateTime,
  CreatedByUser,
  OilTankDipChangeDate,
  OilTankDipChangeTime,
  OilTankDipChangedByUser,
  IsTankDipBlocked,
  IsDeleted,
  TankDipTotalHeightFLTP,
  TankDipWaterHeightFLTP,
  TankDipTotalHeightString,
  TankDipWaterHeightString,
  IsReconciliationCompletion,
  OilTimeStampDisplay,
  StartDate,
  OpenTankDipTimeDcml,
  CurrentSystemUTCDateTime
FROM I_PhysInvtryGaugeRdngFld AS PhysInvtryGR
INNER JOIN I_StorageLocationIndex AS StorageLocIndex ON /* join condition not captured in parsed metadata */
INNER JOIN I_TimeDepdntMatlAssign AS MatAssign ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MaterialDescription AS MatlDesc ON /* join condition not captured in parsed metadata */
;