R_EntProjectElementDraft

DDL: R_ENTPROJECTELEMENTDRAFT Type: view_entity BASIC

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)

SourceAliasJoin Type
entprojelem_d EnterpriseProjectElementDraft from

Associations (3)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;