I_SlsQtanCnvrsnRateAnalytics

DDL: I_SLSQTANCNVRSNRATEANALYTICS SQL: ISDSQCRA Type: view COMPOSITE Package: VDM_SD_ANALYTICS

Sales Quotation Conversion Rate Analytics

I_SlsQtanCnvrsnRateAnalytics is a Composite CDS View that provides data about "Sales Quotation Conversion Rate Analytics" in SAP S/4HANA. It reads from 1 data source (I_SalesQuotationItemAnalytics) and exposes 30 fields with key fields SalesQuotation, SalesQuotationItem. It has 3 associations to related views. Part of development package VDM_SD_ANALYTICS.

Data Sources (1)

SourceAliasJoin Type
I_SalesQuotationItemAnalytics SQIA from

Parameters (1)

NameTypeDefault
P_Date sydate

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_PersonWorkAgreement_1 _SalesEmployee $projection.SalesEmployee = _SalesEmployee.PersonWorkAgreement
[0..1] I_PersonWorkAgreement_1 _ResponsibleEmployee $projection.ResponsibleEmployee = _ResponsibleEmployee.PersonWorkAgreement
[0..1] E_SalesDocumentItemBasic _Extension $projection.SalesQuotation = _Extension.SalesDocument and $projection.SalesQuotationItem = _Extension.SalesDocumentItem

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Sales Quotation Conversion Rate Analytics view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName ISDSQCRA view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY SalesQuotation
KEY SalesQuotationItem
SalesQuotationType I_SalesQuotationItemAnalytics SalesDocumentType Sales Doc. Type
SalesQuotationItemType I_SalesQuotationItemAnalytics SalesDocumentItemType
SalesOrganization I_SalesQuotationItemAnalytics SalesOrganization Sales Organization
_SalesOrganization I_SalesQuotationItemAnalytics _SalesOrganization
DistributionChannel I_SalesQuotationItemAnalytics DistributionChannel RefDistCh-Cust/Mat.
_DistributionChannel I_SalesQuotationItemAnalytics _DistributionChannel
OrganizationDivision I_SalesQuotationItemAnalytics OrganizationDivision Org. Division
_OrganizationDivision I_SalesQuotationItemAnalytics _OrganizationDivision
SalesOffice I_SalesQuotationItemAnalytics SalesOffice Sales Office
_SalesOffice I_SalesQuotationItemAnalytics _SalesOffice
SalesGroup I_SalesQuotationItemAnalytics SalesGroup Sales Group
_SalesGroup I_SalesQuotationItemAnalytics _SalesGroup
SoldToParty I_SalesQuotationItemAnalytics SoldToParty Sold-to Party
_SoldToParty I_SalesQuotationItemAnalytics _SoldToParty
ResponsibleEmployee
_ResponsibleEmployee _ResponsibleEmployee
SalesEmployee
_SalesEmployee _SalesEmployee
CreationDate I_SalesQuotationItemAnalytics CreationDate Time Stamp
BindingPeriodValidityStartDate I_SalesQuotationItemAnalytics BindingPeriodValidityStartDate
BindingPeriodValidityEndDate I_SalesQuotationItemAnalytics BindingPeriodValidityEndDate Binding Period
Material I_SalesQuotationItemAnalytics Material Vehicle Model
_Material I_SalesQuotationItemAnalytics _Material
Product I_SalesQuotationItemAnalytics Product Product Sold
_Product I_SalesQuotationItemAnalytics _Product
TransactionCurrency I_SalesQuotationItemAnalytics TransactionCurrency Transaction Currency
_TransactionCurrency I_SalesQuotationItemAnalytics _TransactionCurrency
SalesQuotationNetAmount I_SalesQuotationItemAnalytics SalesQuotationNetAmount

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 I_SlsQtanCnvrsnRateAnalytics.
-- 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: ISDSQCRA
-- Parameters: P_Date : sydate

CREATE VIEW I_SlsQtanCnvrsnRateAnalytics AS
SELECT
  cast(SQIA.SalesDocument as sales_quotation preserving type) AS SalesQuotation,
  cast(SQIA.SalesDocumentItem as sales_quotation_item preserving type) AS SalesQuotationItem,
  SQIA.SalesDocumentType AS SalesQuotationType,
  SQIA.SalesDocumentItemType AS SalesQuotationItemType,
  SQIA.SalesOrganization AS SalesOrganization,
  SQIA._SalesOrganization AS _SalesOrganization,
  SQIA.DistributionChannel AS DistributionChannel,
  SQIA._DistributionChannel AS _DistributionChannel,
  SQIA.OrganizationDivision AS OrganizationDivision,
  SQIA._OrganizationDivision AS _OrganizationDivision,
  SQIA.SalesOffice AS SalesOffice,
  SQIA._SalesOffice AS _SalesOffice,
  SQIA.SalesGroup AS SalesGroup,
  SQIA._SalesGroup AS _SalesGroup,
  SQIA.SoldToParty AS SoldToParty,
  SQIA._SoldToParty AS _SoldToParty,
  cast(COALESCE(ItemPartner.ResponsibleEmployeeWorkAgrmt, HeaderPartner.ResponsibleEmployeeWorkAgrmt) as resp_empl) AS ResponsibleEmployee,
  cast(COALESCE(ItemPartner.SalesEmployeeWorkAgreement, HeaderPartner.SalesEmployeeWorkAgreement) as sales_empl) AS SalesEmployee,
  SQIA.CreationDate AS CreationDate,
  SQIA.BindingPeriodValidityStartDate AS BindingPeriodValidityStartDate,
  SQIA.BindingPeriodValidityEndDate AS BindingPeriodValidityEndDate,
  SQIA.Material AS Material,
  SQIA._Material AS _Material,
  SQIA.Product AS Product,
  SQIA._Product AS _Product,
  SQIA.TransactionCurrency AS TransactionCurrency,
  SQIA._TransactionCurrency AS _TransactionCurrency,
  SQIA.SalesQuotationNetAmount AS SalesQuotationNetAmount
FROM I_SalesQuotationItemAnalytics AS SQIA
LEFT OUTER JOIN I_PersonWorkAgreement_1 AS _SalesEmployee ON SalesEmployee = _SalesEmployee.PersonWorkAgreement  -- association [0..1]
LEFT OUTER JOIN I_PersonWorkAgreement_1 AS _ResponsibleEmployee ON ResponsibleEmployee = _ResponsibleEmployee.PersonWorkAgreement  -- association [0..1]
LEFT OUTER JOIN E_SalesDocumentItemBasic AS _Extension ON SalesQuotation = _Extension.SalesDocument AND SalesQuotationItem = _Extension.SalesDocumentItem  -- association [0..1]
;