C_MfgOrdCompExcsConsmptQry

DDL: C_MFGORDCOMPEXCSCONSMPTQRY SQL: CPPMFGORCOMPECQ Type: view CONSUMPTION

Manufacturing Order Component Excess Consumption - Query

C_MfgOrdCompExcsConsmptQry is a Consumption CDS View that provides data about "Manufacturing Order Component Excess Consumption - Query" in SAP S/4HANA. It is used in 1 Fiori application: Excess Component Consumption.

Parameters (3)

NameTypeDefault
P_Language sylangu
P_ReportingStartDate vdm_performanceperiodstartdate
P_ReportingEndDate vdm_performanceperiodenddate

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CPPMFGORCOMPECQ view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
Analytics.query true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.modelingPattern #ANALYTICAL_QUERY view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
OData.publish true view
VDM.viewType #CONSUMPTION view
EndUserText.label Manufacturing Order Component Excess Consumption - Query view

Fiori Apps (1)

App IDApp NameTypeDescription
F2171 Excess Component Consumption Analytical The excess component consumption report compares the expected component scrap percentage defined in the BOM item with actual excess consumption recorded during production

Excess Component Consumption

Business Role: Production Planner

With this app you can compare the expected component scrap percentage defined in the BOM item with the actual excess consumption recorded in the production confirmation. You can analyze the problems that created the largest excess component consumption in the past and search for means to prevent these problems in the future. Excess component consumption puts the component supply at risk but can be lowered by this app. Starting from the top three materials with maximum component scrap deviation, you can perform a step-by-step analysis for a specific time period and uncover numerous insights to improve your planning and take other appropriate action to achieve a more reliable component supply for production.

Fields (42)

KeyFieldSource TableSource FieldDescription
KEY Reservation Reservation Reservation
KEY ReservationItem ReservationItem Reservation Item
Material Material Vehicle Model
MaterialName
ProductionPlant ProductionPlant Prod plnt
ProductionPlantName _ProductionPlant PlantName Production Plant Name
MRPController MRPController MRP Controller
MRPControllerName _MRPController MRPControllerName Controller name
ProductionSupervisor ProductionSupervisor Production Supervisor
ProductionSupervisorName _ProductionSupervisor ProductionSupervisorName Production Supervisor Name
StorageLocation StorageLocation StorageLocation
StorageLocationName _StorageLocation StorageLocationName Storage Loc. Name
Batch Batch Lot No.
ManufacturingOrder ManufacturingOrder Order
ManufacturingOrderCategory ManufacturingOrderCategory
ManufacturingOrderCategoryName
ManufacturingOrderType ManufacturingOrderType
ManufacturingOrderTypeName
MatlCompRequirementDate MatlCompRequirementDate Reqmts date
MatlCompRequirementTime MatlCompRequirementTime
RequirementDateWeek RequirementDateWeek
RequirementDateMonth RequirementDateMonth
RequirementDateMonthName
ReportingPeriod ReportingPeriod Single-Character Flag
ReportingPeriodName
ManufacturingOrderOperation
ManufacturingOrderOperation ManufacturingOrderOperation_2
MaterialExpectedScrapPercent ComponentScrapInPercent Planned Scrap in %
BaseUnit BaseUnit Unit of Measure
WithdrawnQuantity WithdrawnQuantity Withdrawn Quantity
RequiredQuantity RequiredQuantity Requirement qty
DeviationQuantity DeviationQuantity
OriginalDemandQuantity OriginalDemandQuantity
ExcessConsumptionQuantity ExcessConsumptionQuantity
Currency Currency Valuation Crcy
WithdrawnQuantityAmount WithdrawnQuantityAmount Wihthdrawn Amount
CompanyCodeCurrency CompanyCodeCurrency Company Code Currency
WithdrawnQtyAmountInCoCodeCry WithdrawnQtyAmountInCoCodeCry Withdrawn Amount in Company Currency
DeviationQtyAmountInCoCodeCrcy Deviation Amount in Company Currency
ComponentScrapInPercent Component Scrap in %
ExcessConsumptionInPercent Excess Component Consumption in %
ComponentScrapDeviationPercent Component Scrap Deviation in %

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 C_MfgOrdCompExcsConsmptQry.
-- 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: CPPMFGORCOMPECQ
-- Parameters: P_Language : sylangu, P_ReportingStartDate : vdm_performanceperiodstartdate, P_ReportingEndDate : vdm_performanceperiodenddate

CREATE VIEW C_MfgOrdCompExcsConsmptQry AS
SELECT
  Reservation,
  ReservationItem,
  Material,
  _Material._Text[1: Language=$parameters.P_Language].MaterialName AS MaterialName,
  ProductionPlant,
  _ProductionPlant.PlantName AS ProductionPlantName,
  MRPController,
  _MRPController.MRPControllerName AS MRPControllerName,
  ProductionSupervisor,
  _ProductionSupervisor.ProductionSupervisorName AS ProductionSupervisorName,
  StorageLocation,
  _StorageLocation.StorageLocationName AS StorageLocationName,
  Batch,
  ManufacturingOrder,
  ManufacturingOrderCategory,
  _MfgOrderCategory._Text[1: Language=$parameters.P_Language].ManufacturingOrderCategoryName AS ManufacturingOrderCategoryName,
  ManufacturingOrderType,
  _MfgOrderType._Text[1: Language=$parameters.P_Language].ManufacturingOrderTypeName AS ManufacturingOrderTypeName,
  MatlCompRequirementDate,
  MatlCompRequirementTime,
  RequirementDateWeek,
  RequirementDateMonth,
  _RequirementDateMonth._Text[1: Language=$parameters.P_Language].CalendarMonthName AS RequirementDateMonthName,
  ReportingPeriod,
  _ReportingPeriod._Text[1: Language=$parameters.P_Language].ReportingPeriodName AS ReportingPeriodName,
  ManufacturingOrderOperation_2 AS ManufacturingOrderOperation,
  ComponentScrapInPercent AS MaterialExpectedScrapPercent,
  BaseUnit,
  WithdrawnQuantity,
  RequiredQuantity,
  DeviationQuantity,
  OriginalDemandQuantity,
  ExcessConsumptionQuantity,
  Currency,
  WithdrawnQuantityAmount,
  CompanyCodeCurrency,
  WithdrawnQtyAmountInCoCodeCry,
  cast (0 as enwrt) AS DeviationQtyAmountInCoCodeCrcy,
  cast (0 as abap.dec(5,2)) AS ComponentScrapInPercent,
  cast (0 as abap.dec(5,2)) AS ExcessConsumptionInPercent,
  cast (0 as abap.dec(5,2)) AS ComponentScrapDeviationPercent
;