I_ProjectVersion

DDL: I_PROJECTVERSION SQL: IPROJECTVERSION Type: view BASIC

Project Version Details

I_ProjectVersion is a Basic CDS View that provides data about "Project Version Details" in SAP S/4HANA. It reads from 1 data source (vsproj_cn) and exposes 102 fields with key fields SAPClient, ProjectInternalID, Version. It has 21 associations to related views.

Data Sources (1)

SourceAliasJoin Type
vsproj_cn vsproj_cn from

Associations (21)

CardinalityTargetAliasCondition
[1..1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..*] I_CostCenter _CostCenter $projection.CostCenter = _CostCenter.CostCenter and $projection.ControllingArea = _CostCenter.ControllingArea
[1..*] I_WBSElementVersion _WBSElement $projection.ProjectInternalID = _WBSElement.ProjectInternalID and $projection.Version = _WBSElement.Version
[1..1] I_BusinessArea _BusinessArea $projection.BusinessArea = _BusinessArea.BusinessArea
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[1..1] I_ProjectProfileCode _ProjectProfileCode $projection.ProjectProfileCode = _ProjectProfileCode.ProjectProfileCode
[1..1] I_ControllingObjectClass _ControllingObjectClass $projection.ControllingObjectClass = _ControllingObjectClass.ControllingObjectClass
[1..*] I_NetworkProfile _NetworkProfile $projection.NetworkProfile = _NetworkProfile.NetworkProfile
[1..1] I_Interestcalculationprofile _ProjInterestCalcProfile $projection.ProjInterestCalcProfile = _ProjInterestCalcProfile.ProjInterestCalcProfile
[1..1] I_FunctionalArea _FunctionalArea $projection.FunctionalArea = _FunctionalArea.FunctionalArea
[1..*] I_ProfitCenter _ProfitCenter $projection.ProfitCenter = _ProfitCenter.ProfitCenter and $projection.ControllingArea = _ProfitCenter.ControllingArea
[1..*] I_TaxJurisdiction _TaxJurisdiction $projection.TaxJurisdiction = _TaxJurisdiction.TaxJurisdiction
[1..1] I_Wbsschedulingprofile _Wbsschedulingprofile $projection.WBSSchedulingProfile = _Wbsschedulingprofile.WBSSchedulingProfile
[1..1] I_ProjectByInternalKey _ProjectByInternalKey $projection.ProjectInternalID = _ProjectByInternalKey.ProjectInternalID
[1..1] I_PlanningMethod _ProjBasicDatePlanMethName $projection.PlanningMethForProjBasicDate = _ProjBasicDatePlanMethName.PlanningMethForProjBasicDate
[1..1] I_PlanningMethod _ProjFcstdDatePlanMethName $projection.PlanningMethForProjFcstdDate = _ProjFcstdDatePlanMethName.PlanningMethForProjBasicDate
[1..1] E_ProjectVersion _Extension vsproj_cn.vsnmr = _Extension.Version and vsproj_cn.pspid = _Extension.Project
[0..1] I_ProjectResponsiblePerson _ResponsiblePerson $projection.ResponsiblePerson = _ResponsiblePerson.ResponsiblePerson
[0..1] I_ProjectApplicant _ProjectApplicant $projection.ApplicantCode = _ProjectApplicant.ApplicantCode
[0..1] I_ProjectObjectShortText _ProjectShortText _ProjectShortText.Language = $session.system_language and _ProjectShortText.ProjectApplicationIdentifier = 'PS' and _ProjectShortText.ProjectObjectType = 'PD' and $projection.ProjectObject = _ProjectShortText.ProjectObjectNode

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IPROJECTVERSION view
VDM.viewType #BASIC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Project Version Details view
ObjectModel.representativeKey Version view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
AccessControl.personalData.blocking #REQUIRED view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (102)

KeyFieldSource TableSource FieldDescription
KEY SAPClient vsproj_cn mandt Editing Client
KEY ProjectInternalID
KEY Version
ObjectType
Project
ProjectWithCodingMask vsproj_cn pspid_edit Std. Proj. Def.
ProjectDescription
ProjectObject vsproj_cn objnr Val. Obj. No.
CreatedByUser
CreationDate
LastChangedByUser
LastChangeDate
ResponsiblePerson
ResponsiblePersonName
ApplicantCode
ApplicantName vsproj_cn astna Applicant
CompanyCode
BusinessArea
ControllingArea
ProfitCenter vsproj_cn prctr Profit Centers
Currency
NetworkAssignmentType vsproj_cn zuord Not Assignable
WBSElmntDatesIsDetailed vsproj_cn trmeq Activity dates
PlannedStartDate
PlannedEndDate
Plant vsproj_cn werks Receiving Plant
FactoryCalendar
NetworkHdrIsVisibleToUser vsproj_cn nzanz Displ.netwk hdr
NetworkProfile vsproj_cn vprof Network Profile
ProjectProfileCode vsproj_cn profl Project Profile
BudgetProfile vsproj_cn bprof Budget Profile
Language vsproj_cn txtsp Language
CostCenter
CostObject vsproj_cn ktrg Cost Object
BasicDatesLastScheduledDate vsproj_cn aedte Last basic schd
FcstdDatesLastScheduledDate
ProjectHasOwnStock
ControllingObjectClass
WBSIsStatisticalWBSElement vsproj_cn xstat Statistical
TaxJurisdiction
ProjInterestCalcProfile
InvestmentProfile vsproj_cn imprf Invest. Profile
PaymentPlanProfile vsproj_cn fmprf Pymt plan prof.
ResultAnalysisInternalID vsproj_cn abgsl Results analysis key
PlanningProfile vsproj_cn pprof Plng Profile
WBSIsMarkedForIntegratedPlng vsproj_cn plint Integ. Planning
IsMarkedForDeletion
InventorySpecialStockValnType vsproj_cn kzbws Valuation
WBSIsMarkedForAutomReqmtGrpg vsproj_cn grtop Auto.rqmnts grp.
WorkCenterLocation
FunctionalArea
SalesOrganization vsproj_cn vkorg SD Sales Org.
DistributionChannel vsproj_cn vtweg RefDistCh-Cust/Mat.
Division vsproj_cn spart Source supplier
DynItemProcessorPrfl vsproj_cn dppprof DIP Profile
JointVenture vsproj_cn vname Volatility Name
JointVentureCostRecoveryCode vsproj_cn recid Statistical Key Figure Item
JointVentureEquityType vsproj_cn etype RDS Entity Type
JointVentureObjectType vsproj_cn otype Type of Val.
JointVentureClass vsproj_cn jibcl JIB/JIBE Class
JointVentureSubClass vsproj_cn jibsa JIB/JIBE SbClsA
PlanningMethForProjBasicDate
PlanningMethForProjFcstdDate
SchedulingDurationUnit
WBSSchedulingProfile
FreeDefinedTableFieldSemantic vsproj_cn slwid Field key PS
FreeDefinedAttribute01
FreeDefinedAttribute02
FreeDefinedAttribute03
FreeDefinedAttribute04
FreeDefinedQuantity1
FreeDefinedQuantity1Unit
FreeDefinedQuantity2
FreeDefinedQuantity2Unit
FreeDefinedAmount1
FreeDefinedAmount1Currency
FreeDefinedAmount2
FreeDefinedAmount2Currency
FreeDefinedDate1
FreeDefinedDate2
FreeDefinedIndicator1
FreeDefinedIndicator2
_ControllingArea _ControllingArea
_CompanyCode _CompanyCode
_BusinessArea _BusinessArea
_CostCenter _CostCenter
_Plant _Plant
_WBSElement _WBSElement
_ProjectProfileCode _ProjectProfileCode
_ControllingObjectClass _ControllingObjectClass
_NetworkProfile _NetworkProfile
_ProjInterestCalcProfile _ProjInterestCalcProfile
_FunctionalArea _FunctionalArea
_TaxJurisdiction _TaxJurisdiction
_Wbsschedulingprofile _Wbsschedulingprofile
_ProfitCenter _ProfitCenter
_ProjectByInternalKey _ProjectByInternalKey
_ProjBasicDatePlanMethName _ProjBasicDatePlanMethName
_ProjFcstdDatePlanMethName _ProjFcstdDatePlanMethName
_ResponsiblePerson _ResponsiblePerson
_ProjectApplicant _ProjectApplicant
_ProjectShortText _ProjectShortText

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 I_ProjectVersion.
-- 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.
-- SQL view name: IPROJECTVERSION

CREATE VIEW I_ProjectVersion AS
SELECT
  vsproj_cn.mandt AS SAPClient,
  cast ( vsproj_cn.pspnr as ps_s4_proj_pspnr preserving type ) AS ProjectInternalID,
  cast ( vsproj_cn.vsnmr as vsnmr_v preserving type ) AS Version,
  'Project' AS ObjectType,
  cast ( vsproj_cn.pspid as psb_bo_pspid_de preserving type ) AS Project,
  vsproj_cn.pspid_edit AS ProjectWithCodingMask,
  cast ( vsproj_cn.post1 as ps_s4_proj_post1 ) AS ProjectDescription,
  vsproj_cn.objnr AS ProjectObject,
  cast (vsproj_cn.ernam as ernam ) AS CreatedByUser,
  cast (vsproj_cn.erdat as erdat) AS CreationDate,
  cast ( vsproj_cn.aenam as ps_s4_aenam ) AS LastChangedByUser,
  cast ( vsproj_cn.aedat as ps_s4_aedat ) AS LastChangeDate,
  cast ( vsproj_cn.vernr as ps_s4_vernr ) AS ResponsiblePerson,
  cast ( vsproj_cn.verna as ps_s4_verna ) AS ResponsiblePersonName,
  cast ( vsproj_cn.astnr as ps_s4_astnr ) AS ApplicantCode,
  vsproj_cn.astna AS ApplicantName,
  cast ( vsproj_cn.vbukr as bukrs ) AS CompanyCode,
  cast ( vsproj_cn.vgsbr as gsber ) AS BusinessArea,
  cast ( vsproj_cn.vkokr as kokrs ) AS ControllingArea,
  vsproj_cn.prctr AS ProfitCenter,
  cast ( vsproj_cn.pwhie as ps_pwhie ) AS Currency,
  vsproj_cn.zuord AS NetworkAssignmentType,
  vsproj_cn.trmeq AS WBSElmntDatesIsDetailed,
  cast ( vsproj_cn.plfaz as bkk_odate_start ) AS PlannedStartDate,
  cast ( vsproj_cn.plsez as ende_term ) AS PlannedEndDate,
  vsproj_cn.werks AS Plant,
  cast ( vsproj_cn.kalid as appca ) AS FactoryCalendar,
  vsproj_cn.nzanz AS NetworkHdrIsVisibleToUser,
  vsproj_cn.vprof AS NetworkProfile,
  vsproj_cn.profl AS ProjectProfileCode,
  vsproj_cn.bprof AS BudgetProfile,
  vsproj_cn.txtsp AS Language,
  cast ( vsproj_cn.kostl as kostl ) AS CostCenter,
  vsproj_cn.ktrg AS CostObject,
  vsproj_cn.aedte AS BasicDatesLastScheduledDate,
  cast ( vsproj_cn.aedtp as ps_aedtp ) AS FcstdDatesLastScheduledDate,
  cast ( vsproj_cn.besta as psb_stock ) AS ProjectHasOwnStock,
  cast ( vsproj_cn.scope as ps_s4_scope_cv ) AS ControllingObjectClass,
  vsproj_cn.xstat AS WBSIsStatisticalWBSElement,
  cast ( vsproj_cn.txjcd as wb2_txjcd_busvol ) AS TaxJurisdiction,
  cast ( vsproj_cn.zschm as ps_zschm ) AS ProjInterestCalcProfile,
  vsproj_cn.imprf AS InvestmentProfile,
  vsproj_cn.fmprf AS PaymentPlanProfile,
  vsproj_cn.abgsl AS ResultAnalysisInternalID,
  vsproj_cn.pprof AS PlanningProfile,
  vsproj_cn.plint AS WBSIsMarkedForIntegratedPlng,
  cast ( vsproj_cn.loevm as ps_s4_loevm ) AS IsMarkedForDeletion,
  vsproj_cn.kzbws AS InventorySpecialStockValnType,
  vsproj_cn.grtop AS WBSIsMarkedForAutomReqmtGrpg,
  cast ( vsproj_cn.stort as ps_stort ) AS WorkCenterLocation,
  cast ( vsproj_cn.func_area as fkber ) AS FunctionalArea,
  vsproj_cn.vkorg AS SalesOrganization,
  vsproj_cn.vtweg AS DistributionChannel,
  vsproj_cn.spart AS Division,
  vsproj_cn.dppprof AS DynItemProcessorPrfl,
  vsproj_cn.vname AS JointVenture,
  vsproj_cn.recid AS JointVentureCostRecoveryCode,
  vsproj_cn.etype AS JointVentureEquityType,
  vsproj_cn.otype AS JointVentureObjectType,
  vsproj_cn.jibcl AS JointVentureClass,
  vsproj_cn.jibsa AS JointVentureSubClass,
  cast ( vsproj_cn.vgplf as ps_s4_vgplf ) AS PlanningMethForProjBasicDate,
  cast ( vsproj_cn.ewplf as ps_s4_ewplf ) AS PlanningMethForProjFcstdDate,
  cast ( vsproj_cn.zteht as cgpl_duration_unit ) AS SchedulingDurationUnit,
  cast ( vsproj_cn.scprf as ps_s4_schdprf ) AS WBSSchedulingProfile,
  vsproj_cn.slwid AS FreeDefinedTableFieldSemantic,
  cast ( vsproj_cn.usr00 as usr00proj preserving type ) AS FreeDefinedAttribute01,
  cast ( vsproj_cn.usr01 as usr01proj preserving type ) AS FreeDefinedAttribute02,
  cast ( vsproj_cn.usr02 as usr02proj preserving type ) AS FreeDefinedAttribute03,
  cast ( vsproj_cn.usr03 as usr03proj preserving type ) AS FreeDefinedAttribute04,
  cast ( vsproj_cn.usr04 as usr04proj preserving type ) AS FreeDefinedQuantity1,
  cast ( vsproj_cn.use04 as use04proj preserving type ) AS FreeDefinedQuantity1Unit,
  cast ( vsproj_cn.usr05 as usr05proj preserving type ) AS FreeDefinedQuantity2,
  cast ( vsproj_cn.use05 as use05proj preserving type ) AS FreeDefinedQuantity2Unit,
  cast ( vsproj_cn.usr06 as usr06proj preserving type ) AS FreeDefinedAmount1,
  cast ( vsproj_cn.use06 as use06proj preserving type ) AS FreeDefinedAmount1Currency,
  cast ( vsproj_cn.usr07 as usr07proj preserving type ) AS FreeDefinedAmount2,
  cast ( vsproj_cn.use07 as use07proj preserving type ) AS FreeDefinedAmount2Currency,
  cast ( vsproj_cn.usr08 as usr08proj preserving type ) AS FreeDefinedDate1,
  cast ( vsproj_cn.usr09 as usr09proj preserving type ) AS FreeDefinedDate2,
  cast ( vsproj_cn.usr10 as usr10proj preserving type ) AS FreeDefinedIndicator1,
  cast ( vsproj_cn.usr11 as usr11proj preserving type ) AS FreeDefinedIndicator2
FROM vsproj_cn
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_CostCenter AS _CostCenter ON CostCenter = _CostCenter.CostCenter AND ControllingArea = _CostCenter.ControllingArea  -- association [1..*]
LEFT OUTER JOIN I_WBSElementVersion AS _WBSElement ON ProjectInternalID = _WBSElement.ProjectInternalID AND Version = _WBSElement.Version  -- association [1..*]
LEFT OUTER JOIN I_BusinessArea AS _BusinessArea ON BusinessArea = _BusinessArea.BusinessArea  -- association [1..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_ProjectProfileCode AS _ProjectProfileCode ON ProjectProfileCode = _ProjectProfileCode.ProjectProfileCode  -- association [1..1]
LEFT OUTER JOIN I_ControllingObjectClass AS _ControllingObjectClass ON ControllingObjectClass = _ControllingObjectClass.ControllingObjectClass  -- association [1..1]
LEFT OUTER JOIN I_NetworkProfile AS _NetworkProfile ON NetworkProfile = _NetworkProfile.NetworkProfile  -- association [1..*]
LEFT OUTER JOIN I_Interestcalculationprofile AS _ProjInterestCalcProfile ON ProjInterestCalcProfile = _ProjInterestCalcProfile.ProjInterestCalcProfile  -- association [1..1]
LEFT OUTER JOIN I_FunctionalArea AS _FunctionalArea ON FunctionalArea = _FunctionalArea.FunctionalArea  -- association [1..1]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenter ON ProfitCenter = _ProfitCenter.ProfitCenter AND ControllingArea = _ProfitCenter.ControllingArea  -- association [1..*]
LEFT OUTER JOIN I_TaxJurisdiction AS _TaxJurisdiction ON TaxJurisdiction = _TaxJurisdiction.TaxJurisdiction  -- association [1..*]
LEFT OUTER JOIN I_Wbsschedulingprofile AS _Wbsschedulingprofile ON WBSSchedulingProfile = _Wbsschedulingprofile.WBSSchedulingProfile  -- association [1..1]
LEFT OUTER JOIN I_ProjectByInternalKey AS _ProjectByInternalKey ON ProjectInternalID = _ProjectByInternalKey.ProjectInternalID  -- association [1..1]
LEFT OUTER JOIN I_PlanningMethod AS _ProjBasicDatePlanMethName ON PlanningMethForProjBasicDate = _ProjBasicDatePlanMethName.PlanningMethForProjBasicDate  -- association [1..1]
LEFT OUTER JOIN I_PlanningMethod AS _ProjFcstdDatePlanMethName ON PlanningMethForProjFcstdDate = _ProjFcstdDatePlanMethName.PlanningMethForProjBasicDate  -- association [1..1]
LEFT OUTER JOIN E_ProjectVersion AS _Extension ON vsproj_cn.vsnmr = _Extension.Version AND vsproj_cn.pspid = _Extension.Project  -- association [1..1]
LEFT OUTER JOIN I_ProjectResponsiblePerson AS _ResponsiblePerson ON ResponsiblePerson = _ResponsiblePerson.ResponsiblePerson  -- association [0..1]
LEFT OUTER JOIN I_ProjectApplicant AS _ProjectApplicant ON ApplicantCode = _ProjectApplicant.ApplicantCode  -- association [0..1]
LEFT OUTER JOIN I_ProjectObjectShortText AS _ProjectShortText ON _ProjectShortText.Language = $session.system_language AND _ProjectShortText.ProjectApplicationIdentifier = 'PS' AND _ProjectShortText.ProjectObjectType = 'PD' AND ProjectObject = _ProjectShortText.ProjectObjectNode  -- association [0..1]
;