R_WBSElementTP_2

DDL: R_WBSELEMENTTP_2 Type: view_entity TRANSACTIONAL

TP view for I WBSElementData 2

R_WBSElementTP_2 is a Transactional CDS View that provides data about "TP view for I WBSElementData 2" in SAP S/4HANA. It reads from 1 data source (I_WBSElementData_2) and exposes 136 fields with key field WBSElementInternalID. It has 24 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_WBSElementData_2 I_WBSElementData_2 from

Associations (24)

CardinalityTargetAliasCondition
[0..1] I_WBSElementShortText _WBSElementShortText $projection.WBSElementObject = _WBSElementShortText.WBSElementObject and _WBSElementShortText.Language = $session.system_language
[0..1] I_WBSElementHierarchyData _WBSElementHierarchyData $projection.WBSElementInternalID = _WBSElementHierarchyData.WBSElementInternalID ---Extension
[1..1] E_WBSElement_2 _Extension $projection.WBSElementInternalID = _Extension.WBSElementInternalID ---Self
[0..1] R_WBSElementTP_2 _ParentWBSElement $projection.wbselementparentinternalid = _ParentWBSElement.WBSElementInternalID
[1..*] R_WBSElementTP_2 _SubWBSElement $projection.WBSElementInternalID = _SubWBSElement.WBSElementParentInternalID ---
[1..1] I_FunctionalLocationLabel _FunctionalLocationLabel $projection.FunctionalLocation = _FunctionalLocationLabel.FunctionalLocation
[0..*] R_ProjectNetworkTP _ProjectNetwork $projection.WBSElementInternalID = _ProjectNetwork.WBSElementInternalID
[0..*] R_ProjectNetworkTP _ProjectNetworkUpdate $projection.WBSElementInternalID = _ProjectNetworkUpdate.WBSElementInternalID
[0..*] R_ProjectNetworkTP _ProjectNetworkDelete $projection.WBSElementInternalID = _ProjectNetworkDelete.WBSElementInternalID
[0..*] R_ProjectNetworkActivityTP _ProjectNetworkActivity $projection.WBSElementInternalID = _ProjectNetworkActivity.WBSElementInternalID
[0..*] R_ProjectNetworkActivityTP _ProjectNetworkActivityUpdate $projection.WBSElementInternalID = _ProjectNetworkActivityUpdate.WBSElementInternalID
[0..*] R_ProjectNetworkActivityTP _ProjectNetworkActivityDelete $projection.WBSElementInternalID = _ProjectNetworkActivityDelete.WBSElementInternalID
[0..*] R_ProjNetworkActivityElementTP _ProjNtwkActivityElement $projection.WBSElementInternalID = _ProjNtwkActivityElement.WBSElementInternalID
[0..*] R_ProjNetworkActivityElementTP _ProjNtwkActivityElementUpdate $projection.WBSElementInternalID = _ProjNtwkActivityElementUpdate.WBSElementInternalID
[0..*] R_ProjNetworkActivityElementTP _ProjNtwkActivityElementDelete $projection.WBSElementInternalID = _ProjNtwkActivityElementDelete.WBSElementInternalID
[0..*] R_ProjNtwkActyMatlCompTP _ProjNtwkActyMatlComp $projection.WBSElementInternalID = _ProjNtwkActyMatlComp.AssignedWBSElementInternalID
[0..*] R_ProjNtwkActyMatlCompTP _ProjNtwkActyMatlCompUpdate $projection.WBSElementInternalID = _ProjNtwkActyMatlCompUpdate.AssignedWBSElementInternalID
[0..*] R_ProjNtwkActyMatlCompTP _ProjNtwkActyMatlCompDelete $projection.WBSElementInternalID = _ProjNtwkActyMatlCompDelete.AssignedWBSElementInternalID
[0..*] R_ProjNtwkActivityMilestoneTP _ProjNtwkActyMilestone $projection.WBSElementInternalID = _ProjNtwkActyMilestone.WBSElementInternalID
[0..*] R_ProjNtwkActivityMilestoneTP _ProjNtwkActyMilestoneUpdate $projection.WBSElementInternalID = _ProjNtwkActyMilestoneUpdate.WBSElementInternalID
[0..*] R_ProjNtwkActivityMilestoneTP _ProjNtwkActyMilestoneDelete $projection.WBSElementInternalID = _ProjNtwkActyMilestoneDelete.WBSElementInternalID
[0..*] R_ProjNtwkActyRelationshipTP _ProjNtwkActyRelshp $projection.WBSElementInternalID = _ProjNtwkActyRelshp.WBSElementInternalID
[0..*] R_ProjNtwkActyRelationshipTP _ProjNtwkActyRelshpDelete $projection.WBSElementInternalID = _ProjNtwkActyRelshpDelete.WBSElementInternalID
[0..*] R_WBSElementMilestoneTP _WBSElementMilestone

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label TP view for I WBSElementData 2 view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.sapObjectNodeType.name WorkBreakdownStructureElement view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view

Fields (136)

KeyFieldSource TableSource FieldDescription
KEY WBSElementInternalID WBSElementInternalID WBS Internal ID
WBSElementShortID WBSElementShortID Short ID
WBSDescription WBSDescription WBS Element Name
WBSElementLangBsdDescription _WBSElementShortText WBSElementLangBsdDescription
ResponsiblePerson ResponsiblePerson Processor
ResponsiblePersonName ResponsiblePersonName User
ApplicantCode ApplicantCode
ApplicantName ApplicantName Applicant
CompanyCode Receiver Company Code
BusinessArea BusinessArea Business Area
ControllingArea Controlling Area
FunctionalArea FunctionalArea Sendr Fctl Area
ProfitCenter ProfitCenter Profit Center
ResponsibleCostCenter ResponsibleCostCenter Responsible Cost Center
Plant Plant Valuation Area
FreeDefinedTableFieldSemantic FreeDefinedTableFieldSemantic Field key PS
FactoryCalendar FactoryCalendar Factory Calendar
PriorityCode PriorityCode Priority
Currency Currency Valuation Crcy
CostingSheet CostingSheet Costing Sheet
CostCenter CostCenter Cost Center
RequestingCostCenter RequestingCostCenter Req.cost center
ProjectInternalID ProjectInternalID Project Def.
WBSElementIsBillingElement WBSElementIsBillingElement Billing elem.
WBSElementObject WBSElementObject Object number
InvestmentProfile InvestmentProfile Investment Measure Profile
WBSIsStatisticalWBSElement WBSIsStatisticalWBSElement Statistical
WBSIsAccountAssignmentElement WBSIsAccountAssignmentElement
ProjectType ProjectType Project Type
WBSElementIsPlanningElement WBSElementIsPlanningElement
WorkCenterLocation WorkCenterLocation Location
ResultAnalysisInternalID ResultAnalysisInternalID Results Analysis Key
TaxJurisdiction TaxJurisdiction Tax Jurisdiction
FunctionalLocation Object ID
FunctionalLocationLabelName _FunctionalLocationLabel FunctionalLocationLabelName Functional Loc.
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
LastChangedByUser LastChangedByUser User Name
LastChangeDate LastChangeDate Time Stamp
RespCostCenterControllingArea RespCostCenterControllingArea CA (resp.)
WBSIsMarkedForIntegratedPlng WBSIsMarkedForIntegratedPlng
Equipment Equipment Equipment check
ProjectObjectChangeNumber ProjectObjectChangeNumber Change Number
WBSElementHierarchyLevel WBSElementHierarchyLevel Level Number
OverheadCode OverheadCode Overhead Key
ReferenceElement ReferenceElement Ref. Element PM/PS
ProjInterestCalcProfile ProjInterestCalcProfile Interest Prof.
ProgressAnlysAggregationWeight ProgressAnlysAggregationWeight
ReqgCostCenterControllingArea ReqgCostCenterControllingArea CA (requesting)
Language Language Report Text Language
IsMarkedForDeletion IsMarkedForDeletion Purch.org. data
WBSElementIsGroupingWBSElement WBSElementIsGroupingWBSElement Grouping WBS el
WBSElementIsUsedInProjSmmry WBSElementIsUsedInProjSmmry Summarization
CostingVariant CostingVariant Costing Variant
BasicStartDate BasicStartDate
ActualStartDate ActualStartDate Actual Start
BasicEndDate BasicEndDate
ActualEndDate ActualEndDate Actual Finish
TechnicalCompletionDate TechnicalCompletionDate Tech. complete
BasicDuration BasicDuration
BasicDurationUnit BasicDurationUnit
ActualDuration ActualDuration
ActualDurationUnit ActualDurationUnit
SchedldBasicEarliestStartDate SchedldBasicEarliestStartDate
ScheduledBasicLatestEndDate ScheduledBasicLatestEndDate
SchedldFcstdEarliestStartDate SchedldFcstdEarliestStartDate
LatestSchedldFcstdEndDate LatestSchedldFcstdEndDate
TentativeActualStartDate TentativeActualStartDate
TentativeActualEndDate TentativeActualEndDate
JointVenture JointVenture Joint venture
JointVentureCostRecoveryCode JointVentureCostRecoveryCode Recovery Ind.
JointVentureEquityType JointVentureEquityType Joint Venture Equity Type
JntVntrProjectType JntVntrProjectType JV Object Type
JntIntrstBillgClass JntIntrstBillgClass JIB/JIBE Class
JntIntrstBillgSubClass JntIntrstBillgSubClass JIB/JIBE SbClsA
SubProject SubProject Sub-project
InvestmentReason InvestmentReason Invest. Reason
InvestmentScale InvestmentScale Investment Scale
EnvironmentalInvestmentReason EnvironmentalInvestmentReason Envir. Invest.
RequestingCompanyCode RequestingCompanyCode Req. co.code
NetworkAssignmentType NetworkAssignmentType Not Assignable
CostObject CostObject Cost Object
BillingPlan BillingPlan Bill. Plan No.
ControllingObjectClass ControllingObjectClass Object Class
WBSElementParentInternalID _WBSElementHierarchyData WBSElementParentInternalID
WBSElementChildInternalID _WBSElementHierarchyData WBSElementChildInternalID
LeftSiblingWBSElmntInternalID _WBSElementHierarchyData LeftSiblingWBSElmntInternalID
RightSiblingWBSElmntInternalID _WBSElementHierarchyData RightSiblingWBSElmntInternalID
FreeDefinedAttribute01 FreeDefinedAttribute01 Attribute 1
FreeDefinedAttribute02 FreeDefinedAttribute02 Attribute 2
FreeDefinedAttribute03 FreeDefinedAttribute03 Attribute 3
FreeDefinedAttribute04 FreeDefinedAttribute04 Attribute 4
FreeDefinedQuantity1 FreeDefinedQuantity1
FreeDefinedQuantity1Unit FreeDefinedQuantity1Unit
FreeDefinedQuantity2 FreeDefinedQuantity2
FreeDefinedQuantity2Unit FreeDefinedQuantity2Unit
FreeDefinedAmount1 FreeDefinedAmount1
FreeDefinedAmount1Currency FreeDefinedAmount1Currency
FreeDefinedAmount2 FreeDefinedAmount2
FreeDefinedAmount2Currency FreeDefinedAmount2Currency
FreeDefinedDate1 FreeDefinedDate1
FreeDefinedDate2 FreeDefinedDate2
FreeDefinedIndicator1 FreeDefinedIndicator1
FreeDefinedIndicator2 FreeDefinedIndicator2
StatusProfile StatusProfile Status Profile
DistributionProfile DistributionProfile Distri. profile
SchedldBasicEarliestEndDate SchedldBasicEarliestEndDate
SchedldBasicLatestStartDate SchedldBasicLatestStartDate
SchedldFcstdEarliestEndDate SchedldFcstdEarliestEndDate
LatestSchedldFcstdStartDate LatestSchedldFcstdStartDate
StatusCombinationCode StatusCombinationCode Status Comb
ObjBasedAuthorizationIsActive ObjBasedAuthorizationIsActive
_Project _Project
_ResponsiblePerson _ResponsiblePerson
_ProjectApplicant _ProjectApplicant
_ParentWBSElement _ParentWBSElement
_SubWBSElement _SubWBSElement
_FunctionalLocationLabel _FunctionalLocationLabel
_WBSElementMilestone _WBSElementMilestone
_ProjectNetwork _ProjectNetwork
_ProjectNetworkUpdate _ProjectNetworkUpdate
_ProjectNetworkDelete _ProjectNetworkDelete
_ProjectNetworkActivity _ProjectNetworkActivity
_ProjectNetworkActivityUpdate _ProjectNetworkActivityUpdate
_ProjectNetworkActivityDelete _ProjectNetworkActivityDelete
_ProjNtwkActivityElement _ProjNtwkActivityElement
_ProjNtwkActivityElementUpdate _ProjNtwkActivityElementUpdate
_ProjNtwkActivityElementDelete _ProjNtwkActivityElementDelete
_ProjNtwkActyMatlComp _ProjNtwkActyMatlComp
_ProjNtwkActyMatlCompUpdate _ProjNtwkActyMatlCompUpdate
_ProjNtwkActyMatlCompDelete _ProjNtwkActyMatlCompDelete
_ProjNtwkActyMilestone _ProjNtwkActyMilestone
_ProjNtwkActyMilestoneUpdate _ProjNtwkActyMilestoneUpdate
_ProjNtwkActyMilestoneDelete _ProjNtwkActyMilestoneDelete
_ProjNtwkActyRelshp _ProjNtwkActyRelshp
_ProjNtwkActyRelshpDelete _ProjNtwkActyRelshpDelete

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 R_WBSElementTP_2.
-- 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 R_WBSElementTP_2 AS
SELECT
  WBSElementInternalID,
  WBSElementShortID,
  WBSDescription,
  _WBSElementShortText.WBSElementLangBsdDescription AS WBSElementLangBsdDescription,
  ResponsiblePerson,
  ResponsiblePersonName,
  ApplicantCode,
  ApplicantName,
  cast( CompanyCode as bukrs preserving type ) AS CompanyCode,
  BusinessArea,
  cast( ControllingArea as ps_s4_kokrs preserving type ) AS ControllingArea,
  FunctionalArea,
  ProfitCenter,
  ResponsibleCostCenter,
  Plant,
  FreeDefinedTableFieldSemantic,
  FactoryCalendar,
  PriorityCode,
  Currency,
  CostingSheet,
  CostCenter,
  RequestingCostCenter,
  ProjectInternalID,
  WBSElementIsBillingElement,
  WBSElementObject,
  InvestmentProfile,
  WBSIsStatisticalWBSElement,
  WBSIsAccountAssignmentElement,
  ProjectType,
  WBSElementIsPlanningElement,
  WorkCenterLocation,
  ResultAnalysisInternalID,
  TaxJurisdiction,
  cast( FunctionalLocation as tplnr_unconverted preserving type ) AS FunctionalLocation,
  _FunctionalLocationLabel.FunctionalLocationLabelName AS FunctionalLocationLabelName,
  CreatedByUser,
  CreationDate,
  LastChangedByUser,
  LastChangeDate,
  RespCostCenterControllingArea,
  WBSIsMarkedForIntegratedPlng,
  Equipment,
  ProjectObjectChangeNumber,
  WBSElementHierarchyLevel,
  OverheadCode,
  ReferenceElement,
  ProjInterestCalcProfile,
  ProgressAnlysAggregationWeight,
  ReqgCostCenterControllingArea,
  Language,
  IsMarkedForDeletion,
  WBSElementIsGroupingWBSElement,
  WBSElementIsUsedInProjSmmry,
  CostingVariant,
  BasicStartDate,
  ActualStartDate,
  BasicEndDate,
  ActualEndDate,
  TechnicalCompletionDate,
  BasicDuration,
  BasicDurationUnit,
  ActualDuration,
  ActualDurationUnit,
  SchedldBasicEarliestStartDate,
  ScheduledBasicLatestEndDate,
  SchedldFcstdEarliestStartDate,
  LatestSchedldFcstdEndDate,
  TentativeActualStartDate,
  TentativeActualEndDate,
  JointVenture,
  JointVentureCostRecoveryCode,
  JointVentureEquityType,
  JntVntrProjectType,
  JntIntrstBillgClass,
  JntIntrstBillgSubClass,
  SubProject,
  InvestmentReason,
  InvestmentScale,
  EnvironmentalInvestmentReason,
  RequestingCompanyCode,
  NetworkAssignmentType,
  CostObject,
  BillingPlan,
  ControllingObjectClass,
  _WBSElementHierarchyData.WBSElementParentInternalID AS WBSElementParentInternalID,
  _WBSElementHierarchyData.WBSElementChildInternalID AS WBSElementChildInternalID,
  _WBSElementHierarchyData.LeftSiblingWBSElmntInternalID AS LeftSiblingWBSElmntInternalID,
  _WBSElementHierarchyData.RightSiblingWBSElmntInternalID AS RightSiblingWBSElmntInternalID,
  FreeDefinedAttribute01,
  FreeDefinedAttribute02,
  FreeDefinedAttribute03,
  FreeDefinedAttribute04,
  FreeDefinedQuantity1,
  FreeDefinedQuantity1Unit,
  FreeDefinedQuantity2,
  FreeDefinedQuantity2Unit,
  FreeDefinedAmount1,
  FreeDefinedAmount1Currency,
  FreeDefinedAmount2,
  FreeDefinedAmount2Currency,
  FreeDefinedDate1,
  FreeDefinedDate2,
  FreeDefinedIndicator1,
  FreeDefinedIndicator2,
  StatusProfile,
  DistributionProfile,
  SchedldBasicEarliestEndDate,
  SchedldBasicLatestStartDate,
  SchedldFcstdEarliestEndDate,
  LatestSchedldFcstdStartDate,
  StatusCombinationCode,
  ObjBasedAuthorizationIsActive
FROM I_WBSElementData_2
LEFT OUTER JOIN I_WBSElementShortText AS _WBSElementShortText ON WBSElementObject = _WBSElementShortText.WBSElementObject AND _WBSElementShortText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_WBSElementHierarchyData AS _WBSElementHierarchyData ON WBSElementInternalID = _WBSElementHierarchyData.WBSElementInternalID  -- association [0..1]
LEFT OUTER JOIN E_WBSElement_2 AS _Extension ON WBSElementInternalID = _Extension.WBSElementInternalID  -- association [1..1]
LEFT OUTER JOIN R_WBSElementTP_2 AS _ParentWBSElement ON wbselementparentinternalid = _ParentWBSElement.WBSElementInternalID  -- association [0..1]
LEFT OUTER JOIN R_WBSElementTP_2 AS _SubWBSElement ON WBSElementInternalID = _SubWBSElement.WBSElementParentInternalID  -- association [1..*]
LEFT OUTER JOIN I_FunctionalLocationLabel AS _FunctionalLocationLabel ON FunctionalLocation = _FunctionalLocationLabel.FunctionalLocation  -- association [1..1]
LEFT OUTER JOIN R_ProjectNetworkTP AS _ProjectNetwork ON WBSElementInternalID = _ProjectNetwork.WBSElementInternalID  -- association [0..*]
LEFT OUTER JOIN R_ProjectNetworkTP AS _ProjectNetworkUpdate ON WBSElementInternalID = _ProjectNetworkUpdate.WBSElementInternalID  -- association [0..*]
LEFT OUTER JOIN R_ProjectNetworkTP AS _ProjectNetworkDelete ON WBSElementInternalID = _ProjectNetworkDelete.WBSElementInternalID  -- association [0..*]
LEFT OUTER JOIN R_ProjectNetworkActivityTP AS _ProjectNetworkActivity ON WBSElementInternalID = _ProjectNetworkActivity.WBSElementInternalID  -- association [0..*]
LEFT OUTER JOIN R_ProjectNetworkActivityTP AS _ProjectNetworkActivityUpdate ON WBSElementInternalID = _ProjectNetworkActivityUpdate.WBSElementInternalID  -- association [0..*]
LEFT OUTER JOIN R_ProjectNetworkActivityTP AS _ProjectNetworkActivityDelete ON WBSElementInternalID = _ProjectNetworkActivityDelete.WBSElementInternalID  -- association [0..*]
LEFT OUTER JOIN R_ProjNetworkActivityElementTP AS _ProjNtwkActivityElement ON WBSElementInternalID = _ProjNtwkActivityElement.WBSElementInternalID  -- association [0..*]
LEFT OUTER JOIN R_ProjNetworkActivityElementTP AS _ProjNtwkActivityElementUpdate ON WBSElementInternalID = _ProjNtwkActivityElementUpdate.WBSElementInternalID  -- association [0..*]
LEFT OUTER JOIN R_ProjNetworkActivityElementTP AS _ProjNtwkActivityElementDelete ON WBSElementInternalID = _ProjNtwkActivityElementDelete.WBSElementInternalID  -- association [0..*]
LEFT OUTER JOIN R_ProjNtwkActyMatlCompTP AS _ProjNtwkActyMatlComp ON WBSElementInternalID = _ProjNtwkActyMatlComp.AssignedWBSElementInternalID  -- association [0..*]
LEFT OUTER JOIN R_ProjNtwkActyMatlCompTP AS _ProjNtwkActyMatlCompUpdate ON WBSElementInternalID = _ProjNtwkActyMatlCompUpdate.AssignedWBSElementInternalID  -- association [0..*]
LEFT OUTER JOIN R_ProjNtwkActyMatlCompTP AS _ProjNtwkActyMatlCompDelete ON WBSElementInternalID = _ProjNtwkActyMatlCompDelete.AssignedWBSElementInternalID  -- association [0..*]
LEFT OUTER JOIN R_ProjNtwkActivityMilestoneTP AS _ProjNtwkActyMilestone ON WBSElementInternalID = _ProjNtwkActyMilestone.WBSElementInternalID  -- association [0..*]
LEFT OUTER JOIN R_ProjNtwkActivityMilestoneTP AS _ProjNtwkActyMilestoneUpdate ON WBSElementInternalID = _ProjNtwkActyMilestoneUpdate.WBSElementInternalID  -- association [0..*]
LEFT OUTER JOIN R_ProjNtwkActivityMilestoneTP AS _ProjNtwkActyMilestoneDelete ON WBSElementInternalID = _ProjNtwkActyMilestoneDelete.WBSElementInternalID  -- association [0..*]
LEFT OUTER JOIN R_ProjNtwkActyRelationshipTP AS _ProjNtwkActyRelshp ON WBSElementInternalID = _ProjNtwkActyRelshp.WBSElementInternalID  -- association [0..*]
LEFT OUTER JOIN R_ProjNtwkActyRelationshipTP AS _ProjNtwkActyRelshpDelete ON WBSElementInternalID = _ProjNtwkActyRelshpDelete.WBSElementInternalID  -- association [0..*]
LEFT OUTER JOIN R_WBSElementMilestoneTP AS _WBSElementMilestone ON /* condition not available in parsed metadata */  -- association [0..*]
;