I_ProjProcmtPurReqnOrd

DDL: I_PROJPROCMTPURREQNORD SQL: IPROJPROCMTPRPO Type: view COMPOSITE Package: ODATA_PS_PUR_REQORD_MNG

Project Procurement Purchase Reqn Order

I_ProjProcmtPurReqnOrd is a Composite CDS View that provides data about "Project Procurement Purchase Reqn Order" in SAP S/4HANA. It has 16 associations to related views. Part of development package ODATA_PS_PUR_REQORD_MNG.

Associations (16)

CardinalityTargetAliasCondition
[0..1] R_EnterpriseProject PST $projection.ProjectInternalID = PST.ProjectInternalID
[0..1] I_PurchaseOrder _PurchaseOrder $projection.PurchaseOrder = _PurchaseOrder.PurchaseOrder
[1..1] I_Purchaserequisition _PurchaseRequisition $projection.PurchaseRequisition = _PurchaseRequisition.PurchaseRequisition
[0..1] I_PurchasingDocumentType _PurchasingDocumentType $projection.PurchasingDocumentType = _PurchasingDocumentType.PurchasingDocumentType and $projection.PurchasingDocumentCategory = _PurchasingDocumentType.PurchasingDocumentCategory
[0..*] I_PurchasingDocumentTypeText _PurchasingDocumentTypeText $projection.PurchasingDocumentCategory = _PurchasingDocumentTypeText.PurchasingDocumentCategory and $projection.PurchasingDocumentType = _PurchasingDocumentTypeText.PurchasingDocumentType
[0..1] I_Material _Material $projection.Material = _Material.Material
[0..*] I_MaterialText _MaterialText $projection.Material = _MaterialText.Material
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[0..1] I_PurchasingOrganization _PurchasingOrganization $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization
[0..1] I_PurchasingGroup _PurchasingGroup $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup
[0..1] I_StorageLocation _StorageLocation $projection.StorageLocation = _StorageLocation.StorageLocation and $projection.Plant = _StorageLocation.Plant
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_MaterialGroup _MaterialGroup $projection.MaterialGroup = _MaterialGroup.MaterialGroup
[0..*] I_MaterialGroupText _MaterialGroupText $projection.MaterialGroup = _MaterialGroupText.MaterialGroup
[0..1] I_Currency _Currency $projection.DocumentCurrency = _Currency.Currency
[1..1] I_UnitOfMeasure _UnitOfMeasure $projection.OrderQuantityUnit = _UnitOfMeasure.UnitOfMeasure

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPROJPROCMTPRPO view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Project Procurement Purchase Reqn Order view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (64)

KeyFieldSource TableSource FieldDescription
KEY WBSElementInternalID P_ProjProcmtPurReqnOrd WBSElementInternalID WBS Internal ID
KEY PurchaseRequisition PurchaseRequisition Requisition
KEY PurchaseRequisitionItem PurchaseRequisitionItem Requisn. item
KEY PurchaseOrder PurchaseOrder Purchasing Document
KEY PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
KEY AccountAssignmentNumber AccountAssignmentNumber Account Assgmt No.
KEY PurchasingDocumentPartnerType PurchasingDocumentPartnerType Partner Type
FormattedPurchasingDocItem FormattedPurchasingDocItem
PurchasingDocumentType PurchasingDocumentType RFQ Type
PurchasingDocumentCategory PurchasingDocumentCategory Doc. Category
PurchaseRequisitionItemText PurchaseRequisitionItemText Short Text
PurchasingReleaseStatus PurchasingReleaseStatus
PurReqnReleaseStatus PurReqnReleaseStatus Proc.state
CreationDate CreationDate Time Stamp
Project P_ProjProcmtPurReqnOrd Project WBS Element
ProjectExternalID P_ProjProcmtPurReqnOrd ProjectExternalID Project def.
ProjectProfileCode P_ProjProcmtPurReqnOrd ProjectProfileCode Project Profile
ProjectCategory PST ProjectCategory Proj. Category
CompanyCode P_ProjProcmtPurReqnOrd CompanyCode Receiver Company Code
ControllingArea P_ProjProcmtPurReqnOrd ControllingArea Controlling Area
ProfitCenter P_ProjProcmtPurReqnOrd WBSElementProfitCenter
WBSElement WBSElement WBS Internal ID
WBSElementWithCodingMask WBSElementWithCodingMask
WBSDescription WBSDescription WBS Element Name
ProjectDescription P_ProjProcmtPurReqnOrd ProjectDescription Project Name
ProjectType ProjectType Project Type
ProjectInternalID P_ProjProcmtPurReqnOrd ProjectInternalID Project Def.
ProjectSummaryTaskUUID PST ProjectSummaryTaskUUID Entity GUID
ProjectUUID PST ProjectUUID Project UUID
Supplier Supplier Supplier
SupplierName _Supplier SupplierName Supplier Name
Material Material Vehicle Model
MaterialName
MaterialGroup MaterialGroup Product Group
Plant P_ProjProcmtPurReqnOrd Plant Valuation Area
PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
StorageLocation StorageLocation StorageLocation
OrderedQuantity OrderedQuantity Quantity
TotalQuantity TotalQuantity Activity Quantity
NetAmount NetAmount Stated Amount
DeliveryDate DeliveryDate Delivery Date
DocumentCurrency DocumentCurrency Document Currency
OrderQuantityUnit OrderQuantityUnit Sales Unit
IsCompletelyDelivered IsCompletelyDelivered Is completely delivered
ScheduleLineDeliveryDate ScheduleLineDeliveryDate Delivery Date
AccountAssignmentCategory AccountAssignmentCategory Acct Assgmt Cat
ResponsibleCostCenter ResponsibleCostCenter Responsible Cost Center
FunctionalArea FunctionalArea Sendr Fctl Area
_PurchaseOrder _PurchaseOrder
_PurchaseRequisition _PurchaseRequisition
_PurchasingDocumentType _PurchasingDocumentType
_PurchasingDocumentTypeText _PurchasingDocumentTypeText
_Material _Material
_MaterialText _MaterialText
_Supplier _Supplier
_PurchasingOrganization _PurchasingOrganization
_PurchasingGroup _PurchasingGroup
_StorageLocation _StorageLocation
_Plant _Plant
_MaterialGroup _MaterialGroup
_MaterialGroupText _MaterialGroupText
_Currency _Currency
_UnitOfMeasure _UnitOfMeasure

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 I_ProjProcmtPurReqnOrd.
-- 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.
-- SQL view name: IPROJPROCMTPRPO

CREATE VIEW I_ProjProcmtPurReqnOrd AS
SELECT
  P_ProjProcmtPurReqnOrd.WBSElementInternalID AS WBSElementInternalID,
  PurchaseRequisition,
  PurchaseRequisitionItem,
  PurchaseOrder,
  PurchaseOrderItem,
  AccountAssignmentNumber,
  PurchasingDocumentPartnerType,
  FormattedPurchasingDocItem,
  PurchasingDocumentType,
  PurchasingDocumentCategory,
  PurchaseRequisitionItemText,
  PurchasingReleaseStatus,
  PurReqnReleaseStatus,
  CreationDate,
  P_ProjProcmtPurReqnOrd.Project AS Project,
  P_ProjProcmtPurReqnOrd.ProjectExternalID AS ProjectExternalID,
  P_ProjProcmtPurReqnOrd.ProjectProfileCode AS ProjectProfileCode,
  PST.ProjectCategory AS ProjectCategory,
  P_ProjProcmtPurReqnOrd.CompanyCode AS CompanyCode,
  P_ProjProcmtPurReqnOrd.ControllingArea AS ControllingArea,
  P_ProjProcmtPurReqnOrd.WBSElementProfitCenter AS ProfitCenter,
  WBSElement,
  WBSElementWithCodingMask,
  WBSDescription,
  P_ProjProcmtPurReqnOrd.ProjectDescription AS ProjectDescription,
  ProjectType,
  P_ProjProcmtPurReqnOrd.ProjectInternalID AS ProjectInternalID,
  PST.ProjectSummaryTaskUUID AS ProjectSummaryTaskUUID,
  PST.ProjectUUID AS ProjectUUID,
  Supplier,
  _Supplier.SupplierName AS SupplierName,
  Material,
  _Material._Text[1:Language = $session.system_language].MaterialName AS MaterialName,
  MaterialGroup,
  P_ProjProcmtPurReqnOrd.Plant AS Plant,
  cast( PurchasingOrganization as purchasingorganization_ll) AS PurchasingOrganization,
  PurchasingGroup,
  StorageLocation,
  OrderedQuantity,
  TotalQuantity,
  NetAmount,
  DeliveryDate,
  DocumentCurrency,
  OrderQuantityUnit,
  IsCompletelyDelivered,
  ScheduleLineDeliveryDate,
  AccountAssignmentCategory,
  ResponsibleCostCenter,
  FunctionalArea
LEFT OUTER JOIN R_EnterpriseProject AS PST ON ProjectInternalID = PST.ProjectInternalID  -- association [0..1]
LEFT OUTER JOIN I_PurchaseOrder AS _PurchaseOrder ON PurchaseOrder = _PurchaseOrder.PurchaseOrder  -- association [0..1]
LEFT OUTER JOIN I_Purchaserequisition AS _PurchaseRequisition ON PurchaseRequisition = _PurchaseRequisition.PurchaseRequisition  -- association [1..1]
LEFT OUTER JOIN I_PurchasingDocumentType AS _PurchasingDocumentType ON PurchasingDocumentType = _PurchasingDocumentType.PurchasingDocumentType AND PurchasingDocumentCategory = _PurchasingDocumentType.PurchasingDocumentCategory  -- association [0..1]
LEFT OUTER JOIN I_PurchasingDocumentTypeText AS _PurchasingDocumentTypeText ON PurchasingDocumentCategory = _PurchasingDocumentTypeText.PurchasingDocumentCategory AND PurchasingDocumentType = _PurchasingDocumentTypeText.PurchasingDocumentType  -- association [0..*]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material  -- association [0..1]
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material  -- association [0..*]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_PurchasingOrganization AS _PurchasingOrganization ON PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization  -- association [0..1]
LEFT OUTER JOIN I_PurchasingGroup AS _PurchasingGroup ON PurchasingGroup = _PurchasingGroup.PurchasingGroup  -- association [0..1]
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON StorageLocation = _StorageLocation.StorageLocation AND Plant = _StorageLocation.Plant  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_MaterialGroup AS _MaterialGroup ON MaterialGroup = _MaterialGroup.MaterialGroup  -- association [0..1]
LEFT OUTER JOIN I_MaterialGroupText AS _MaterialGroupText ON MaterialGroup = _MaterialGroupText.MaterialGroup  -- association [0..*]
LEFT OUTER JOIN I_Currency AS _Currency ON DocumentCurrency = _Currency.Currency  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON OrderQuantityUnit = _UnitOfMeasure.UnitOfMeasure  -- association [1..1]
;