R_SourcingProjectQuotation
Quotation for Sourcing Project
R_SourcingProjectQuotation is a Basic CDS View that provides data about "Quotation for Sourcing Project" in SAP S/4HANA. It reads from 1 data source (mmsrcgprojqtn) and exposes 54 fields with key field SourcingProjectQuotationUUID. It has 14 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| mmsrcgprojqtn | mmsrcgprojqtn | from |
Associations (14)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | R_SourcingProject | _SourcingProject | $projection.SourcingProjectUUID = _SourcingProject.SourcingProjectUUID |
| [1..*] | R_SrcgProjQtnItem | _SrcgProjQtnItem | $projection.SourcingProjectQuotationUUID = _SrcgProjQtnItem.SourcingProjectQuotationUUID |
| [0..*] | R_SrcgProjQtnSupplierContact | _SrcgProjQtnSupplierContact | $projection.SourcingProjectQuotationUUID = _SrcgProjQtnSupplierContact.SourcingProjectQuotationUUID |
| [0..1] | I_Currency | _SrcgProjQtnOfferCurrency | $projection.SrcgProjQtnOfferCurrency = _SrcgProjQtnOfferCurrency.Currency |
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_PurchasingGroup | _PurchasingGroup | $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup |
| [0..1] | I_PurchasingOrganization | _PurchasingOrganization | $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization |
| [0..1] | I_SrcgProjQtnLifecycleSts | _SrcgProjQtnLifecycleSts | $projection.SrcgProjQtnLifecycleStatus = _SrcgProjQtnLifecycleSts.SrcgProjQtnLifecycleStatus |
| [0..1] | I_BusinessPartner | _BusinessPartner | $projection.Bidder = _BusinessPartner.BusinessPartner |
| [0..1] | I_UserContactCard | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.ContactCardID |
| [0..1] | I_UserContactCard | _ChangedByUser | $projection.LastChangedByUser = _ChangedByUser.ContactCardID |
| [0..1] | I_MaterialGroup | _MaterialGroup | $projection.MaterialGroup = _MaterialGroup.MaterialGroup |
| [0..1] | I_UnitOfMeasure | _DeviationPercentUnit | _DeviationPercentUnit.UnitOfMeasure = '%' |
| [0..1] | R_SourcingProjectQuotation | _SourceSrcgProjQuotation | $projection.SourceSrcgProjQuotationUUID = _SourceSrcgProjQuotation.SourcingProjectQuotationUUID |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | RSRCGPROJQTN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.representativeKey | SourcingProjectQuotationUUID | 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 | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Quotation for Sourcing Project | view |
Fields (54)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SourcingProjectQuotationUUID | sourcingprojectquotationuuid | Supplier Quotation UUID | |
| SourcingProjectQuotation | sourcingprojectquotation | Supplier Quotation | ||
| SrcgProjQuotationVersion | srcgprojquotationversion | Version | ||
| SourcingProjectQuotationType | sourcingprojectquotationtype | Sourcing Project Quotation Type | ||
| SourcingProjectQuotationName | sourcingprojectquotationname | Name | ||
| SrcgProjQuotationIsSimulated | srcgprojquotationissimulated | Simulated | ||
| Bidder | bidder | Business Partner | ||
| CompanyCode | companycode | Receiver Company Code | ||
| PurchasingGroup | purchasinggroup | Purchasing Group | ||
| PurchasingOrganization | purchasingorganization | Purchasing Organization | ||
| SrcgProjQtnOfferCurrency | srcgprojqtnoffercurrency | Quotation Currency | ||
| SrcgProjQtnTotNetAmt | srcgprojqtntotnetamt | Total Amount | ||
| SrcgProjQtnLifecycleStatus | srcgprojqtnlifecyclestatus | Status | ||
| SrcgProjQtnRevisionSts | srcgprojqtnrevisionsts | Revision Status | ||
| SrcgProjQtnActvtnSts | srcgprojqtnactvtnsts | Activation Status | ||
| SrcgProjQtnSubmsnSts | srcgprojqtnsubmsnsts | Submission Status | ||
| SrcgProjQtnAwardingStatus | srcgprojqtnawardingstatus | Awarding Status | ||
| SourcingProjectUUID | sourcingprojectuuid | Sourcing Project UUID | ||
| SourcingProjectNegotiationUUID | sourcingprojectnegotiationuuid | Negotiation UUID | ||
| PricingProcedure | pricingprocedure | Procedure | ||
| LastChangedByUser | lastchangedbyuser | User Name | ||
| CreatedByUser | createdbyuser | User Name | ||
| LastChangeDateTime | lastchangedatetime | Timestamp | ||
| CreationDateTime | creationdatetime | Timestamp | ||
| SrcgProjAttchsAreForbidden | srcgprojattchsareforbidden | Forbid Attachments | ||
| SrcgProjNotesAreForbidden | srcgprojnotesareforbidden | Forbid Notes | ||
| SourcingOrigin | sourcingorigin | Sourcing Origin | ||
| ExternalSourcingProjectQtnRef | externalsourcingprojectqtnref | External Reference | ||
| QtnLatestSubmissionDateTime | qtnlatestsubmissiondatetime | Submission Deadline | ||
| LogicalSystem | logicalsystem | Logical System | ||
| SourceSrcgProjQuotationUUID | sourcesrcgprojquotationuuid | UUID of Source Supplier Quotation | ||
| IsEndOfPurposeBlocked | iseopblocked | Business Usage Comp. | ||
| 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 | ||
| MaterialGroup | materialgroup | Product Group | ||
| SourcingAwardingDate | sourcingawardingdate | Awarded On | ||
| SrcgProjQtnSuitability | srcgprojqtnsuitability | Suitability | ||
| _SourcingProject | _SourcingProject | |||
| _SrcgProjQtnItem | _SrcgProjQtnItem | |||
| _SrcgProjQtnSupplierContact | _SrcgProjQtnSupplierContact | |||
| _CompanyCode | _CompanyCode | |||
| _PurchasingGroup | _PurchasingGroup | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _SrcgProjQtnOfferCurrency | _SrcgProjQtnOfferCurrency | |||
| _SrcgProjQtnLifecycleSts | _SrcgProjQtnLifecycleSts | |||
| _BusinessPartner | _BusinessPartner | |||
| _DeviationPercentUnit | _DeviationPercentUnit | |||
| _CreatedByUser | _CreatedByUser | |||
| _ChangedByUser | _ChangedByUser | |||
| _MaterialGroup | _MaterialGroup | |||
| _SourceSrcgProjQuotation | _SourceSrcgProjQuotation |
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_SourcingProjectQuotation.
-- 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_SourcingProjectQuotation AS
SELECT
SourcingProjectQuotationUUID,
SourcingProjectQuotation,
SrcgProjQuotationVersion,
SourcingProjectQuotationType,
SourcingProjectQuotationName,
SrcgProjQuotationIsSimulated,
Bidder,
CompanyCode,
PurchasingGroup,
PurchasingOrganization,
SrcgProjQtnOfferCurrency,
SrcgProjQtnTotNetAmt,
SrcgProjQtnLifecycleStatus,
SrcgProjQtnRevisionSts,
SrcgProjQtnActvtnSts,
SrcgProjQtnSubmsnSts,
SrcgProjQtnAwardingStatus,
SourcingProjectUUID,
SourcingProjectNegotiationUUID,
PricingProcedure,
LastChangedByUser,
CreatedByUser,
LastChangeDateTime,
CreationDateTime,
SrcgProjAttchsAreForbidden,
SrcgProjNotesAreForbidden,
SourcingOrigin,
ExternalSourcingProjectQtnRef,
QtnLatestSubmissionDateTime,
LogicalSystem,
SourceSrcgProjQuotationUUID,
iseopblocked AS IsEndOfPurposeBlocked,
CashDiscount1Days,
CashDiscount2Days,
CashDiscount1Percent,
CashDiscount2Percent,
NetPaymentDays,
MaterialGroup,
SourcingAwardingDate,
SrcgProjQtnSuitability
FROM mmsrcgprojqtn
LEFT OUTER JOIN R_SourcingProject AS _SourcingProject ON SourcingProjectUUID = _SourcingProject.SourcingProjectUUID -- association [0..1]
LEFT OUTER JOIN R_SrcgProjQtnItem AS _SrcgProjQtnItem ON SourcingProjectQuotationUUID = _SrcgProjQtnItem.SourcingProjectQuotationUUID -- association [1..*]
LEFT OUTER JOIN R_SrcgProjQtnSupplierContact AS _SrcgProjQtnSupplierContact ON SourcingProjectQuotationUUID = _SrcgProjQtnSupplierContact.SourcingProjectQuotationUUID -- association [0..*]
LEFT OUTER JOIN I_Currency AS _SrcgProjQtnOfferCurrency ON SrcgProjQtnOfferCurrency = _SrcgProjQtnOfferCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- 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_SrcgProjQtnLifecycleSts AS _SrcgProjQtnLifecycleSts ON SrcgProjQtnLifecycleStatus = _SrcgProjQtnLifecycleSts.SrcgProjQtnLifecycleStatus -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON Bidder = _BusinessPartner.BusinessPartner -- 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_MaterialGroup AS _MaterialGroup ON MaterialGroup = _MaterialGroup.MaterialGroup -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _DeviationPercentUnit ON _DeviationPercentUnit.UnitOfMeasure = '%' -- association [0..1]
LEFT OUTER JOIN R_SourcingProjectQuotation AS _SourceSrcgProjQuotation ON SourceSrcgProjQuotationUUID = _SourceSrcgProjQuotation.SourcingProjectQuotationUUID -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA