C_PhysInvtryGaugeRdng

DDL: C_PHYSINVTRYGAUGERDNG SQL: CPHYINVGR Type: view CONSUMPTION

Physical Inventory gauge reading

C_PhysInvtryGaugeRdng is a Consumption CDS View that provides data about "Physical Inventory gauge reading" in SAP S/4HANA. It reads from 1 data source (I_PhysInvtryGaugeRdng) and exposes 42 fields with key fields StorageObjSgmntNmbr, OpenTankDipTime, EventsInSiloTankDip. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_PhysInvtryGaugeRdng I_PhysInvtryGaugeRdng from

Associations (1)

CardinalityTargetAliasCondition
[0..*] C_PhysParamGaugeRdng _PhysicalParametersGR $projection.StorageObjSgmntNmbr = _PhysicalParametersGR.StorageObjSgmntNmbr and $projection.OpenTankDipTime = _PhysicalParametersGR.OpenTankDipTime and $projection.EventsInSiloTankDip = _PhysicalParametersGR.EventsInSiloTankDip

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName CPHYINVGR view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE 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 StorageObjSgmntNmbr
KEY OpenTankDipTime OpenTankDipTime
KEY EventsInSiloTankDip EventsInSiloTankDip
ReltdBookStkTankDipQty ReltdBookStkTankDipQty
OilLinearVolCnvrsnSetNmbr OilLinearVolCnvrsnSetNmbr
Plant Plant Valuation Area
Location Location Text
SequenceNumber SequenceNumber Sort sequence
Material Material Vehicle Model
MaterialDescription MaterialDescription
UnitOfMeasureGroup UnitOfMeasureGroup
ConversionGroup ConversionGroup Conv. Group
RecalibrationIndex RecalibrationIndex
TankDipTotalHeight TankDipTotalHeight
TankDipTotalHeightUoM TankDipTotalHeightUoM Length UoM
TankDipWaterHeight TankDipWaterHeight
TankDipWaterHeightUoM TankDipWaterHeightUoM
TankDipQtyStkKeepingUnit TankDipQtyStkKeepingUnit
BaseUnit BaseUnit Unit of Measure
LinearVolMaterialQty LinearVolMaterialQty
LinearVolWaterQty LinearVolWaterQty
DippingMethodInnageUllage DippingMethodInnageUllage
LinearVolCnvrsnUom LinearVolCnvrsnUom
DipGUID DipGUID
OilTankDipCreateDate OilTankDipCreateDate
OilTankDipCreateTime OilTankDipCreateTime
CreatedByUser CreatedByUser User Name
OilTankDipChangeDate OilTankDipChangeDate
OilTankDipChangeTime OilTankDipChangeTime
OilTankDipChangedByUser OilTankDipChangedByUser Changed By
IsTankDipBlocked IsTankDipBlocked
IsDeleted IsDeleted TRUE
TankDipTotalHeightFLTP TankDipTotalHeightFLTP
TankDipWaterHeightFLTP TankDipWaterHeightFLTP
TankDipTotalHeightString TankDipTotalHeightString
TankDipWaterHeightString TankDipWaterHeightString
IsReconciliationCompletion IsReconciliationCompletion
OilTimeStampDisplay OilTimeStampDisplay
StartDate StartDate Valid From
OpenTankDipTimeDcml OpenTankDipTimeDcml
CurrentSystemUTCDateTime CurrentSystemUTCDateTime
_PhysicalParametersGR _PhysicalParametersGR

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 C_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: CPHYINVGR

CREATE VIEW C_PhysInvtryGaugeRdng AS
SELECT
  StorageObjSgmntNmbr,
  OpenTankDipTime,
  EventsInSiloTankDip,
  ReltdBookStkTankDipQty,
  OilLinearVolCnvrsnSetNmbr,
  Plant,
  Location,
  SequenceNumber,
  Material,
  MaterialDescription,
  UnitOfMeasureGroup,
  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_PhysInvtryGaugeRdng
LEFT OUTER JOIN C_PhysParamGaugeRdng AS _PhysicalParametersGR ON StorageObjSgmntNmbr = _PhysicalParametersGR.StorageObjSgmntNmbr AND OpenTankDipTime = _PhysicalParametersGR.OpenTankDipTime AND EventsInSiloTankDip = _PhysicalParametersGR.EventsInSiloTankDip  -- association [0..*]
;