I_GHOFunctionalLocation

DDL: I_GHOFUNCTIONALLOCATION Type: view_entity BASIC

UOM Specific Functional Location

I_GHOFunctionalLocation is a Basic CDS View that provides data about "UOM Specific Functional Location" in SAP S/4HANA. It reads from 1 data source (gho_iflot_ext) and exposes 23 fields with key field FunctionalLocation. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
gho_iflot_ext gho_iflot_ext from

Associations (7)

CardinalityTargetAliasCondition
[1..1] I_GHONtwkObjectType _NetworkObjectType $projection.NetworkObjectType = _NetworkObjectType.NetworkObjectType
[1..1] I_FunctionalLocation _FunctionalLocation $projection.FunctionalLocation = _FunctionalLocation.FunctionalLocation
[1..1] I_FunctionalLocation _FunctionalLocationWell $projection.GHOWellID = _FunctionalLocationWell.FunctionalLocation
[0..1] I_GHOFunctionalLocationLabel _FunctionalLocationLabel $projection.FunctionalLocation = _FunctionalLocationLabel.GHONetworkObjectID
[0..1] I_GHOFunctionalLocationLabel _WellLabel $projection.GHOWellID = _WellLabel.GHONetworkObjectID
[0..*] I_GHORecordStatusProcess _RecordStatusProcess $projection.UserStatusProfile = _RecordStatusProcess.UserStatusProfile and $projection.ProductionNetworkProfile = _RecordStatusProcess.ProductionNetworkProfile
[0..*] I_GHONtwkObjVarblData _FunctionalLocVarblData $projection.FunctionalLocation = _FunctionalLocVarblData.ProductionNetworkID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label UOM Specific Functional Location view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #BASIC view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY FunctionalLocation tplnr Functional loc.
GHOExternalFuncnlLocID gho_extenal_id External ID
NetworkObjectType gho_netobj_type Nw Obj Type
UpStreamTimeZone gho_pn_tz Network Timezone
NetworkInternalID netid Production Flow NW
SecondaryGeogrlLocation sec_geo_loc Secndry geo.loc
SecondaryGeogrlLocationName sec_geo_desc Sec. Loc. Desc.
NetworkToBeAllocated gho_pn_nw_alloc TRUE
NetworkTimeZone gho_pn_tz Network Timezone
NtwkObjectIsChained gho_chain_ind Nw Chaining
DataIntegrationSystemID system_id System ID
UserStatusProfile user_status_profile User Status Profile
ProductionNetworkProfile status_profile User Status Profile
Operator operator Type of OPTION component in row type of a Ranges type
GHOWellID Well Reference
GHOIsWellCompletionCommingled commingld_wc_ind WC Ind
_RecordStatusProcess _RecordStatusProcess
_NetworkObjectType _NetworkObjectType
_FunctionalLocation _FunctionalLocation
_FunctionalLocationLabel _FunctionalLocationLabel
_FunctionalLocVarblData _FunctionalLocVarblData
_FunctionalLocationWell _FunctionalLocationWell
_WellLabel _WellLabel

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_GHOFunctionalLocation.
-- 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_GHOFunctionalLocation AS
SELECT
  tplnr AS FunctionalLocation,
  gho_extenal_id AS GHOExternalFuncnlLocID,
  gho_netobj_type AS NetworkObjectType,
  gho_pn_tz AS UpStreamTimeZone,
  netid AS NetworkInternalID,
  sec_geo_loc AS SecondaryGeogrlLocation,
  sec_geo_desc AS SecondaryGeogrlLocationName,
  gho_pn_nw_alloc AS NetworkToBeAllocated,
  gho_pn_tz AS NetworkTimeZone,
  gho_chain_ind AS NtwkObjectIsChained,
  system_id AS DataIntegrationSystemID,
  user_status_profile AS UserStatusProfile,
  status_profile AS ProductionNetworkProfile,
  Operator,
  cast(gho_wc_ref_id as gho_network_id) AS GHOWellID,
  commingld_wc_ind AS GHOIsWellCompletionCommingled
FROM gho_iflot_ext
LEFT OUTER JOIN I_GHONtwkObjectType AS _NetworkObjectType ON NetworkObjectType = _NetworkObjectType.NetworkObjectType  -- association [1..1]
LEFT OUTER JOIN I_FunctionalLocation AS _FunctionalLocation ON FunctionalLocation = _FunctionalLocation.FunctionalLocation  -- association [1..1]
LEFT OUTER JOIN I_FunctionalLocation AS _FunctionalLocationWell ON GHOWellID = _FunctionalLocationWell.FunctionalLocation  -- association [1..1]
LEFT OUTER JOIN I_GHOFunctionalLocationLabel AS _FunctionalLocationLabel ON FunctionalLocation = _FunctionalLocationLabel.GHONetworkObjectID  -- association [0..1]
LEFT OUTER JOIN I_GHOFunctionalLocationLabel AS _WellLabel ON GHOWellID = _WellLabel.GHONetworkObjectID  -- association [0..1]
LEFT OUTER JOIN I_GHORecordStatusProcess AS _RecordStatusProcess ON UserStatusProfile = _RecordStatusProcess.UserStatusProfile AND ProductionNetworkProfile = _RecordStatusProcess.ProductionNetworkProfile  -- association [0..*]
LEFT OUTER JOIN I_GHONtwkObjVarblData AS _FunctionalLocVarblData ON FunctionalLocation = _FunctionalLocVarblData.ProductionNetworkID  -- association [0..*]
;