R_ProcurementProject

DDL: R_PROCUREMENTPROJECT Type: view BASIC Package: VDM_MM_PUR_PROCMTPROJ

Procurement Project

R_ProcurementProject is a Basic CDS View that provides data about "Procurement Project" in SAP S/4HANA. It reads from 1 data source (mmprocmtproj) and exposes 19 fields with key field ProcurementProjectUUID. It has 5 associations to related views. Part of development package VDM_MM_PUR_PROCMTPROJ.

Data Sources (1)

SourceAliasJoin Type
mmprocmtproj mmprocmtproj from

Associations (5)

CardinalityTargetAliasCondition
[1..*] R_ProcurementProjectPlant _ProcurementProjectPlant $projection.ProcurementProjectUUID = _ProcurementProjectPlant.ProcurementProjectUUID
[1..*] I_ProcurementProjActvtnStsTxt _ProcurementProjActvtnStsTxt $projection.ProcurementProjectActvtnSts = _ProcurementProjActvtnStsTxt.ProcurementProjectActvtnSts
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_UserContactCard _CreatedByUser $projection.CreatedByUser = _CreatedByUser.ContactCardID
[0..1] I_UserContactCard _ChangedByUser $projection.LastChangedByUser = _ChangedByUser.ContactCardID

Annotations (12)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName RPROCMTPROJ view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.representativeKey ProcurementProjectUUID view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Procurement Project view

Fields (19)

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 iseopblocked Business Usage Comp.
_ProcurementProjectPlant _ProcurementProjectPlant
_CompanyCode _CompanyCode
_ProcurementProjActvtnStsTxt _ProcurementProjActvtnStsTxt
_CreatedByUser _CreatedByUser
_ChangedByUser _ChangedByUser

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_ProcurementProject.
-- 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_ProcurementProject AS
SELECT
  ProcurementProjectUUID,
  ProcurementProject,
  ProcurementProjectName,
  ExternalProjectReference,
  CompanyCode,
  LastChangedByUser,
  CreatedByUser,
  LastChangeDateTime,
  CreationDateTime,
  ProcurementProjectActvtnSts,
  SourcingOrigin,
  SourcingScenario,
  ProcmtPlanningSubprojectUUID,
  iseopblocked AS IsEndOfPurposeBlocked
FROM mmprocmtproj
LEFT OUTER JOIN R_ProcurementProjectPlant AS _ProcurementProjectPlant ON ProcurementProjectUUID = _ProcurementProjectPlant.ProcurementProjectUUID  -- association [1..*]
LEFT OUTER JOIN I_ProcurementProjActvtnStsTxt AS _ProcurementProjActvtnStsTxt ON ProcurementProjectActvtnSts = _ProcurementProjActvtnStsTxt.ProcurementProjectActvtnSts  -- association [1..*]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _CreatedByUser ON CreatedByUser = _CreatedByUser.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _ChangedByUser ON LastChangedByUser = _ChangedByUser.ContactCardID  -- association [0..1]
;