C_GHONtwkObjReproduceMatRules

DDL: C_GHONTWKOBJREPRODUCEMATRULES Type: view_entity CONSUMPTION

Network Obj Reproduce Material Rules

C_GHONtwkObjReproduceMatRules is a Consumption CDS View that provides data about "Network Obj Reproduce Material Rules" in SAP S/4HANA. It reads from 1 data source (I_GHOAllNtwkObjAllocRules) and exposes 13 fields with key fields GHONetworkID, GHONetworkObjectID, NtwkAllocMaterial, NetworkMedium, NtwkAllocFormPercentage. It is exposed through 1 OData service (UI_GHO_PRODNALLOCATIONRUNLIST).

Data Sources (1)

SourceAliasJoin Type
I_GHOAllNtwkObjAllocRules I_GHOAllNtwkObjAllocRules from

Parameters (3)

NameTypeDefault
P_NetworkMedium gho_product
P_ProductionStartDateTime gho_prodalloc_datetime
P_ProductionEndDateTime gho_prodalloc_datetime

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Network Obj Reproduce Material Rules view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
Search.searchable true view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
UI_GHO_PRODNALLOCATIONRUNLIST UI_GHO_PRODNALLOCRUN_O2 V2 C1 NOT_RELEASED

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY GHONetworkID GHONetworkID Netw Object ID
KEY GHONetworkObjectID
KEY NtwkAllocMaterial
KEY NetworkMedium
KEY NtwkAllocFormPercentage
NetworkObjectIcon
NetworkObjectLabelName
NetworkObjectDescription
NetworkObjectType _NetworkObjectDetails NetworkObjectType
ExternalNetworkObjectID
NetworkObjectTypeDescription
NetworkMediumDescription
MaterialName

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_GHONtwkObjReproduceMatRules.
-- 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.
-- Parameters: P_NetworkMedium : gho_product, P_ProductionStartDateTime : gho_prodalloc_datetime, P_ProductionEndDateTime : gho_prodalloc_datetime

CREATE VIEW C_GHONtwkObjReproduceMatRules AS
SELECT
  GHONetworkID,
  cast(GHONetworkObjectID as gho_ntwkobj_id preserving type ) AS GHONetworkObjectID,
  cast(_ReproduceMatRules.NtwkAllocMaterial as gho_reproduced_material preserving type ) AS NtwkAllocMaterial,
  coalesce(_ReproduceMatRules.NetworkMedium, $parameters.P_NetworkMedium) AS NetworkMedium,
  cast(_ReproduceMatRules.NtwkAllocFormPercentage as gho_alloc_form_percentage preserving type ) AS NtwkAllocFormPercentage,
  _NetworkObjectDetails._NetworkObjectType.FioriIcon AS NetworkObjectIcon,
  cast(_NetworkObjectDetails._FunctionalLocationLabel.FunctionalLocationLabelName as gho_networkobject_label preserving type ) AS NetworkObjectLabelName,
  cast(_NetworkObjectDetails._FunctionalLocation._FunctionalLocationText[1: Language = $session.system_language ].FunctionalLocationName as gho_network_obj_desc preserving type ) AS NetworkObjectDescription,
  _NetworkObjectDetails.NetworkObjectType AS NetworkObjectType,
  cast(_NetworkObjectDetails.ExternalNetworkObjectID as gho_ntwk_obj_ext_id preserving type ) AS ExternalNetworkObjectID,
  cast(_NetworkObjectDetails._NetworkObjectType._NtwkObjTypeText[1: Language = $session.system_language ].NetworkObjectTypeDescription as gho_network_object_type preserving type ) AS NetworkObjectTypeDescription,
  _ReproduceMatRules._MediumText[1: Language = $session.system_language ].NetworkMediumDescription AS NetworkMediumDescription,
  cast(_ReproduceMatRules._AllocatedMaterial._Text[1: Language = $session.system_language ].MaterialName as gho_reproduced_material_text preserving type ) AS MaterialName
FROM I_GHOAllNtwkObjAllocRules
;