C_SrcgProjSuplrQtansBySts

DDL: C_SRCGPROJSUPLRQTANSBYSTS SQL: CSPSUPQBYSTS Type: view CONSUMPTION Package: ODATA_MM_PUR_PROD_SRCG_OVP

Consumption of Quotations By Status

C_SrcgProjSuplrQtansBySts is a Consumption CDS View that provides data about "Consumption of Quotations By Status" in SAP S/4HANA. It reads from 1 data source (P_SrcgProjSuplrQtansBySts) and exposes 17 fields. It has 5 associations to related views. It is exposed through 1 OData service (UI_PRODUCT_SOURCING_OVWP). Part of development package ODATA_MM_PUR_PROD_SRCG_OVP.

Data Sources (1)

SourceAliasJoin Type
P_SrcgProjSuplrQtansBySts P_SrcgProjSuplrQtansBySts from

Parameters (3)

NameTypeDefault
P_StartDate vdm_srcgprojcreationdate
P_EndDate vdm_srcgprojcreationdate
P_DateFunction datefunctionid

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..1] I_PurchasingGroup _PurchasingGroup $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup
[1..1] I_PurchasingOrganization _PurchasingOrganization $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization
[1..1] I_MaterialGroup _MaterialGroup $projection.MaterialGroup = _MaterialGroup.MaterialGroup
[1..1] I_SrcgProjQtnLifecycleSts _SrcgProjQtnLifecycleSts $projection.SrcgProjQtnLifecycleStatus = _SrcgProjQtnLifecycleSts.SrcgProjQtnLifecycleStatus

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CSPSUPQBYSTS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Consumption of Quotations By Status view

OData Services (1)

ServiceBindingVersionContractRelease
UI_PRODUCT_SOURCING_OVWP UI_PRODUCT_SOURCING V2 C1 NOT_RELEASED

Fields (17)

KeyFieldSource TableSource FieldDescription
resultElementDateFunctionStartDateTime
resultElementDateFunctionEndDateTime
P_StartDate
SourcingProjectQuotation SourcingProjectQuotation Supplier Quotation
SrcgProjQtnLifecycleStatus SrcgProjQtnLifecycleStatus Status
SrcgProjQtnLifecycleStatusName
CreationDate CreationDate Time Stamp
NumberOfQuotations
SourcingProjectQuotationType SourcingProjectQuotationType Sourcing Project Quotation Type
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
CompanyCode CompanyCode Receiver Company Code
MaterialGroup MaterialGroup Product Group
_CompanyCode _CompanyCode
_MaterialGroup _MaterialGroup
_PurchasingGroup _PurchasingGroup
_PurchasingOrganization _PurchasingOrganization

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_SrcgProjSuplrQtansBySts.
-- 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.
-- SQL view name: CSPSUPQBYSTS
-- Parameters: P_StartDate : vdm_srcgprojcreationdate, P_EndDate : vdm_srcgprojcreationdate, P_DateFunction : datefunctionid

CREATE VIEW C_SrcgProjSuplrQtansBySts AS
SELECT
  resultElement: 'DateFunctionStartDateTime' AS resultElementDateFunctionStartDateTime,
  resultElement: 'DateFunctionEndDateTime' AS resultElementDateFunctionEndDateTime,
  binding: [ { targetParameter: 'P_DateFunction', type: #PARAMETER, value : 'P_DateFunction' AS P_StartDate,
  SourcingProjectQuotation,
  SrcgProjQtnLifecycleStatus,
  _SrcgProjQtnLifecycleSts._Text[1: Language = $session.system_language].SrcgProjQtnLifecycleStatusName AS SrcgProjQtnLifecycleStatusName,
  CreationDate,
  cast(1 as mm_pur_ana_numbrofquotations) AS NumberOfQuotations,
  SourcingProjectQuotationType,
  PurchasingOrganization,
  PurchasingGroup,
  CompanyCode,
  MaterialGroup
FROM P_SrcgProjSuplrQtansBySts
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_PurchasingGroup AS _PurchasingGroup ON PurchasingGroup = _PurchasingGroup.PurchasingGroup  -- association [1..1]
LEFT OUTER JOIN I_PurchasingOrganization AS _PurchasingOrganization ON PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization  -- association [1..1]
LEFT OUTER JOIN I_MaterialGroup AS _MaterialGroup ON MaterialGroup = _MaterialGroup.MaterialGroup  -- association [1..1]
LEFT OUTER JOIN I_SrcgProjQtnLifecycleSts AS _SrcgProjQtnLifecycleSts ON SrcgProjQtnLifecycleStatus = _SrcgProjQtnLifecycleSts.SrcgProjQtnLifecycleStatus  -- association [1..1]
;