C_NetworkActivityVersForGraph

DDL: C_NETWORKACTIVITYVERSFORGRAPH SQL: CNWACVFORGRAPH Type: view CONSUMPTION Package: ODATA_PROJECT_SCHEDULE_VER

Network Activity For Graph

C_NetworkActivityVersForGraph is a Consumption CDS View that provides data about "Network Activity For Graph" in SAP S/4HANA. It reads from 1 data source (I_NetworkActivityVersByIntKey) and exposes 24 fields with key fields ProjectNetworkInternalID, NetworkActivityInternalID, Version. It has 4 associations to related views. It is exposed through 1 OData service (UI_PROJECTOBJECTVERSHIERARCHY). Part of development package ODATA_PROJECT_SCHEDULE_VER.

Data Sources (1)

SourceAliasJoin Type
I_NetworkActivityVersByIntKey I_NetworkActivityVersByIntKey from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_NetworkActVersDatesQuantity _NetworkActivityDatesQuantity $projection.ProjectNetworkInternalID = _NetworkActivityDatesQuantity.ProjectNetworkInternalID and $projection.NetworkActivityInternalID = _NetworkActivityDatesQuantity.NetworkActivityInternalID and $projection.Version = _NetworkActivityDatesQuantity.Version
[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_NetworkActivityVersByIntKey _Superior $projection.SuperiorNtwkActivityInternalID = _Superior.NetworkActivityInternalID and $projection.ProjectNetworkInternalID = _Superior.ProjectNetworkInternalID and $projection.Version = _Superior.Version

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CNWACVFORGRAPH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
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

OData Services (1)

ServiceBindingVersionContractRelease
UI_PROJECTOBJECTVERSHIERARCHY UI_PS_PROJ_SCHED_VERS_SRV V2 C1 NOT_RELEASED

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY ProjectNetworkInternalID ProjectNetworkInternalID Plan No.f.Oper.
KEY NetworkActivityInternalID NetworkActivityInternalID Counter
KEY Version Version XML Vers.
NetworkActivityDescription NetworkActivityDescription
NetworkActivity NetworkActivity Operation/Activity
OperationControlProfileName
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_NetworkActivityVersForGraph.
-- 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.
-- SQL view name: CNWACVFORGRAPH

CREATE VIEW C_NetworkActivityVersForGraph AS
SELECT
  ProjectNetworkInternalID,
  NetworkActivityInternalID,
  Version,
  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_NetworkActivityVersByIntKey
LEFT OUTER JOIN I_NetworkActVersDatesQuantity AS _NetworkActivityDatesQuantity ON ProjectNetworkInternalID = _NetworkActivityDatesQuantity.ProjectNetworkInternalID AND NetworkActivityInternalID = _NetworkActivityDatesQuantity.NetworkActivityInternalID AND Version = _NetworkActivityDatesQuantity.Version  -- 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_NetworkActivityVersByIntKey AS _Superior ON SuperiorNtwkActivityInternalID = _Superior.NetworkActivityInternalID AND ProjectNetworkInternalID = _Superior.ProjectNetworkInternalID AND Version = _Superior.Version  -- association [0..1]
;