C_SrcgProjQuotationCompare_2

DDL: C_SRCGPROJQUOTATIONCOMPARE_2 Type: view_entity CONSUMPTION

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)

SourceAliasJoin Type
R_SourcingProjectQuotation R_SourcingProjectQuotation from

Parameters (1)

NameTypeDefault
P_DisplayCurrency displaycurrency

Associations (7)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;