R_SourcingProject

DDL: R_SOURCINGPROJECT Type: view BASIC

Sourcing Project

R_SourcingProject is a Basic CDS View that provides data about "Sourcing Project" in SAP S/4HANA. It reads from 1 data source (mmsrcgproj) and exposes 90 fields with key field SourcingProjectUUID. It has 24 associations to related views.

Data Sources (1)

SourceAliasJoin Type
mmsrcgproj mmsrcgproj from

Associations (24)

CardinalityTargetAliasCondition
[0..*] R_SourcingProjectItem _SourcingProjectItem $projection.SourcingProjectUUID = _SourcingProjectItem.SourcingProjectUUID
[0..*] I_SourcingProjectQuotation _SourcingProjectQuotation $projection.SourcingProjectUUID = _SourcingProjectQuotation.SourcingProjectUUID
[0..*] I_SrcgProjAllowedCurrency _SrcgProjAllowedCurrency $projection.SourcingProjectUUID = _SrcgProjAllowedCurrency.SourcingProjectUUID
[0..*] R_SrcPrjPurgCatReltdMatlGrp _SrcPrjPurgCatReltdMatlGrp $projection.SourcingProjectUUID = _SrcPrjPurgCatReltdMatlGrp.SourcingProjectUUID
[0..*] R_SrcgProjAllwdSuplrContact _SrcgProjAllwdSuplrContact $projection.SourcingProjectUUID = _SrcgProjAllwdSuplrContact.SourcingProjectUUID
[0..*] I_SourcingProjectMilestone _SourcingProjectMilestone $projection.SourcingProjectUUID = _SourcingProjectMilestone.SourcingProjectUUID
[0..1] I_Currency _DocumentCurrency $projection.DocumentCurrency = _DocumentCurrency.Currency
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_MaterialGroup _MaterialGroup $projection.MaterialGroup = _MaterialGroup.MaterialGroup
[0..1] I_PurchasingGroup _PurchasingGroup $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup
[0..1] I_PurchasingOrganization _PurchasingOrganization $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization
[0..1] I_SourcingProjectType _SourcingProjectType $projection.SourcingProjectType = _SourcingProjectType.SourcingProjectType
[0..1] I_SourcingProjectPhase _SourcingProjectPhase $projection.SourcingProjectPhase = _SourcingProjectPhase.SourcingProjectPhase
[0..1] I_SrcgProjLifecycleStatus _SrcgProjLifecycleStatus $projection.SrcgProjLifecycleStatus = _SrcgProjLifecycleStatus.SrcgProjLifecycleStatus
[0..1] I_SrcgProjTmplLfcycStatus _SrcgProjTmplLfcycStatus $projection.SrcgProjTemplateLfcycSts = _SrcgProjTmplLfcycStatus.SrcgProjTemplateLfcycSts
[0..1] I_SrcgProjPubdSuplrListBP _SrcgProjPubdSuplrListBP $projection.SourcingProjectUUID = _SrcgProjPubdSuplrListBP.SourcingProjectUUID
[0..1] I_UserContactCard _CreatedByUser $projection.CreatedByUser = _CreatedByUser.ContactCardID
[0..1] I_UserContactCard _ChangedByUser $projection.LastChangedByUser = _ChangedByUser.ContactCardID
[0..1] I_EmplContactCard _PurchaserResponsible $projection.PurchaserRespWorkAgreement = _PurchaserResponsible.PersonWorkAgreement
[0..1] R_SourcingProject _SourceSourcingProject $projection.SourceSourcingProjectUUID = _SourceSourcingProject.SourcingProjectUUID
[0..1] R_SrcgProjContributionForUser _ContributionForUser $projection.SourcingProjectUUID = _ContributionForUser.SourcingProjectUUID
[1..1] R_SrcgProjPLMCollaboration _SrcgProjPLMCollaboration $projection.SourcingProjectUUID = _SrcgProjPLMCollaboration.SourcingProjectUUID
[0..*] R_SrcgProjPLMCollabnPrtcpnt _SrcgProjPLMCollabnPrtcpnt $projection.SourcingProjectUUID = _SrcgProjPLMCollabnPrtcpnt.SourcingProjectUUID
[0..1] I_SrcgProjActiveBackgroundJob _SrcgProjActiveBackgroundJob $projection.SrcgProjActiveBackgroundJob = _SrcgProjActiveBackgroundJob.SrcgProjActiveBackgroundJob

Annotations (13)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName RSRCGPROJ view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.representativeKey SourcingProjectUUID view
ObjectModel.sapObjectNodeType.name SourcingProject 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 Sourcing Project view

Fields (90)

KeyFieldSource TableSource FieldDescription
KEY SourcingProjectUUID sourcingprojectuuid Sourcing Project UUID
SourcingProject sourcingproject Sourcing Project
SourcingProjectVersion sourcingprojectversion Sourcing Project Version
SourcingProjectType sourcingprojecttype Sourcing Project Type
SourcingProjectName sourcingprojectname Name
SrcgProjLifecycleStatus srcgprojlifecyclestatus Status
SrcgProjTemplateLfcycSts srcgprojtemplatelfcycsts
SrcgProjApprovalStatus srcgprojapprovalstatus Approval Status
SourcingProjectPhase sourcingprojectphase Phase
SrcgProjRevisionSts srcgprojrevisionsts Revision Status
SrcgProjActvtnSts srcgprojactvtnsts Activation Status
SrcgProjPubgSts srcgprojpubgsts Publishing Status
SourcingSupplierListUUID sourcingsupplierlistuuid UUID of Sourcing Supplier List
CompanyCode companycode Receiver Company Code
PurchasingGroup purchasinggroup Purchasing Group
PurchasingOrganization purchasingorganization Purchasing Organization
MaterialGroup mmsrcgproj materialgroup Product Group
PurchasingCategory purchasingcategory Purchasing Category
DocumentCurrency documentcurrency Document Currency
SrcgProjTotalTargetAmount srcgprojtotaltargetamount Total Target Amount
PurchaserRespWorkAgreement purchaserrespworkagreement Purchaser Responsible
PurchaserResponsiblePerson purchaserresponsibleperson Purchaser Responsible
SrcgProjTmplResponsiblePerson srcgprojtmplresponsibleperson
QtnLatestSubmissionDateTime qtnlatestsubmissiondatetime Submission Deadline
LastChangedByUser lastchangedbyuser User Name
CreatedByUser createdbyuser User Name
LastChangeDateTime lastchangedatetime Timestamp
CreationDateTime creationdatetime Timestamp
IncotermsClassification incotermsclassification Incoterms
IncotermsTransferLocation incotermstransferlocation Incoterms 2
IncotermsVersion incotermsversion Inco. Version
IncotermsLocation1 incotermslocation1 Inco. Location1
IncotermsLocation2 incotermslocation2 Inco. Location2
PaymentTerms paymentterms Pyt Terms
CashDiscount1Days cashdiscount1days Days from Baseline Date for Payment
CashDiscount2Days cashdiscount2days Days from Baseline Date for Payment
CashDiscount1Percent cashdiscount1percent Disc. Percent 1
CashDiscount2Percent cashdiscount2percent Disc. Percent 2
NetPaymentDays netpaymentdays Net Pmt Terms Period
SrcgProjPubgDteTme srcgprojpubgdtetme Published On
SrcgProjCancDteTme srcgprojcancdtetme Canceled On
SrcgProjAttchsAreForbidden srcgprojattchsareforbidden Forbid Attachments
SrcgProjNotesAreForbidden srcgprojnotesareforbidden Forbid Notes
SourcingProjectIsTemplate sourcingprojectistemplate
SrcgProjFollowOnDocumentCat srcgprojfollowondocumentcat Follow-On Document Category
SrcgProjFollowOnDocumentType srcgprojfollowondocumenttype Follow-On Document Type
PurContrValidityStartDate purcontrvaliditystartdate Validity Start
PurContrValidityEndDate purcontrvalidityenddate Validity End
ExchangeRateType exchangeratetype Exch. Rate Type
SourcingOrigin sourcingorigin Sourcing Origin
SourcingScenario sourcingscenario Integration Scenario
ExternalSourcingProjectRef externalsourcingprojectref External Reference
LogicalSystem logicalsystem Logical System
ShippingInstruction shippinginstruction Shipping Instr.
SourceSourcingProjectUUID sourcesourcingprojectuuid Source Sourcing Project UUID
ProcurementPlanningBundleUUID procurementplanningbundleuuid Procurement Planning Bundle UUID
CentralPurchaseContract centralpurchasecontract Purchasing Doc.
SourcingProjectVersioningRsn sourcingprojectversioningrsn Reason
SrcgProjPaymentTermIsManual srcgprojpaymenttermismanual Truth Value
SrcgProjEarliestCndnSelDate srcgprojearliestcndnseldate Earliest Start Date for Conditions
SrcgProjCancellationRsn srcgprojcancellationrsn Cancelation Reason
SrcPrjTotTgtAmtHasOverflowErr srcprjtottgtamthasoverflowerr
SrcgProjPurgCategoryIsUsed srcgprojpurgcategoryisused
SrcgProjPLMCollaborationUUID srcgprojplmcolbnuuid
SrcgProjActiveBackgroundJob srcgprojactivebackgroundjob
LogNumber lognumber UUID
_SourcingProjectItem _SourcingProjectItem
_SourcingProjectQuotation _SourcingProjectQuotation
_SrcgProjAllowedCurrency _SrcgProjAllowedCurrency
_SrcPrjPurgCatReltdMatlGrp _SrcPrjPurgCatReltdMatlGrp
_SrcgProjAllwdSuplrContact _SrcgProjAllwdSuplrContact
_SourcingProjectMilestone _SourcingProjectMilestone
_CompanyCode _CompanyCode
_MaterialGroup _MaterialGroup
_PurchasingGroup _PurchasingGroup
_PurchasingOrganization _PurchasingOrganization
_DocumentCurrency _DocumentCurrency
_SourcingProjectType _SourcingProjectType
_SourcingProjectPhase _SourcingProjectPhase
_SrcgProjPubdSuplrListBP _SrcgProjPubdSuplrListBP
_SrcgProjLifecycleStatus _SrcgProjLifecycleStatus
_SrcgProjTmplLfcycStatus _SrcgProjTmplLfcycStatus
_CreatedByUser _CreatedByUser
_ChangedByUser _ChangedByUser
_PurchaserResponsible _PurchaserResponsible
_SourceSourcingProject _SourceSourcingProject
_ContributionForUser _ContributionForUser
_SrcgProjPLMCollaboration _SrcgProjPLMCollaboration
_SrcgProjPLMCollabnPrtcpnt _SrcgProjPLMCollabnPrtcpnt
_SrcgProjActiveBackgroundJob _SrcgProjActiveBackgroundJob

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_SourcingProject.
-- 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_SourcingProject AS
SELECT
  SourcingProjectUUID,
  SourcingProject,
  SourcingProjectVersion,
  SourcingProjectType,
  SourcingProjectName,
  SrcgProjLifecycleStatus,
  SrcgProjTemplateLfcycSts,
  SrcgProjApprovalStatus,
  SourcingProjectPhase,
  SrcgProjRevisionSts,
  SrcgProjActvtnSts,
  SrcgProjPubgSts,
  SourcingSupplierListUUID,
  CompanyCode,
  PurchasingGroup,
  PurchasingOrganization,
  mmsrcgproj.materialgroup AS MaterialGroup,
  PurchasingCategory,
  DocumentCurrency,
  SrcgProjTotalTargetAmount,
  PurchaserRespWorkAgreement,
  PurchaserResponsiblePerson,
  SrcgProjTmplResponsiblePerson,
  QtnLatestSubmissionDateTime,
  LastChangedByUser,
  CreatedByUser,
  LastChangeDateTime,
  CreationDateTime,
  IncotermsClassification,
  IncotermsTransferLocation,
  IncotermsVersion,
  IncotermsLocation1,
  IncotermsLocation2,
  PaymentTerms,
  CashDiscount1Days,
  CashDiscount2Days,
  CashDiscount1Percent,
  CashDiscount2Percent,
  NetPaymentDays,
  SrcgProjPubgDteTme,
  SrcgProjCancDteTme,
  SrcgProjAttchsAreForbidden,
  SrcgProjNotesAreForbidden,
  SourcingProjectIsTemplate,
  SrcgProjFollowOnDocumentCat,
  SrcgProjFollowOnDocumentType,
  PurContrValidityStartDate,
  PurContrValidityEndDate,
  ExchangeRateType,
  SourcingOrigin,
  SourcingScenario,
  ExternalSourcingProjectRef,
  LogicalSystem,
  ShippingInstruction,
  SourceSourcingProjectUUID,
  ProcurementPlanningBundleUUID,
  CentralPurchaseContract,
  SourcingProjectVersioningRsn,
  SrcgProjPaymentTermIsManual,
  SrcgProjEarliestCndnSelDate,
  SrcgProjCancellationRsn,
  SrcPrjTotTgtAmtHasOverflowErr,
  SrcgProjPurgCategoryIsUsed,
  srcgprojplmcolbnuuid AS SrcgProjPLMCollaborationUUID,
  SrcgProjActiveBackgroundJob,
  LogNumber
FROM mmsrcgproj
LEFT OUTER JOIN R_SourcingProjectItem AS _SourcingProjectItem ON SourcingProjectUUID = _SourcingProjectItem.SourcingProjectUUID  -- association [0..*]
LEFT OUTER JOIN I_SourcingProjectQuotation AS _SourcingProjectQuotation ON SourcingProjectUUID = _SourcingProjectQuotation.SourcingProjectUUID  -- association [0..*]
LEFT OUTER JOIN I_SrcgProjAllowedCurrency AS _SrcgProjAllowedCurrency ON SourcingProjectUUID = _SrcgProjAllowedCurrency.SourcingProjectUUID  -- association [0..*]
LEFT OUTER JOIN R_SrcPrjPurgCatReltdMatlGrp AS _SrcPrjPurgCatReltdMatlGrp ON SourcingProjectUUID = _SrcPrjPurgCatReltdMatlGrp.SourcingProjectUUID  -- association [0..*]
LEFT OUTER JOIN R_SrcgProjAllwdSuplrContact AS _SrcgProjAllwdSuplrContact ON SourcingProjectUUID = _SrcgProjAllwdSuplrContact.SourcingProjectUUID  -- association [0..*]
LEFT OUTER JOIN I_SourcingProjectMilestone AS _SourcingProjectMilestone ON SourcingProjectUUID = _SourcingProjectMilestone.SourcingProjectUUID  -- association [0..*]
LEFT OUTER JOIN I_Currency AS _DocumentCurrency ON DocumentCurrency = _DocumentCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_MaterialGroup AS _MaterialGroup ON MaterialGroup = _MaterialGroup.MaterialGroup  -- association [0..1]
LEFT OUTER JOIN I_PurchasingGroup AS _PurchasingGroup ON PurchasingGroup = _PurchasingGroup.PurchasingGroup  -- association [0..1]
LEFT OUTER JOIN I_PurchasingOrganization AS _PurchasingOrganization ON PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization  -- association [0..1]
LEFT OUTER JOIN I_SourcingProjectType AS _SourcingProjectType ON SourcingProjectType = _SourcingProjectType.SourcingProjectType  -- association [0..1]
LEFT OUTER JOIN I_SourcingProjectPhase AS _SourcingProjectPhase ON SourcingProjectPhase = _SourcingProjectPhase.SourcingProjectPhase  -- association [0..1]
LEFT OUTER JOIN I_SrcgProjLifecycleStatus AS _SrcgProjLifecycleStatus ON SrcgProjLifecycleStatus = _SrcgProjLifecycleStatus.SrcgProjLifecycleStatus  -- association [0..1]
LEFT OUTER JOIN I_SrcgProjTmplLfcycStatus AS _SrcgProjTmplLfcycStatus ON SrcgProjTemplateLfcycSts = _SrcgProjTmplLfcycStatus.SrcgProjTemplateLfcycSts  -- association [0..1]
LEFT OUTER JOIN I_SrcgProjPubdSuplrListBP AS _SrcgProjPubdSuplrListBP ON SourcingProjectUUID = _SrcgProjPubdSuplrListBP.SourcingProjectUUID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _CreatedByUser ON CreatedByUser = _CreatedByUser.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _ChangedByUser ON LastChangedByUser = _ChangedByUser.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_EmplContactCard AS _PurchaserResponsible ON PurchaserRespWorkAgreement = _PurchaserResponsible.PersonWorkAgreement  -- association [0..1]
LEFT OUTER JOIN R_SourcingProject AS _SourceSourcingProject ON SourceSourcingProjectUUID = _SourceSourcingProject.SourcingProjectUUID  -- association [0..1]
LEFT OUTER JOIN R_SrcgProjContributionForUser AS _ContributionForUser ON SourcingProjectUUID = _ContributionForUser.SourcingProjectUUID  -- association [0..1]
LEFT OUTER JOIN R_SrcgProjPLMCollaboration AS _SrcgProjPLMCollaboration ON SourcingProjectUUID = _SrcgProjPLMCollaboration.SourcingProjectUUID  -- association [1..1]
LEFT OUTER JOIN R_SrcgProjPLMCollabnPrtcpnt AS _SrcgProjPLMCollabnPrtcpnt ON SourcingProjectUUID = _SrcgProjPLMCollabnPrtcpnt.SourcingProjectUUID  -- association [0..*]
LEFT OUTER JOIN I_SrcgProjActiveBackgroundJob AS _SrcgProjActiveBackgroundJob ON SrcgProjActiveBackgroundJob = _SrcgProjActiveBackgroundJob.SrcgProjActiveBackgroundJob  -- association [0..1]
;