C_ProjectWithVersion
Additional Selection - Project Definition
C_ProjectWithVersion is a Consumption CDS View that provides data about "Additional Selection - Project Definition" in SAP S/4HANA. It reads from 1 data source (I_ProjectWithVersion) and exposes 95 fields with key fields Project, Version. It has 10 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProjectWithVersion | I_ProjectWithVersion | from |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_ProjectNetworkBasicInfo | _ProjectNetwork | $projection.ProjectInternalID = _ProjectNetwork.ProjectInternalID and $projection.Version = _ProjectNetwork.Version |
| [0..*] | C_WBSElementBasicInfo | _WBSElement | $projection.ProjectInternalID = _WBSElement.ProjectInternalID and $projection.Version = _WBSElement.Version and _WBSElement.WBSElementHierarchyLevel = 1 |
| [0..*] | C_ProjectStsObjActiveSts | _Status | _Status.StatusObject = $projection.ProjectObject |
| [0..*] | C_ObjectBasedAuthorizationList | _ObjBsdAuthzn | $projection.ProjectObject = _ObjBsdAuthzn.ProjectObject |
| [0..1] | I_UserAccByObjBsdAuthzn | _UsrByObjBsdAuthzn | $projection.ProjectObject = _UsrByObjBsdAuthzn.ProjectObject and _UsrByObjBsdAuthzn.ObjectBasedAuthorizationUser = $session.user and _UsrByObjBsdAuthzn.AuthorizationTypeValue > 1 -- Value Help associations -- |
| [0..1] | I_ProjectValueHelp | _ProjectValueHelp | $projection.Project = _ProjectValueHelp.Project |
| [0..1] | I_ProjectWithCodingMaskVH | _ProjectWithCodingMaskVH | _ProjectWithCodingMaskVH.Project = $projection.Project |
| [0..1] | I_ProjectVersionVH | _ProjectVersionVH | $projection.Project = _ProjectVersionVH.ProjectObjectExternalID and $projection.Version = _ProjectVersionVH.Version and _ProjectVersionVH.ObjectType = 'PD' |
| [0..1] | I_ProjectVersionHeader | _ProjectVersionHeader | $projection.Project = _ProjectVersionHeader.Project and $projection.Version = _ProjectVersionHeader.Version |
| [0..1] | I_FreeDfndTblFieldSemanticText | _FieldKeyLabel | $projection.FreeDefinedTableFieldSemantic = _FieldKeyLabel.FreeDefinedTableFieldSemantic and _FieldKeyLabel.Language = $session.system_language |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPROJWITHVERS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| UI.headerInfo.typeName | Project | view | |
| UI.headerInfo.typeNamePlural | Projects | view | |
| UI.headerInfo.title.type | #STANDARD | view | |
| UI.headerInfo.title.value | ProjectDescription | view | |
| UI.headerInfo.description.type | #STANDARD | view | |
| UI.headerInfo.description.value | Project | view | |
| EndUserText.label | Additional Selection - Project Definition | view |
Fields (95)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Project | I_ProjectWithVersion | ProjectWithCodingMask | |
| KEY | Version | I_ProjectWithVersion | Version | XML Vers. |
| IsMarkedForDeletion | ||||
| ControllingArea | I_ProjectWithVersion | ControllingArea | Controlling Area | |
| ControllingAreaName | ||||
| ProjectInternalID | I_ProjectWithVersion | ProjectInternalID | Project Def. | |
| ProjectObject | I_ProjectWithVersion | ProjectObject | Object number | |
| PlanningMethForProjBasicDate | I_ProjectWithVersion | PlanningMethForProjBasicDate | ||
| PlanningMethForProjFcstdDate | I_ProjectWithVersion | PlanningMethForProjFcstdDate | ||
| CompanyCode | I_ProjectWithVersion | CompanyCode | Receiver Company Code | |
| CompanyCodeName | ||||
| CreatedByUser | I_ProjectWithVersion | CreatedByUser | User Name | |
| CreationDate | I_ProjectWithVersion | CreationDate | Time Stamp | |
| LastChangedByUser | I_ProjectWithVersion | LastChangedByUser | User Name | |
| LastChangeDate | I_ProjectWithVersion | LastChangeDate | Time Stamp | |
| ResponsiblePerson | I_ProjectWithVersion | ResponsiblePerson | Processor | |
| ResponsiblePersonName | I_ProjectWithVersion | ResponsiblePersonName | User | |
| ApplicantCode | I_ProjectWithVersion | ApplicantCode | ||
| ApplicantName | I_ProjectWithVersion | ApplicantName | ||
| ProjectProfileCode | I_ProjectWithVersion | ProjectProfileCode | Project Profile | |
| ProjectProfileCodeText | ||||
| BusinessArea | I_ProjectWithVersion | BusinessArea | Business Area | |
| BusinessAreaName | ||||
| ProfitCenter | I_ProjectWithVersion | ProfitCenter | Profit Center | |
| ProfitCenterName | ||||
| Plant | I_ProjectWithVersion | Plant | Valuation Area | |
| PlantName | ||||
| CostCenter | I_ProjectWithVersion | CostCenter | Cost Center | |
| CostCenterName | ||||
| ControllingObjectClass | I_ProjectWithVersion | ControllingObjectClass | Object Class | |
| ControllingObjectClassName | ||||
| PlannedStartDate | I_ProjectWithVersion | PlannedStartDate | Latest Planned Start | |
| PlannedEndDate | I_ProjectWithVersion | PlannedEndDate | Ltst Planned Finish | |
| Currency | I_ProjectWithVersion | Currency | Valuation Crcy | |
| FactoryCalendar | I_ProjectWithVersion | FactoryCalendar | Factory Calendar | |
| NetworkProfile | I_ProjectWithVersion | NetworkProfile | ||
| NetworkProfileName | ||||
| ProjectHasOwnStock | I_ProjectWithVersion | ProjectHasOwnStock | ||
| WBSIsStatisticalWBSElement | I_ProjectWithVersion | WBSIsStatisticalWBSElement | Statistical | |
| TaxJurisdiction | ||||
| TaxJurisdictionName | ||||
| ProjInterestCalcProfile | I_ProjectWithVersion | ProjInterestCalcProfile | ||
| ProjInterestCalcProfileName | ||||
| InvestmentProfile | I_ProjectWithVersion | InvestmentProfile | Investment Measure Profile | |
| BudgetProfile | I_ProjectWithVersion | BudgetProfile | ||
| PlanningProfile | I_ProjectWithVersion | PlanningProfile | ||
| FunctionalArea | I_ProjectWithVersion | FunctionalArea | Sendr Fctl Area | |
| FunctionalAreaName | ||||
| ProjBasicDatePlanMethName | ||||
| ProjFcstdDatePlanMethName | ||||
| SchedulingDurationUnit | I_ProjectWithVersion | SchedulingDurationUnit | ||
| WBSSchedulingProfile | I_ProjectWithVersion | WBSSchedulingProfile | ||
| WBSSchedulingProfileName | ||||
| ProjectVersionDescription | ||||
| ProjectVersionGroupName | _ProjectVersionHeader | ProjectVersionGroupName | ||
| FreeDefinedTableFieldSemantic | FreeDefinedTableFieldSemantic | Field Key | ||
| FreeDefinedAttribute01 | FreeDefinedAttribute01 | Attribute 1 | ||
| FreeDefinedAttribute02 | FreeDefinedAttribute02 | Attribute 2 | ||
| FreeDefinedAttribute03 | FreeDefinedAttribute03 | Attribute 3 | ||
| FreeDefinedAttribute04 | FreeDefinedAttribute04 | Attribute 4 | ||
| FreeDefinedQuantity1Unit | FreeDefinedQuantity1Unit | |||
| FreeDefinedQuantity1 | FreeDefinedQuantity1 | |||
| FreeDefinedQuantity2Unit | FreeDefinedQuantity2Unit | |||
| FreeDefinedQuantity2 | FreeDefinedQuantity2 | |||
| FreeDefinedAmount1Currency | FreeDefinedAmount1Currency | |||
| FreeDefinedAmount1 | ||||
| FreeDefinedAmount2Currency | FreeDefinedAmount2Currency | |||
| FreeDefinedAmount2 | ||||
| FreeDefinedDate1 | FreeDefinedDate1 | |||
| FreeDefinedDate2 | FreeDefinedDate2 | |||
| FreeDefinedIndicator1 | FreeDefinedIndicator1 | |||
| FreeDefinedIndicator2 | FreeDefinedIndicator2 | |||
| ObjBasedAuthorizationIsActive | ObjBasedAuthorizationIsActive | |||
| FreeDefinedAttribute01Label | _FieldKeyLabel | FreeDefinedAttribute01Label | User Field 1 Label | |
| FreeDefinedAttribute02Label | _FieldKeyLabel | FreeDefinedAttribute02Label | User Field 2 Label | |
| FreeDefinedAttribute03Label | _FieldKeyLabel | FreeDefinedAttribute03Label | User Field 3 Label | |
| FreeDefinedAttribute04Label | _FieldKeyLabel | FreeDefinedAttribute04Label | User Field 4 Label | |
| FreeDefinedQuantity1Label | _FieldKeyLabel | FreeDefinedQuantity1Label | User Field 5 Label | |
| FreeDefinedQuantity2Label | _FieldKeyLabel | FreeDefinedQuantity2Label | User Field 6 Label | |
| FreeDefinedAmount1Label | _FieldKeyLabel | FreeDefinedAmount1Label | User Field 7 Label | |
| FreeDefinedAmount2Label | _FieldKeyLabel | FreeDefinedAmount2Label | User Field 8 Label | |
| FreeDefinedDate1Label | _FieldKeyLabel | FreeDefinedDate1Label | User Field 9 Label | |
| FreeDefinedDate2Label | _FieldKeyLabel | FreeDefinedDate2Label | User Field 10 Label | |
| FreeDefinedIndicator1Label | _FieldKeyLabel | FreeDefinedIndicator1Label | User Field 11 Label | |
| FreeDefinedIndicator2Label | _FieldKeyLabel | FreeDefinedIndicator2Label | User Field 12 Label | |
| _WBSElement | _WBSElement | |||
| _ProjectNetwork | _ProjectNetwork | |||
| _Status | _Status | |||
| _ProjectValueHelp | _ProjectValueHelp | |||
| _ProjectWithCodingMaskVH | _ProjectWithCodingMaskVH | |||
| _ProjectVersionVH | _ProjectVersionVH | |||
| _UsrByObjBsdAuthzn | _UsrByObjBsdAuthzn | |||
| _ObjBsdAuthzn | _ObjBsdAuthzn | |||
| _ResponsiblePerson | I_ProjectWithVersion | _ResponsiblePerson | ||
| _ProjectApplicant | I_ProjectWithVersion | _ProjectApplicant |
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 C_ProjectWithVersion.
-- 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: CPROJWITHVERS
CREATE VIEW C_ProjectWithVersion AS
SELECT
I_ProjectWithVersion.ProjectWithCodingMask AS Project,
I_ProjectWithVersion.Version AS Version,
cast(I_ProjectWithVersion.IsMarkedForDeletion as ps_s4_loevm) AS IsMarkedForDeletion,
I_ProjectWithVersion.ControllingArea AS ControllingArea,
cast ( I_ProjectWithVersion._ControllingArea.ControllingAreaName as ps_s4_bezei ) AS ControllingAreaName,
I_ProjectWithVersion.ProjectInternalID AS ProjectInternalID,
I_ProjectWithVersion.ProjectObject AS ProjectObject,
I_ProjectWithVersion.PlanningMethForProjBasicDate AS PlanningMethForProjBasicDate,
I_ProjectWithVersion.PlanningMethForProjFcstdDate AS PlanningMethForProjFcstdDate,
I_ProjectWithVersion.CompanyCode AS CompanyCode,
cast ( I_ProjectWithVersion._CompanyCode.CompanyCodeName as fac_co_code_name ) AS CompanyCodeName,
I_ProjectWithVersion.CreatedByUser AS CreatedByUser,
I_ProjectWithVersion.CreationDate AS CreationDate,
I_ProjectWithVersion.LastChangedByUser AS LastChangedByUser,
I_ProjectWithVersion.LastChangeDate AS LastChangeDate,
I_ProjectWithVersion.ResponsiblePerson AS ResponsiblePerson,
I_ProjectWithVersion.ResponsiblePersonName AS ResponsiblePersonName,
I_ProjectWithVersion.ApplicantCode AS ApplicantCode,
I_ProjectWithVersion.ApplicantName AS ApplicantName,
I_ProjectWithVersion.ProjectProfileCode AS ProjectProfileCode,
cast( I_ProjectWithVersion._ProjectProfileCode._Text[1: Language = $session.system_language ].ProjectProfileCodeText as ps_s4_profi_txt ) AS ProjectProfileCodeText,
I_ProjectWithVersion.BusinessArea AS BusinessArea,
cast ( I_ProjectWithVersion._BusinessArea._Text[1:Language = $session.system_language].BusinessAreaName as fis_busarea_name ) AS BusinessAreaName,
I_ProjectWithVersion.ProfitCenter AS ProfitCenter,
I_ProjectWithVersion._ProfitCenter[1: ValidityEndDate >= $session.system_date and ValidityStartDate <= $session.system_date ]._Text[1: Language = $session.system_language ].ProfitCenterName AS ProfitCenterName,
I_ProjectWithVersion.Plant AS Plant,
I_ProjectWithVersion._Plant.PlantName AS PlantName,
I_ProjectWithVersion.CostCenter AS CostCenter,
I_ProjectWithVersion._CostCenter._Text.CostCenterName AS CostCenterName,
I_ProjectWithVersion.ControllingObjectClass AS ControllingObjectClass,
cast( I_ProjectWithVersion._ControllingObjectClass._Text[1: Language = $session.system_language ].ControllingObjectClassName as ps_s4_scope_cvtext ) AS ControllingObjectClassName,
I_ProjectWithVersion.PlannedStartDate AS PlannedStartDate,
I_ProjectWithVersion.PlannedEndDate AS PlannedEndDate,
I_ProjectWithVersion.Currency AS Currency,
I_ProjectWithVersion.FactoryCalendar AS FactoryCalendar,
I_ProjectWithVersion.NetworkProfile AS NetworkProfile,
cast( I_ProjectWithVersion._NetworkProfile._Text[1: Language = $session.system_language ].NetworkProfileName as ps_s4_ntwk_profi_txt ) AS NetworkProfileName,
I_ProjectWithVersion.ProjectHasOwnStock AS ProjectHasOwnStock,
I_ProjectWithVersion.WBSIsStatisticalWBSElement AS WBSIsStatisticalWBSElement,
cast (I_ProjectWithVersion.TaxJurisdiction as ps_s4_txjcd) AS TaxJurisdiction,
cast( I_ProjectWithVersion._TaxJurisdiction._Text[1:Language = $session.system_language].TaxJurisdictionName as ps_s4_txjt preserving type ) AS TaxJurisdictionName,
I_ProjectWithVersion.ProjInterestCalcProfile AS ProjInterestCalcProfile,
cast ( I_ProjectWithVersion._ProjInterestCalcProfile._Text[1: Language = $session.system_language ].ProjInterestCalcProfileName as ps_s4_zscht preserving type ) AS ProjInterestCalcProfileName,
I_ProjectWithVersion.InvestmentProfile AS InvestmentProfile,
I_ProjectWithVersion.BudgetProfile AS BudgetProfile,
I_ProjectWithVersion.PlanningProfile AS PlanningProfile,
I_ProjectWithVersion.FunctionalArea AS FunctionalArea,
cast ( I_ProjectWithVersion._FunctionalArea._Text[1: Language = $session.system_language ].FunctionalAreaName as fac_funcnl_area_name ) AS FunctionalAreaName,
cast ( I_ProjectWithVersion._ProjBasicDatePlanMethName._Text[1: Language = $session.system_language ].ProjBasicDatePlanMethName as ps_s4_planbasic_val_text ) AS ProjBasicDatePlanMethName,
cast ( I_ProjectWithVersion._ProjFcstdDatePlanMethName._Text[1: Language = $session.system_language ].ProjBasicDatePlanMethName as ps_s4_planfcst_val_text ) AS ProjFcstdDatePlanMethName,
I_ProjectWithVersion.SchedulingDurationUnit AS SchedulingDurationUnit,
I_ProjectWithVersion.WBSSchedulingProfile AS WBSSchedulingProfile,
I_ProjectWithVersion._Wbsschedulingprofile._Text[1: Language = $session.system_language ].WBSSchedulingProfileName AS WBSSchedulingProfileName,
cast ( _ProjectVersionHeader.ProjectVersionDescription as wty_vetxt ) AS ProjectVersionDescription,
_ProjectVersionHeader.ProjectVersionGroupName AS ProjectVersionGroupName,
FreeDefinedTableFieldSemantic,
FreeDefinedAttribute01,
FreeDefinedAttribute02,
FreeDefinedAttribute03,
FreeDefinedAttribute04,
FreeDefinedQuantity1Unit,
FreeDefinedQuantity1,
FreeDefinedQuantity2Unit,
FreeDefinedQuantity2,
FreeDefinedAmount1Currency,
cast ( cast ( FreeDefinedAmount1 * 10 as abap.curr(14,2) ) as ps_s4_usr06proj ) AS FreeDefinedAmount1,
FreeDefinedAmount2Currency,
cast ( cast ( FreeDefinedAmount2 * 10 as abap.curr(14,2) ) as ps_s4_usr07proj ) AS FreeDefinedAmount2,
FreeDefinedDate1,
FreeDefinedDate2,
FreeDefinedIndicator1,
FreeDefinedIndicator2,
ObjBasedAuthorizationIsActive,
_FieldKeyLabel.FreeDefinedAttribute01Label AS FreeDefinedAttribute01Label,
_FieldKeyLabel.FreeDefinedAttribute02Label AS FreeDefinedAttribute02Label,
_FieldKeyLabel.FreeDefinedAttribute03Label AS FreeDefinedAttribute03Label,
_FieldKeyLabel.FreeDefinedAttribute04Label AS FreeDefinedAttribute04Label,
_FieldKeyLabel.FreeDefinedQuantity1Label AS FreeDefinedQuantity1Label,
_FieldKeyLabel.FreeDefinedQuantity2Label AS FreeDefinedQuantity2Label,
_FieldKeyLabel.FreeDefinedAmount1Label AS FreeDefinedAmount1Label,
_FieldKeyLabel.FreeDefinedAmount2Label AS FreeDefinedAmount2Label,
_FieldKeyLabel.FreeDefinedDate1Label AS FreeDefinedDate1Label,
_FieldKeyLabel.FreeDefinedDate2Label AS FreeDefinedDate2Label,
_FieldKeyLabel.FreeDefinedIndicator1Label AS FreeDefinedIndicator1Label,
_FieldKeyLabel.FreeDefinedIndicator2Label AS FreeDefinedIndicator2Label,
I_ProjectWithVersion._ResponsiblePerson AS _ResponsiblePerson,
I_ProjectWithVersion._ProjectApplicant AS _ProjectApplicant
FROM I_ProjectWithVersion
LEFT OUTER JOIN C_ProjectNetworkBasicInfo AS _ProjectNetwork ON ProjectInternalID = _ProjectNetwork.ProjectInternalID AND Version = _ProjectNetwork.Version -- association [0..*]
LEFT OUTER JOIN C_WBSElementBasicInfo AS _WBSElement ON ProjectInternalID = _WBSElement.ProjectInternalID AND Version = _WBSElement.Version AND _WBSElement.WBSElementHierarchyLevel = 1 -- association [0..*]
LEFT OUTER JOIN C_ProjectStsObjActiveSts AS _Status ON _Status.StatusObject = ProjectObject -- association [0..*]
LEFT OUTER JOIN C_ObjectBasedAuthorizationList AS _ObjBsdAuthzn ON ProjectObject = _ObjBsdAuthzn.ProjectObject -- association [0..*]
LEFT OUTER JOIN I_UserAccByObjBsdAuthzn AS _UsrByObjBsdAuthzn ON ProjectObject = _UsrByObjBsdAuthzn.ProjectObject AND _UsrByObjBsdAuthzn.ObjectBasedAuthorizationUser = $session.user AND _UsrByObjBsdAuthzn.AuthorizationTypeValue > 1 -- association [0..1]
LEFT OUTER JOIN I_ProjectValueHelp AS _ProjectValueHelp ON Project = _ProjectValueHelp.Project -- association [0..1]
LEFT OUTER JOIN I_ProjectWithCodingMaskVH AS _ProjectWithCodingMaskVH ON _ProjectWithCodingMaskVH.Project = Project -- association [0..1]
LEFT OUTER JOIN I_ProjectVersionVH AS _ProjectVersionVH ON Project = _ProjectVersionVH.ProjectObjectExternalID AND Version = _ProjectVersionVH.Version AND _ProjectVersionVH.ObjectType = 'PD' -- association [0..1]
LEFT OUTER JOIN I_ProjectVersionHeader AS _ProjectVersionHeader ON Project = _ProjectVersionHeader.Project AND Version = _ProjectVersionHeader.Version -- association [0..1]
LEFT OUTER JOIN I_FreeDfndTblFieldSemanticText AS _FieldKeyLabel ON FreeDefinedTableFieldSemantic = _FieldKeyLabel.FreeDefinedTableFieldSemantic AND _FieldKeyLabel.Language = $session.system_language -- association [0..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