I_MfgOrderSFILeadTimeCube

DDL: I_MFGORDERSFILEADTIMECUBE SQL: IMPESFILTMECU Type: view COMPOSITE Package: MPE_EXEC_ANALYTICS

Mfg Order SFI Lead Time - Cube

I_MfgOrderSFILeadTimeCube is a Composite CDS View (Cube) that provides data about "Mfg Order SFI Lead Time - Cube" in SAP S/4HANA. It reads from 3 data sources (P_PPH_ReportingDate3, P_SFILeadTimePerStatusAgg, P_SFIConfTimeTotals) and exposes 60 fields with key fields ShopFloorItem, OperationActivity, OpActyNtwkInstance, OperationActyVersionCounter. It has 5 associations to related views. Part of development package MPE_EXEC_ANALYTICS.

Data Sources (3)

SourceAliasJoin Type
P_PPH_ReportingDate3 Date inner
P_SFILeadTimePerStatusAgg LeadTimePerStatusAgg from
P_SFIConfTimeTotals SFIConfTimeTotals inner

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_UnitOfMeasure _LeadTimeUnit $projection.DurationUnit = _LeadTimeUnit.UnitOfMeasure
[1..1] I_WorkCenterBySemanticKey _WorkCenterBySemanticKey $projection.WorkCenter = _WorkCenterBySemanticKey.WorkCenter and $projection.ProductionPlant = _WorkCenterBySemanticKey.Plant
[1..1] I_CalendarDate _EntryDate $projection.CreationDate = _EntryDate.CalendarDate
[0..1] I_CalendarMonth _EntryDateMonth $projection.EntryDateMonth = _EntryDateMonth.CalendarMonth
[1..1] I_ReportingPeriod _ReportingPeriod $projection.ReportingPeriod = _ReportingPeriod.ReportingPeriod

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IMPESFILTMECU view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
Analytics.dataCategory #CUBE view
Analytics.internalName #LOCAL view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Mfg Order SFI Lead Time - Cube view

Fields (60)

KeyFieldSource TableSource FieldDescription
KEY ShopFloorItem P_SFIConfTimeTotals ShopFloorItem Serial.Mat. ID
KEY OperationActivity P_SFIConfTimeTotals OperationActivity Operation Activity
KEY OpActyNtwkInstance P_SFIConfTimeTotals OpActyNtwkInstance Instance ID
KEY OperationActyVersionCounter P_SFIConfTimeTotals OperationActyVersionCounter OA Version
Material
ManufacturingOrder P_SFIConfTimeTotals ManufacturingOrder Order
ManufacturingOrderItem
Operation
OperationText P_SFIConfTimeTotals OperationText Description
WorkCenter P_SFIConfTimeTotals WorkCenter Work Center
Plant P_SFIConfTimeTotals Plant Valuation Area
WorkCenterTypeCode P_SFIConfTimeTotals WorkCenterTypeCode Object Type
WorkCenterInternalID P_SFIConfTimeTotals WorkCenterInternalID Work Center
WorkCenterCategoryCode WorkCenterCategoryCode
ShopFloorItemExternalID P_SFIConfTimeTotals ShopFloorItemExternalID
LeadTimeUnit
DurationUnit
OverallProductionTimeUnit
ProcessingTimeInSeconds P_SFILeadTimePerStatusAgg ProcessingTimeInSeconds
QueueTimeInSeconds P_SFILeadTimePerStatusAgg QueueTimeInSeconds
TimePausedInSeconds P_SFILeadTimePerStatusAgg TimePausedInSeconds
TimeOnHoldInSeconds P_SFILeadTimePerStatusAgg TimeOnHoldInSeconds
TimeInBuyOffInSeconds P_SFILeadTimePerStatusAgg TimeInBuyOffInSeconds
OvrlProductionTimeInSeconds P_SFILeadTimePerStatusAgg OvrlProductionTimeInSeconds
MaxProcessingTimeInSeconds P_SFILeadTimePerStatusAgg MaxProcessingTimeInSeconds
MaxQueueTimeInSeconds P_SFILeadTimePerStatusAgg MaxQueueTimeInSeconds
MaxTimePausedInSeconds P_SFILeadTimePerStatusAgg MaxTimePausedInSeconds
MaxTimeOnHoldInSeconds P_SFILeadTimePerStatusAgg MaxTimeOnHoldInSeconds
MaxTimeInBuyOffInSeconds P_SFILeadTimePerStatusAgg MaxTimeInBuyOffInSeconds
MRPArea
ProductionPlant P_SFIConfTimeTotals ProductionPlant Prod plnt
SerialNumber P_SFIConfTimeTotals SerialNumber Serial Number
OperationActivityNetwork
OpActyNtwkVersionCounter
OpActyNtwkElement P_SFIConfTimeTotals OpActyNtwkElement Element Number
OpActyNtwkElementElement P_SFIConfTimeTotals OpActyNtwkElementElement Operation Activity
OpActyNtwkElementElmntVersCntr P_SFIConfTimeTotals OpActyNtwkElementElmntVersCntr OA Version
OpActyNtwkElementType P_SFIConfTimeTotals OpActyNtwkElementType
OrderIntBillOfOperationsItem OrderIntBillOfOperationsItem Order Internal Bill of Operations Item
OrderInternalBillOfOperations P_SFIConfTimeTotals OrderInternalBillOfOperations Order Internal Bill of Operations
OrderOperationInternalID P_SFIConfTimeTotals OrderOperationInternalID
EntryDateWeek P_PPH_ReportingDate3 ReportingDateWeek
EntryDateMonth P_PPH_ReportingDate3 ReportingDateMonth
EntryDateYear P_PPH_ReportingDate3 ReportingDateYear
EntryDateYearMonth
ReportingPeriod
CreationDate CreationDate Time Stamp
_LeadTimeUnit _LeadTimeUnit
_OpActyNtwkInstance P_SFIConfTimeTotals _OpActyNtwkInstance
_Material
_MfgOrder P_SFIConfTimeTotals _MfgOrder
_OperationActivityInternalId P_SFIConfTimeTotals _OperationActivityInternalId
_ShopFloorItem P_SFIConfTimeTotals _ShopFloorItem
_WorkCenterBySemanticKey _WorkCenterBySemanticKey
_WorkCenterType P_SFIConfTimeTotals _WorkCenterType
_WorkCenter P_SFIConfTimeTotals _WorkCenter
_OrdInternalBillOfOperations _OrdInternalBillOfOperations
_Plant
AS01092017_EntryDateMonth
_ReportingPeriod _ReportingPeriod

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_MfgOrderSFILeadTimeCube.
-- 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: IMPESFILTMECU

CREATE VIEW I_MfgOrderSFILeadTimeCube AS
SELECT
  SFIConfTimeTotals.ShopFloorItem AS ShopFloorItem,
  SFIConfTimeTotals.OperationActivity AS OperationActivity,
  SFIConfTimeTotals.OpActyNtwkInstance AS OpActyNtwkInstance,
  SFIConfTimeTotals.OperationActyVersionCounter AS OperationActyVersionCounter,
  SFIConfTimeTotals._MfgOrder.Material AS Material,
  SFIConfTimeTotals.ManufacturingOrder AS ManufacturingOrder,
  cast(LeadTimePerStatusAgg._ShopFloorItem.ManufacturingOrderItem as manufacturingorderitem preserving type) AS ManufacturingOrderItem,
  cast(SFIConfTimeTotals.Operation as vornr_auf preserving type) AS Operation,
  SFIConfTimeTotals.OperationText AS OperationText,
  SFIConfTimeTotals.WorkCenter AS WorkCenter,
  SFIConfTimeTotals.Plant AS Plant,
  SFIConfTimeTotals.WorkCenterTypeCode AS WorkCenterTypeCode,
  SFIConfTimeTotals.WorkCenterInternalID AS WorkCenterInternalID,
  WorkCenterCategoryCode,
  SFIConfTimeTotals.ShopFloorItemExternalID AS ShopFloorItemExternalID,
  cast(LeadTimePerStatusAgg.DurationUnit as mpe_leadtime_uom preserving type) AS LeadTimeUnit,
  cast(LeadTimePerStatusAgg.DurationUnit as durationunit preserving type) AS DurationUnit,
  cast(SFIConfTimeTotals.OverallProductionTimeUnit as mpe_overall_time_uom preserving type ) AS OverallProductionTimeUnit,
  LeadTimePerStatusAgg.ProcessingTimeInSeconds AS ProcessingTimeInSeconds,
  LeadTimePerStatusAgg.QueueTimeInSeconds AS QueueTimeInSeconds,
  LeadTimePerStatusAgg.TimePausedInSeconds AS TimePausedInSeconds,
  LeadTimePerStatusAgg.TimeOnHoldInSeconds AS TimeOnHoldInSeconds,
  LeadTimePerStatusAgg.TimeInBuyOffInSeconds AS TimeInBuyOffInSeconds,
  LeadTimePerStatusAgg.OvrlProductionTimeInSeconds AS OvrlProductionTimeInSeconds,
  LeadTimePerStatusAgg.MaxProcessingTimeInSeconds AS MaxProcessingTimeInSeconds,
  LeadTimePerStatusAgg.MaxQueueTimeInSeconds AS MaxQueueTimeInSeconds,
  LeadTimePerStatusAgg.MaxTimePausedInSeconds AS MaxTimePausedInSeconds,
  LeadTimePerStatusAgg.MaxTimeOnHoldInSeconds AS MaxTimeOnHoldInSeconds,
  LeadTimePerStatusAgg.MaxTimeInBuyOffInSeconds AS MaxTimeInBuyOffInSeconds,
  SFIConfTimeTotals._OpActyNtwkInstance._MfgOrder.MRPArea AS MRPArea,
  SFIConfTimeTotals.ProductionPlant AS ProductionPlant,
  SFIConfTimeTotals.SerialNumber AS SerialNumber,
  SFIConfTimeTotals._OpActyNtwkInstance._OperationActivityNetwork.OperationActivityNetwork AS OperationActivityNetwork,
  SFIConfTimeTotals._OpActyNtwkInstance.OpActyNtwkVersionCounter AS OpActyNtwkVersionCounter,
  SFIConfTimeTotals.OpActyNtwkElement AS OpActyNtwkElement,
  SFIConfTimeTotals.OpActyNtwkElementElement AS OpActyNtwkElementElement,
  SFIConfTimeTotals.OpActyNtwkElementElmntVersCntr AS OpActyNtwkElementElmntVersCntr,
  SFIConfTimeTotals.OpActyNtwkElementType AS OpActyNtwkElementType,
  OrderIntBillOfOperationsItem,
  SFIConfTimeTotals.OrderInternalBillOfOperations AS OrderInternalBillOfOperations,
  SFIConfTimeTotals.OrderOperationInternalID AS OrderOperationInternalID,
  Date.ReportingDateWeek AS EntryDateWeek,
  Date.ReportingDateMonth AS EntryDateMonth,
  Date.ReportingDateYear AS EntryDateYear,
  cast(concat(Date.ReportingDateYear, Date.ReportingDateMonth) as vdm_yearmonth) AS EntryDateYearMonth,
  cast(Date.ReportingPeriod as pph_reportingperiod preserving type) AS ReportingPeriod,
  CreationDate,
  SFIConfTimeTotals._OpActyNtwkInstance AS _OpActyNtwkInstance,
  SFIConfTimeTotals._MfgOrder._Material AS _Material,
  SFIConfTimeTotals._MfgOrder AS _MfgOrder,
  SFIConfTimeTotals._OperationActivityInternalId AS _OperationActivityInternalId,
  SFIConfTimeTotals._ShopFloorItem AS _ShopFloorItem,
  SFIConfTimeTotals._WorkCenterType AS _WorkCenterType,
  SFIConfTimeTotals._WorkCenter AS _WorkCenter,
  AS01092017 _EntryDateMonth AS AS01092017_EntryDateMonth
FROM P_SFILeadTimePerStatusAgg AS LeadTimePerStatusAgg
INNER JOIN P_SFIConfTimeTotals AS SFIConfTimeTotals ON /* join condition not captured in parsed metadata */
INNER JOIN P_PPH_ReportingDate3 AS Date ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_UnitOfMeasure AS _LeadTimeUnit ON DurationUnit = _LeadTimeUnit.UnitOfMeasure  -- association [1..1]
LEFT OUTER JOIN I_WorkCenterBySemanticKey AS _WorkCenterBySemanticKey ON WorkCenter = _WorkCenterBySemanticKey.WorkCenter AND ProductionPlant = _WorkCenterBySemanticKey.Plant  -- association [1..1]
LEFT OUTER JOIN I_CalendarDate AS _EntryDate ON CreationDate = _EntryDate.CalendarDate  -- association [1..1]
LEFT OUTER JOIN I_CalendarMonth AS _EntryDateMonth ON EntryDateMonth = _EntryDateMonth.CalendarMonth  -- association [0..1]
LEFT OUTER JOIN I_ReportingPeriod AS _ReportingPeriod ON ReportingPeriod = _ReportingPeriod.ReportingPeriod  -- association [1..1]
;