I_ProcOrdOpsMgmtInspectionLot

DDL: I_PROCORDOPSMGMTINSPECTIONLOT Type: view_entity COMPOSITE Package: VDM_PP_PROC_ORD_MNG

Proc ord ops Inspection Lots

I_ProcOrdOpsMgmtInspectionLot is a Composite CDS View that provides data about "Proc ord ops Inspection Lots" in SAP S/4HANA. It reads from 1 data source (P_ProcOrdOpsMgmtInspLotCalc) and exposes 17 fields with key fields InspectionLot, OrderInternalBillOfOperations, OrderIntBillOfOpItemOfPhase. It has 4 associations to related views. Part of development package VDM_PP_PROC_ORD_MNG.

Data Sources (1)

SourceAliasJoin Type
P_ProcOrdOpsMgmtInspLotCalc P_ProcOrdOpsMgmtInspLotCalc from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_InspectionLot _InspectionLot $projection.InspectionLot = _InspectionLot.InspectionLot
[0..1] I_InspLotUsageDecision _InspLotUsageDecision $projection.InspectionLot = _InspLotUsageDecision.InspectionLot
[0..1] P_ProcOrdOpInspCharAggrgn _InspOpCharAgg $projection.InspectionLot = _InspOpCharAgg.InspectionLot and $projection.OrderInternalBillOfOperations = _InspOpCharAgg.OrderInternalBillOfOperations and $projection.OrderIntBillOfOpItemOfPhase = _InspOpCharAgg.OrderIntBillOfOpItemOfPhase
[0..1] P_ProcOrdOpInspLotDfctsCnt _InspLotDefectsCount $projection.InspectionLot = _InspLotDefectsCount.InspectionLot and $projection.OrderInternalBillOfOperations = _InspLotDefectsCount.OrderInternalBillOfOperations and $projection.OrderIntBillOfOpItemOfPhase = _InspLotDefectsCount.OrderIntBillOfOpItemOfPhase

Annotations (14)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
AccessControl.personalData.blocking #NOT_REQUIRED view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.value InspectionLot view
UI.headerInfo.description.type #STANDARD view
UI.headerInfo.description.value InspectionLotType view
UI.headerInfo.typeName Inspection Lot view
UI.headerInfo.typeNamePlural Inspection Lots view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Proc ord ops Inspection Lots view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot InspectionLot Inspection Lot
KEY OrderInternalBillOfOperations OrderInternalBillOfOperations Order Internal Bill of Operations
KEY OrderIntBillOfOpItemOfPhase OrderIntBillOfOpItemOfPhase
Plant _InspectionLot Plant Valuation Area
InspectionLotText _InspectionLot InspectionLotText
InspectionLotType _InspectionLot InspectionLotType Inspection Type
InspectionLotTypeText
MatlQualityAuthorizationGroup _InspectionLot MatlQualityAuthorizationGroup QM Matl Auth.
InspCharacteristicCount _InspOpCharAgg InspCharacteristicCount
InspCharRejectedCount _InspOpCharAgg InspCharRejectedCount
InspCharAcceptedCount _InspOpCharAgg InspCharAcceptedCount
InspCharOpenCount _InspOpCharAgg InspCharOpenCount
InspectionNumberOfDefects _InspLotDefectsCount InspectionNumberOfDefects
InspectionLotUsageDecisionCode _InspLotUsageDecision InspectionLotUsageDecisionCode
InspLotUsageDecisionValuation _InspLotUsageDecision InspLotUsageDecisionValuation
InspLotUsgeDcsnValuationText
_ProcOrdMgmtOp _ProcOrdMgmtOp

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_ProcOrdOpsMgmtInspectionLot.
-- 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 I_ProcOrdOpsMgmtInspectionLot AS
SELECT
  InspectionLot,
  OrderInternalBillOfOperations,
  OrderIntBillOfOpItemOfPhase,
  _InspectionLot.Plant AS Plant,
  _InspectionLot.InspectionLotText AS InspectionLotText,
  _InspectionLot.InspectionLotType AS InspectionLotType,
  _InspectionLot._InspectionLotType._Text[1: Language=$session.system_language].InspectionLotTypeText AS InspectionLotTypeText,
  _InspectionLot.MatlQualityAuthorizationGroup AS MatlQualityAuthorizationGroup,
  _InspOpCharAgg.InspCharacteristicCount AS InspCharacteristicCount,
  _InspOpCharAgg.InspCharRejectedCount AS InspCharRejectedCount,
  _InspOpCharAgg.InspCharAcceptedCount AS InspCharAcceptedCount,
  _InspOpCharAgg.InspCharOpenCount AS InspCharOpenCount,
  _InspLotDefectsCount.InspectionNumberOfDefects AS InspectionNumberOfDefects,
  _InspLotUsageDecision.InspectionLotUsageDecisionCode AS InspectionLotUsageDecisionCode,
  _InspLotUsageDecision.InspLotUsageDecisionValuation AS InspLotUsageDecisionValuation,
  _InspLotUsageDecision._UsgeDcsnValuationText[1: Language=$session.system_language].InspLotUsgeDcsnValuationText AS InspLotUsgeDcsnValuationText
FROM P_ProcOrdOpsMgmtInspLotCalc
LEFT OUTER JOIN I_InspectionLot AS _InspectionLot ON InspectionLot = _InspectionLot.InspectionLot  -- association [1..1]
LEFT OUTER JOIN I_InspLotUsageDecision AS _InspLotUsageDecision ON InspectionLot = _InspLotUsageDecision.InspectionLot  -- association [0..1]
LEFT OUTER JOIN P_ProcOrdOpInspCharAggrgn AS _InspOpCharAgg ON InspectionLot = _InspOpCharAgg.InspectionLot AND OrderInternalBillOfOperations = _InspOpCharAgg.OrderInternalBillOfOperations AND OrderIntBillOfOpItemOfPhase = _InspOpCharAgg.OrderIntBillOfOpItemOfPhase  -- association [0..1]
LEFT OUTER JOIN P_ProcOrdOpInspLotDfctsCnt AS _InspLotDefectsCount ON InspectionLot = _InspLotDefectsCount.InspectionLot AND OrderInternalBillOfOperations = _InspLotDefectsCount.OrderInternalBillOfOperations AND OrderIntBillOfOpItemOfPhase = _InspLotDefectsCount.OrderIntBillOfOpItemOfPhase  -- association [0..1]
;