I_JITForecastMatching

DDL: I_JITFORECASTMATCHING SQL: IJITFCSTMTCHG Type: view COMPOSITE

JIT Forecast Matching

I_JITForecastMatching is a Composite CDS View that provides data about "JIT Forecast Matching" in SAP S/4HANA. It reads from 9 data sources and exposes 57 fields. It has 5 associations to related views.

Data Sources (9)

SourceAliasJoin Type
I_JITSalesRequirements I_JITSalesRequirements union_all
I_SlsSchedgAgrmtIncgSchdLn I_SlsSchedgAgrmtIncgSchdLn from
I_SlsSchedgAgrmtIncgSchdLn I_SlsSchedgAgrmtIncgSchdLn union_all
I_JITCallCompGroupBasic JITCallCompGroupBasic inner
I_JITCallCompGroupBasic JITCallCompGroupBasic inner
I_JITCallCompMaterialBasic JITCallCompMaterialBasic union_all
I_JITCallCompMaterialBasic JITCallCompMaterialBasic union_all
I_JITCallHeaderBasic JITCallHeaderBasic inner
I_JITCallHeaderBasic JITCallHeaderBasic inner

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_Customer _SoldToParty $projection.SoldToParty = _SoldToParty.Customer
[0..1] I_Customer _ShipToParty $projection.ShipToParty = _ShipToParty.Customer
[0..1] I_Product _Product $projection.Material = _Product.Product
[0..1] I_ProductUnitsOfMeasure _ProductUnitsOfMeasure JITCallCompMaterialBasic.Material = _ProductUnitsOfMeasure.Product and JITCallCompMaterialBasic.QuantityUnit = _ProductUnitsOfMeasure.AlternativeUnit
[0..1] I_JITPlant _JITPlant $projection.Plant = _JITPlant.Plant

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IJITFCSTMTCHG view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label JIT Forecast Matching view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (57)

KeyFieldSource TableSource FieldDescription
SalesSchedulingAgreement SalesSchedulingAgreement Sales Document
SalesSchedulingAgreementItem SalesSchedulingAgreementItem Item
Material Product Vehicle Model
Plant Plant Valuation Area
SoldToParty SoldToParty Sold-to Party
ShipToParty ShipToParty Ship-To Party (obsolete)
RequirementDate Mat.Avail.Date
ScheduleLineOrderQuantity ScheduleLineOrderQuantity PBE Entry Open Qty
RequestedQuantity
QuantityUnit OrderQuantityUnit Unit of measure
JITFcstMtchgViewType
_SoldToParty _SoldToParty
CustomerSalesSchedulingAgreement
SalesSchedulingAgreementItem SalesSchedulingAgreementItem Item
Material Product Vehicle Model
Plant Plant Valuation Area
SoldToParty SoldToParty Sold-to Party
ShipToParty ShipToParty Ship-To Party (obsolete)
RequirementDate Mat.Avail.Date
ScheduleLineOrderQuantity ScheduleLineOrderQuantity PBE Entry Open Qty
RequestedQuantity
QuantityUnit OrderQuantityUnit Unit of measure
JITFcstMtchgViewType
_SoldToParty _SoldToParty
SalesSchedulingAgreementItem SalesOrderItem Item
Material Material Vehicle Model
Plant I_JITCallCompGroupBasic Plant Valuation Area
SoldToParty I_JITCallHeaderBasic SoldToParty Sold-to Party
ShipToParty I_JITCallHeaderBasic ShipToParty Ship-To Party (obsolete)
clientNULLasRequirementDate
ScheduleLineOrderQuantity PBE Entry Open Qty
QuantityUnit QuantityUnit Unit of measure
JITFcstMtchgViewType
_SoldToParty _SoldToParty
SalesSchedulingAgreementItem SalesOrderItem Item
Material Material Vehicle Model
Plant I_JITCallCompGroupBasic Plant Valuation Area
SoldToParty I_JITCallHeaderBasic SoldToParty Sold-to Party
ShipToParty I_JITCallHeaderBasic ShipToParty Ship-To Party (obsolete)
clientNULLasRequirementDate
ScheduleLineOrderQuantity PBE Entry Open Qty
QuantityUnit _Product BaseUnit Unit of measure
JITFcstMtchgViewType
_SoldToParty _SoldToParty
CustomerSalesSchedulingAgreement
SalesSchedulingAgreementItem SalesSchedulingAgreementItem Item
Material Material Vehicle Model
Plant Plant Valuation Area
SoldToParty SoldToParty Sold-to Party
ShipToParty ShipToParty Ship-To Party (obsolete)
RequirementDate MaterialAvailabilityDate Mat.Avail.Date
ScheduleLineOrderQuantity OpenQuantity PBE Entry Open Qty
RequestedQuantity
QuantityUnit QuantityUnit Unit of measure
JITFcstMtchgViewType
_SoldToParty _SoldToParty
_ShipToParty _ShipToParty

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_JITForecastMatching.
-- 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: IJITFCSTMTCHG

CREATE VIEW I_JITForecastMatching AS
SELECT
  SalesSchedulingAgreement,
  SalesSchedulingAgreementItem,
  Product AS Material,
  Plant,
  SoldToParty,
  ShipToParty,
  cast(SalesSchedgAgrmtPeriodName as dats) AS RequirementDate,
  ScheduleLineOrderQuantity,
  cast(0 as njit_req_quan) AS RequestedQuantity,
  OrderQuantityUnit AS QuantityUnit,
  cast('1'as njit_fcst_mtchg_view_type) AS JITFcstMtchgViewType,
  tstmp_to_dats(JITCallCompGroupBasic.RequirementDateTime,_ShipToParty._AddressDefaultRepresentation.AddressTimeZone, $session.client, 'NULL') as RequirementDate AS clientNULLasRequirementDate
FROM I_SlsSchedgAgrmtIncgSchdLn
INNER JOIN I_JITCallCompGroupBasic AS JITCallCompGroupBasic ON /* join condition not captured in parsed metadata */
INNER JOIN I_JITCallHeaderBasic AS JITCallHeaderBasic ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Customer AS _SoldToParty ON SoldToParty = _SoldToParty.Customer  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _ShipToParty ON ShipToParty = _ShipToParty.Customer  -- association [0..1]
LEFT OUTER JOIN I_Product AS _Product ON Material = _Product.Product  -- association [0..1]
LEFT OUTER JOIN I_ProductUnitsOfMeasure AS _ProductUnitsOfMeasure ON JITCallCompMaterialBasic.Material = _ProductUnitsOfMeasure.Product AND JITCallCompMaterialBasic.QuantityUnit = _ProductUnitsOfMeasure.AlternativeUnit  -- association [0..1]
LEFT OUTER JOIN I_JITPlant AS _JITPlant ON Plant = _JITPlant.Plant  -- association [0..1]
-- UNION ALL with additional select branch(es): I_SlsSchedgAgrmtIncgSchdLn, I_JITCallCompMaterialBasic, I_JITSalesRequirements
;