I_PROJECTBASICDATA

CDS View

Project Basic Data

I_PROJECTBASICDATA is a CDS View in S/4HANA. Project Basic Data. It contains 32 fields. 42 CDS views read from this table.

CDS Views using this table (42)

ViewTypeJoinVDMDescription
A_FinProject view from BASIC API FIN Project Definition Details
A_FinWBSElement view left_outer BASIC API FIN WBS Element Details
C_EvtBsdCostCtrlgProjectVH view from CONSUMPTION Project
C_EvtBsdRevnRecgnProjMonitor view inner CONSUMPTION EBRR Monitor: Project (2) - main CDS
C_ProjectFinCtrlrOvw view from CONSUMPTION Project Financial Controller Overview
C_RunOverheadProject view from CONSUMPTION Overhead Calculation Project
C_RunSettlementActualProject view from CONSUMPTION Project list for actual settlement
C_SettlementProjectVH view from CONSUMPTION Value Help for Settlement Project
FAC_AUDIT_Z3_PROJECT view from Project
FINOC_RT_PRO_FILL view inner Orgl Change: Fill Runtime for Projects
FINOC_RT_WBS_FILL view inner Orgl Change: Fill Runtime for WBS Elmnt
FINOC_RULE_WBS_DEFAULT_CE view inner OC: Default Rule WBS elmts, EPPM wR CE
I_JVAActualBudgetLineItem view left_outer COMPOSITE Actual Cost and JV Budget
I_PeggingAssignmentProjectVH view_entity from COMPOSITE Pegging Assignment Project
I_PPM_ProjJntVentureAccounting view inner COMPOSITE Extension for Joint Venture Accounting
I_ProjectBasicDataStdVH view_entity from BASIC Project Basic Data
I_ProjectByProjMgr view from COMPOSITE Project by Project Manager
I_ProjectByProjMgr view union_all COMPOSITE Project by Project Manager
I_ProjectByProjMgrVH view from COMPOSITE Project Definition Value Help
I_ProjectObjectHierarchySource view inner COMPOSITE Project Hierarchy Source
I_ProjectObjectHierarchySource view from COMPOSITE Project Hierarchy Source
I_ProjectObjectHierDirSource view from COMPOSITE Hierarchy Directory Source
P_ActvPROJECTSWITHPROJCAT6 view from COMPOSITE
P_EngmtProjActlCnvrsn view from COMPOSITE
P_EngmtProjActlPlnSlsOrd view inner COMPOSITE
P_GetParSemanticTagForProj view from COMPOSITE
P_OrglChgProjectUploadCheck view_entity inner COMPOSITE
P_PPM_Project view left_outer COMPOSITE
P_PPM_Prstcm_ProjData view left_outer CONSUMPTION
P_ProjActualCostLineItems view from COMPOSITE
P_ProjActualCostLineItems view union_all COMPOSITE
P_ProjCmtmtCostLineItms view from COMPOSITE
P_ProjCmtmtCostLineItms view union_all COMPOSITE
P_PROJECTFINBUDGETSMMRY view inner COMPOSITE
P_ProjectObject view from COMPOSITE
P_ProjectStockCostLineItem view from COMPOSITE Project Stock Cost line item
P_ProjectsWithProjCat6 view from COMPOSITE
P_ProjFinSmmryLnItems view from COMPOSITE
P_ProjPlnCostLineItms view from COMPOSITE
P_ProjPlnCostLineItms view union_all COMPOSITE
P_ProjSettlmtRuleProjBasicData view_entity inner COMPOSITE Settlement Rule for Project
P_WPMO_PROJCOSTLINEITEMS view inner COMPOSITE

Fields (32)

KeyField CDS FieldsUsed in Views
KEY Project Project 7
KEY ProjectExternalID PartnerProject,Project,ProjectExternalID 11
KEY ProjectInternalID ProjectInternalID 11
KEY ProjectObject ProjectObject,ProjectObjectRootNode,StatusObject 10
_AvailabilityCtrlProfile _AvailabilityCtrlProfile 2
_CompanyCode _CompanyCode 2
_ControllingArea _ControllingArea 2
_ProfitCenter _ProfitCenter 2
_ProfitCenter2 _ProfitCenter2 2
_WBSElement _WBSElement 2
AvailabilityControlIsActive AvailabilityControlIsActive 11
AvailabilityControlProfile AvailabilityControlProfile 12
CompanyCode CompanyCode 8
ControllingArea ControllingArea 10
EntProjectSettlementType EntProjectSettlementType 1
EntProjHasProjectStockEnabled EntProjHasProjectStockEnabled 1
FunctionalArea FunctionalArea 3
JntIntrstBillgClass JntIntrstBillgClass 3
JntIntrstBillgSubClass JntIntrstBillgSubClass 3
JntVntrProjectType JntVntrProjectType 3
JointVenture JointVenture 3
JointVentureCostRecoveryCode JointVentureCostRecoveryCode 3
JointVentureEquityType JointVentureEquityType 3
Location Location 3
PlannedEndDate PlannedEndDate 5
PlannedStartDate PlannedStartDate 5
Plant Plant 1
ProfitCenter ProfitCenter 10
ProjectCurrency ControllingObjectCurrency,Currency,ProjectCurrency 8
ProjectDescription ControllingObjectDescription,ProjectDescription 13
ProjectProfileCode ProjectProfileCode 10
TaxJurisdiction TaxJurisdiction 3
@AbapCatalog: {
  sqlViewName: 'IPROJECTBSCDATA',
  compiler.compareFilter: true
}
@Analytics: { dataCategory: #DIMENSION }
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Project Basic Data'
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.preserveKey:true
@Metadata.ignorePropagatedAnnotations:true

@Metadata.allowExtensions: true

@ObjectModel: {
    compositionRoot: true,
    //Keys

    representativeKey: 'ProjectInternalID',
    semanticKey: [ 'Project' ],

    usageType: {
        serviceQuality: #B,
        sizeCategory : #L,
        dataClass: #TRANSACTIONAL
    },
    
    supportedCapabilities: [ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #ANALYTICAL_DIMENSION ]
}



define view I_ProjectBasicData
  as select from proj
  association [0..1] to I_WBSElementBasicData     as _RootWBSElement          on  $projection.ProjectInternalID = _RootWBSElement.ProjectInternalID 
                                                                                  and $projection.ProjectExternalID = _RootWBSElement.WBSElementExternalID      
   
  //association [0..1] to prps     as _RootWBSElement          on  $projection.ProjectInternalID = _RootWBSElement.psphi 

   //                                                                              and _RootWBSElement.stufe = 1                                                                          


  association [0..*] to I_WBSElementBasicData     as _WBSElement              on  $projection.ProjectInternalID = _WBSElement.ProjectInternalID
  association [0..1] to I_CompanyCode             as _CompanyCode             on  $projection.CompanyCode = _CompanyCode.CompanyCode
  association [0..1] to I_ControllingArea         as _ControllingArea         on  $projection.ControllingArea = _ControllingArea.ControllingArea
  //association [0..1] to I_FunctionalArea as _FunctionalArea on $projection.FunctionalArea = _FunctionalArea.FunctionalArea

  association [0..1] to I_ProfitCenter            as _ProfitCenter            on  $projection.ControllingArea  =  _ProfitCenter.ControllingArea
                                                                              and $projection.ProfitCenter     =  _ProfitCenter.ProfitCenter
                                                                              and $projection.PlannedStartDate <= _ProfitCenter.ValidityEndDate
                                                                              and $projection.PlannedStartDate >= _ProfitCenter.ValidityStartDate
                                                                              
  association [0..*] to I_ProfitCenter            as _ProfitCenter2           on  $projection.ControllingArea  =  _ProfitCenter2.ControllingArea
                                                                              and $projection.ProfitCenter     =  _ProfitCenter2.ProfitCenter
                                                                              
  association [0..1] to I_AvailabilityCtrlProfile as _AvailabilityCtrlProfile on  $projection.AvailabilityControlProfile = _AvailabilityCtrlProfile.AvailabilityControlProfile
  //Hierarchy settlement changes

  association [0..1] to I_EntProjectSettlementType as _EntProjectSettlementType   on  $projection.EntProjectSettlementType = _EntProjectSettlementType.EntProjectSettlementType
 
  
  
{

      //Entity description fields

  key cast ( proj.pspnr as ps_s4_proj_pspnr preserving type )   as ProjectInternalID,
      @ObjectModel.text.element: 'ProjectDescription'
      proj.pspid_edit                                           as ProjectExternalID,
      proj.pspid                                                as Project,
      cast ( proj.post1 as ps_s4_proj_post1_v1 preserving type) as ProjectDescription,
      proj.profl                                                as ProjectProfileCode,



      //Organisational fields

      @ObjectModel.foreignKey.association: '_CompanyCode'
      cast ( proj.vbukr as bukrs preserving type )              as CompanyCode,
      @ObjectModel.foreignKey.association: '_ControllingArea'
      cast ( proj.vkokr as kokrs preserving type )              as ControllingArea,
      //@ObjectModel.foreignKey.association: '_FunctionalArea'

      cast ( proj.func_area as fkber preserving type )          as FunctionalArea,
      @ObjectModel.foreignKey.association: '_ProfitCenter2'
      proj.prctr                                                as ProfitCenter,

      //Dimensions

      proj.objnr                                                as ProjectObject,

      //Dates

      @Semantics.calendar.dayOfMonth: true
      proj.plfaz                                                as PlannedStartDate,
      @Semantics.calendar.dayOfMonth: true
      proj.plsez                                                as PlannedEndDate,

      proj.avc_profile                                          as AvailabilityControlProfile,
      proj.avc_active                                           as AvailabilityControlIsActive,
      //Joint venture fields

      proj.vname                                                as JointVenture,
      proj.recid                                                as JointVentureCostRecoveryCode,
      proj.etype                                                as JointVentureEquityType,
      proj.otype                                                as JntVntrProjectType,
      proj.jibcl                                                as JntIntrstBillgClass,
      proj.jibsa                                                as JntIntrstBillgSubClass,
      proj.stort                                                as Location,
      proj.cpcurr                                               as ProjectCurrency,
      // Tax Jurisdiction Code

      proj.txjcd                                                as TaxJurisdiction,
      //Hierarchy settlement changes        

      proj.settlementtype                                     as EntProjectSettlementType,
      // Enabling Project stock

      proj.besta                                                as EntProjHasProjectStockEnabled,
      @Consumption.hidden: true
      proj.werks                                                as Plant,      
      

      //Associations

      @ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
      _WBSElement,
      _CompanyCode,
      _ControllingArea,
      //_FunctionalArea,

      //@Consumption.filter.businessDate.at : true

      _ProfitCenter,
      @Consumption.hidden: true
      _ProfitCenter2,
      _AvailabilityCtrlProfile,
            //Hierarchy settlement changes

      _EntProjectSettlementType,
      @Consumption.hidden: true
      _RootWBSElement
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"PROJ"
],
"ASSOCIATED":
[
"I_AVAILABILITYCTRLPROFILE",
"I_COMPANYCODE",
"I_CONTROLLINGAREA",
"I_ENTPROJECTSETTLEMENTTYPE",
"I_PROFITCENTER",
"I_WBSELEMENTBASICDATA"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/