C_NetworkActivityForGraph

DDL: C_NETWORKACTIVITYFORGRAPH Type: view_entity CONSUMPTION

Network Activity For Graph

C_NetworkActivityForGraph is a Consumption CDS View that provides data about "Network Activity For Graph" in SAP S/4HANA. It reads from 1 data source (I_NetworkActivityByInternalKey) and exposes 23 fields with key fields ProjectNetworkInternalID, NetworkActivityInternalID. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_NetworkActivityByInternalKey I_NetworkActivityByInternalKey from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_NetworkActivityDatesQuantity _NetworkActivityDatesQuantity $projection.ProjectNetworkInternalID = _NetworkActivityDatesQuantity.ProjectNetworkInternalID and $projection.NetworkActivityInternalID = _NetworkActivityDatesQuantity.NetworkActivityInternalID
[1..1] I_OperationControlProfileText _OperationControlProfileText $projection.NetworkActivityControlProfile = _OperationControlProfileText.OperationControlProfile and _OperationControlProfileText.Language = $session.system_language
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[0..1] I_NetworkActivityByInternalKey _Superior $projection.SuperiorNtwkActivityInternalID = _Superior.NetworkActivityInternalID and $projection.ProjectNetworkInternalID = _Superior.ProjectNetworkInternalID

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Network Activity For Graph view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY ProjectNetworkInternalID ProjectNetworkInternalID Plan No.f.Oper.
KEY NetworkActivityInternalID NetworkActivityInternalID Counter
NetworkActivityDescription NetworkActivityDescription
NetworkActivity NetworkActivity Operation/Activity
OperationControlProfileName Control Description
NetworkActivityControlProfile NetworkActivityControlProfile Control Key
SchedldBasicEarliestStartDate _NetworkActivityDatesQuantity SchedldBasicEarliestStartDate
SchedldBasicEarliestEndDate _NetworkActivityDatesQuantity SchedldBasicEarliestEndDate
SchedldBasicLatestStartDate _NetworkActivityDatesQuantity SchedldBasicLatestStartDate
ScheduledBasicLatestEndDate _NetworkActivityDatesQuantity ScheduledBasicLatestEndDate
SchedldFcstdEarliestStartDate _NetworkActivityDatesQuantity SchedldFcstdEarliestStartDate
SchedldFcstdEarliestEndDate _NetworkActivityDatesQuantity SchedldFcstdEarliestEndDate
LatestSchedldFcstdStartDate _NetworkActivityDatesQuantity LatestSchedldFcstdStartDate
LatestSchedldFcstdEndDate _NetworkActivityDatesQuantity LatestSchedldFcstdEndDate
IsMarkedForDeletion IsMarkedForDeletion Purch.org. data
SuperiorNtwkActivityInternalID SuperiorNtwkActivityInternalID Sup. Op. Node
Plant Plant Valuation Area
WorkCenter _WorkCenter WorkCenter Work Center
Supplier Supplier Supplier
_Supplier _Supplier
_NetworkActivityDatesQuantity _NetworkActivityDatesQuantity
_OperationControlProfileText _OperationControlProfileText
_Superior _Superior

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_NetworkActivityForGraph.
-- 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_NetworkActivityForGraph AS
SELECT
  ProjectNetworkInternalID,
  NetworkActivityInternalID,
  NetworkActivityDescription,
  NetworkActivity,
  cast ( _OperationControlProfileText.OperationControlProfileName as ps_s4_pph_steutxt ) AS OperationControlProfileName,
  NetworkActivityControlProfile,
  _NetworkActivityDatesQuantity.SchedldBasicEarliestStartDate AS SchedldBasicEarliestStartDate,
  _NetworkActivityDatesQuantity.SchedldBasicEarliestEndDate AS SchedldBasicEarliestEndDate,
  _NetworkActivityDatesQuantity.SchedldBasicLatestStartDate AS SchedldBasicLatestStartDate,
  _NetworkActivityDatesQuantity.ScheduledBasicLatestEndDate AS ScheduledBasicLatestEndDate,
  _NetworkActivityDatesQuantity.SchedldFcstdEarliestStartDate AS SchedldFcstdEarliestStartDate,
  _NetworkActivityDatesQuantity.SchedldFcstdEarliestEndDate AS SchedldFcstdEarliestEndDate,
  _NetworkActivityDatesQuantity.LatestSchedldFcstdStartDate AS LatestSchedldFcstdStartDate,
  _NetworkActivityDatesQuantity.LatestSchedldFcstdEndDate AS LatestSchedldFcstdEndDate,
  IsMarkedForDeletion,
  SuperiorNtwkActivityInternalID,
  Plant,
  _WorkCenter.WorkCenter AS WorkCenter,
  Supplier
FROM I_NetworkActivityByInternalKey
LEFT OUTER JOIN I_NetworkActivityDatesQuantity AS _NetworkActivityDatesQuantity ON ProjectNetworkInternalID = _NetworkActivityDatesQuantity.ProjectNetworkInternalID AND NetworkActivityInternalID = _NetworkActivityDatesQuantity.NetworkActivityInternalID  -- association [1..1]
LEFT OUTER JOIN I_OperationControlProfileText AS _OperationControlProfileText ON NetworkActivityControlProfile = _OperationControlProfileText.OperationControlProfile AND _OperationControlProfileText.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_NetworkActivityByInternalKey AS _Superior ON SuperiorNtwkActivityInternalID = _Superior.NetworkActivityInternalID AND ProjectNetworkInternalID = _Superior.ProjectNetworkInternalID  -- association [0..1]
;