P_SrcgProjOfferedQtnItemRatio

DDL: P_SRCGPROJOFFEREDQTNITEMRATIO Type: view_entity COMPOSITE Package: VDM_MM_PUR_SRCGPROJ

Nr of offered and refused Itms per Qtn

P_SrcgProjOfferedQtnItemRatio is a Composite CDS View that provides data about "Nr of offered and refused Itms per Qtn" in SAP S/4HANA. It reads from 1 data source (I_SourcingProjectQuotation) and exposes 3 fields with key field SourcingProjectQuotationUUID. Part of development package VDM_MM_PUR_SRCGPROJ.

Data Sources (1)

SourceAliasJoin Type
I_SourcingProjectQuotation I_SourcingProjectQuotation from

Annotations (4)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY SourcingProjectQuotationUUID SourcingProjectQuotationUUID Supplier Quotation UUID
NumberOfRefusedSrcgProjQtnItem
NumberOfSrcgProjQtnItem

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 P_SrcgProjOfferedQtnItemRatio.
-- 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 P_SrcgProjOfferedQtnItemRatio AS
SELECT
  SourcingProjectQuotationUUID,
  count ( distinct _SrcgProjQtnItem[SrcgProjQtnItemOfferingCode = '02'].SourcingProjectItemStableUUID ) AS NumberOfRefusedSrcgProjQtnItem,
  count ( distinct _SrcgProjQtnItem.SourcingProjectItemStableUUID ) AS NumberOfSrcgProjQtnItem
FROM I_SourcingProjectQuotation
;