R_ProjectTP
TP view for Project for Project API
R_ProjectTP is a Transactional CDS View that provides data about "TP view for Project for Project API" in SAP S/4HANA. It reads from 1 data source (I_ProjectData) and exposes 82 fields with key field ProjectInternalID. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProjectData | I_ProjectData | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ProjectResponsiblePerson | _ResponsiblePerson | $projection.ResponsiblePerson = _ResponsiblePerson.ResponsiblePerson ---Project Applicant |
| [0..1] | I_ProjectApplicant | _ProjectApplicant | $projection.ApplicantCode = _ProjectApplicant.ApplicantCode ---Project short text |
| [0..1] | I_ProjectText | _ProjectText | $projection.ProjectObject = _ProjectText.ProjectObject and _ProjectText.Language = $session.system_language ---Extension |
| [1..1] | E_Project_2 | _Extension | $projection.ProjectInternalID = _Extension.ProjectInternalID |
| [1..*] | R_WBSElementTP | _WBSElement | |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | RPROJECTTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | TP view for Project for Project API | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view |
Fields (82)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProjectInternalID | ProjectInternalID | ||
| ProjectDescription | ProjectDescription | |||
| ProjectLangBsdDescription | ||||
| ProjectProfileCode | ProjectProfileCode | |||
| CompanyCode | CompanyCode | |||
| ControllingArea | ControllingArea | |||
| FunctionalArea | FunctionalArea | |||
| ProfitCenter | ProfitCenter | |||
| PlannedStartDate | PlannedStartDate | |||
| PlannedEndDate | PlannedEndDate | |||
| WorkCenterLocation | WorkCenterLocation | |||
| TaxJurisdiction | TaxJurisdiction | |||
| ResponsiblePerson | ResponsiblePerson | |||
| ResponsiblePersonName | ResponsiblePersonName | |||
| ApplicantCode | ApplicantCode | |||
| ApplicantName | ApplicantName | |||
| CreatedByUser | CreatedByUser | |||
| CreationDate | CreationDate | |||
| LastChangedByUser | LastChangedByUser | |||
| LastChangeDate | LastChangeDate | |||
| BasicDatesLastScheduledDate | BasicDatesLastScheduledDate | |||
| FcstdDatesLastScheduledDate | FcstdDatesLastScheduledDate | |||
| FactoryCalendar | FactoryCalendar | |||
| SchedulingDurationUnit | SchedulingDurationUnit | |||
| BusinessArea | BusinessArea | |||
| Plant | Plant | |||
| Currency | Currency | |||
| BudgetProfile | BudgetProfile | |||
| PlanningProfile | PlanningProfile | |||
| InvestmentProfile | InvestmentProfile | |||
| ProjInterestCalcProfile | ProjInterestCalcProfile | |||
| ResultAnalysisInternalID | ResultAnalysisInternalID | |||
| ControllingObjectClass | ControllingObjectClass | |||
| NetworkProfile | NetworkProfile | |||
| WBSSchedulingProfile | WBSSchedulingProfile | |||
| PlanningMethForProjBasicDate | PlanningMethForProjBasicDate | |||
| PlanningMethForProjFcstdDate | PlanningMethForProjFcstdDate | |||
| NetworkAssignmentType | NetworkAssignmentType | |||
| WBSIsStatisticalWBSElement | WBSIsStatisticalWBSElement | |||
| WBSIsMarkedForIntegratedPlng | WBSIsMarkedForIntegratedPlng | |||
| ProjectHasOwnStock | ProjectHasOwnStock | |||
| InventorySpecialStockValnType | InventorySpecialStockValnType | |||
| WBSIsMarkedForAutomReqmtGrpg | WBSIsMarkedForAutomReqmtGrpg | |||
| SalesOrganization | SalesOrganization | |||
| DistributionChannel | DistributionChannel | |||
| Language | Language | |||
| WBSElementExternalID | WBSElementExternalID | |||
| Division | Division | |||
| DynItemProcessorPrfl | DynItemProcessorPrfl | |||
| JointVenture | JointVenture | |||
| JointVentureCostRecoveryCode | JointVentureCostRecoveryCode | |||
| JointVentureEquityType | JointVentureEquityType | |||
| JointVentureObjectType | JointVentureObjectType | |||
| JntIntrstBillgClass | JntIntrstBillgClass | |||
| JntIntrstBillgSubClass | JntIntrstBillgSubClass | |||
| StatusProfile | StatusProfile | |||
| WBSStatusProfile | WBSStatusProfile | |||
| SimulationProfile | SimulationProfile | |||
| SchedulingScenario | SchedulingScenario | |||
| DistributionProfile | DistributionProfile | |||
| PartnerDeterminationProcedure | PartnerDeterminationProcedure | |||
| FreeDefinedTableFieldSemantic | FreeDefinedTableFieldSemantic | |||
| FreeDefinedAttribute01 | FreeDefinedAttribute01 | |||
| FreeDefinedAttribute02 | FreeDefinedAttribute02 | |||
| FreeDefinedAttribute03 | FreeDefinedAttribute03 | |||
| FreeDefinedAttribute04 | FreeDefinedAttribute04 | |||
| FreeDefinedQuantity1 | FreeDefinedQuantity1 | |||
| FreeDefinedQuantity1Unit | FreeDefinedQuantity1Unit | |||
| FreeDefinedQuantity2 | FreeDefinedQuantity2 | |||
| FreeDefinedQuantity2Unit | FreeDefinedQuantity2Unit | |||
| FreeDefinedAmount1 | FreeDefinedAmount1 | |||
| FreeDefinedAmount1Currency | FreeDefinedAmount1Currency | |||
| FreeDefinedAmount2 | FreeDefinedAmount2 | |||
| FreeDefinedAmount2Currency | FreeDefinedAmount2Currency | |||
| FreeDefinedDate1 | FreeDefinedDate1 | |||
| FreeDefinedDate2 | FreeDefinedDate2 | |||
| FreeDefinedIndicator1 | FreeDefinedIndicator1 | |||
| FreeDefinedIndicator2 | FreeDefinedIndicator2 | |||
| ProjectObject | ProjectObject | |||
| _WBSElement | _WBSElement | |||
| _ResponsiblePerson | _ResponsiblePerson | |||
| _ProjectApplicant | _ProjectApplicant |
@AbapCatalog.sqlViewName: 'RPROJECTTP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'TP view for Project for Project API'
@VDM.viewType: #TRANSACTIONAL
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {
sizeCategory: #L,
dataClass: #TRANSACTIONAL,
serviceQuality: #C
}
define root view R_ProjectTP
as select from I_ProjectData
composition [1..*] of R_WBSElementTP as _WBSElement
---Project DPP changes
---Project Responsible
association [0..1] to I_ProjectResponsiblePerson as _ResponsiblePerson on $projection.ResponsiblePerson = _ResponsiblePerson.ResponsiblePerson
---Project Applicant
association [0..1] to I_ProjectApplicant as _ProjectApplicant on $projection.ApplicantCode = _ProjectApplicant.ApplicantCode
---Project short text
association [0..1] to I_ProjectText as _ProjectText on $projection.ProjectObject = _ProjectText.ProjectObject
and _ProjectText.Language = $session.system_language
---Extension Association
association [1..1] to E_Project_2 as _Extension on $projection.ProjectInternalID = _Extension.ProjectInternalID
{
//i_projectbasicdata
key ProjectInternalID,
case ProjectExternalID
when ''
then cast( Project as ps_pspid_edit preserving type )
else
ProjectExternalID
end as ProjectExternalID,
@Semantics.text: true
ProjectDescription,
@Semantics.text: true
I_ProjectData._ProjectShortText.LanguageBasedShortText as ProjectLangBsdDescription,
//_ProjectText.ProjectLangBsdDescription,
ProjectProfileCode,
CompanyCode,
ControllingArea,
FunctionalArea,
ProfitCenter,
PlannedStartDate,
PlannedEndDate,
WorkCenterLocation,
TaxJurisdiction,
ResponsiblePerson,
ResponsiblePersonName,
ApplicantCode,
ApplicantName,
CreatedByUser,
CreationDate,
LastChangedByUser,
LastChangeDate,
BasicDatesLastScheduledDate,
FcstdDatesLastScheduledDate,
FactoryCalendar,
SchedulingDurationUnit,
ForecastedStartDate,
ForecastedEndDate,
BusinessArea,
Plant,
Currency,
BudgetProfile,
PlanningProfile,
InvestmentProfile,
ProjInterestCalcProfile,
ResultAnalysisInternalID,
ControllingObjectClass,
NetworkProfile,
WBSSchedulingProfile,
PlanningMethForProjBasicDate,
PlanningMethForProjFcstdDate,
NetworkAssignmentType,
WBSIsStatisticalWBSElement,
WBSIsMarkedForIntegratedPlng,
ProjectHasOwnStock,
InventorySpecialStockValnType,
WBSIsMarkedForAutomReqmtGrpg,
SalesOrganization,
DistributionChannel,
Language,
WBSElementExternalID,
Division,
DynItemProcessorPrfl,
JointVenture,
JointVentureCostRecoveryCode,
JointVentureEquityType,
JointVentureObjectType,
JntIntrstBillgClass,
JntIntrstBillgSubClass,
StatusProfile,
WBSStatusProfile,
SimulationProfile,
SchedulingScenario,
DistributionProfile,
PartnerDeterminationProcedure,
FreeDefinedTableFieldSemantic,
FreeDefinedAttribute01,
FreeDefinedAttribute02,
FreeDefinedAttribute03,
FreeDefinedAttribute04,
FreeDefinedQuantity1,
FreeDefinedQuantity1Unit,
FreeDefinedQuantity2,
FreeDefinedQuantity2Unit,
FreeDefinedAmount1,
FreeDefinedAmount1Currency,
FreeDefinedAmount2,
FreeDefinedAmount2Currency,
FreeDefinedDate1,
FreeDefinedDate2,
FreeDefinedIndicator1,
FreeDefinedIndicator2,
ProjectObject,
_WBSElement,
_ResponsiblePerson,
_ProjectApplicant
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PROJECTDATA",
"I_PROJECTOBJECTSHORTTEXT"
],
"ASSOCIATED":
[
"E_PROJECT_2",
"I_PROJECTAPPLICANT",
"I_PROJECTRESPONSIBLEPERSON",
"I_PROJECTTEXT",
"R_WBSELEMENTTP"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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