P_SrcgProjPendingQtnWthDate

DDL: P_SRCGPROJPENDINGQTNWTHDATE SQL: PSRCGPRJPNDQTD Type: view CONSUMPTION Package: ODATA_MM_PUR_PROD_SRCG_OVP

Sourcing Project Pending Quotations with Date filters

P_SrcgProjPendingQtnWthDate is a Consumption CDS View that provides data about "Sourcing Project Pending Quotations with Date filters" in SAP S/4HANA. It reads from 1 data source (P_SrcgProjectPendingQuotation) and exposes 11 fields with key field SourcingProjectQuotationUUID. Part of development package ODATA_MM_PUR_PROD_SRCG_OVP.

Data Sources (1)

SourceAliasJoin Type
P_SrcgProjectPendingQuotation P_SrcgProjectPendingQuotation from

Parameters (2)

NameTypeDefault
P_StartDate vdm_srcgprojcreationdate
P_EndDate vdm_srcgprojcreationdate

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PSRCGPRJPNDQTD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #CONSUMPTION view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY SourcingProjectQuotationUUID SourcingProjectQuotationUUID Supplier Quotation UUID
SourcingProjectQuotation SourcingProjectQuotation Supplier Quotation
SrcgProjQtnLifecycleStatus SrcgProjQtnLifecycleStatus Status
QtnLatestSubmissionDate QtnLatestSubmissionDate
SourcingProjectQuotationType SourcingProjectQuotationType Sourcing Project Quotation Type
Bidder Bidder Business Partner
MaterialGroup MaterialGroup Product Group
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
CompanyCode CompanyCode Receiver Company Code
QtanPndgWeeksToSubmsnDdln

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_SrcgProjPendingQtnWthDate.
-- 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: PSRCGPRJPNDQTD
-- Parameters: P_StartDate : vdm_srcgprojcreationdate, P_EndDate : vdm_srcgprojcreationdate

CREATE VIEW P_SrcgProjPendingQtnWthDate AS
SELECT
  SourcingProjectQuotationUUID,
  SourcingProjectQuotation,
  SrcgProjQtnLifecycleStatus,
  QtnLatestSubmissionDate,
  SourcingProjectQuotationType,
  Bidder,
  MaterialGroup,
  PurchasingOrganization,
  PurchasingGroup,
  CompanyCode,
  division(dats_days_between(today , QtnLatestSubmissionDate ),7,2) AS QtanPndgWeeksToSubmsnDdln
FROM P_SrcgProjectPendingQuotation
;