R_WBSElementTP_2
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 117 fields with key field WBSElementInternalID. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_WBSElementData_2 | I_WBSElementData_2 | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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 |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| 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.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view |
Fields (117)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WBSElementInternalID | WBSElementInternalID | ||
| WBSElementShortID | WBSElementShortID | |||
| WBSDescription | WBSDescription | |||
| WBSElementLangBsdDescription | _WBSElementShortText | WBSElementLangBsdDescription | ||
| ResponsiblePerson | ResponsiblePerson | |||
| ResponsiblePersonName | ResponsiblePersonName | |||
| ApplicantCode | ApplicantCode | |||
| ApplicantName | ApplicantName | |||
| CompanyCode | ||||
| BusinessArea | BusinessArea | |||
| ControllingArea | ||||
| FunctionalArea | FunctionalArea | |||
| ProfitCenter | ProfitCenter | |||
| ResponsibleCostCenter | ResponsibleCostCenter | |||
| Plant | Plant | |||
| FreeDefinedTableFieldSemantic | FreeDefinedTableFieldSemantic | |||
| FactoryCalendar | FactoryCalendar | |||
| PriorityCode | PriorityCode | |||
| Currency | Currency | |||
| CostingSheet | CostingSheet | |||
| CostCenter | CostCenter | |||
| RequestingCostCenter | RequestingCostCenter | |||
| ProjectInternalID | ProjectInternalID | |||
| WBSElementIsBillingElement | WBSElementIsBillingElement | |||
| WBSElementObject | WBSElementObject | |||
| InvestmentProfile | InvestmentProfile | |||
| WBSIsStatisticalWBSElement | WBSIsStatisticalWBSElement | |||
| WBSIsAccountAssignmentElement | WBSIsAccountAssignmentElement | |||
| ProjectType | ProjectType | |||
| WBSElementIsPlanningElement | WBSElementIsPlanningElement | |||
| WorkCenterLocation | WorkCenterLocation | |||
| ResultAnalysisInternalID | ResultAnalysisInternalID | |||
| TaxJurisdiction | TaxJurisdiction | |||
| FunctionalLocation | ||||
| FunctionalLocationLabelName | _FunctionalLocationLabel | FunctionalLocationLabelName | ||
| CreatedByUser | CreatedByUser | |||
| CreationDate | CreationDate | |||
| LastChangedByUser | LastChangedByUser | |||
| LastChangeDate | LastChangeDate | |||
| RespCostCenterControllingArea | RespCostCenterControllingArea | |||
| WBSIsMarkedForIntegratedPlng | WBSIsMarkedForIntegratedPlng | |||
| Equipment | Equipment | |||
| ProjectObjectChangeNumber | ProjectObjectChangeNumber | |||
| WBSElementHierarchyLevel | WBSElementHierarchyLevel | |||
| OverheadCode | OverheadCode | |||
| ReferenceElement | ReferenceElement | |||
| ProjInterestCalcProfile | ProjInterestCalcProfile | |||
| ProgressAnlysAggregationWeight | ProgressAnlysAggregationWeight | |||
| ReqgCostCenterControllingArea | ReqgCostCenterControllingArea | |||
| Language | Language | |||
| IsMarkedForDeletion | IsMarkedForDeletion | |||
| WBSElementIsGroupingWBSElement | WBSElementIsGroupingWBSElement | |||
| WBSElementIsUsedInProjSmmry | WBSElementIsUsedInProjSmmry | |||
| CostingVariant | CostingVariant | |||
| BasicStartDate | BasicStartDate | |||
| ActualStartDate | ActualStartDate | |||
| BasicEndDate | BasicEndDate | |||
| ActualEndDate | ActualEndDate | |||
| TechnicalCompletionDate | TechnicalCompletionDate | |||
| BasicDuration | BasicDuration | |||
| BasicDurationUnit | BasicDurationUnit | |||
| ActualDuration | ActualDuration | |||
| ActualDurationUnit | ActualDurationUnit | |||
| SchedldBasicEarliestStartDate | SchedldBasicEarliestStartDate | |||
| ScheduledBasicLatestEndDate | ScheduledBasicLatestEndDate | |||
| SchedldFcstdEarliestStartDate | SchedldFcstdEarliestStartDate | |||
| LatestSchedldFcstdEndDate | LatestSchedldFcstdEndDate | |||
| TentativeActualStartDate | TentativeActualStartDate | |||
| TentativeActualEndDate | TentativeActualEndDate | |||
| JointVenture | JointVenture | |||
| JointVentureCostRecoveryCode | JointVentureCostRecoveryCode | |||
| JointVentureEquityType | JointVentureEquityType | |||
| JntVntrProjectType | JntVntrProjectType | |||
| JntIntrstBillgClass | JntIntrstBillgClass | |||
| JntIntrstBillgSubClass | JntIntrstBillgSubClass | |||
| SubProject | SubProject | |||
| InvestmentReason | InvestmentReason | |||
| InvestmentScale | InvestmentScale | |||
| EnvironmentalInvestmentReason | EnvironmentalInvestmentReason | |||
| RequestingCompanyCode | RequestingCompanyCode | |||
| NetworkAssignmentType | NetworkAssignmentType | |||
| CostObject | CostObject | |||
| BillingPlan | BillingPlan | |||
| ControllingObjectClass | ControllingObjectClass | |||
| WBSElementParentInternalID | _WBSElementHierarchyData | WBSElementParentInternalID | ||
| WBSElementChildInternalID | _WBSElementHierarchyData | WBSElementChildInternalID | ||
| LeftSiblingWBSElmntInternalID | _WBSElementHierarchyData | LeftSiblingWBSElmntInternalID | ||
| RightSiblingWBSElmntInternalID | _WBSElementHierarchyData | RightSiblingWBSElmntInternalID | ||
| FreeDefinedAttribute01 | FreeDefinedAttribute01 | |||
| FreeDefinedAttribute02 | FreeDefinedAttribute02 | |||
| FreeDefinedAttribute03 | FreeDefinedAttribute03 | |||
| FreeDefinedAttribute04 | FreeDefinedAttribute04 | |||
| 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 | |||
| DistributionProfile | DistributionProfile | |||
| SchedldBasicEarliestEndDate | SchedldBasicEarliestEndDate | |||
| SchedldBasicLatestStartDate | SchedldBasicLatestStartDate | |||
| SchedldFcstdEarliestEndDate | SchedldFcstdEarliestEndDate | |||
| LatestSchedldFcstdStartDate | LatestSchedldFcstdStartDate | |||
| StatusCombinationCode | StatusCombinationCode | |||
| _Project | _Project | |||
| _ResponsiblePerson | _ResponsiblePerson | |||
| _ProjectApplicant | _ProjectApplicant | |||
| _ParentWBSElement | _ParentWBSElement | |||
| _SubWBSElement | _SubWBSElement | |||
| _FunctionalLocationLabel | _FunctionalLocationLabel |
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'TP view for I WBSElementData 2'
@VDM.viewType: #TRANSACTIONAL
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@ObjectModel.usageType: {
sizeCategory: #XL,
dataClass: #TRANSACTIONAL,
serviceQuality: #C
}
define view entity R_WBSElementTP_2
as select from I_WBSElementData_2
association to parent R_ProjectTP_2 as _Project on $projection.ProjectInternalID = _Project.ProjectInternalID
association [0..1] to I_WBSElementShortText as _WBSElementShortText on $projection.WBSElementObject = _WBSElementShortText.WBSElementObject
and _WBSElementShortText.Language = $session.system_language
association [0..1] to I_WBSElementHierarchyData as _WBSElementHierarchyData on $projection.WBSElementInternalID = _WBSElementHierarchyData.WBSElementInternalID
---Extension Association
association [1..1] to E_WBSElement_2 as _Extension on $projection.WBSElementInternalID = _Extension.WBSElementInternalID
---Self Association with Child parent of WBS.
association [0..1] to R_WBSElementTP_2 as _ParentWBSElement on $projection.wbselementparentinternalid = _ParentWBSElement.WBSElementInternalID
association [1..*] to R_WBSElementTP_2 as _SubWBSElement on $projection.WBSElementInternalID = _SubWBSElement.WBSElementParentInternalID
---Association to get the Converted value for Functional Location
association [1..1] to I_FunctionalLocationLabel as _FunctionalLocationLabel on $projection.FunctionalLocation = _FunctionalLocationLabel.FunctionalLocation
{
key WBSElementInternalID,
@ObjectModel.text.element: ['WBSDescription']
case WBSElementExternalID
when ''
then cast( WBSElement as ps_posid_edit preserving type )
else WBSElementExternalID
end as WBSElementExternalID,
WBSElementShortID,
@Semantics.text: true
WBSDescription,
@Semantics.text: true
_WBSElementShortText.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,
CreatedByUser,
CreationDate,
LastChangedByUser,
LastChangeDate,
RespCostCenterControllingArea,
WBSIsMarkedForIntegratedPlng,
Equipment,
ProjectObjectChangeNumber,
WBSElementHierarchyLevel,
OverheadCode,
ReferenceElement,
ProjInterestCalcProfile,
ProgressAnlysAggregationWeight,
ReqgCostCenterControllingArea,
Language,
IsMarkedForDeletion,
WBSElementIsGroupingWBSElement,
WBSElementIsUsedInProjSmmry,
CostingVariant,
BasicStartDate,
ForecastedStartDate,
ActualStartDate,
BasicEndDate,
ForecastedEndDate,
ActualEndDate,
TechnicalCompletionDate,
BasicDuration,
BasicDurationUnit,
ForecastedDuration,
ForecastedDurationUnit,
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,
_WBSElementHierarchyData.WBSElementChildInternalID,
_WBSElementHierarchyData.LeftSiblingWBSElmntInternalID,
_WBSElementHierarchyData.RightSiblingWBSElmntInternalID,
FreeDefinedAttribute01,
FreeDefinedAttribute02,
FreeDefinedAttribute03,
FreeDefinedAttribute04,
FreeDefinedQuantity1,
FreeDefinedQuantity1Unit,
FreeDefinedQuantity2,
FreeDefinedQuantity2Unit,
FreeDefinedAmount1,
FreeDefinedAmount1Currency,
FreeDefinedAmount2,
FreeDefinedAmount2Currency,
FreeDefinedDate1,
FreeDefinedDate2,
FreeDefinedIndicator1,
FreeDefinedIndicator2,
StatusProfile,
DistributionProfile,
SchedldBasicEarliestEndDate,
SchedldBasicLatestStartDate,
SchedldFcstdEarliestEndDate,
LatestSchedldFcstdStartDate,
StatusCombinationCode,
/* Associations */
_Project,
@Consumption.hidden: true
_ResponsiblePerson,
@Consumption.hidden: true
_ProjectApplicant,
_ParentWBSElement,
_SubWBSElement,
@Consumption.hidden: true
_FunctionalLocationLabel
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_FUNCTIONALLOCATIONLABEL",
"I_WBSELEMENTDATA_2",
"I_WBSELEMENTHIERARCHYDATA",
"I_WBSELEMENTSHORTTEXT"
],
"ASSOCIATED":
[
"I_FUNCTIONALLOCATIONLABEL",
"I_PROJECTAPPLICANT",
"I_PROJECTRESPONSIBLEPERSON",
"R_PROJECTTP_2",
"R_WBSELEMENTTP_2"
],
"BASE":
[
"I_WBSELEMENTDATA_2"
],
"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