P_SlowMoMatPredBOMCount

DDL: P_SLOWMOMATPREDBOMCOUNT SQL: PSLOWMOMATDATCNT Type: view COMPOSITE

P_SlowMoMatPredBOMCount is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_BOMItemHdrChangeState, P_SlowMoMatPredBOMDate) and exposes 5 fields with key fields EndDate, BillOfMaterial, Material, Plant.

Data Sources (2)

SourceAliasJoin Type
I_BOMItemHdrChangeState bom left_outer
P_SlowMoMatPredBOMDate P_SlowMoMatPredBOMDate from

Parameters (1)

NameTypeDefault
P_KeyDate nsdm_reference_date

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PSLOWMOMATDATCNT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY EndDate cal EndDate Term to
KEY BillOfMaterial BillOfMaterial BOM
KEY Material BillOfMaterialComponent Component
KEY Plant Plant Valuation Area
Counter

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_SlowMoMatPredBOMCount.
-- 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: PSLOWMOMATDATCNT
-- Parameters: P_KeyDate : nsdm_reference_date

CREATE VIEW P_SlowMoMatPredBOMCount AS
SELECT
  cal.EndDate AS EndDate,
  BillOfMaterial,
  BillOfMaterialComponent AS Material,
  Plant,
  cast( 1 as abap.int4 ) AS Counter
FROM P_SlowMoMatPredBOMDate
LEFT OUTER JOIN I_BOMItemHdrChangeState AS bom ON /* join condition not captured in parsed metadata */
;