R_ProcurementProjectDraft

DDL: R_PROCUREMENTPROJECTDRAFT Type: view_entity BASIC

Procurement Project - Draft

R_ProcurementProjectDraft is a Basic CDS View that provides data about "Procurement Project - Draft" in SAP S/4HANA. It reads from 1 data source (mmprocmtproj_d) and exposes 21 fields with key field ProcurementProjectUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
mmprocmtproj_d ProcurementProjectDraft from

Associations (1)

CardinalityTargetAliasCondition
[1..1] E_ProcurementProjectDraft _Extension $projection.ProcurementProjectUUID = _Extension.ProcurementProjectUUID

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
EndUserText.label Procurement Project - Draft view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.allowNewDatasources false view
AbapCatalog.extensibility.elementSuffix PPJ view
AbapCatalog.extensibility.quota.maximumFields 204 view
AbapCatalog.extensibility.quota.maximumBytes 4080 view

Fields (21)

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.
CompanyCodeForEdit companycodeforedit Company Code
DraftEntityCreationDateTime draftentitycreationdatetime Draft Created On
DraftEntityLastChangeDateTime draftentitylastchangedatetime Draft Last Changed On
DraftAdministrativeDataUUID draftadministrativedatauuid UUID
DraftEntityOperationCode draftentityoperationcode Draft - Operation Code
HasActiveEntity hasactiveentity TRUE
DraftFieldChanges draftfieldchanges Field Changes

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_ProcurementProjectDraft.
-- 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_ProcurementProjectDraft AS
SELECT
  ProcurementProjectUUID,
  ProcurementProject,
  ProcurementProjectName,
  ExternalProjectReference,
  CompanyCode,
  LastChangedByUser,
  CreatedByUser,
  LastChangeDateTime,
  CreationDateTime,
  ProcurementProjectActvtnSts,
  SourcingOrigin,
  SourcingScenario,
  ProcmtPlanningSubprojectUUID,
  IsEndOfPurposeBlocked,
  CompanyCodeForEdit,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges
FROM mmprocmtproj_d AS ProcurementProjectDraft
LEFT OUTER JOIN E_ProcurementProjectDraft AS _Extension ON ProcurementProjectUUID = _Extension.ProcurementProjectUUID  -- association [1..1]
;