I_GHOFunctionalLocation
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)
| Source | Alias | Join Type |
|---|---|---|
| gho_iflot_ext | gho_iflot_ext | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA