R_EnterpriseProjectDraft

DDL: R_ENTERPRISEPROJECTDRAFT Type: view_entity BASIC

Enterprise Project Draft

R_EnterpriseProjectDraft is a Basic CDS View that provides data about "Enterprise Project Draft" in SAP S/4HANA. It reads from 1 data source (entproj_d) and exposes 63 fields with key field ProjectUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
entproj_d EnterpriseProjectDraft from

Associations (2)

CardinalityTargetAliasCondition
[1..1] R_EnterpriseProject _Project $projection.ProjectUUID = _Project.ProjectUUID ---Extension
[1..1] E_EnterpriseProjectDraft _ProjectExtension $projection.ProjectUUID = _ProjectExtension.ProjectUUID

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 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 (63)

KeyFieldSource TableSource FieldDescription
KEY ProjectUUID projectuuid
ProjectSummaryTaskUUID projectsummarytaskuuid
ProjectInternalID projectinternalid
Project project
ProjectCategory projectcategory
ProjectDescription projectdescription
EnterpriseProjectType enterpriseprojecttype
PriorityCode prioritycode
ProjectStartDate projectstartdate
ProjectEndDate projectenddate
ActualStartDate actualstartdate
ActualEndDate actualenddate
CustomerUUID customeruuid
EnterpriseProjectServiceOrg enterpriseprojectserviceorg
EntProjectIsConfidential entprojectisconfidential
RestrictedTimePosting restrictedtimeposting
ProcessingStatus processingstatus
ResponsibleCostCenter responsiblecostcenter
ProfitCenter profitcenter
ProjectProfileCode projectprofilecode
FunctionalArea functionalarea
CompanyCode companycode
ControllingArea controllingarea
Plant plant
Location location
TaxJurisdiction taxjurisdiction
ProjectCurrency projectcurrency
AvailabilityControlProfile availabilitycontrolprofile
AvailabilityControlIsActive availabilitycontrolisactive
FunctionalLocation functionallocation
InvestmentProfile investmentprofile
IsBillingRelevant isbillingrelevant
LastChangeDateTime lastchangedatetime
LastChangedByUser lastchangedbyuser
ProjectLastChangedDateTime projectlastchangeddatetime
ProjectLastChangedByUser projectlastchangedbyuser
EntProjIsMultiSlsOrdItmsEnbld entprojismultislsorditmsenbld
EntProjDemandCopyIsRequested entprojdemandcopyisrequested
EntProjSettlmtRuleCpyIsReqd entprojsettlmtrulecpyisreqd
EntProjHasProjectStockEnabled entprojhasprojectstockenabled
EntProjectSettlementType entprojectsettlementtype
EntProjectSettlementElement entprojectsettlementelement
CreatedByUser createdbyuser
CreationDateTime creationdatetime
LeadingSalesOrder leadingsalesorder
LeadingSalesOrderItem leadingsalesorderitem
ResultAnalysisInternalID resultanalysisinternalid
WBSElementInternalID wbselementinternalid
FactoryCalendar factorycalendar
WBSElementObject wbselementobject
ProjectObject projectobject
CostingSheet costingsheet
CostCenter costcenter
IsStatistical isstatistical
ProjectTemplateUUID projecttemplateuuid
ProjectManager projectmanager
DraftEntityCreationDateTime draftentitycreationdatetime
DraftEntityLastChangeDateTime draftentitylastchangedatetime
DraftAdministrativeDataUUID draftadministrativedatauuid
DraftFieldChanges draftfieldchanges
HasActiveEntity hasactiveentity
DraftEntityOperationCode draftentityoperationcode
_Project _Project
@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
   association [1..1] to R_EnterpriseProject        as _Project  on $projection.ProjectUUID = _Project.ProjectUUID
   ---Extension Association
   association [1..1] to E_EnterpriseProjectDraft              as _ProjectExtension  on  $projection.ProjectUUID = _ProjectExtension.ProjectUUID
   
{
      key projectuuid             as ProjectUUID,
      projectsummarytaskuuid      as ProjectSummaryTaskUUID,
      projectinternalid           as ProjectInternalID,
      project                     as Project,
      
      projectcategory             as ProjectCategory,
      projectdescription          as ProjectDescription,
      enterpriseprojecttype       as EnterpriseProjectType,
      prioritycode                as PriorityCode,     
      projectstartdate            as ProjectStartDate,
      projectenddate              as ProjectEndDate,
      actualstartdate             as ActualStartDate, 
      actualenddate               as ActualEndDate,
  
      customeruuid                as CustomerUUID,   
      enterpriseprojectserviceorg as EnterpriseProjectServiceOrg,
      
      entprojectisconfidential    as EntProjectIsConfidential,
      restrictedtimeposting       as RestrictedTimePosting,
      
      processingstatus            as ProcessingStatus,
      
      responsiblecostcenter       as ResponsibleCostCenter,
      profitcenter                as ProfitCenter,
      projectprofilecode          as ProjectProfileCode,
      functionalarea              as FunctionalArea,
      companycode                 as CompanyCode,
      controllingarea             as ControllingArea,   
      plant                       as Plant,
      location                    as Location,
      taxjurisdiction             as TaxJurisdiction,
      projectcurrency             as ProjectCurrency,
      availabilitycontrolprofile  as AvailabilityControlProfile,
      availabilitycontrolisactive as AvailabilityControlIsActive,
      
      functionallocation          as FunctionalLocation,     
      investmentprofile           as InvestmentProfile,
      isbillingrelevant           as IsBillingRelevant,
      
      lastchangedatetime          as LastChangeDateTime,
      lastchangedbyuser           as LastChangedByUser,
      projectlastchangeddatetime  as ProjectLastChangedDateTime,
      projectlastchangedbyuser    as ProjectLastChangedByUser,
      
      entprojismultislsorditmsenbld as EntProjIsMultiSlsOrdItmsEnbld,
      entprojdemandcopyisrequested  as EntProjDemandCopyIsRequested,
      entprojsettlmtrulecpyisreqd   as EntProjSettlmtRuleCpyIsReqd,
      entprojhasprojectstockenabled as EntProjHasProjectStockEnabled,
      entprojectsettlementtype      as EntProjectSettlementType,
      entprojectsettlementelement   as EntProjectSettlementElement,
  
      createdbyuser                  as CreatedByUser,
      creationdatetime               as CreationDateTime,
      leadingsalesorder              as LeadingSalesOrder,
      leadingsalesorderitem          as LeadingSalesOrderItem,
      resultanalysisinternalid       as  ResultAnalysisInternalID,
      wbselementinternalid           as WBSElementInternalID,
      factorycalendar                as FactoryCalendar,
      wbselementobject               as  WBSElementObject,
      projectobject                  as   ProjectObject,
      costingsheet                   as   CostingSheet,
      costcenter                     as    CostCenter   ,    
      isstatistical                  as  IsStatistical,
      projecttemplateuuid            as  ProjectTemplateUUID,
      projectmanager                 as  ProjectManager,

      draftentitycreationdatetime   as DraftEntityCreationDateTime,
      draftentitylastchangedatetime as DraftEntityLastChangeDateTime,
      draftadministrativedatauuid   as DraftAdministrativeDataUUID,
   
      draftfieldchanges             as DraftFieldChanges,
      hasactiveentity               as HasActiveEntity,
      draftentityoperationcode      as DraftEntityOperationCode,
  
  
     _Project
 // _Project._EnterpriseProjectForUser


  
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"ENTPROJ_D"
],
"ASSOCIATED":
[
"R_ENTERPRISEPROJECT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/