I_LocationVersion

DDL: I_LOCATIONVERSION SQL: ILOCATIONVERS Type: view BASIC

Location Version Dependent Fields

I_LocationVersion is a Basic CDS View that provides data about "Location Version Dependent Fields" in SAP S/4HANA. It reads from 1 data source (/sapapo/locver) and exposes 14 fields with key fields LocationUUID, PlanningVersionUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
/sapapo/locver /sapapo/locver from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_LocationBasic _LocationBasic $projection.LocationUUID = _LocationBasic.LocationUUID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ILOCATIONVERS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
VDM.lifecycle.contract.type #NONE view
VDM.viewType #BASIC view
EndUserText.label Location Version Dependent Fields view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY LocationUUID Single-Character Flag
KEY PlanningVersionUUID Plng Version
MaximumDuration Maximum Duration
MinimumDuration Min. Duration
HandlingCapacityConsumptionInb conhinb_tp Cap. Consumpt. (In.)
HndlgCapConsumptionInboundUnit unitinb_tp Unit of Meas.
HndlgCapacityConsumptionOutb conhout_tp Cap. Consmpt. (Out.)
HndlgCapCnsmpnOutboundUnit unitout_tp Unit of Meas.
SrvcPartsStkngStrgyPrfl stkprofid Strategy Prof.
SrvcPartsDstkngStrgyPrfl dstkprofid Strat. Prof. (Dest.)
SrvcPartsWrhsSpaceSvngPrfl wssprofid WSS Profile
SrvcPartsSurplusQtyThldVal minsrplvallmt ThrValSurplusQty
SrvcPartsSurplusApprvlThldVal srplapprvallmt ThrValSurplusAppr.
_LocationBasic _LocationBasic

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_LocationVersion.
-- 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: ILOCATIONVERS

CREATE VIEW I_LocationVersion AS
SELECT
  cast( locid as /sapapo/location_id preserving type ) AS LocationUUID,
  cast( simid as /sapapo/pln_version_uuid preserving type ) AS PlanningVersionUUID,
  cast( tsdurat as /sapapo/duration_max preserving type ) AS MaximumDuration,
  cast( tsdurat_min as /sapapo/duration_min preserving type ) AS MinimumDuration,
  conhinb_tp AS HandlingCapacityConsumptionInb,
  unitinb_tp AS HndlgCapConsumptionInboundUnit,
  conhout_tp AS HndlgCapacityConsumptionOutb,
  unitout_tp AS HndlgCapCnsmpnOutboundUnit,
  stkprofid AS SrvcPartsStkngStrgyPrfl,
  dstkprofid AS SrvcPartsDstkngStrgyPrfl,
  wssprofid AS SrvcPartsWrhsSpaceSvngPrfl,
  minsrplvallmt AS SrvcPartsSurplusQtyThldVal,
  srplapprvallmt AS SrvcPartsSurplusApprvlThldVal
FROM /sapapo/locver
LEFT OUTER JOIN I_LocationBasic AS _LocationBasic ON LocationUUID = _LocationBasic.LocationUUID  -- association [1..1]
;