R_EnterpriseProjectDraft
Enterprise Project Draft
R_EnterpriseProjectDraft is a Basic CDS View that provides data about "Enterprise Project Draft" in SAP S/4HANA. It reads from 2 data sources (entproj_d, sdraft_admin) and exposes 64 fields with key field ProjectUUID. It has 4 associations to related views. Part of development package VDM_PS_OBJECTS_TP.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| entproj_d | EnterpriseProjectDraft | from |
| sdraft_admin | sdraft_admin | inner |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_EnterpriseProject | _Project | $projection.ProjectUUID = _Project.ProjectUUID |
| [0..1] | I_EnterpriseProjectForUser | _EnterpriseProjectForUser | _EnterpriseProjectForUser.ProjectUUID = $projection.ProjectUUID ---Extension |
| [1..1] | E_EnterpriseProjectDraft | _ProjectExtension | $projection.ProjectUUID = _ProjectExtension.ProjectUUID |
| [1..1] | E_CommercialProjectDraft | _CommercialProjectExtension | $projection.ProjectUUID = _CommercialProjectExtension.ProjectUUID |
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 | PPH | view | |
| AbapCatalog.extensibility.allowNewDatasources | false | view | |
| AbapCatalog.extensibility.quota.maximumFields | 204 | view | |
| AbapCatalog.extensibility.quota.maximumBytes | 2040 | view | |
| EndUserText.label | Enterprise Project Draft | view |
Fields (64)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectUUID | entproj_d | projectuuid | Project UUID |
| ProjectSummaryTaskUUID | entproj_d | projectsummarytaskuuid | Entity GUID | |
| ProjectInternalID | entproj_d | projectinternalid | Project Def. | |
| Project | entproj_d | project | WBS Element | |
| ProjectCategory | entproj_d | projectcategory | Proj. Category | |
| ProjectDescription | entproj_d | projectdescription | Project Name | |
| EnterpriseProjectType | entproj_d | enterpriseprojecttype | Proj.type | |
| PriorityCode | entproj_d | prioritycode | Priority | |
| ProjectStartDate | entproj_d | projectstartdate | Latest Planned Start | |
| ProjectEndDate | entproj_d | projectenddate | Ltst Planned Finish | |
| ActualStartDate | entproj_d | actualstartdate | Actual Start | |
| ActualEndDate | entproj_d | actualenddate | Actual Finish | |
| CustomerUUID | entproj_d | customeruuid | NodeID | |
| EnterpriseProjectServiceOrg | entproj_d | enterpriseprojectserviceorg | Service Org. | |
| EntProjectIsConfidential | entproj_d | entprojectisconfidential | Confidential | |
| RestrictedTimePosting | entproj_d | restrictedtimeposting | Restrict Unstaffed | |
| ProcessingStatus | entproj_d | processingstatus | Worklist Status | |
| ResponsibleCostCenter | entproj_d | responsiblecostcenter | Responsible Cost Center | |
| ProfitCenter | entproj_d | profitcenter | Profit Center | |
| ProjectProfileCode | entproj_d | projectprofilecode | Project Profile | |
| FunctionalArea | entproj_d | functionalarea | Sendr Fctl Area | |
| CompanyCode | entproj_d | companycode | Receiver Company Code | |
| ControllingArea | entproj_d | controllingarea | Controlling Area | |
| Plant | entproj_d | plant | Valuation Area | |
| Location | entproj_d | location | Text | |
| TaxJurisdiction | entproj_d | taxjurisdiction | Tax Jurisdiction | |
| ProjectCurrency | entproj_d | projectcurrency | Project Currency | |
| AvailabilityControlProfile | entproj_d | availabilitycontrolprofile | Budget Availability Control Profile | |
| AvailabilityControlIsActive | entproj_d | availabilitycontrolisactive | Budget Availability Control is Active | |
| FunctionalLocation | entproj_d | functionallocation | Object ID | |
| InvestmentProfile | entproj_d | investmentprofile | Investment Measure Profile | |
| IsBillingRelevant | entproj_d | isbillingrelevant | Billing elem. | |
| LastChangeDateTime | entproj_d | lastchangedatetime | Timestamp | |
| LastChangedByUser | entproj_d | lastchangedbyuser | User Name | |
| ProjectLastChangedDateTime | entproj_d | projectlastchangeddatetime | Time Stamp | |
| ProjectLastChangedByUser | entproj_d | projectlastchangedbyuser | Changed by | |
| EntProjIsMultiSlsOrdItmsEnbld | entproj_d | entprojismultislsorditmsenbld | Project Assigned | |
| EntProjDemandCopyIsRequested | entproj_d | entprojdemandcopyisrequested | TRUE | |
| EntProjSettlmtRuleCpyIsReqd | entproj_d | entprojsettlmtrulecpyisreqd | TRUE | |
| EntProjHasProjectStockEnabled | entproj_d | entprojhasprojectstockenabled | Project stock | |
| EntProjectSettlementType | entproj_d | entprojectsettlementtype | Settlement Type | |
| EntProjectSettlementElement | entproj_d | entprojectsettlementelement | settlementElement | |
| CreatedByUser | entproj_d | createdbyuser | User Name | |
| CreationDateTime | entproj_d | creationdatetime | Timestamp | |
| LeadingSalesOrder | entproj_d | leadingsalesorder | Sales Document | |
| LeadingSalesOrderItem | entproj_d | leadingsalesorderitem | Item | |
| ResultAnalysisInternalID | entproj_d | resultanalysisinternalid | Results Analysis Key | |
| WBSElementInternalID | entproj_d | wbselementinternalid | WBS Internal ID | |
| FactoryCalendar | entproj_d | factorycalendar | Factory Calendar | |
| WBSElementObject | entproj_d | wbselementobject | Object number | |
| ProjectObject | entproj_d | projectobject | Object number | |
| CostingSheet | entproj_d | costingsheet | Costing Sheet | |
| CostCenter | entproj_d | costcenter | Cost Center | |
| IsStatistical | entproj_d | isstatistical | Statistical | |
| ProjectTemplateUUID | entproj_d | projecttemplateuuid | Entity GUID | |
| ProjectManager | entproj_d | projectmanager | Busn. Partner | |
| DraftEntityCreationDateTime | entproj_d | draftentitycreationdatetime | Draft Created On | |
| DraftEntityLastChangeDateTime | entproj_d | draftentitylastchangedatetime | Draft Last Changed On | |
| DraftAdministrativeDataUUID | entproj_d | draftadministrativedatauuid | UUID | |
| DraftFieldChanges | entproj_d | draftfieldchanges | Field Changes | |
| HasActiveEntity | entproj_d | hasactiveentity | TRUE | |
| DraftEntityOperationCode | entproj_d | draftentityoperationcode | Draft - Operation Code | |
| _Project | _Project | |||
| _EnterpriseProjectForUser | _EnterpriseProjectForUser |
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_EnterpriseProjectDraft.
-- 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_EnterpriseProjectDraft AS
SELECT
EnterpriseProjectDraft.projectuuid AS ProjectUUID,
EnterpriseProjectDraft.projectsummarytaskuuid AS ProjectSummaryTaskUUID,
EnterpriseProjectDraft.projectinternalid AS ProjectInternalID,
EnterpriseProjectDraft.project AS Project,
EnterpriseProjectDraft.projectcategory AS ProjectCategory,
EnterpriseProjectDraft.projectdescription AS ProjectDescription,
EnterpriseProjectDraft.enterpriseprojecttype AS EnterpriseProjectType,
EnterpriseProjectDraft.prioritycode AS PriorityCode,
EnterpriseProjectDraft.projectstartdate AS ProjectStartDate,
EnterpriseProjectDraft.projectenddate AS ProjectEndDate,
EnterpriseProjectDraft.actualstartdate AS ActualStartDate,
EnterpriseProjectDraft.actualenddate AS ActualEndDate,
EnterpriseProjectDraft.customeruuid AS CustomerUUID,
EnterpriseProjectDraft.enterpriseprojectserviceorg AS EnterpriseProjectServiceOrg,
EnterpriseProjectDraft.entprojectisconfidential AS EntProjectIsConfidential,
EnterpriseProjectDraft.restrictedtimeposting AS RestrictedTimePosting,
EnterpriseProjectDraft.processingstatus AS ProcessingStatus,
EnterpriseProjectDraft.responsiblecostcenter AS ResponsibleCostCenter,
EnterpriseProjectDraft.profitcenter AS ProfitCenter,
EnterpriseProjectDraft.projectprofilecode AS ProjectProfileCode,
EnterpriseProjectDraft.functionalarea AS FunctionalArea,
EnterpriseProjectDraft.companycode AS CompanyCode,
EnterpriseProjectDraft.controllingarea AS ControllingArea,
EnterpriseProjectDraft.plant AS Plant,
EnterpriseProjectDraft.location AS Location,
EnterpriseProjectDraft.taxjurisdiction AS TaxJurisdiction,
EnterpriseProjectDraft.projectcurrency AS ProjectCurrency,
EnterpriseProjectDraft.availabilitycontrolprofile AS AvailabilityControlProfile,
EnterpriseProjectDraft.availabilitycontrolisactive AS AvailabilityControlIsActive,
EnterpriseProjectDraft.functionallocation AS FunctionalLocation,
EnterpriseProjectDraft.investmentprofile AS InvestmentProfile,
EnterpriseProjectDraft.isbillingrelevant AS IsBillingRelevant,
EnterpriseProjectDraft.lastchangedatetime AS LastChangeDateTime,
EnterpriseProjectDraft.lastchangedbyuser AS LastChangedByUser,
EnterpriseProjectDraft.projectlastchangeddatetime AS ProjectLastChangedDateTime,
EnterpriseProjectDraft.projectlastchangedbyuser AS ProjectLastChangedByUser,
EnterpriseProjectDraft.entprojismultislsorditmsenbld AS EntProjIsMultiSlsOrdItmsEnbld,
EnterpriseProjectDraft.entprojdemandcopyisrequested AS EntProjDemandCopyIsRequested,
EnterpriseProjectDraft.entprojsettlmtrulecpyisreqd AS EntProjSettlmtRuleCpyIsReqd,
EnterpriseProjectDraft.entprojhasprojectstockenabled AS EntProjHasProjectStockEnabled,
EnterpriseProjectDraft.entprojectsettlementtype AS EntProjectSettlementType,
EnterpriseProjectDraft.entprojectsettlementelement AS EntProjectSettlementElement,
EnterpriseProjectDraft.createdbyuser AS CreatedByUser,
EnterpriseProjectDraft.creationdatetime AS CreationDateTime,
EnterpriseProjectDraft.leadingsalesorder AS LeadingSalesOrder,
EnterpriseProjectDraft.leadingsalesorderitem AS LeadingSalesOrderItem,
EnterpriseProjectDraft.resultanalysisinternalid AS ResultAnalysisInternalID,
EnterpriseProjectDraft.wbselementinternalid AS WBSElementInternalID,
EnterpriseProjectDraft.factorycalendar AS FactoryCalendar,
EnterpriseProjectDraft.wbselementobject AS WBSElementObject,
EnterpriseProjectDraft.projectobject AS ProjectObject,
EnterpriseProjectDraft.costingsheet AS CostingSheet,
EnterpriseProjectDraft.costcenter AS CostCenter,
EnterpriseProjectDraft.isstatistical AS IsStatistical,
EnterpriseProjectDraft.projecttemplateuuid AS ProjectTemplateUUID,
EnterpriseProjectDraft.projectmanager AS ProjectManager,
EnterpriseProjectDraft.draftentitycreationdatetime AS DraftEntityCreationDateTime,
EnterpriseProjectDraft.draftentitylastchangedatetime AS DraftEntityLastChangeDateTime,
EnterpriseProjectDraft.draftadministrativedatauuid AS DraftAdministrativeDataUUID,
EnterpriseProjectDraft.draftfieldchanges AS DraftFieldChanges,
EnterpriseProjectDraft.hasactiveentity AS HasActiveEntity,
EnterpriseProjectDraft.draftentityoperationcode AS DraftEntityOperationCode
FROM entproj_d AS EnterpriseProjectDraft
INNER JOIN sdraft_admin ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN R_EnterpriseProject AS _Project ON ProjectUUID = _Project.ProjectUUID -- association [1..1]
LEFT OUTER JOIN I_EnterpriseProjectForUser AS _EnterpriseProjectForUser ON _EnterpriseProjectForUser.ProjectUUID = ProjectUUID -- association [0..1]
LEFT OUTER JOIN E_EnterpriseProjectDraft AS _ProjectExtension ON ProjectUUID = _ProjectExtension.ProjectUUID -- association [1..1]
LEFT OUTER JOIN E_CommercialProjectDraft AS _CommercialProjectExtension ON ProjectUUID = _CommercialProjectExtension.ProjectUUID -- 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