R_EntProjectElementDraft
Draft query view for Enterprise Project Element
R_EntProjectElementDraft is a Basic CDS View that provides data about "Draft query view for Enterprise Project Element" in SAP S/4HANA. It reads from 1 data source (entprojelem_d) and exposes 59 fields with key field ProjectElementUUID. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| entprojelem_d | EnterpriseProjectElementDraft | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_EnterpriseProjectElement | _ProjectElement | _ProjectElement.ProjectElementUUID = $projection.ProjectElementUUID |
| [1..1] | R_EnterpriseProject | _EnterpriseProject | _EnterpriseProject.ProjectUUID = $projection.ProjectUUID ---Extension |
| [1..1] | E_EntProjectElementDraft | _ProjectElementExtension | $projection.ProjectElementUUID = _ProjectElementExtension.ProjectElementUUID |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| AbapCatalog.dataMaintenance | #RESTRICTED | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| AbapCatalog.extensibility.extensible | true | view | |
| AbapCatalog.extensibility.elementSuffix | PTD | view | |
| AbapCatalog.extensibility.allowNewDatasources | false | view | |
| AbapCatalog.extensibility.quota.maximumFields | 204 | view | |
| AbapCatalog.extensibility.quota.maximumBytes | 2040 | view | |
| EndUserText.label | Draft query view for Enterprise Project Element | view |
Fields (59)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectElementUUID | projectelementuuid | Obj Link Entity GUID | |
| ProjectElement | projectelement | Proj Element ID | ||
| WBSElementInternalID | wbselementinternalid | WBS Internal ID | ||
| ProjectUUID | projectuuid | Project UUID | ||
| ProjectElementDescription | projectelementdescription | Name | ||
| ParentObjectUUID | parentobjectuuid | UUID Parent GO | ||
| TaskTemplateUUID | tasktemplateuuid | Entity GUID | ||
| ProjectElementOrdinalNumber | projectelementordinalnumber | Sort Number | ||
| ProcessingStatus | processingstatus | Worklist Status | ||
| IsProjectMilestone | isprojectmilestone | Milestone | ||
| PlannedStartDate | plannedstartdate | Latest Planned Start | ||
| PlannedEndDate | plannedenddate | Ltst Planned Finish | ||
| ActualStartDate | actualstartdate | Actual Start | ||
| ActualEndDate | actualenddate | Actual Finish | ||
| ResponsibleCostCenter | responsiblecostcenter | Responsible Cost Center | ||
| CompanyCode | companycode | Receiver Company Code | ||
| ProfitCenter | profitcenter | Profit Center | ||
| FunctionalArea | functionalarea | Sendr Fctl Area | ||
| ControllingArea | controllingarea | Controlling Area | ||
| Plant | plant | Valuation Area | ||
| Location | location | Text | ||
| TaxJurisdiction | taxjurisdiction | Tax Jurisdiction | ||
| FunctionalLocation | functionallocation | Object ID | ||
| EntProjectElementType | entprojectelementtype | Task Type | ||
| FactoryCalendar | factorycalendar | Factory Calendar | ||
| CostingSheet | costingsheet | Costing Sheet | ||
| InvestmentProfile | investmentprofile | Investment Measure Profile | ||
| WBSIsStatisticalWBSElement | wbsisstatisticalwbselement | Statistical | ||
| CostCenter | costcenter | Cost Center | ||
| WBSElementIsBillingElement | wbselementisbillingelement | Billing elem. | ||
| ResultAnalysisInternalID | resultanalysisinternalid | Results Analysis Key | ||
| LeadingSalesOrder | leadingsalesorder | Sales Document | ||
| LeadingSalesOrderItem | leadingsalesorderitem | Item | ||
| EntProjectElementObjectType | entprojectelementobjecttype | Object Category | ||
| CreatedByUser | createdbyuser | User Name | ||
| CreationDateTime | creationdatetime | Timestamp | ||
| LastChangedByUser | lastchangedbyuser | User Name | ||
| LastChangeDateTime | lastchangedatetime | Timestamp | ||
| MilestoneApprovalStatus | milestoneapprovalstatus | Milestone Apprvl Sts | ||
| IsMainMilestone | ismainmilestone | Main Milestone | ||
| HierarchyNode | hierarchynode | Node | ||
| HierarchyParentNode | hierarchyparentnode | Hier.node | ||
| HierarchyDistanceFromRoot | hierarchydistancefromroot | Dist. From Root | ||
| HierarchyDescendantCount | hierarchydescendantcount | Desc. Count | ||
| HierarchyDrillState | hierarchydrillstate | Drill State | ||
| HierarchyRank | hierarchyrank | Hierarchy Rank | ||
| HierarchyLevel | hierarchylevel | Hierarchy Level | ||
| EntProjElmntDmndCpyIsReqd | entprojelmntdmndcpyisreqd | TRUE | ||
| EntProjElmntSettlmtCpyIsReqd | entprojelmntsettlmtcpyisreqd | TRUE | ||
| ProjectCategory | projectcategory | Proj. Category | ||
| EnterpriseProjectServiceOrg | enterpriseprojectserviceorg | Service Org. | ||
| DraftEntityCreationDateTime | draftentitycreationdatetime | Draft Created On | ||
| DraftEntityLastChangeDateTime | draftentitylastchangedatetime | Draft Last Changed On | ||
| DraftAdministrativeDataUUID | draftadministrativedatauuid | UUID | ||
| DraftFieldChanges | draftfieldchanges | Field Changes | ||
| HasActiveEntity | hasactiveentity | TRUE | ||
| DraftEntityOperationCode | draftentityoperationcode | Draft - Operation Code | ||
| _ProjectElement | _ProjectElement | |||
| _EnterpriseProject | _EnterpriseProject |
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_EntProjectElementDraft.
-- 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_EntProjectElementDraft AS
SELECT
ProjectElementUUID,
ProjectElement,
WBSElementInternalID,
ProjectUUID,
ProjectElementDescription,
ParentObjectUUID,
TaskTemplateUUID,
ProjectElementOrdinalNumber,
ProcessingStatus,
IsProjectMilestone,
PlannedStartDate,
PlannedEndDate,
ActualStartDate,
ActualEndDate,
ResponsibleCostCenter,
CompanyCode,
ProfitCenter,
FunctionalArea,
ControllingArea,
Plant,
Location,
TaxJurisdiction,
FunctionalLocation,
EntProjectElementType,
FactoryCalendar,
CostingSheet,
InvestmentProfile,
WBSIsStatisticalWBSElement,
CostCenter,
WBSElementIsBillingElement,
ResultAnalysisInternalID,
LeadingSalesOrder,
LeadingSalesOrderItem,
EntProjectElementObjectType,
CreatedByUser,
CreationDateTime,
LastChangedByUser,
LastChangeDateTime,
MilestoneApprovalStatus,
IsMainMilestone,
HierarchyNode,
HierarchyParentNode,
HierarchyDistanceFromRoot,
HierarchyDescendantCount,
HierarchyDrillState,
HierarchyRank,
HierarchyLevel,
EntProjElmntDmndCpyIsReqd,
EntProjElmntSettlmtCpyIsReqd,
ProjectCategory,
EnterpriseProjectServiceOrg,
DraftEntityCreationDateTime,
DraftEntityLastChangeDateTime,
DraftAdministrativeDataUUID,
DraftFieldChanges,
HasActiveEntity,
DraftEntityOperationCode
FROM entprojelem_d AS EnterpriseProjectElementDraft
LEFT OUTER JOIN R_EnterpriseProjectElement AS _ProjectElement ON _ProjectElement.ProjectElementUUID = ProjectElementUUID -- association [1..1]
LEFT OUTER JOIN R_EnterpriseProject AS _EnterpriseProject ON _EnterpriseProject.ProjectUUID = ProjectUUID -- association [1..1]
LEFT OUTER JOIN E_EntProjectElementDraft AS _ProjectElementExtension ON ProjectElementUUID = _ProjectElementExtension.ProjectElementUUID -- 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