I_WBSElementWithVersion
WBS Element and Version Details
I_WBSElementWithVersion is a Composite CDS View that provides data about "WBS Element and Version Details" in SAP S/4HANA. It reads from 1 data source (P_WBSElementWithVersion) and exposes 118 fields with key fields WBSElement, Version. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_WBSElementWithVersion | WBSElementWithVersion | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ProjectWithVersion | _Project | _Project.ProjectInternalID = $projection.ProjectInternalID and _Project.Version = $projection.Version |
| [0..1] | I_StsObjConcatActiveStsILL | _StsObjConcatActiveStsILL | _StsObjConcatActiveStsILL.StatusObject = $projection.WBSElementObject |
| [0..*] | I_CostCenter | _ResponsibleCostCenter | _ResponsibleCostCenter.CostCenter = $projection.ResponsibleCostCenter and _ResponsibleCostCenter.ControllingArea = $projection.RespCostCenterControllingArea |
| [0..*] | I_CostCenter | _RequestingCostCenter | _RequestingCostCenter.CostCenter = $projection.RequestingCostCenter and _RequestingCostCenter.ControllingArea = $projection.ReqgCostCenterControllingArea |
| [0..1] | I_ProjectVersionHeader | _ProjectVersionHeader | $projection.Project = _ProjectVersionHeader.Project and $projection.Version = _ProjectVersionHeader.Version |
| [1..1] | E_WBSElement | _Extension | $projection.WBSElement = _Extension.WBSElement |
| [1..1] | E_WBSElementVersion | _VersionExtension | $projection.Version = _VersionExtension.Version and $projection.WBSElement = _VersionExtension.WBSElement |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IWBSWITHVERS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | WBS Element and Version Details | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (118)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WBSElement | WBSElement | WBS Internal ID | |
| KEY | Version | Version | XML Vers. | |
| WBSElementWithCodingMask | WBSElementWithCodingMask | |||
| IsProjectVersionObject | IsProjectVersionObject | |||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| WBSElementHierarchyLevel | WBSElementHierarchyLevel | |||
| OverheadCode | OverheadCode | Overhead Key | ||
| ResultAnalysisInternalID | ResultAnalysisInternalID | Results Analysis Key | ||
| WBSElementObject | WBSElementObject | Object number | ||
| WBSDescription | WBSDescription | WBS Element Name | ||
| ProjectInternalID | ProjectInternalID | Project Def. | ||
| Project | Project | WBS Element | ||
| ResponsiblePerson | ResponsiblePerson | Processor | ||
| ResponsiblePersonName | ResponsiblePersonName | User | ||
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDate | CreationDate | Time Stamp | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| LastChangeDate | LastChangeDate | Time Stamp | ||
| ApplicantCode | ApplicantCode | |||
| ApplicantName | ApplicantName | |||
| ProjectType | ProjectType | Project Type | ||
| WBSElementIsPlanningElement | WBSElementIsPlanningElement | |||
| WBSIsAccountAssignmentElement | WBSIsAccountAssignmentElement | |||
| WBSElementIsBillingElement | WBSElementIsBillingElement | Billing elem. | ||
| CostingSheet | CostingSheet | Costing Sheet | ||
| PriorityCode | PriorityCode | Priority | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| BusinessArea | BusinessArea | Business Area | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| ReqgCostCenterControllingArea | ReqgCostCenterControllingArea | |||
| RequestingCostCenter | RequestingCostCenter | Req.cost center | ||
| RespCostCenterControllingArea | RespCostCenterControllingArea | |||
| ResponsibleCostCenter | ResponsibleCostCenter | Responsible Cost Center | ||
| Plant | Plant | Valuation Area | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| ControllingObjectClass | ControllingObjectClass | Object Class | ||
| BasicStartDate | BasicStartDate | |||
| BasicEndDate | BasicEndDate | |||
| ActualStartDate | ActualStartDate | Actual Start | ||
| ActualEndDate | ActualEndDate | Actual Finish | ||
| SchedldBasicEarliestStartDate | SchedldBasicEarliestStartDate | |||
| SchedldBasicEarliestEndDate | SchedldBasicEarliestEndDate | |||
| SchedldBasicLatestStartDate | SchedldBasicLatestStartDate | |||
| ScheduledBasicLatestEndDate | ScheduledBasicLatestEndDate | |||
| TentativeActualStartDate | TentativeActualStartDate | |||
| TentativeActualEndDate | TentativeActualEndDate | |||
| SchedldFcstdEarliestStartDate | SchedldFcstdEarliestStartDate | |||
| SchedldFcstdEarliestEndDate | SchedldFcstdEarliestEndDate | |||
| LatestSchedldFcstdStartDate | LatestSchedldFcstdStartDate | |||
| LatestSchedldFcstdEndDate | LatestSchedldFcstdEndDate | |||
| IsMarkedForDeletion | IsMarkedForDeletion | Purch.org. data | ||
| WBSIsMarkedForIntegratedPlng | WBSIsMarkedForIntegratedPlng | |||
| WBSIsStatisticalWBSElement | WBSIsStatisticalWBSElement | Statistical | ||
| TaxJurisdiction | TaxJurisdiction | Tax Jurisdiction | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| Currency | Currency | Valuation Crcy | ||
| FactoryCalendar | FactoryCalendar | Factory Calendar | ||
| Location | Location | Text | ||
| Equipment | Equipment | Equipment check | ||
| FunctionalLocation | FunctionalLocation | Object ID | ||
| ProjectObjectChangeNumber | ProjectObjectChangeNumber | |||
| ProjectObjectReferenceElement | ProjectObjectReferenceElement | |||
| ProgressAnlysAggregationWeight | ProgressAnlysAggregationWeight | |||
| ProjInterestCalcProfile | ProjInterestCalcProfile | |||
| InvestmentProfile | InvestmentProfile | Investment Measure Profile | ||
| ActualDuration | ActualDuration | |||
| BasicDuration | BasicDuration | |||
| BasicDurationUnit | BasicDurationUnit | |||
| DueToStartDays | DueToStartDays | |||
| DueToEndDays | DueToEndDays | |||
| OverdueToStartDays | OverdueToStartDays | |||
| OverdueToEndDays | OverdueToEndDays | |||
| CostCenter | CostCenter | Cost Center | ||
| FreeDefinedTableFieldSemantic | FreeDefinedTableFieldSemantic | |||
| 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 | |||
| JointVenture | JointVenture | Joint venture | ||
| JointVentureRecoveryCode | JointVentureRecoveryCode | Recovery Ind. | ||
| JointVentureEquityType | JointVentureEquityType | Joint Venture Equity Type | ||
| JointVentureObjectType | JointVentureObjectType | JV Object Type | ||
| JointVentureClass | JointVentureClass | JIB/JIBE Class | ||
| JointVentureSubClass | JointVentureSubClass | JIB/JIBE SbClsA | ||
| _ControllingObjectClass | _ControllingObjectClass | |||
| _ControllingArea | _ControllingArea | |||
| _CompanyCode | _CompanyCode | |||
| _BusinessArea | _BusinessArea | |||
| _ProfitCenter | _ProfitCenter | |||
| _Plant | _Plant | |||
| _Project | _Project | |||
| _ProjectType | _ProjectType | |||
| _PriorityCode | _PriorityCode | |||
| _ResponsibleCostCenter | _ResponsibleCostCenter | |||
| _RequestingCostCenter | _RequestingCostCenter | |||
| _TaxJurisdiction | _TaxJurisdiction | |||
| _Location | _Location | |||
| _Equipment | _Equipment | |||
| _FunctionalLocation | _FunctionalLocation | |||
| _FunctionalArea | _FunctionalArea | |||
| _Interestcalculationprofile | _Interestcalculationprofile | |||
| _FactoryCalendar | _FactoryCalendar | |||
| _ProjectVersionHeader | _ProjectVersionHeader | |||
| _ResponsiblePerson | _ResponsiblePerson | |||
| _ProjectApplicant | _ProjectApplicant | |||
| _WBSElementShortText | _WBSElementShortText |
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_WBSElementWithVersion.
-- 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: IWBSWITHVERS
CREATE VIEW I_WBSElementWithVersion AS
SELECT
WBSElement,
Version,
WBSElementWithCodingMask,
IsProjectVersionObject,
WBSElementInternalID,
WBSElementHierarchyLevel,
OverheadCode,
ResultAnalysisInternalID,
WBSElementObject,
WBSDescription,
ProjectInternalID,
Project,
ResponsiblePerson,
ResponsiblePersonName,
CreatedByUser,
CreationDate,
LastChangedByUser,
LastChangeDate,
ApplicantCode,
ApplicantName,
ProjectType,
WBSElementIsPlanningElement,
WBSIsAccountAssignmentElement,
WBSElementIsBillingElement,
CostingSheet,
PriorityCode,
CompanyCode,
BusinessArea,
ControllingArea,
ReqgCostCenterControllingArea,
RequestingCostCenter,
RespCostCenterControllingArea,
ResponsibleCostCenter,
Plant,
ProfitCenter,
ControllingObjectClass,
BasicStartDate,
BasicEndDate,
ActualStartDate,
ActualEndDate,
SchedldBasicEarliestStartDate,
SchedldBasicEarliestEndDate,
SchedldBasicLatestStartDate,
ScheduledBasicLatestEndDate,
TentativeActualStartDate,
TentativeActualEndDate,
SchedldFcstdEarliestStartDate,
SchedldFcstdEarliestEndDate,
LatestSchedldFcstdStartDate,
LatestSchedldFcstdEndDate,
IsMarkedForDeletion,
WBSIsMarkedForIntegratedPlng,
WBSIsStatisticalWBSElement,
TaxJurisdiction,
FunctionalArea,
Currency,
FactoryCalendar,
Location,
Equipment,
FunctionalLocation,
ProjectObjectChangeNumber,
ProjectObjectReferenceElement,
ProgressAnlysAggregationWeight,
ProjInterestCalcProfile,
InvestmentProfile,
ActualDuration,
BasicDuration,
BasicDurationUnit,
DueToStartDays,
DueToEndDays,
OverdueToStartDays,
OverdueToEndDays,
CostCenter,
FreeDefinedTableFieldSemantic,
FreeDefinedAttribute01,
FreeDefinedAttribute02,
FreeDefinedAttribute03,
FreeDefinedAttribute04,
FreeDefinedQuantity1,
FreeDefinedQuantity1Unit,
FreeDefinedQuantity2,
FreeDefinedQuantity2Unit,
FreeDefinedAmount1,
FreeDefinedAmount1Currency,
FreeDefinedAmount2,
FreeDefinedAmount2Currency,
FreeDefinedDate1,
FreeDefinedDate2,
FreeDefinedIndicator1,
FreeDefinedIndicator2,
JointVenture,
JointVentureRecoveryCode,
JointVentureEquityType,
JointVentureObjectType,
JointVentureClass,
JointVentureSubClass
FROM P_WBSElementWithVersion AS WBSElementWithVersion
LEFT OUTER JOIN I_ProjectWithVersion AS _Project ON _Project.ProjectInternalID = ProjectInternalID AND _Project.Version = Version -- association [1..1]
LEFT OUTER JOIN I_StsObjConcatActiveStsILL AS _StsObjConcatActiveStsILL ON _StsObjConcatActiveStsILL.StatusObject = WBSElementObject -- association [0..1]
LEFT OUTER JOIN I_CostCenter AS _ResponsibleCostCenter ON _ResponsibleCostCenter.CostCenter = ResponsibleCostCenter AND _ResponsibleCostCenter.ControllingArea = RespCostCenterControllingArea -- association [0..*]
LEFT OUTER JOIN I_CostCenter AS _RequestingCostCenter ON _RequestingCostCenter.CostCenter = RequestingCostCenter AND _RequestingCostCenter.ControllingArea = ReqgCostCenterControllingArea -- association [0..*]
LEFT OUTER JOIN I_ProjectVersionHeader AS _ProjectVersionHeader ON Project = _ProjectVersionHeader.Project AND Version = _ProjectVersionHeader.Version -- association [0..1]
LEFT OUTER JOIN E_WBSElement AS _Extension ON WBSElement = _Extension.WBSElement -- association [1..1]
LEFT OUTER JOIN E_WBSElementVersion AS _VersionExtension ON Version = _VersionExtension.Version AND WBSElement = _VersionExtension.WBSElement -- 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