C_SrcgProjQuotationCompare_2
Sourcing Project Quotation
C_SrcgProjQuotationCompare_2 is a Consumption CDS View that provides data about "Sourcing Project Quotation" in SAP S/4HANA. It reads from 1 data source (R_SourcingProjectQuotation) and exposes 44 fields with key field SourcingProjectQuotationUUID. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_SourcingProjectQuotation | R_SourcingProjectQuotation | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_DisplayCurrency | displaycurrency |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_BusinessPartnerSupplier | _BusinessPartnerSupplier | $projection.Bidder = _BusinessPartnerSupplier.BusinessPartner |
| [0..1] | P_SrcgProjQuotationDeviation | _SrcgProjQuotationDeviation | $projection.SourcingProjectQuotationUUID = _SrcgProjQuotationDeviation.SourcingProjectQuotationUUID |
| [0..1] | I_UnitOfMeasure | _UnitOfMeasure | _UnitOfMeasure.UnitOfMeasure = '%' |
| [0..*] | I_SrcgProjQtnSuitabilityTxt | _SrcgProjQtnSuitabilityTxt | $projection.SrcgProjQtnSuitability = _SrcgProjQtnSuitabilityTxt.SrcgProjQtnSuitability |
| [1..1] | E_SourcingProjectQuotation | _Extension | $projection.SourcingProjectQuotationUUID = _Extension.SourcingProjectQuotationUUID |
| [0..1] | R_SourcingProjectNegotiation | _SourcingProjectNegotiation | $projection.SourcingProjectNegotiationUUID = _SourcingProjectNegotiation.SourcingProjectNegotiationUUID |
| [0..1] | I_Country | _Country | $projection.country = _Country.Country |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.representativeKey | SourcingProjectQuotationUUID | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| OData.entityType.name | SourcingProjectQuotation_Type | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Sourcing Project Quotation | view | |
| Search.searchable | true | view |
Fields (44)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SourcingProjectQuotationUUID | SourcingProjectQuotationUUID | Supplier Quotation UUID | |
| SourcingProjectQuotation | SourcingProjectQuotation | Supplier Quotation | ||
| SrcgProjQuotationVersion | SrcgProjQuotationVersion | Version | ||
| SrcgProjQuotationIsSimulated | SrcgProjQuotationIsSimulated | Simulated | ||
| SourcingProjectQuotationName | SourcingProjectQuotationName | Name | ||
| SrcgProjQtnLifecycleStatus | SrcgProjQtnLifecycleStatus | Status | ||
| Bidder | Bidder | Business Partner | ||
| Country | ||||
| BusinessPartnerName | _BusinessPartner | BusinessPartnerName | Extracted Customer Name | |
| Supplier | _BusinessPartnerSupplier | Supplier | Supplier | |
| SourcingProject | _SourcingProject | SourcingProject | Sourcing Project | |
| SourcingProjectVersion | _SourcingProject | SourcingProjectVersion | Sourcing Project Version | |
| SrcgProjLifecycleStatus | _SourcingProject | SrcgProjLifecycleStatus | Status | |
| DocumentCurrency | _SourcingProject | DocumentCurrency | Document Currency | |
| ExchangeRateType | _SourcingProject | ExchangeRateType | Exch. Rate Type | |
| DisplayCurrency | ||||
| SrcgProjQtnOfferCurrency | SrcgProjQtnOfferCurrency | Quotation Currency | ||
| SrcgProjQtnDeviationAmount | _SrcgProjQuotationDeviation | SrcgProjQtnDeviationAmount | Deviation (in Quotation Currency) | |
| SrcgProjQtnDeviationPercent | _SrcgProjQuotationDeviation | SrcgProjQtnDeviationPercent | ||
| UnitOfMeasure | _UnitOfMeasure | UnitOfMeasure | Unit Protected Qty | |
| SourcingProjectQuotationType | SourcingProjectQuotationType | Sourcing Project Quotation Type | ||
| SourcingProjectUUID | SourcingProjectUUID | Sourcing Project UUID | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| SrcgProjQtnSuitability | SrcgProjQtnSuitability | Suitability | ||
| SrcgProjQtnSuitabilityText | Suitability | |||
| IsEndOfPurposeBlocked | IsEndOfPurposeBlocked | Busin. Purp. Cmpltd. | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| PurchasingCategory | PurchasingCategory | Purchasing Category | ||
| UICT_InAwarding | ||||
| UICT_InNegotiation | ||||
| UICT_CurrencyConversionError | ||||
| SourcingProjectNegotiationUUID | SourcingProjectNegotiationUUID | Negotiation UUID | ||
| SourcingProjectNegotiationType | _SourcingProjectNegotiation | SourcingProjectNegotiationType | Negotiation Type | |
| SourcingEnvelopeOverallStatus | SourcingEnvelopeOverallStatus | |||
| _SourcingProject | _SourcingProject | |||
| _SrcgProjQtnLifecycleSts | _SrcgProjQtnLifecycleSts | |||
| _BusinessPartner | _BusinessPartner | |||
| _CompanyCode | _CompanyCode | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _SrcgProjQtnSuitabilityTxt | _SrcgProjQtnSuitabilityTxt | |||
| _PurchasingGroup | _PurchasingGroup | |||
| _Country | _Country |
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 C_SrcgProjQuotationCompare_2.
-- 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.
-- Parameters: P_DisplayCurrency : displaycurrency
CREATE VIEW C_SrcgProjQuotationCompare_2 AS
SELECT
SourcingProjectQuotationUUID,
SourcingProjectQuotation,
SrcgProjQuotationVersion,
SrcgProjQuotationIsSimulated,
SourcingProjectQuotationName,
SrcgProjQtnLifecycleStatus,
Bidder,
_BusinessPartner._CurrentDefaultAddress._AddressDefaultRepresentation.Country AS Country,
_BusinessPartner.BusinessPartnerName AS BusinessPartnerName,
_BusinessPartnerSupplier.Supplier AS Supplier,
_SourcingProject.SourcingProject AS SourcingProject,
_SourcingProject.SourcingProjectVersion AS SourcingProjectVersion,
_SourcingProject.SrcgProjLifecycleStatus AS SrcgProjLifecycleStatus,
_SourcingProject.DocumentCurrency AS DocumentCurrency,
_SourcingProject.ExchangeRateType AS ExchangeRateType,
$parameters.P_DisplayCurrency AS DisplayCurrency,
SrcgProjQtnOfferCurrency,
_SrcgProjQuotationDeviation.SrcgProjQtnDeviationAmount AS SrcgProjQtnDeviationAmount,
_SrcgProjQuotationDeviation.SrcgProjQtnDeviationPercent AS SrcgProjQtnDeviationPercent,
_UnitOfMeasure.UnitOfMeasure AS UnitOfMeasure,
SourcingProjectQuotationType,
SourcingProjectUUID,
CompanyCode,
PurchasingOrganization,
PurchasingGroup,
SrcgProjQtnSuitability,
_SrcgProjQtnSuitabilityTxt[1:Language = $session.system_language ].SrcgProjQtnSuitabilityText AS SrcgProjQtnSuitabilityText,
IsEndOfPurposeBlocked,
MaterialGroup,
PurchasingCategory,
cast ( '' as boole_d preserving type ) AS UICT_InAwarding,
cast ( '' as boole_d preserving type ) AS UICT_InNegotiation,
cast ( '' as boole_d preserving type ) AS UICT_CurrencyConversionError,
SourcingProjectNegotiationUUID,
_SourcingProjectNegotiation.SourcingProjectNegotiationType AS SourcingProjectNegotiationType,
SourcingEnvelopeOverallStatus
FROM R_SourcingProjectQuotation
LEFT OUTER JOIN I_BusinessPartnerSupplier AS _BusinessPartnerSupplier ON Bidder = _BusinessPartnerSupplier.BusinessPartner -- association [0..1]
LEFT OUTER JOIN P_SrcgProjQuotationDeviation AS _SrcgProjQuotationDeviation ON SourcingProjectQuotationUUID = _SrcgProjQuotationDeviation.SourcingProjectQuotationUUID -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON _UnitOfMeasure.UnitOfMeasure = '%' -- association [0..1]
LEFT OUTER JOIN I_SrcgProjQtnSuitabilityTxt AS _SrcgProjQtnSuitabilityTxt ON SrcgProjQtnSuitability = _SrcgProjQtnSuitabilityTxt.SrcgProjQtnSuitability -- association [0..*]
LEFT OUTER JOIN E_SourcingProjectQuotation AS _Extension ON SourcingProjectQuotationUUID = _Extension.SourcingProjectQuotationUUID -- association [1..1]
LEFT OUTER JOIN R_SourcingProjectNegotiation AS _SourcingProjectNegotiation ON SourcingProjectNegotiationUUID = _SourcingProjectNegotiation.SourcingProjectNegotiationUUID -- association [0..1]
LEFT OUTER JOIN I_Country AS _Country ON country = _Country.Country -- 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