C_GHONetworkMasterDetail

DDL: C_GHONETWORKMASTERDETAIL Type: view_entity CONSUMPTION

Network Master Details

C_GHONetworkMasterDetail is a Consumption CDS View that provides data about "Network Master Details" in SAP S/4HANA. It reads from 1 data source (I_GHONetworkMasterDetail) and exposes 23 fields with key field AllocationRunID. It is exposed through 1 OData service (UI_GHO_PRODNALLOCATIONRUNLIST).

Data Sources (1)

SourceAliasJoin Type
I_GHONetworkMasterDetail I_GHONetworkMasterDetail from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Network Master Details view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
UI_GHO_PRODNALLOCATIONRUNLIST UI_GHO_PRODNALLOCRUN_O2 V2 C1 NOT_RELEASED

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY AllocationRunID AllocationRunID
GHONetworkID GHONetworkID Netw Object ID
MeasuringGroupID
DefermentSystemCapacity
DefermentAllocationQty
DefermentQty
NetworkIsAllocated
Operator _ProductionNetworkDetails Operator Type of OPTION component in row type of a Ranges type
AllocationRuleUnitOfMsmt
AllocConversionGroup
AllocUnitOfMsmtGroup
NetworkMedium NetworkMedium Medium ID
ProductionAllocationType ProductionAllocationType Allocation Type
AllocationFrequencyCode AllocationFrequencyCode Frequency ID
ProductionAllocationDate ProductionAllocationDate
ProductionDate
ProductionAllocationTime ProductionAllocationTime
UpstreamProductionTime
ProdnAllocDateTime ProdnAllocDateTime
OperatorName
UserDescription
LastChangedByUser LastChangedByUser User Name
Version

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_GHONetworkMasterDetail.
-- 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 C_GHONetworkMasterDetail AS
SELECT
  AllocationRunID,
  GHONetworkID,
  cast( _NetworkVarblData.MeasuringGroupID as gho_measurement_group preserving type ) AS MeasuringGroupID,
  cast(_DefermentAnalysis.DefermentSystemCapacity as gho_deferment_system_capacity preserving type ) AS DefermentSystemCapacity,
  cast(_DefermentAnalysis.DefermentAllocationQty as gho_deferment_event_allocation preserving type ) AS DefermentAllocationQty,
  cast(_DefermentAnalysis.DefermentQty as gho_deferment_qty preserving type ) AS DefermentQty,
  cast(_ProductionNetworkDetails.NetworkToBeAllocated as gho_network_to_be_allocated preserving type ) AS NetworkIsAllocated,
  _ProductionNetworkDetails.Operator AS Operator,
  cast(AllocationRuleUnitOfMsmt as gho_master_unit_of_measure preserving type ) AS AllocationRuleUnitOfMsmt,
  cast(AllocConversionGroup as gho_conversion_grp preserving type ) AS AllocConversionGroup,
  cast( AllocUnitOfMsmtGroup as gho_alloc_uom_group preserving type ) AS AllocUnitOfMsmtGroup,
  NetworkMedium,
  ProductionAllocationType,
  AllocationFrequencyCode,
  ProductionAllocationDate,
  cast(tstmp_to_dats(ProdnAllocDateTime, _ProductionNetworkDetails.NetworkTimeZone, $session.client, 'NULL') as gho_production_date preserving type ) AS ProductionDate,
  ProductionAllocationTime,
  cast(tstmp_to_tims(ProdnAllocDateTime, _ProductionNetworkDetails.NetworkTimeZone, $session.client, 'NULL') as gho_production_time preserving type ) AS UpstreamProductionTime,
  ProdnAllocDateTime,
  cast(_ProductionNetworkDetails._OperatorText[Language = $session.system_language ].TransporterName as gho_pe_operator_name ) AS OperatorName,
  cast( _LastChangedByUser.UserDescription as gho_last_changed_by preserving type ) AS UserDescription,
  LastChangedByUser,
  cast(_AllocationRunVersion.NumberOfAllocationResults as gho_result_version ) AS Version
FROM I_GHONetworkMasterDetail
;