R_SourcingProjectItem

DDL: R_SOURCINGPROJECTITEM Type: view BASIC

Item in Sourcing Project

R_SourcingProjectItem is a Basic CDS View that provides data about "Item in Sourcing Project" in SAP S/4HANA. It reads from 1 data source (mmsrcgpitem) and exposes 72 fields with key field SourcingProjectItemUUID. It has 14 associations to related views.

Data Sources (1)

SourceAliasJoin Type
mmsrcgpitem mmsrcgpitem from

Associations (14)

CardinalityTargetAliasCondition
[0..1] R_SourcingProjectItem _SourcingProjectItemParent $projection.SourcingProjectItemParentUUID = _SourcingProjectItemParent.SourcingProjectItemUUID
[1..1] R_SourcingProject _SourcingProject $projection.SourcingProjectUUID = _SourcingProject.SourcingProjectUUID
[0..1] I_Currency _ItemDocumentCurrency $projection.DocumentCurrency = _ItemDocumentCurrency.Currency
[0..1] I_UnitOfMeasure _RequestedQuantityUnit $projection.RequestedQuantityUnit = _RequestedQuantityUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _ItemWeightUnit $projection.ItemWeightUnit = _ItemWeightUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _ItemVolumeUnit $projection.ItemVolumeUnit = _ItemVolumeUnit.UnitOfMeasure
[0..1] I_SourcingProjectItemType _SourcingProjectItemType $projection.SourcingProjectItemType = _SourcingProjectItemType.SourcingProjectItemType
[0..1] I_SrcgProjItemClassification _SrcgProjItemClassification $projection.SourcingProjectItemType = _SrcgProjItemClassification.SourcingProjectItemType and $projection.SrcgProjItemClassification = _SrcgProjItemClassification.SrcgProjItemClassification
[0..1] R_SourcingProjectItem _SourceSourcingProjectItem $projection.SourceSourcingProjectItemUUID = _SourceSourcingProjectItem.SourcingProjectItemUUID
[0..1] I_SrcgProjItemDemandConfCode _SrcgProjItemDemandConfCode $projection.SrcgProjItemDemandConfCode = _SrcgProjItemDemandConfCode.SrcgProjItemDemandConfCode
[0..1] I_ProductSourcingReason _SourcingProjectReason $projection.SrcgProjItemUnconfdDemandRsn = _SourcingProjectReason.ProductSourcingReason
[0..1] I_SourcingProjectType _SourcingProjectType $projection.sourcingprojecttype = _SourcingProjectType.SourcingProjectType
[1..1] E_SourcingProjectItem _Extension $projection.SourcingProjectItemUUID = _Extension.SourcingProjectItemUUID
[1..1] R_SrcgProjDisplayInformation _SrcgProjDisplayInformation _SrcgProjDisplayInformation.SourcingProjectUUID = $projection.SourcingProjectUUID

Annotations (12)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName RSRCGPROJITM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.representativeKey SourcingProjectItemUUID 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 Item in Sourcing Project view

Fields (72)

KeyFieldSource TableSource FieldDescription
KEY SourcingProjectItemUUID sourcingprojectitemuuid Item UUID
SourcingProjectItem sourcingprojectitem Item
SourcingProjectUUID sourcingprojectuuid Sourcing Project UUID
SourcingProjectItemType sourcingprojectitemtype Item Type
SrcgProjItemClassification srcgprojitemclassification Item Classification
SourcingProjectItemStableUUID sourcingprojectitemstableuuid Stable ID
SrcgProjItemDescription srcgprojitemdescription Description
Material material Vehicle Model
ProductType producttype Product Type Group
MaterialGroup materialgroup Product Group
SrcgProjItemTargetAmount srcgprojitemtargetamount Target Price
SrcgProjItmTgtAmtQuantity srcgprojitmtgtamtquantity Price Unit for Target Price
SrcgProjItemTotalTargetAmount srcgprojitemtotaltargetamount Total Target Amount
RequestedQuantity requestedquantity Requested Quantity
MaximumRequestedQuantity maximumrequestedquantity Max. Requested Quantity
RequestedQuantityUnit requestedquantityunit Requested Quantity Unit
RequestedDeliveryDate requesteddeliverydate Requested Delivery Date
PerformancePeriodStartDate performanceperiodstartdate Start of Performance Period
PerformancePeriodEndDate performanceperiodenddate End of Performance Period
OrderItemQtyToBaseQtyNmrtr orderitemqtytobaseqtynmrtr Equal To
OrderItemQtyToBaseQtyDnmntr orderitemqtytobaseqtydnmntr Denominator
Plant plant Valuation Area
CompanyCode companycode Receiver Company Code
PurchasingGroup purchasinggroup Purchasing Group
PurchasingOrganization purchasingorganization Purchasing Organization
ProcurementHubSourceSystem procurementhubsourcesystem Connected System ID
StorageLocation storagelocation StorageLocation
ProcmtHubPlantUniqueID procmthubplantuniqueid Plant Unique ID
SourcingProjectItemParent sourcingprojectitemparent Item Parent
SourcingProjectItemParentUUID sourcingprojectitemparentuuid
HierarchyNodeLevel hierarchynodelevel Hierarchy Node Level
AlternativeItemID alternativeitemid Alternative Item ID
FormattedItemID formatteditemid Item Number
HierarchyNodeSubTreeSize hierarchynodesubtreesize Descendant Count
PurchaseRequisition purchaserequisition Requisition
PurchaseRequisitionItem purchaserequisitionitem Requisn. item
SrcgProjFollowOnDocumentCat srcgprojfollowondocumentcat Follow-On Document Category
SrcgProjFollowOnDocumentType srcgprojfollowondocumenttype Follow-On Document Type
CentralPurchaseContract centralpurchasecontract Purchasing Doc.
CentralPurchaseContractItem centralpurchasecontractitem Item in Central Purchase Contract
SourceSourcingProjectItemUUID sourcesourcingprojectitemuuid Source Item UUID
DocumentCurrency _SourcingProject DocumentCurrency Document Currency
SourcingProjectType _SourcingProject SourcingProjectType Sourcing Project Type
SrcgProjItemDemandConfCode srcgprojitemdemandconfcode Confirmation Code
SrcgProjItemUnconfdDemandRsn srcgprojitemunconfddemandrsn Rsn for Unconfd Dmnd
ProcmtPlanningBundleItemUUID procmtplanningbundleitemuuid ProcurementPlanningBundleItemUUID
SourcingOrigin sourcingorigin Sourcing Origin
SourcingScenario sourcingscenario Integration Scenario
SrcgProjectItemSettledStatus srcgprojectitemsettledstatus Item Status
SrcgProjAttchsAreForbidden srcgprojattchsareforbidden Forbid Attachments
RequestedDeliveryDateIsChanged requesteddeliverydateischanged
SuplrCostBreakdownTemplateUUID suplrcostbreakdowntemplateuuid SUPLRCBDTUUID
SupplierCostBreakdownIsEnabled suppliercostbreakdownisenabled Cost Breakdown
CostBrkdwnAttchCrtnIsRequired costbrkdwnattchcrtnisrequired Attch Creation is Rqd for Cost Brkdown
SrcgProjItmTargetAmountIsFixed srcgprojitmtargetamountisfixed Target Price Is Unchangeable
SrcgProjItmTgtAmtQtyIsFixed srcgprojitmtgtamtqtyisfixed Target Price Unit Is Unchangeable
SPItmTotTgtAmtHasOverflowError spitmtottgtamthasoverflowerror
ItemWeightUnit itemweightunit Unit of Weight
ItemVolumeUnit itemvolumeunit Volume Unit
_SourcingProjectItemParent _SourcingProjectItemParent
_SourcingProject _SourcingProject
_SrcgProjDisplayInformation _SrcgProjDisplayInformation
_RequestedQuantityUnit _RequestedQuantityUnit
_ItemWeightUnit _ItemWeightUnit
_ItemVolumeUnit _ItemVolumeUnit
_SourcingProjectItemType _SourcingProjectItemType
_SrcgProjItemClassification _SrcgProjItemClassification
_SrcgProjItemDemandConfCode _SrcgProjItemDemandConfCode
_SourcingProjectReason _SourcingProjectReason
_SourceSourcingProjectItem _SourceSourcingProjectItem
_ItemDocumentCurrency _ItemDocumentCurrency
_SourcingProjectType _SourcingProjectType

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_SourcingProjectItem.
-- 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_SourcingProjectItem AS
SELECT
  SourcingProjectItemUUID,
  SourcingProjectItem,
  SourcingProjectUUID,
  SourcingProjectItemType,
  SrcgProjItemClassification,
  SourcingProjectItemStableUUID,
  SrcgProjItemDescription,
  Material,
  ProductType,
  MaterialGroup,
  SrcgProjItemTargetAmount,
  SrcgProjItmTgtAmtQuantity,
  SrcgProjItemTotalTargetAmount,
  RequestedQuantity,
  MaximumRequestedQuantity,
  RequestedQuantityUnit,
  RequestedDeliveryDate,
  PerformancePeriodStartDate,
  PerformancePeriodEndDate,
  OrderItemQtyToBaseQtyNmrtr,
  OrderItemQtyToBaseQtyDnmntr,
  Plant,
  CompanyCode,
  PurchasingGroup,
  PurchasingOrganization,
  ProcurementHubSourceSystem,
  StorageLocation,
  ProcmtHubPlantUniqueID,
  SourcingProjectItemParent,
  SourcingProjectItemParentUUID,
  HierarchyNodeLevel,
  AlternativeItemID,
  FormattedItemID,
  HierarchyNodeSubTreeSize,
  PurchaseRequisition,
  PurchaseRequisitionItem,
  SrcgProjFollowOnDocumentCat,
  SrcgProjFollowOnDocumentType,
  CentralPurchaseContract,
  CentralPurchaseContractItem,
  SourceSourcingProjectItemUUID,
  _SourcingProject.DocumentCurrency AS DocumentCurrency,
  _SourcingProject.SourcingProjectType AS SourcingProjectType,
  SrcgProjItemDemandConfCode,
  SrcgProjItemUnconfdDemandRsn,
  ProcmtPlanningBundleItemUUID,
  SourcingOrigin,
  SourcingScenario,
  SrcgProjectItemSettledStatus,
  SrcgProjAttchsAreForbidden,
  RequestedDeliveryDateIsChanged,
  SuplrCostBreakdownTemplateUUID,
  SupplierCostBreakdownIsEnabled,
  CostBrkdwnAttchCrtnIsRequired,
  SrcgProjItmTargetAmountIsFixed,
  SrcgProjItmTgtAmtQtyIsFixed,
  SPItmTotTgtAmtHasOverflowError,
  ItemWeightUnit,
  ItemVolumeUnit
FROM mmsrcgpitem
LEFT OUTER JOIN R_SourcingProjectItem AS _SourcingProjectItemParent ON SourcingProjectItemParentUUID = _SourcingProjectItemParent.SourcingProjectItemUUID  -- association [0..1]
LEFT OUTER JOIN R_SourcingProject AS _SourcingProject ON SourcingProjectUUID = _SourcingProject.SourcingProjectUUID  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _ItemDocumentCurrency ON DocumentCurrency = _ItemDocumentCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _RequestedQuantityUnit ON RequestedQuantityUnit = _RequestedQuantityUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _ItemWeightUnit ON ItemWeightUnit = _ItemWeightUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _ItemVolumeUnit ON ItemVolumeUnit = _ItemVolumeUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_SourcingProjectItemType AS _SourcingProjectItemType ON SourcingProjectItemType = _SourcingProjectItemType.SourcingProjectItemType  -- association [0..1]
LEFT OUTER JOIN I_SrcgProjItemClassification AS _SrcgProjItemClassification ON SourcingProjectItemType = _SrcgProjItemClassification.SourcingProjectItemType AND SrcgProjItemClassification = _SrcgProjItemClassification.SrcgProjItemClassification  -- association [0..1]
LEFT OUTER JOIN R_SourcingProjectItem AS _SourceSourcingProjectItem ON SourceSourcingProjectItemUUID = _SourceSourcingProjectItem.SourcingProjectItemUUID  -- association [0..1]
LEFT OUTER JOIN I_SrcgProjItemDemandConfCode AS _SrcgProjItemDemandConfCode ON SrcgProjItemDemandConfCode = _SrcgProjItemDemandConfCode.SrcgProjItemDemandConfCode  -- association [0..1]
LEFT OUTER JOIN I_ProductSourcingReason AS _SourcingProjectReason ON SrcgProjItemUnconfdDemandRsn = _SourcingProjectReason.ProductSourcingReason  -- association [0..1]
LEFT OUTER JOIN I_SourcingProjectType AS _SourcingProjectType ON sourcingprojecttype = _SourcingProjectType.SourcingProjectType  -- association [0..1]
LEFT OUTER JOIN E_SourcingProjectItem AS _Extension ON SourcingProjectItemUUID = _Extension.SourcingProjectItemUUID  -- association [1..1]
LEFT OUTER JOIN R_SrcgProjDisplayInformation AS _SrcgProjDisplayInformation ON _SrcgProjDisplayInformation.SourcingProjectUUID = SourcingProjectUUID  -- association [1..1]
;