R_ProcurementProjectPlantDraft

DDL: R_PROCUREMENTPROJECTPLANTDRAFT Type: view_entity BASIC

Plant in Procurement Project - Draft

R_ProcurementProjectPlantDraft is a Basic CDS View that provides data about "Plant in Procurement Project - Draft" in SAP S/4HANA. It reads from 1 data source (mmpprojplant_d) and exposes 17 fields with key field ProcmtProjectPlantUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
mmpprojplant_d ProcurementProjectPlantDraft from

Associations (2)

CardinalityTargetAliasCondition
[1..1] R_ProcurementProject _ProcurementProject $projection.ProcurementProjectUUID = _ProcurementProject.ProcurementProjectUUID
[1..1] E_ProcurementProjectPlantDraft _Extension $projection.ProcmtProjectPlantUUID = _Extension.ProcmtProjectPlantUUID

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 Plant in Procurement Project - Draft view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.allowNewDatasources false view
AbapCatalog.extensibility.elementSuffix PPP view
AbapCatalog.extensibility.quota.maximumFields 204 view
AbapCatalog.extensibility.quota.maximumBytes 4080 view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY ProcmtProjectPlantUUID procmtprojectplantuuid Plant UUID
ProcurementProjectPlant procurementprojectplant Plant
ProductionStartDate productionstartdate Start of Production
ProductionEndDate productionenddate Production End Date
ProcurementProjectUUID procurementprojectuuid Procurement Project UUID
CompanyCode companycode Receiver Company Code
ProcurementHubSourceSystem procurementhubsourcesystem Connected System ID
ProcmtHubPlantUniqueID procmthubplantuniqueid Plant Unique ID
SourcingOrigin sourcingorigin Sourcing Origin
SourcingScenario sourcingscenario Integration Scenario
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
_ProcurementProject _ProcurementProject

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_ProcurementProjectPlantDraft.
-- 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_ProcurementProjectPlantDraft AS
SELECT
  ProcmtProjectPlantUUID,
  ProcurementProjectPlant,
  ProductionStartDate,
  ProductionEndDate,
  ProcurementProjectUUID,
  CompanyCode,
  ProcurementHubSourceSystem,
  ProcmtHubPlantUniqueID,
  SourcingOrigin,
  SourcingScenario,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges
FROM mmpprojplant_d AS ProcurementProjectPlantDraft
LEFT OUTER JOIN R_ProcurementProject AS _ProcurementProject ON ProcurementProjectUUID = _ProcurementProject.ProcurementProjectUUID  -- association [1..1]
LEFT OUTER JOIN E_ProcurementProjectPlantDraft AS _Extension ON ProcmtProjectPlantUUID = _Extension.ProcmtProjectPlantUUID  -- association [1..1]
;