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 | |
| ProjectSummaryTaskUUID | entproj_d | projectsummarytaskuuid | ||
| ProjectInternalID | entproj_d | projectinternalid | ||
| Project | entproj_d | project | ||
| ProjectCategory | entproj_d | projectcategory | ||
| ProjectDescription | entproj_d | projectdescription | ||
| EnterpriseProjectType | entproj_d | enterpriseprojecttype | ||
| PriorityCode | entproj_d | prioritycode | ||
| ProjectStartDate | entproj_d | projectstartdate | ||
| ProjectEndDate | entproj_d | projectenddate | ||
| ActualStartDate | entproj_d | actualstartdate | ||
| ActualEndDate | entproj_d | actualenddate | ||
| CustomerUUID | entproj_d | customeruuid | ||
| EnterpriseProjectServiceOrg | entproj_d | enterpriseprojectserviceorg | ||
| EntProjectIsConfidential | entproj_d | entprojectisconfidential | ||
| RestrictedTimePosting | entproj_d | restrictedtimeposting | ||
| ProcessingStatus | entproj_d | processingstatus | ||
| ResponsibleCostCenter | entproj_d | responsiblecostcenter | ||
| ProfitCenter | entproj_d | profitcenter | ||
| ProjectProfileCode | entproj_d | projectprofilecode | ||
| FunctionalArea | entproj_d | functionalarea | ||
| CompanyCode | entproj_d | companycode | ||
| ControllingArea | entproj_d | controllingarea | ||
| Plant | entproj_d | plant | ||
| Location | entproj_d | location | ||
| TaxJurisdiction | entproj_d | taxjurisdiction | ||
| ProjectCurrency | entproj_d | projectcurrency | ||
| AvailabilityControlProfile | entproj_d | availabilitycontrolprofile | ||
| AvailabilityControlIsActive | entproj_d | availabilitycontrolisactive | ||
| FunctionalLocation | entproj_d | functionallocation | ||
| InvestmentProfile | entproj_d | investmentprofile | ||
| IsBillingRelevant | entproj_d | isbillingrelevant | ||
| LastChangeDateTime | entproj_d | lastchangedatetime | ||
| LastChangedByUser | entproj_d | lastchangedbyuser | ||
| ProjectLastChangedDateTime | entproj_d | projectlastchangeddatetime | ||
| ProjectLastChangedByUser | entproj_d | projectlastchangedbyuser | ||
| EntProjIsMultiSlsOrdItmsEnbld | entproj_d | entprojismultislsorditmsenbld | ||
| EntProjDemandCopyIsRequested | entproj_d | entprojdemandcopyisrequested | ||
| EntProjSettlmtRuleCpyIsReqd | entproj_d | entprojsettlmtrulecpyisreqd | ||
| EntProjHasProjectStockEnabled | entproj_d | entprojhasprojectstockenabled | ||
| EntProjectSettlementType | entproj_d | entprojectsettlementtype | ||
| EntProjectSettlementElement | entproj_d | entprojectsettlementelement | ||
| CreatedByUser | entproj_d | createdbyuser | ||
| CreationDateTime | entproj_d | creationdatetime | ||
| LeadingSalesOrder | entproj_d | leadingsalesorder | ||
| LeadingSalesOrderItem | entproj_d | leadingsalesorderitem | ||
| ResultAnalysisInternalID | entproj_d | resultanalysisinternalid | ||
| WBSElementInternalID | entproj_d | wbselementinternalid | ||
| FactoryCalendar | entproj_d | factorycalendar | ||
| WBSElementObject | entproj_d | wbselementobject | ||
| ProjectObject | entproj_d | projectobject | ||
| CostingSheet | entproj_d | costingsheet | ||
| CostCenter | entproj_d | costcenter | ||
| IsStatistical | entproj_d | isstatistical | ||
| ProjectTemplateUUID | entproj_d | projecttemplateuuid | ||
| ProjectManager | entproj_d | projectmanager | ||
| DraftEntityCreationDateTime | entproj_d | draftentitycreationdatetime | ||
| DraftEntityLastChangeDateTime | entproj_d | draftentitylastchangedatetime | ||
| DraftAdministrativeDataUUID | entproj_d | draftadministrativedatauuid | ||
| DraftFieldChanges | entproj_d | draftfieldchanges | ||
| HasActiveEntity | entproj_d | hasactiveentity | ||
| DraftEntityOperationCode | entproj_d | draftentityoperationcode | ||
| _Project | _Project | |||
| _EnterpriseProjectForUser | _EnterpriseProjectForUser |
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
@AbapCatalog.dataMaintenance: #RESTRICTED
@ObjectModel: {
usageType: {
serviceQuality: #A,
dataClass: #TRANSACTIONAL,
sizeCategory: #M
}
}
@AbapCatalog.extensibility: {
extensible: true,
elementSuffix: 'PPH',
allowNewDatasources: false,
dataSources: ['_ProjectExtension'],
quota: {
maximumFields: 204,
maximumBytes: 2040
}
}
@EndUserText.label: 'Enterprise Project Draft'
define view entity R_EnterpriseProjectDraft
as select from entproj_d as EnterpriseProjectDraft
inner join sdraft_admin on sdraft_admin.draft_key = EnterpriseProjectDraft.draftadministrativedatauuid
association [1..1] to R_EnterpriseProject as _Project on $projection.ProjectUUID = _Project.ProjectUUID
association [0..1] to I_EnterpriseProjectForUser as _EnterpriseProjectForUser on _EnterpriseProjectForUser.ProjectUUID = $projection.ProjectUUID
---Extension Association
association [1..1] to E_EnterpriseProjectDraft as _ProjectExtension on $projection.ProjectUUID = _ProjectExtension.ProjectUUID
association [1..1] to E_CommercialProjectDraft as _CommercialProjectExtension on $projection.ProjectUUID = _CommercialProjectExtension.ProjectUUID
{
key 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,
_Project,
_EnterpriseProjectForUser
}
where sdraft_admin.created_by = $session.user
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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