I_NetworkActivityByInternalKey
Network Activity Information By Internal Key
I_NetworkActivityByInternalKey (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
ProjectNetworkActivity · R&D Engineering
I_NetworkActivityByInternalKey is a Basic CDS View (Fact) that provides data about "Network Activity Information By Internal Key" in SAP S/4HANA. It reads from 2 data sources (afko, afvc) and exposes 91 fields with key fields ProjectNetworkInternalID, NetworkActivityInternalID. It has 12 associations to related views.
SAP Help Documentation
| Category | Network |
|---|---|
| Data Category | FACT |
| Status | Released |
This CDS view provides the prerequisites for answering the following business questions: What is the relevant master data and status for selected network activity(s)? What are the key objects associated with the network activity?
Structure
Business Object This view is built on the business objects Network Activity. Measures and attributes Some important measures and attributes are: Details of the network activity and its associated objects such as project definition, WBS element, and so on
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | R&D Engineering |
| Application Component | PS-ST |
| Capabilities | Data Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source for Data Extraction, Analytical Dimension |
| Package | R&D Engineering for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Associations (12)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_CostCenterActivityTypeText | _ActivityTypeText | $projection.CostCtrActivityType = _ActivityTypeText.CostCtrActivityType and $projection.ControllingArea = _ActivityTypeText.ControllingArea and _ActivityTypeText.ValidityStartDate <= $session.system_date and _ActivityTypeText.ValidityEndDate >= $session.system_date |
| [1..1] | I_ProjectNetworkBasicData | _ProjectNetworkBasicData | $projection.ProjectNetworkInternalID = _ProjectNetworkBasicData.ProjectNetworkInternalID and _ProjectNetworkBasicData.OrderCategory = '20' |
| [1..1] | I_WorkCenter | _WorkCenter | $projection.WorkCenterInternalID = _WorkCenter.WorkCenterInternalID and _WorkCenter.WorkCenterTypeCode = 'A' |
| [1..1] | I_MaintenanceWorkCenterOrgUnit | _NetworkActivityWorkCenter | $projection.WorkCenterInternalID = _NetworkActivityWorkCenter.WorkCenterInternalID and _NetworkActivityWorkCenter.WorkCenterTypeCode = 'A' |
| [0..1] | I_ProjectObjectShortText | _ActivityShortText | _ActivityShortText.Language = $session.system_language and _ActivityShortText.ProjectApplicationIdentifier = 'PS' and _ActivityShortText.ProjectObjectType = 'NV' and $projection.NetworkActivityObject = _ActivityShortText.ProjectObjectNode |
| [1..1] | I_NetworkActivityDatesQuantity | _NtwkActivityDatesQuantity | $projection.ProjectNetworkInternalID = _NtwkActivityDatesQuantity.ProjectNetworkInternalID and $projection.NetworkActivityInternalID = _NtwkActivityDatesQuantity.NetworkActivityInternalID |
| [1..1] | I_NetworkActivityUserFields | _NetworkActivityUserFields | $projection.ProjectNetworkInternalID = _NetworkActivityUserFields.ProjectNetworkInternalID and $projection.NetworkActivityInternalID = _NetworkActivityUserFields.NetworkActivityInternalID |
| [0..1] | I_ControllingArea | _ControllingArea | $projection.ControllingArea = _ControllingArea.ControllingArea |
| [0..1] | I_NetworkActivityByInternalKey | _Superior | $projection.SuperiorNtwkActivityInternalID = _Superior.NetworkActivityInternalID and $projection.ProjectNetworkInternalID = _Superior.ProjectNetworkInternalID |
| [1..1] | I_OperationControlProfileText | _OperationControlProfileText | $projection.NetworkActivityControlProfile = _OperationControlProfileText.OperationControlProfile and _OperationControlProfileText.Language = $session.system_language |
| [0..1] | I_FactoryCalendarText | _FactoryCalendarText | _FactoryCalendarText.FactoryCalendar = $projection.FactoryCalendar and _FactoryCalendarText.Language = $session.system_language |
| [1..1] | E_NetworkActivity | _Extension | $projection.ProjectNetworkInternalID = _Extension.ProjectNetworkInternalID and $projection.NetworkActivityInternalID = _Extension.NetworkActivityInternalID |
Annotations (18)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | INWACTBYINT | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.representativeKey | NetworkActivityInternalID | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| ObjectModel.sapObjectNodeType.name | ProjectNetworkActivity | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Network Activity Information By Internal Key | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| Analytics.dataCategory | #FACT | view | |
| Analytics.internalName | #LOCAL | view | |
| Analytics.dataExtraction.enabled | true | view |
Fields (91)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectNetworkInternalID | afvc | aufpl | Routing number of operations in the order |
| KEY | NetworkActivityInternalID | afvc | aplzl | General counter for order |
| ProjectNetwork | afko | aufnr | SettlementOrder | |
| NetworkActivity | Activity number in network and standard network | |||
| NetworkActivityDescription | Operation short text | |||
| SuperiorNtwkActivityInternalID | afvc | sumnr | Node Number of the Superior Operation | |
| WBSElementInternalID | WBS Element | |||
| Supplier | afvc | lifnr | Account Number of Supplier | |
| NetworkActivityObject | afvc | objnr | Val. Obj. No. | |
| Plant | afvc | werks | Receiving Plant | |
| WorkCenterInternalID | afvc | arbid | Object ID of the resource | |
| CostCtrActivityType | Activity Type | |||
| NetworkActivityControlProfile | Control Key | |||
| OperationImportance | afvc | nprio | Priority | |
| ExternalProcessingPrice | Price | |||
| CostElement | Cost Element | |||
| NetworkActivityCurrency | Currency Key | |||
| IsMarkedForDeletion | Deletion Indicator | |||
| ControllingArea | _ProjectNetworkBasicData | ControllingArea | Controlling Area | |
| NetworkActivityPriority | Priority | |||
| NetworkActivityObjectCurrency | Currency Key | |||
| CompanyCode | afvc | bukrs | Company Code | |
| FactoryCalendar | Appointments: Calendar | |||
| Equipment | afvc | equnr | Equipment Number | |
| Assembly | afvc | istru | Assembly | |
| FunctionalLocation | Functional location | |||
| MaintOrdProcessPhaseCode | afvc | maintordopprocessphasecode | Process Phase | |
| MaintOrdProcessSubPhaseCode | afvc | maintordopprocesssubphasecode | Process Subphase | |
| ActyIsTakenAcctForProjSmmry | afvc | clasf | Ind.: Respect Activity for Project Summarization | |
| CapacityRequirementDistrKey | afvc | vertl | Distr.cap.reqmts (plant maint.,process order, network) | |
| NumberOfCapacities | afvc | anzzl | Number of capacities required | |
| OperationWorkPercent | afvc | prznt | Time interval % | |
| BusinessProcess | afvc | prz01 | Business Process | |
| StandardTextInternalID | afvc | ktsch | Standard text key | |
| ExtProcgOperationHasSubcontrg | afvc | frdlb | Indicator: External Processing Operation with Subcontracting | |
| PurchasingInfoRecord | afvc | infnr | Number of purchasing info record | |
| PurchasingOrganization | afvc | ekorg | Purchasing Organization | |
| PurchasingGroup | afvc | ekgrp | Purchasing Group for External Processing Activity | |
| NetworkActivityPriceBaseQty | afvc | peinh | Unit of measure | |
| NetworkActivityQuantityUnit | Unit of measure for activity | |||
| PurgInfoRecdDataIsFixed | afvc | kzfix | Data of Purchasing Info Record Is Fixed | |
| PurchaseRequisition | afvc | banfn | Purchase Requisition Number | |
| PurchaseRequisitionItem | afvc | bnfpo | Item Number of Purchase Requisition in Order | |
| MaterialGroup | afvc | matkl | Product Sold Group | |
| PurchasingInfoRecdAddlGrpgName | afvc | sortl | Sort Term for Non-Stock Info Records | |
| RequisitionerUser | afvc | afnam | Name of requisitioner/requester | |
| GoodsRecipientName | afvc | wempf | Goods Recipient | |
| OperationTrackingNumber | afvc | bednr | Requirement Tracking Number | |
| UnloadingPointName | afvc | ablad | Unloading Point | |
| BusinessArea | afvc | gsber | Business Area | |
| TaxJurisdictionCalcProcedure | afvc | kalsm | Search Proced. | |
| ProfitCenter | afvc | prctr | Profit Centers | |
| OverheadCode | afvc | zschl | Overhead key | |
| ChangeNumber | afvc | aennr | Change Number | |
| TaxJurisdiction | afvc | txjcd | Tax Jurisdiction | |
| FunctionalArea | afvc | func_area | Receiving Func. Area | |
| ControllingObjectClass | Object Class | |||
| ProgressAnlysAggregationWeight | afvc | evgew | Aggregation weight for POC (PS progress) | |
| NetworkActivityCost | afvc | prkst | Costs in the activity | |
| PartnerCostCenter | afvc | anfko | Requesting Cost Center | |
| Language | afvc | txtsp | Language Key | |
| NtwkAccountAssignmentCode | afvc | netzkont | Indicator for the account assignment of a network(hdr/act.) | |
| ProjNtwkIsRlvtForMatlPlng | afvc | no_disp | Effective for Materials Planning | |
| MatPlanningPrimaryCost | afvc | mat_prkst | Material planning in networks: primary costs | |
| ReferencePoint | afvc | rfpnt | Reference point for BOM transfer | |
| ReferenceElement | afvc | adpsp | Reference Element PM/PS | |
| OperationCalculationControl | afvc | indet | Key for calculation | |
| UsageCode | afvc | mlstn | Usage | |
| StandardDurationIsFlexible | afvc | ddehn | Indicator: flexible duration | |
| LeadTimeReductionStrategy | afvc | rstra | Reduction Strategy per Operation | |
| OpPurchaseOutlineAgreement | afvc | ebeln | Purchasing Document Number | |
| OpPurchaseOutlineAgreementItem | afvc | ebelp | Item Number of Purchasing Document | |
| CreationDate | afvc_ps_admin | ersda | Entry Date | |
| CreatedByUser | afvc_ps_admin | ernam | Name of Person Responsible for Creating the Object | |
| LastChangeDate | afvc_ps_admin | laeda | Last Changed On | |
| LastChangedByUser | afvc_ps_admin | aenam | Name of Person Who Changed Object | |
| StatusCombinationCode | afvc | afvc_status | Status Combination | |
| NetworkActivityConfirmation | afvc | rueck | Completion confirmation number for the operation | |
| NumberOfOperationConfirmations | afvc | rmzhl | Confirmation counter | |
| ObjBasedAuthorizationIsActive | _ProjectNetworkBasicData | ObjBasedAuthorizationIsActive | Indicator Object-based authorizations are active | |
| _ActivityTypeText | _ActivityTypeText | |||
| _ProjectNetworkBasicData | _ProjectNetworkBasicData | |||
| _WorkCenter | _WorkCenter | |||
| _NetworkActivityWorkCenter | _NetworkActivityWorkCenter | |||
| _OperationControlProfileText | _OperationControlProfileText | |||
| _FactoryCalendarText | _FactoryCalendarText | |||
| _ActivityShortText | _ActivityShortText | |||
| _NtwkActivityDatesQuantity | _NtwkActivityDatesQuantity | |||
| _NetworkActivityUserFields | _NetworkActivityUserFields | |||
| _ControllingArea | _ControllingArea | |||
| _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 I_NetworkActivityByInternalKey.
-- 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: INWACTBYINT
CREATE VIEW I_NetworkActivityByInternalKey AS
SELECT
afvc.aufpl AS ProjectNetworkInternalID,
afvc.aplzl AS NetworkActivityInternalID,
afko.aufnr AS ProjectNetwork,
cast ( afvc.vornr as ps_vornr ) AS NetworkActivity,
cast ( afvc.ltxa1 as ps_s4_ltxa1 ) AS NetworkActivityDescription,
afvc.sumnr AS SuperiorNtwkActivityInternalID,
cast( projn as ps_s4_pspnr preserving type ) AS WBSElementInternalID,
afvc.lifnr AS Supplier,
afvc.objnr AS NetworkActivityObject,
afvc.werks AS Plant,
afvc.arbid AS WorkCenterInternalID,
cast ( afvc.larnt as lstar ) AS CostCtrActivityType,
cast ( afvc.steus as qsteus ) AS NetworkActivityControlProfile,
afvc.nprio AS OperationImportance,
cast ( afvc.preis as preis ) AS ExternalProcessingPrice,
cast ( afvc.sakto as kstar ) AS CostElement,
cast ( afvc.waers as waers ) AS NetworkActivityCurrency,
cast ( afvc.loekz as ps_s4_loevm ) AS IsMarkedForDeletion,
_ProjectNetworkBasicData.ControllingArea AS ControllingArea,
cast ( afvc.pprio as prioritaet ) AS NetworkActivityPriority,
cast ( afvc.owaer as owaer ) AS NetworkActivityObjectCurrency,
afvc.bukrs AS CompanyCode,
cast ( afvc.kalid as appca ) AS FactoryCalendar,
afvc.equnr AS Equipment,
afvc.istru AS Assembly,
cast ( afvc.tplnr as tplnr_unconverted ) AS FunctionalLocation,
afvc.maintordopprocessphasecode AS MaintOrdProcessPhaseCode,
afvc.maintordopprocesssubphasecode AS MaintOrdProcessSubPhaseCode,
afvc.clasf AS ActyIsTakenAcctForProjSmmry,
afvc.vertl AS CapacityRequirementDistrKey,
afvc.anzzl AS NumberOfCapacities,
afvc.prznt AS OperationWorkPercent,
afvc.prz01 AS BusinessProcess,
afvc.ktsch AS StandardTextInternalID,
afvc.frdlb AS ExtProcgOperationHasSubcontrg,
afvc.infnr AS PurchasingInfoRecord,
afvc.ekorg AS PurchasingOrganization,
afvc.ekgrp AS PurchasingGroup,
afvc.peinh AS NetworkActivityPriceBaseQty,
cast( 'EA' as ps_s4_vorme ) AS NetworkActivityQuantityUnit,
afvc.kzfix AS PurgInfoRecdDataIsFixed,
afvc.banfn AS PurchaseRequisition,
afvc.bnfpo AS PurchaseRequisitionItem,
afvc.matkl AS MaterialGroup,
afvc.sortl AS PurchasingInfoRecdAddlGrpgName,
afvc.afnam AS RequisitionerUser,
afvc.wempf AS GoodsRecipientName,
afvc.bednr AS OperationTrackingNumber,
afvc.ablad AS UnloadingPointName,
afvc.gsber AS BusinessArea,
afvc.kalsm AS TaxJurisdictionCalcProcedure,
afvc.prctr AS ProfitCenter,
afvc.zschl AS OverheadCode,
afvc.aennr AS ChangeNumber,
afvc.txjcd AS TaxJurisdiction,
afvc.func_area AS FunctionalArea,
cast ( afvc.scope as ps_s4_scope_cv ) AS ControllingObjectClass,
afvc.evgew AS ProgressAnlysAggregationWeight,
afvc.prkst AS NetworkActivityCost,
afvc.anfko AS PartnerCostCenter,
afvc.txtsp AS Language,
afvc.netzkont AS NtwkAccountAssignmentCode,
afvc.no_disp AS ProjNtwkIsRlvtForMatlPlng,
afvc.mat_prkst AS MatPlanningPrimaryCost,
afvc.rfpnt AS ReferencePoint,
afvc.adpsp AS ReferenceElement,
afvc.indet AS OperationCalculationControl,
afvc.mlstn AS UsageCode,
afvc.ddehn AS StandardDurationIsFlexible,
afvc.rstra AS LeadTimeReductionStrategy,
afvc.ebeln AS OpPurchaseOutlineAgreement,
afvc.ebelp AS OpPurchaseOutlineAgreementItem,
afvc_ps_admin.ersda AS CreationDate,
afvc_ps_admin.ernam AS CreatedByUser,
afvc_ps_admin.laeda AS LastChangeDate,
afvc_ps_admin.aenam AS LastChangedByUser,
afvc.afvc_status AS StatusCombinationCode,
afvc.rueck AS NetworkActivityConfirmation,
afvc.rmzhl AS NumberOfOperationConfirmations,
_ProjectNetworkBasicData.ObjBasedAuthorizationIsActive AS ObjBasedAuthorizationIsActive
FROM afvc
INNER JOIN afko ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CostCenterActivityTypeText AS _ActivityTypeText ON CostCtrActivityType = _ActivityTypeText.CostCtrActivityType AND ControllingArea = _ActivityTypeText.ControllingArea AND _ActivityTypeText.ValidityStartDate <= $session.system_date AND _ActivityTypeText.ValidityEndDate >= $session.system_date -- association [0..*]
LEFT OUTER JOIN I_ProjectNetworkBasicData AS _ProjectNetworkBasicData ON ProjectNetworkInternalID = _ProjectNetworkBasicData.ProjectNetworkInternalID AND _ProjectNetworkBasicData.OrderCategory = '20' -- association [1..1]
LEFT OUTER JOIN I_WorkCenter AS _WorkCenter ON WorkCenterInternalID = _WorkCenter.WorkCenterInternalID AND _WorkCenter.WorkCenterTypeCode = 'A' -- association [1..1]
LEFT OUTER JOIN I_MaintenanceWorkCenterOrgUnit AS _NetworkActivityWorkCenter ON WorkCenterInternalID = _NetworkActivityWorkCenter.WorkCenterInternalID AND _NetworkActivityWorkCenter.WorkCenterTypeCode = 'A' -- association [1..1]
LEFT OUTER JOIN I_ProjectObjectShortText AS _ActivityShortText ON _ActivityShortText.Language = $session.system_language AND _ActivityShortText.ProjectApplicationIdentifier = 'PS' AND _ActivityShortText.ProjectObjectType = 'NV' AND NetworkActivityObject = _ActivityShortText.ProjectObjectNode -- association [0..1]
LEFT OUTER JOIN I_NetworkActivityDatesQuantity AS _NtwkActivityDatesQuantity ON ProjectNetworkInternalID = _NtwkActivityDatesQuantity.ProjectNetworkInternalID AND NetworkActivityInternalID = _NtwkActivityDatesQuantity.NetworkActivityInternalID -- association [1..1]
LEFT OUTER JOIN I_NetworkActivityUserFields AS _NetworkActivityUserFields ON ProjectNetworkInternalID = _NetworkActivityUserFields.ProjectNetworkInternalID AND NetworkActivityInternalID = _NetworkActivityUserFields.NetworkActivityInternalID -- association [1..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea -- association [0..1]
LEFT OUTER JOIN I_NetworkActivityByInternalKey AS _Superior ON SuperiorNtwkActivityInternalID = _Superior.NetworkActivityInternalID AND ProjectNetworkInternalID = _Superior.ProjectNetworkInternalID -- association [0..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_FactoryCalendarText AS _FactoryCalendarText ON _FactoryCalendarText.FactoryCalendar = FactoryCalendar AND _FactoryCalendarText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN E_NetworkActivity AS _Extension ON ProjectNetworkInternalID = _Extension.ProjectNetworkInternalID AND NetworkActivityInternalID = _Extension.NetworkActivityInternalID -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- 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