P_RAAnlytsQtyByUnitSSPrice

DDL: P_RAANLYTSQTYBYUNITSSPRICE Type: view_entity COMPOSITE Package: ODATA_FARR_FIN_COMPLIANCE

Count POB by Unit SSP

P_RAAnlytsQtyByUnitSSPrice is a Composite CDS View that provides data about "Count POB by Unit SSP" in SAP S/4HANA. It reads from 1 data source (P_RAAnlytsUnitPriceByItem) and exposes 6 fields with key fields PerformanceObligationClass, SalesDocumentCurrency, UnitSSPriceInSalesDocCrcy, PerfOblgnContractualQtyUnit, PerfOblgnEffectiveQuantityUnit. Part of development package ODATA_FARR_FIN_COMPLIANCE.

Data Sources (1)

SourceAliasJoin Type
P_RAAnlytsUnitPriceByItem _RAAnlytsUnitPriceByItem from

Parameters (2)

NameTypeDefault
P_StartDate farr_effective_date
P_EndDate farr_effective_date

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY PerformanceObligationClass P_RAAnlytsUnitPriceByItem PerformanceObligationClass Performance Obligation Name
KEY SalesDocumentCurrency P_RAAnlytsUnitPriceByItem SalesDocumentCurrency Currency
KEY UnitSSPriceInSalesDocCrcy P_RAAnlytsUnitPriceByItem UnitSSPriceInSalesDocCrcy
KEY PerfOblgnContractualQtyUnit P_RAAnlytsUnitPriceByItem PerfOblgnContractualQtyUnit Unit of Measure
KEY PerfOblgnEffectiveQuantityUnit P_RAAnlytsUnitPriceByItem PerfOblgnEffectiveQuantityUnit Unit of Measure
CountNumber

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_RAAnlytsQtyByUnitSSPrice.
-- 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_StartDate : farr_effective_date, P_EndDate : farr_effective_date

CREATE VIEW P_RAAnlytsQtyByUnitSSPrice AS
SELECT
  _RAAnlytsUnitPriceByItem.PerformanceObligationClass AS PerformanceObligationClass,
  _RAAnlytsUnitPriceByItem.SalesDocumentCurrency AS SalesDocumentCurrency,
  _RAAnlytsUnitPriceByItem.UnitSSPriceInSalesDocCrcy AS UnitSSPriceInSalesDocCrcy,
  _RAAnlytsUnitPriceByItem.PerfOblgnContractualQtyUnit AS PerfOblgnContractualQtyUnit,
  _RAAnlytsUnitPriceByItem.PerfOblgnEffectiveQuantityUnit AS PerfOblgnEffectiveQuantityUnit,
  count(distinct _RAAnlytsUnitPriceByItem.PerformanceObligation) AS CountNumber
FROM P_RAAnlytsUnitPriceByItem AS _RAAnlytsUnitPriceByItem
;