P_MPEInspOpUsageDecision

DDL: P_MPEINSPOPUSAGEDECISION Type: view_entity COMPOSITE

Usage Decision on Operation Level

P_MPEInspOpUsageDecision is a Composite CDS View that provides data about "Usage Decision on Operation Level" in SAP S/4HANA. It reads from 1 data source (I_InspOperationUsageDecision) and exposes 11 fields with key fields InspectionLot, InspPlanOperationInternalID.

Data Sources (1)

SourceAliasJoin Type
I_InspOperationUsageDecision UsageDescision from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Usage Decision on Operation Level view
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #A view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot I_InspOperationUsageDecision InspectionLot Inspection Lot
KEY InspPlanOperationInternalID I_InspOperationUsageDecision InspPlanOperationInternalID Node Number
InspOpUsageDecisionValuation I_InspOperationUsageDecision InspOpUsageDecisionValuation Code Valuation
UsageDecisionCodeGroup I_InspOperationUsageDecision UsageDecisionCodeGroup UD Code Group
UsageDecisionCode I_InspOperationUsageDecision UsageDecisionCode UD Code
OrderInternalBillOfOperations inspOp OrderInternalBillOfOperations Order Internal Bill of Operations
OrderOperationInternalID inspOp OrderOperationInternalID
_InspectionLot I_InspOperationUsageDecision _InspectionLot
_InspectionOperation I_InspOperationUsageDecision _InspectionOperation
_UsageDecisionCodeGroup I_InspOperationUsageDecision _UsageDecisionCodeGroup
_UsageDecisionCode I_InspOperationUsageDecision _UsageDecisionCode

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_MPEInspOpUsageDecision.
-- 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.

CREATE VIEW P_MPEInspOpUsageDecision AS
SELECT
  UsageDescision.InspectionLot AS InspectionLot,
  UsageDescision.InspPlanOperationInternalID AS InspPlanOperationInternalID,
  UsageDescision.InspOpUsageDecisionValuation AS InspOpUsageDecisionValuation,
  UsageDescision.UsageDecisionCodeGroup AS UsageDecisionCodeGroup,
  UsageDescision.UsageDecisionCode AS UsageDecisionCode,
  inspOp.OrderInternalBillOfOperations AS OrderInternalBillOfOperations,
  inspOp.OrderOperationInternalID AS OrderOperationInternalID,
  UsageDescision._InspectionLot AS _InspectionLot,
  UsageDescision._InspectionOperation AS _InspectionOperation,
  UsageDescision._UsageDecisionCodeGroup AS _UsageDecisionCodeGroup,
  UsageDescision._UsageDecisionCode AS _UsageDecisionCode
FROM I_InspOperationUsageDecision AS UsageDescision
;