P_ProjScheduleWBSElementAttrib
P_ProjScheduleWBSElementAttrib is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_WBSElementByInternalKey) and exposes 63 fields with key field WBSElementInternalID. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_WBSElementByInternalKey | I_WBSElementByInternalKey | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_StsObjConcatActiveStsILL | _Status | _Status.StatusObject = $projection.WBSElementObject |
| [0..1] | I_ProjectApplicant | _ProjectApplicant | $projection.ApplicantCode = _ProjectApplicant.ApplicantCode |
| [1..1] | E_WBSElement | _Extension | $projection.WBSElement = _Extension.WBSElement |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PWBSELEMATTR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (63)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WBSElementInternalID | WBSElementInternalID | WBS Internal ID | |
| WBSElement | WBS Internal ID | |||
| WBSElementExternalID | WBSElementExternalID | WBS Element External ID | ||
| WBSElementObject | WBSElementObject | Object number | ||
| ObjectType | ||||
| ProjectInternalID | ProjectInternalID | Project Def. | ||
| BasicStartDate | BasicStartDate | |||
| BasicEndDate | BasicEndDate | |||
| TentativeActualStartDate | TentativeActualStartDate | |||
| TentativeActualEndDate | TentativeActualEndDate | |||
| SchedldBasicEarliestStartDate | SchedldBasicEarliestStartDate | |||
| SchedldBasicEarliestEndDate | SchedldBasicEarliestEndDate | |||
| SchedldBasicLatestStartDate | SchedldBasicLatestStartDate | |||
| ScheduledBasicLatestEndDate | ScheduledBasicLatestEndDate | |||
| SchedldFcstdEarliestStartDate | SchedldFcstdEarliestStartDate | |||
| SchedldFcstdEarliestEndDate | SchedldFcstdEarliestEndDate | |||
| LatestSchedldFcstdStartDate | LatestSchedldFcstdStartDate | |||
| LatestSchedldFcstdEndDate | LatestSchedldFcstdEndDate | |||
| ActualStartDate | ActualStartDate | Actual Start | ||
| ActualEndDate | ActualEndDate | Actual Finish | ||
| BasicDuration | BasicDuration | |||
| BasicDurationUnit | BasicDurationUnit | |||
| ActualDurationUnit | ActualDurationUnit | |||
| ActualDuration | ActualDuration | |||
| FreeDefinedAttribute01 | FreeDefinedAttribute01 | Attribute 1 | ||
| FreeDefinedAttribute02 | FreeDefinedAttribute02 | Attribute 2 | ||
| FreeDefinedAttribute03 | FreeDefinedAttribute03 | Attribute 3 | ||
| FreeDefinedAttribute04 | FreeDefinedAttribute04 | Attribute 4 | ||
| FreeDefinedQuantity1Unit | FreeDefinedQuantity1Unit | |||
| FreeDefinedQuantity1 | FreeDefinedQuantity1 | |||
| FreeDefinedQuantity2Unit | FreeDefinedQuantity2Unit | |||
| FreeDefinedQuantity2 | FreeDefinedQuantity2 | |||
| FreeDefinedAmount1Currency | FreeDefinedAmount1Currency | |||
| FreeDefinedAmount1 | FreeDefinedAmount1 | |||
| FreeDefinedAmount2Currency | FreeDefinedAmount2Currency | |||
| FreeDefinedAmount2 | FreeDefinedAmount2 | |||
| FreeDefinedDate1 | FreeDefinedDate1 | |||
| FreeDefinedDate2 | FreeDefinedDate2 | |||
| FreeDefinedIndicator1 | FreeDefinedIndicator1 | |||
| FreeDefinedIndicator2 | FreeDefinedIndicator2 | |||
| PriorityCode | PriorityCode | Priority | ||
| WBSElementHierarchyLevel | WBSElementHierarchyLevel | |||
| Currency | Currency | Valuation Crcy | ||
| Plant | Plant | Valuation Area | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| WBSElementIsPlanningElement | WBSElementIsPlanningElement | |||
| WBSIsAccountAssignmentElement | WBSIsAccountAssignmentElement | |||
| WBSElementIsBillingElement | WBSElementIsBillingElement | Billing elem. | ||
| ProjectType | ProjectType | Project Type | ||
| CreationDate | CreationDate | Time Stamp | ||
| CreatedByUser | CreatedByUser | User Name | ||
| LastChangeDate | LastChangeDate | Time Stamp | ||
| ResponsiblePerson | ResponsiblePerson | Processor | ||
| ResponsiblePersonName | ResponsiblePersonName | User | ||
| CostCenter | CostCenter | Cost Center to which costs are posted | ||
| ResponsibleCostCenter | ResponsibleCostCenter | Responsible Cost Center | ||
| ObjBasedAuthorizationIsActive | ObjBasedAuthorizationIsActive | |||
| ControllingArea | ControllingArea | Controlling Area | ||
| RespCostCenterControllingArea | RespCostCenterControllingArea | |||
| ProfitCenter | ProfitCenter | Profit Center | ||
| _ResponsiblePerson | _ResponsiblePerson | |||
| _ProjectApplicant | _ProjectApplicant | |||
| _Project | _Project |
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 P_ProjScheduleWBSElementAttrib.
-- 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: PWBSELEMATTR
CREATE VIEW P_ProjScheduleWBSElementAttrib AS
SELECT
WBSElementInternalID,
cast ( WBSElement as ps_posid_edit ) AS WBSElement,
WBSElementExternalID,
WBSElementObject,
'PR' AS ObjectType,
ProjectInternalID,
BasicStartDate,
BasicEndDate,
TentativeActualStartDate,
TentativeActualEndDate,
SchedldBasicEarliestStartDate,
SchedldBasicEarliestEndDate,
SchedldBasicLatestStartDate,
ScheduledBasicLatestEndDate,
SchedldFcstdEarliestStartDate,
SchedldFcstdEarliestEndDate,
LatestSchedldFcstdStartDate,
LatestSchedldFcstdEndDate,
ActualStartDate,
ActualEndDate,
BasicDuration,
BasicDurationUnit,
ActualDurationUnit,
ActualDuration,
FreeDefinedAttribute01,
FreeDefinedAttribute02,
FreeDefinedAttribute03,
FreeDefinedAttribute04,
FreeDefinedQuantity1Unit,
FreeDefinedQuantity1,
FreeDefinedQuantity2Unit,
FreeDefinedQuantity2,
FreeDefinedAmount1Currency,
FreeDefinedAmount1,
FreeDefinedAmount2Currency,
FreeDefinedAmount2,
FreeDefinedDate1,
FreeDefinedDate2,
FreeDefinedIndicator1,
FreeDefinedIndicator2,
PriorityCode,
WBSElementHierarchyLevel,
Currency,
Plant,
CompanyCode,
WBSElementIsPlanningElement,
WBSIsAccountAssignmentElement,
WBSElementIsBillingElement,
ProjectType,
CreationDate,
CreatedByUser,
LastChangeDate,
ResponsiblePerson,
ResponsiblePersonName,
CostCenter,
ResponsibleCostCenter,
ObjBasedAuthorizationIsActive,
ControllingArea,
RespCostCenterControllingArea,
ProfitCenter
FROM I_WBSElementByInternalKey
LEFT OUTER JOIN I_StsObjConcatActiveStsILL AS _Status ON _Status.StatusObject = WBSElementObject -- association [0..1]
LEFT OUTER JOIN I_ProjectApplicant AS _ProjectApplicant ON ApplicantCode = _ProjectApplicant.ApplicantCode -- association [0..1]
LEFT OUTER JOIN E_WBSElement AS _Extension ON WBSElement = _Extension.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