R_SourcingProjectItemDraft

DDL: R_SOURCINGPROJECTITEMDRAFT Type: view_entity BASIC

Sourcing Project Item - Draft

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

Data Sources (1)

SourceAliasJoin Type
mmsrcgpitem_d SourcingProjectItemDraft from

Associations (4)

CardinalityTargetAliasCondition
[0..1] R_SourcingProjectItemDraft _SourcingProjectItemParent $projection.SourcingProjectItemParentUUID = _SourcingProjectItemParent.SourcingProjectItemUUID
[0..*] R_SrcgProjItmDraftHierNodeRltn _Parent $projection.SourcingProjectItemParent = _Parent.SourcingProjectItem and $projection.SourcingProjectUUID = _Parent.SourcingProjectUUID
[0..1] R_SourcingProject _SourcingProject $projection.SourcingProjectUUID = _SourcingProject.SourcingProjectUUID
[1..1] E_SourcingProjectItemD _Extension $projection.SourcingProjectItemUUID = _Extension.SourcingProjectItemUUID

Annotations (13)

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

Fields (81)

KeyFieldSource TableSource FieldDescription
KEY SourcingProjectItemUUID sourcingprojectitemuuid Item UUID
SourcingProjectItem sourcingprojectitem Item
SrcgProjItemUUIDAsCharacter
SrcgProjItemAttachmentKey
SourceSAPObjectNodeType
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
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 documentcurrency Document Currency
SourcingProjectType 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
HierarchyNode hierarchynode Node
HierarchyParentNode hierarchyparentnode Hier.node
HierarchyDistanceFromRoot hierarchydistancefromroot Dist. From Root
HierarchyDescendantCount hierarchydescendantcount Desc. Count
HierarchyDrillState hierarchydrillstate Drill State
HierarchyRank hierarchyrank Hierarchy Rank
HierarchyLevel hierarchylevel Hierarchy Level
PlantIsChanged plantischanged Boolean Variable (X = True, - = False, Space = Unknown)
SupplierCostBreakdownTemplate suppliercostbreakdowntemplate Cost Breakdown Templ
SuplrCostBrkdwnTemplateVersion suplrcostbrkdwntemplateversion Version
SupCosBrkTmplActiveVersion supcosbrktmplactiveversion Suplr CostBrkDwnTmpl
CostBrkdwnAttchCrtnIsRequired costbrkdwnattchcrtnisrequired Attch Creation is Rqd for Cost Brkdown
SrcgProjItmTargetAmountIsFixed srcgprojitmtargetamountisfixed Target Price Is Unchangeable
SrcgProjItmTgtAmtQtyIsFixed srcgprojitmtgtamtqtyisfixed Target Price Unit Is Unchangeable
SPItmTotTgtAmtHasOverflowError spitmtottgtamthasoverflowerror
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
ItemWeightUnit itemweightunit Unit of Weight
ItemVolumeUnit itemvolumeunit Volume Unit
_Parent _Parent
_SourcingProjectItemParent _SourcingProjectItemParent
_SourcingProject _SourcingProject

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_SourcingProjectItemDraft.
-- 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_SourcingProjectItemDraft AS
SELECT
  SourcingProjectItemUUID,
  SourcingProjectItem,
  cast( bintohex(sourcingprojectitemuuid) as vdm_srcgprojitmuuidascharacter ) AS SrcgProjItemUUIDAsCharacter,
  cast( concat( bintohex(sourcingprojectitemuuid), '01' ) as vdm_srcgprojitemattachmentuuid ) AS SrcgProjItemAttachmentKey,
  cast( 'SourcingProjectItem' as srcesapobjnodetype ) AS SourceSAPObjectNodeType,
  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,
  PurchaseRequisition,
  PurchaseRequisitionItem,
  SrcgProjFollowOnDocumentCat,
  SrcgProjFollowOnDocumentType,
  CentralPurchaseContract,
  CentralPurchaseContractItem,
  SourceSourcingProjectItemUUID,
  DocumentCurrency,
  SourcingProjectType,
  SrcgProjItemDemandConfCode,
  SrcgProjItemUnconfdDemandRsn,
  ProcmtPlanningBundleItemUUID,
  SourcingOrigin,
  SourcingScenario,
  SrcgProjectItemSettledStatus,
  SrcgProjAttchsAreForbidden,
  RequestedDeliveryDateIsChanged,
  SuplrCostBreakdownTemplateUUID,
  SupplierCostBreakdownIsEnabled,
  HierarchyNode,
  HierarchyParentNode,
  HierarchyDistanceFromRoot,
  HierarchyDescendantCount,
  HierarchyDrillState,
  HierarchyRank,
  HierarchyLevel,
  PlantIsChanged,
  SupplierCostBreakdownTemplate,
  SuplrCostBrkdwnTemplateVersion,
  SupCosBrkTmplActiveVersion,
  CostBrkdwnAttchCrtnIsRequired,
  SrcgProjItmTargetAmountIsFixed,
  SrcgProjItmTgtAmtQtyIsFixed,
  SPItmTotTgtAmtHasOverflowError,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges,
  ItemWeightUnit,
  ItemVolumeUnit
FROM mmsrcgpitem_d AS SourcingProjectItemDraft
LEFT OUTER JOIN R_SourcingProjectItemDraft AS _SourcingProjectItemParent ON SourcingProjectItemParentUUID = _SourcingProjectItemParent.SourcingProjectItemUUID  -- association [0..1]
LEFT OUTER JOIN R_SrcgProjItmDraftHierNodeRltn AS _Parent ON SourcingProjectItemParent = _Parent.SourcingProjectItem AND SourcingProjectUUID = _Parent.SourcingProjectUUID  -- association [0..*]
LEFT OUTER JOIN R_SourcingProject AS _SourcingProject ON SourcingProjectUUID = _SourcingProject.SourcingProjectUUID  -- association [0..1]
LEFT OUTER JOIN E_SourcingProjectItemD AS _Extension ON SourcingProjectItemUUID = _Extension.SourcingProjectItemUUID  -- association [1..1]
;