P_COOutputQuantitiesByOrder

DDL: P_COOUTPUTQUANTITIESBYORDER SQL: PFIOUTQTYBYORD Type: view COMPOSITE

P_COOutputQuantitiesByOrder is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_ProductCostCtrlgOrder, I_COActivityTypeTotalsByPeriod) and exposes 5 fields with key field ControllingObject.

Data Sources (2)

SourceAliasJoin Type
I_ProductCostCtrlgOrder _Order from
I_COActivityTypeTotalsByPeriod _Qty inner

Parameters (2)

NameTypeDefault
P_FromFiscalYearPeriod fis_jahrper
P_ToFiscalYearPeriod fis_jahrper

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PFIOUTQTYBYORD view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.preserveKey true view
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ControllingObject I_ProductCostCtrlgOrder ObjectInternalID Object number
OrderID I_ProductCostCtrlgOrder OrderID Order ID
CompanyCode CompanyCode Receiver Company Code
Plant Plant Valuation Area
CostCtrActivityTypeQtyUnit CostCtrActivityTypeQtyUnit

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_COOutputQuantitiesByOrder.
-- 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: PFIOUTQTYBYORD
-- Parameters: P_FromFiscalYearPeriod : fis_jahrper, P_ToFiscalYearPeriod : fis_jahrper

CREATE VIEW P_COOutputQuantitiesByOrder AS
SELECT
  _Order.ObjectInternalID AS ControllingObject,
  _Order.OrderID AS OrderID,
  CompanyCode,
  Plant,
  CostCtrActivityTypeQtyUnit
FROM I_ProductCostCtrlgOrder AS _Order
INNER JOIN I_COActivityTypeTotalsByPeriod AS _Qty ON /* join condition not captured in parsed metadata */
;