I_ProcOrdOpsMgmtInspectionLot
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)
| Source | Alias | Join Type |
|---|---|---|
| P_ProcOrdOpsMgmtInspLotCalc | P_ProcOrdOpsMgmtInspLotCalc | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA