R_ProjectNetworkTP
Project Network Data - TP
R_ProjectNetworkTP is a Transactional CDS View that provides data about "Project Network Data - TP" in SAP S/4HANA. It reads from 1 data source (I_ProjectNetworkBasicData) and exposes 79 fields with key field ProjectNetwork. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProjectNetworkBasicData | I_ProjectNetworkBasicData | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | E_LogisticsOrder | _Extension | $projection.ProjectNetwork = _Extension.OrderID |
| [0..*] | R_ProjectNetworkActivityTP | _ProjectNetworkActivity | |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Project Network Data - TP | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.representativeKey | ProjectNetwork | view | |
| ObjectModel.sapObjectNodeType.name | ProjectNetwork | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view |
Fields (79)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectNetwork | ProjectNetwork | ||
| ProjectNetworkInternalID | ProjectNetworkInternalID | |||
| ProjectNetworkObject | ProjectNetworkObject | |||
| ProjectNetworkDescription | ProjectNetworkDescription | |||
| ProjectNetworkType | ProjectNetworkType | |||
| ProjNtwkLangBsdDescription | _NetworkShortText | LanguageBasedShortText | Network Description | |
| PlannedStartDate | PlannedStartDate | |||
| PlannedEndDate | PlannedEndDate | |||
| ScheduledReleaseDate | ScheduledReleaseDate | |||
| ScheduledBasicStartDate | ScheduledBasicStartDate | |||
| ScheduledBasicEndDate | ScheduledBasicEndDate | |||
| ScheduledFcstdReleaseDate | ScheduledFcstdReleaseDate | |||
| ActualReleasedDate | ActualReleasedDate | |||
| ActualStartDate | ActualStartDate | |||
| ActualEndDate | ActualEndDate | |||
| BasicSchedulingType | BasicSchedulingType | |||
| BasicSchedulingReductionLevel | BasicSchedulingReductionLevel | |||
| FcstSchedulingReductionLevel | FcstSchedulingReductionLevel | |||
| OrdIsNotSchedldAutomatically | OrdIsNotSchedldAutomatically | |||
| CapacityRqmtHasNotToBeCreated | CapacityRqmtHasNotToBeCreated | |||
| SchedulingIsAllowingForBreaks | SchedulingIsAllowingForBreaks | |||
| ProjectInternalID | ProjectInternalID | |||
| ProjectExternalIDendasProjectExternalID | ||||
| WBSElementInternalID | WBSElementInternalID | |||
| SalesOrder | SalesOrder | |||
| SalesOrderItem | SalesOrderItem | |||
| SuperiorProjectNetwork | SuperiorProjectNetwork | |||
| SuperiorProjectNetworkIntID | SuperiorProjectNetworkIntID | |||
| SuperiorNtwkActivityInternalID | SuperiorNtwkActivityInternalID | |||
| SuperiorNtwkActivityExternalID | _NetworkActivityByInternalKey | NetworkActivity | ||
| ControllingArea | ControllingArea | |||
| CompanyCode | CompanyCode | |||
| BusinessArea | BusinessArea | |||
| ProfitCenter | ProfitCenter | |||
| FunctionalArea | FunctionalArea | |||
| ControllingObjectClass | ControllingObjectClass | |||
| TaxJurisdiction | TaxJurisdiction | |||
| ResponsibleCostCenter | ResponsibleCostCenter | |||
| Currency | Currency | |||
| ResponsiblePlannerGroup | ResponsiblePlannerGroup | |||
| ChangeNumber | ChangeNumber | |||
| JointVenture | JointVenture | |||
| JointVentureRecoveryCode | JointVentureRecoveryCode | |||
| JointVentureEquityType | JointVentureEquityType | |||
| JointVentureObjectType | JointVentureObjectType | |||
| JointVentureClass | JointVentureClass | |||
| JointVentureSubClass | JointVentureSubClass | |||
| JointVentureOriginalCostObject | JointVentureOriginalCostObject | |||
| NetworkProfile | NetworkProfile | |||
| Plant | Plant | |||
| MRPController | MRPController | |||
| PriorityCode | PriorityCode | |||
| BaseUnit | BaseUnit | |||
| PlannedTotalQty | PlannedTotalQty | |||
| CostingSheet | CostingSheet | |||
| PlannedCostsCostingVariant | PlannedCostsCostingVariant | |||
| ActualCostsCostingVariant | ActualCostsCostingVariant | |||
| OverheadCode | OverheadCode | |||
| CreatedByUser | CreatedByUser | |||
| CreationDate | CreationDate | |||
| LastChangedByUser | LastChangedByUser | |||
| LastChangeDate | LastChangeDate | |||
| IsMarkedForDeletion | IsMarkedForDeletion | |||
| NetworkIsAccountAssigned | NetworkIsAccountAssigned | |||
| ProcurementMode | ProcurementMode | |||
| StatusCombinationCode | StatusCombinationCode | |||
| _BusinessArea | _BusinessArea | |||
| _CompanyCode | _CompanyCode | |||
| _ControllingArea | _ControllingArea | |||
| _MRPController | _MRPController | |||
| _NetworkActivityByInternalKey | _NetworkActivityByInternalKey | |||
| _OrderType | _OrderType | |||
| _Plant | _Plant | |||
| _PriorityCode | _PriorityCode | |||
| _ProfitCenter | _ProfitCenter | |||
| _ProjectData | _ProjectData | |||
| _WBSElementData | _WBSElementData | |||
| _ProjectNetworkActivity | _ProjectNetworkActivity | |||
| _NetworkShortText | _NetworkShortText |
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Project Network Data - TP'
@VDM.viewType: #TRANSACTIONAL
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
//@ObjectModel.sapObjectNodeType.name: 'ProjectNetwork'
//@ObjectModel.usageType: {
// sizeCategory: #XL,
// dataClass: #TRANSACTIONAL,
// serviceQuality: #C
//}
@ObjectModel: {
representativeKey: 'ProjectNetwork',
semanticKey: [ 'ProjectNetwork' ],
sapObjectNodeType.name: 'ProjectNetwork',
usageType: {
sizeCategory: #XL,
dataClass: #TRANSACTIONAL,
serviceQuality: #C
}
}
define root view entity R_ProjectNetworkTP
as select from I_ProjectNetworkBasicData
association [1..1] to E_LogisticsOrder as _Extension on $projection.ProjectNetwork = _Extension.OrderID
composition [0..*] of R_ProjectNetworkActivityTP as _ProjectNetworkActivity
{
@ObjectModel.text.element: ['ProjectNetworkDescription']
key ProjectNetwork,
ProjectNetworkInternalID,
ProjectNetworkObject,
@Semantics.text: true
ProjectNetworkDescription,
ProjectNetworkType,
@EndUserText.label: 'Network Description'
@Semantics.text: true
_NetworkShortText.LanguageBasedShortText as ProjNtwkLangBsdDescription,
PlannedStartDate,
PlannedEndDate,
ScheduledReleaseDate,
ScheduledBasicStartDate,
ScheduledBasicEndDate,
ForecastedStartDate,
ForecastedEndDate,
ScheduledFcstdReleaseDate,
ScheduledForecastedStartDate,
ScheduledForecastedEndDate,
ActualReleasedDate,
ActualStartDate,
ActualEndDate,
BasicSchedulingType,
BasicSchedulingReductionLevel,
ForecastSchedulingType,
FcstSchedulingReductionLevel,
@Semantics.booleanIndicator: true
OrdIsNotSchedldAutomatically,
CapacityRqmtHasNotToBeCreated,
SchedulingIsAllowingForBreaks,
ProjectInternalID,
case _ProjectData.ProjectExternalID
when ''
then cast( _ProjectData.Project as ps_pspid_edit preserving type )
else
_ProjectData.ProjectExternalID
end as ProjectExternalID,
WBSElementInternalID,
case _WBSElementData.WBSElementExternalID
when ''
then cast( _WBSElementData.WBSElement as ps_posid_edit preserving type )
else _WBSElementData.WBSElementExternalID
end as WBSElementExternalID,
SalesOrder,
SalesOrderItem,
SuperiorProjectNetwork,
SuperiorProjectNetworkIntID,
SuperiorNtwkActivityInternalID,
_NetworkActivityByInternalKey.NetworkActivity as SuperiorNtwkActivityExternalID,
ControllingArea,
CompanyCode,
BusinessArea,
ProfitCenter,
FunctionalArea,
ControllingObjectClass,
TaxJurisdiction,
ResponsibleCostCenter,
Currency,
ResponsiblePlannerGroup,
ChangeNumber,
JointVenture,
JointVentureRecoveryCode,
JointVentureEquityType,
JointVentureObjectType,
JointVentureClass,
JointVentureSubClass,
JointVentureOriginalCostObject,
NetworkProfile,
Plant,
MRPController,
PriorityCode,
BaseUnit,
@Semantics.quantity.unitOfMeasure: 'BaseUnit'
PlannedTotalQty,
CostingSheet,
PlannedCostsCostingVariant,
ActualCostsCostingVariant,
OverheadCode,
case
when not PlannedCostsAreNotCalculated is initial
then '0'
when PlannedCostsAreNotCalculated is initial
and not OrderIsNotCostedAutomatically is initial
and OrderCostsAreUpdated is initial
then '1'
when PlannedCostsAreNotCalculated is initial
and not OrderIsNotCostedAutomatically is initial
and not OrderCostsAreUpdated is initial
then '3'
when PlannedCostsAreNotCalculated is initial
and OrderIsNotCostedAutomatically is initial
and OrderCostsAreUpdated is initial
then '2'
when PlannedCostsAreNotCalculated is initial
and OrderIsNotCostedAutomatically is initial
and not OrderCostsAreUpdated is initial
then '4'
else ' '
end as PlannedCostCalculation,
case
when ProjNtwkIsRlvtForMatlPlng = '1'
then '1'
when ProjNtwkIsRlvtForMatlPlng = 'X'
then '2'
when ProjNtwkIsRlvtForMatlPlng = ' '
then '3'
when ProjNtwkIsRlvtForMatlPlng = 'B'
then '4'
else ' '
end as PurReqnOrResvnGeneration,
CreatedByUser,
CreationDate,
LastChangedByUser,
LastChangeDate,
IsMarkedForDeletion,
NetworkIsAccountAssigned,
ProcurementMode,
//case
//when PlannedTotalQty < 999
//then cast( PlannedTotalQty as abap.dec( 3, 0 ) )
//else
// cast( 1 as abap.dec( 3, 0 ) )
//end as ProjectNetworkExecutionRate,
case
when PlannedTotalQty <= 999
then cast( PlannedTotalQty as afakt)
else
cast( 1 as afakt )
end as ProjectNetworkExecutionRate,
StatusCombinationCode,
/* Associations */
_BusinessArea,
_CompanyCode,
_ControllingArea,
_MRPController,
_NetworkActivityByInternalKey,
_OrderType,
_Plant,
_PriorityCode,
_ProfitCenter,
_ProjectData,
_WBSElementData,
_ProjectNetworkActivity,
_NetworkShortText
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_NETWORKACTIVITYBYINTERNALKEY",
"I_PROJECTDATA_2",
"I_PROJECTNETWORKBASICDATA",
"I_PROJECTOBJECTSHORTTEXT",
"I_WBSELEMENTDATA_2"
],
"ASSOCIATED":
[
"I_BUSINESSAREA",
"I_COMPANYCODE",
"I_CONTROLLINGAREA",
"I_MRPCONTROLLER",
"I_NETWORKACTIVITYBYINTERNALKEY",
"I_ORDERTYPE",
"I_PLANT",
"I_PRIORITYCODE",
"I_PROFITCENTER",
"I_PROJECTDATA_2",
"I_PROJECTOBJECTSHORTTEXT",
"I_WBSELEMENTDATA_2",
"R_PROJECTNETWORKACTIVITYTP"
],
"BASE":
[
"I_PROJECTNETWORKBASICDATA"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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