C_GHONetworkMasterDetail
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)
| Source | Alias | Join Type |
|---|---|---|
| I_GHONetworkMasterDetail | I_GHONetworkMasterDetail | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_GHO_PRODNALLOCATIONRUNLIST | UI_GHO_PRODNALLOCRUN_O2 | V2 | C1 | NOT_RELEASED |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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