R_ProcurementProjectTP

DDL: R_PROCUREMENTPROJECTTP Type: view_entity TRANSACTIONAL Package: RAP_MM_PUR_PROCMTPROJ

Procurement Project - TP

R_ProcurementProjectTP is a Transactional CDS View that provides data about "Procurement Project - TP" in SAP S/4HANA. It reads from 1 data source (R_ProcurementProject) and exposes 23 fields with key field ProcurementProjectUUID. It has 4 associations to related views. Part of development package RAP_MM_PUR_PROCMTPROJ.

Data Sources (1)

SourceAliasJoin Type
R_ProcurementProject ProcurementProject from

Associations (4)

CardinalityTargetAliasCondition
[1..1] E_ProcurementProject _Extension $projection.ProcurementProjectUUID = _Extension.ProcurementProjectUUID
[0..*] I_SrcgProjSourcingOriginText _SrcgProjSourcingOriginText $projection.SourcingOrigin = _SrcgProjSourcingOriginText.SourcingOrigin
[0..*] I_SrcgProjSourcingScenarioText _SrcgProjSourcingScenarioText $projection.SourcingScenario = _SrcgProjSourcingScenarioText.SourcingScenario
[*] R_ProcurementProjectPlantTP _ProcurementProjectPlant

Annotations (15)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.representativeKey ProcurementProjectUUID view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.sapObjectNodeType.name ProcurementProject view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Procurement Project - TP view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.allowNewDatasources false view
AbapCatalog.extensibility.elementSuffix PPJ view
AbapCatalog.extensibility.quota.maximumFields 404 view
AbapCatalog.extensibility.quota.maximumBytes 40400 view
AbapCatalog.extensibility.allowNewCompositions true view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY ProcurementProjectUUID ProcurementProjectUUID Procurement Project UUID
ProcurementProject ProcurementProject Project
ProcurementProjectName ProcurementProjectName Name
ExternalProjectReference ExternalProjectReference External Project Reference
CompanyCode CompanyCode Receiver Company Code
LastChangedByUser LastChangedByUser User Name
CreatedByUser CreatedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
CreationDateTime CreationDateTime Timestamp
ProcurementProjectActvtnSts ProcurementProjectActvtnSts Status
SourcingOrigin SourcingOrigin Sourcing Origin
SourcingScenario SourcingScenario Integration Scenario
ProcmtPlanningSubprojectUUID ProcmtPlanningSubprojectUUID Procurement Planning Subproject UUID
IsEndOfPurposeBlocked IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
CompanyCodeIsNotAuthorized
CompanyCodeForEdit CompanyCode Receiver Company Code
_ProcurementProjectPlant _ProcurementProjectPlant
_CompanyCode _CompanyCode
_ProcurementProjActvtnStsTxt _ProcurementProjActvtnStsTxt
_CreatedByUser _CreatedByUser
_ChangedByUser _ChangedByUser
_SrcgProjSourcingOriginText _SrcgProjSourcingOriginText
_SrcgProjSourcingScenarioText _SrcgProjSourcingScenarioText

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 R_ProcurementProjectTP.
-- 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.

CREATE VIEW R_ProcurementProjectTP AS
SELECT
  ProcurementProjectUUID,
  ProcurementProject,
  ProcurementProjectName,
  ExternalProjectReference,
  CompanyCode,
  LastChangedByUser,
  CreatedByUser,
  LastChangeDateTime,
  CreationDateTime,
  ProcurementProjectActvtnSts,
  SourcingOrigin,
  SourcingScenario,
  ProcmtPlanningSubprojectUUID,
  IsEndOfPurposeBlocked,
  cast( '' as vdm_companycodeisnotauthorized preserving type ) AS CompanyCodeIsNotAuthorized,
  CompanyCode AS CompanyCodeForEdit
FROM R_ProcurementProject AS ProcurementProject
LEFT OUTER JOIN E_ProcurementProject AS _Extension ON ProcurementProjectUUID = _Extension.ProcurementProjectUUID  -- association [1..1]
LEFT OUTER JOIN I_SrcgProjSourcingOriginText AS _SrcgProjSourcingOriginText ON SourcingOrigin = _SrcgProjSourcingOriginText.SourcingOrigin  -- association [0..*]
LEFT OUTER JOIN I_SrcgProjSourcingScenarioText AS _SrcgProjSourcingScenarioText ON SourcingScenario = _SrcgProjSourcingScenarioText.SourcingScenario  -- association [0..*]
LEFT OUTER JOIN R_ProcurementProjectPlantTP AS _ProcurementProjectPlant ON /* condition not available in parsed metadata */  -- association [*]
;