I_InspectionSubset
Inspection Point of Inspection Operation
I_InspectionSubset (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
Manufacturing
I_InspectionSubset is a Basic CDS View that provides data about "Inspection Point of Inspection Operation" in SAP S/4HANA. It reads from 1 data source (qapp) and exposes 59 fields with key fields InspectionLot, InspectionSubsetInternalID, InspPlanOperationInternalID. It has 16 associations to related views. Part of development package VDM_QM_INSPECTION.
SAP API Hub
| Category | Basic |
|---|---|
| State | C1 |
| Line of Business | Manufacturing |
| Application Component | QM-IM-2CL |
| Capabilities | Data Source in SQL Select,Association Target for Defining CDS Entities,Data Source for Defining CDS Entities |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Released |
| Package | Manufacturing for SAP S/4HANA Cloud Public Edition |
| Description | <p>This CDS view provides access to the inspection points of inspection operations.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| qapp | qapp | from |
Associations (16)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_UsageDecisionCodeGroup | _UsageDecisionCodeGroup | $projection.InspSubsetUsageDcsnCodeGroup = _UsageDecisionCodeGroup.UsageDecisionCodeGroup |
| [0..1] | I_UsageDecisionCode | _UsageDecisionCode | $projection.InspSubsetUsageDcsnCodeGroup = _UsageDecisionCode.UsageDecisionCodeGroup and $projection.InspSubsetUsageDcsnCode = _UsageDecisionCode.UsageDecisionCode |
| [0..1] | I_InspLotUsgeDcsnValn | _InspSubsetUsageDcsnValn | $projection.InspSubsetUsageDcsnValuation = _InspSubsetUsageDcsnValn.InspLotUsageDecisionValuation |
| [0..*] | I_InspLotUsgeDcsnValnTxt | _InspSubsetUsageDcsnValnTxt | $projection.InspSubsetUsageDcsnValuation = _InspSubsetUsageDcsnValnTxt.InspLotUsageDecisionValuation |
| [1..1] | I_InspectionLot | _InspectionLot | $projection.InspectionLot = _InspectionLot.InspectionLot |
| [1..1] | I_InspectionOperation | _InspectionOperation | $projection.InspectionLot = _InspectionOperation.InspectionLot and $projection.InspPlanOperationInternalID = _InspectionOperation.InspPlanOperationInternalID |
| [0..*] | I_InspSubsetCharacteristic | _InspectionSubsetInternalID | $projection.InspectionLot = _InspectionSubsetInternalID.InspectionLot and $projection.InspPlanOperationInternalID = _InspectionSubsetInternalID.InspPlanOperationInternalID and $projection.InspectionSubsetInternalID = _InspectionSubsetInternalID.InspectionSubsetInternalID |
| [0..1] | I_MaterialSample | _MaterialSample | $projection.MaterialSample = _MaterialSample.MaterialSample |
| [0..1] | I_InspectionPartialLot | _InspectionPartialLot | $projection.InspectionPartialLot = _InspectionPartialLot.InspectionPartialLot and $projection.InspectionLot = _InspectionPartialLot.InspectionLot |
| [0..1] | I_Plant | _SelectedCodeSetPlant | $projection.SelectedCodeSetPlant = _SelectedCodeSetPlant.Plant |
| [0..1] | I_InspUsgeDcsnSelectedSet | _SelectedCodeSet | $projection.SelectedCodeSetPlant = _SelectedCodeSet.SelectedCodeSetPlant and $projection.SelectedCodeSet = _SelectedCodeSet.SelectedCodeSet |
| [0..1] | I_Equipment | _Equipment | $projection.Equipment = _Equipment.Equipment |
| [0..1] | I_FunctionalLocation | _FunctionalLocation | $projection.FunctionalLocation = _FunctionalLocation.FunctionalLocation |
| [0..1] | I_ShopFloorItem | _ShopFloorItem | $projection.ShopFloorItem = _ShopFloorItem.ShopFloorItem |
| [0..1] | I_UnitOfMeasure | _Unit | $projection.InspectionSubsetQtyUnit = _Unit.UnitOfMeasure |
| [1..1] | E_InspectionSubset | _Extension | $projection.InspectionLot = _Extension.InspectionLot and $projection.InspPlanOperationInternalID = _Extension.InspPlanOperationInternalID and $projection.InspectionSubsetInternalID = _Extension.InspectionSubsetInternalID |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IINSPSUBSET | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Inspection Point of Inspection Operation | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.representativeKey | InspectionSubsetInternalID | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (59)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InspectionLot | prueflos | Inspection Lot Number | |
| KEY | InspectionSubsetInternalID | probenr | Sample Number (Based on an Inspection Point) | |
| KEY | InspPlanOperationInternalID | vorglfnr | Current Node Number from Order Counter | |
| InspectionSubsetSortKey | ppsortkey | Key Field (Sort Field) for Inspection Point | ||
| MaterialSample | phynr | Material Sample Number | ||
| InspSbstMatlSmplProperty | phynrakt | User Fld Active | ||
| Equipment | equnr | Equipment Number | ||
| InspSbstEquipProperty | equnrakt | User Fld Active | ||
| FunctionalLocation | tplnr | Functional Location | ||
| InspSbstFuncnlLocProperty | tplnrakt | User Fld Active | ||
| ShopFloorItem | sfi_id | ID of Serialized Material | ||
| InspSbstShopFloorItemProperty | sfi_akt | User Fld Active | ||
| InspSubsetUsageDecisionCatalog | vkatart | Catalog | ||
| SelectedCodeSetPlant | vwerks | Plant | ||
| SelectedCodeSet | vauswahlmg | Selected Set of the Usage Decision | ||
| InspSubsetUsageDcsnCodeGroup | vcodegrp | Code Group of the Usage Decision | ||
| InspSubsetUsageDcsnCode | vcode | Usage Decision Code | ||
| InspSubsetUsageDcsnValuation | vbewertung | Code Valuation | ||
| InspectionSubsetTime | User Field for Time | |||
| InspSbstTimeFldProperty | usert1akt | User Fld Active | ||
| InspectionSubsetDate | User Field for Date | |||
| InspSbstDateFldProperty | userd1akt | User Fld Active | ||
| InspectionSubsetTimeZone | usrtimezone | Time Zone of Inspection Point Date and Time | ||
| InspSubsetLongNumericKey | User Field for 10 Digits | |||
| InspSbstLongNmbrFldProperty | usern1akt | User Fld Active | ||
| InspSubsetShortNumericKey | User Field for 3 Digits | |||
| InspSbstShrtNmbrFldProperty | usern2akt | User Fld Active | ||
| InspectionSubsetLongCharKey | User Field for 18 Characters | |||
| InspSbstLongTxtFldProperty | userc1akt | User Fld Active | ||
| InspectionSubsetShortCharKey | User Field for 10 Characters | |||
| InspSbstShrtTxtFldProperty | userc2akt | User Fld Active | ||
| InspectionPartialLot | teillos | Partial Lot Number | ||
| InspectionSubsetYieldQty | menge | Inspection Point Yield | ||
| InspectionSubsetScrapQty | menge_a | Scrap for Inspection Point | ||
| InspectionSubsetReworkQty | menge_n | Rework Quantity for Inspection Point | ||
| InspectionSubsetQtyUnit | mengeneinh | Unit of Measure for Inspection Point | ||
| Inspector | pruefer | Name of Inspector | ||
| CreatedByUser | ersteller | Name of Person Responsible for Creating the Object | ||
| CreationDate | ersteldat | System Date on Which Data Record Was Created | ||
| CreationTime | System Time at Which Data Record Was Created | |||
| LastChangedByUser | aenderer | Name of Person Who Changed Object | ||
| LastChangeDate | aenderdat | System Date on Which Data Record Was Changed | ||
| LastChangeTime | System Time at Which Data Record Was Changed | |||
| changeddatetimeendasChangedDateTime | ||||
| _InspectionLot | _InspectionLot | |||
| _InspectionOperation | _InspectionOperation | |||
| _InspectionSubsetInternalID | _InspectionSubsetInternalID | |||
| _InspectionPartialLot | _InspectionPartialLot | |||
| _UsageDecisionCodeGroup | _UsageDecisionCodeGroup | |||
| _UsageDecisionCode | _UsageDecisionCode | |||
| _InspSubsetUsageDcsnValn | _InspSubsetUsageDcsnValn | |||
| _InspSubsetUsageDcsnValnTxt | _InspSubsetUsageDcsnValnTxt | |||
| _MaterialSample | _MaterialSample | |||
| _FunctionalLocation | _FunctionalLocation | |||
| _ShopFloorItem | _ShopFloorItem | |||
| _SelectedCodeSetPlant | _SelectedCodeSetPlant | |||
| _SelectedCodeSet | _SelectedCodeSet | |||
| _Equipment | _Equipment | |||
| _Unit | _Unit |
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_InspectionSubset.
-- 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_InspectionSubset AS
SELECT
prueflos AS InspectionLot,
probenr AS InspectionSubsetInternalID,
vorglfnr AS InspPlanOperationInternalID,
ppsortkey AS InspectionSubsetSortKey,
phynr AS MaterialSample,
phynrakt AS InspSbstMatlSmplProperty,
equnr AS Equipment,
equnrakt AS InspSbstEquipProperty,
tplnr AS FunctionalLocation,
tplnrakt AS InspSbstFuncnlLocProperty,
sfi_id AS ShopFloorItem,
sfi_akt AS InspSbstShopFloorItemProperty,
vkatart AS InspSubsetUsageDecisionCatalog,
vwerks AS SelectedCodeSetPlant,
vauswahlmg AS SelectedCodeSet,
vcodegrp AS InspSubsetUsageDcsnCodeGroup,
vcode AS InspSubsetUsageDcsnCode,
vbewertung AS InspSubsetUsageDcsnValuation,
cast( usert1 as vdm_qusrtims preserving type ) AS InspectionSubsetTime,
usert1akt AS InspSbstTimeFldProperty,
cast( userd1 as vdm_qusrdats preserving type ) AS InspectionSubsetDate,
userd1akt AS InspSbstDateFldProperty,
usrtimezone AS InspectionSubsetTimeZone,
cast( usern1 as vdm_qusrnumc10 preserving type ) AS InspSubsetLongNumericKey,
usern1akt AS InspSbstLongNmbrFldProperty,
cast( usern2 as vdm_qusrnumc3 preserving type ) AS InspSubsetShortNumericKey,
usern2akt AS InspSbstShrtNmbrFldProperty,
cast( userc1 as vdm_qusrchar18 preserving type ) AS InspectionSubsetLongCharKey,
userc1akt AS InspSbstLongTxtFldProperty,
cast( userc2 as vdm_qusrchar10 preserving type ) AS InspectionSubsetShortCharKey,
userc2akt AS InspSbstShrtTxtFldProperty,
teillos AS InspectionPartialLot,
menge AS InspectionSubsetYieldQty,
menge_a AS InspectionSubsetScrapQty,
menge_n AS InspectionSubsetReworkQty,
mengeneinh AS InspectionSubsetQtyUnit,
pruefer AS Inspector,
ersteller AS CreatedByUser,
ersteldat AS CreationDate,
cast( erstelzeit as vdm_qzeiterstl preserving type ) AS CreationTime,
aenderer AS LastChangedByUser,
aenderdat AS LastChangeDate,
cast( aenderzeit as vdm_qzeitaend preserving type ) AS LastChangeTime,
case qapp.changeddatetime when 0 then cast( '19000101010101' as tzntstmps ) else qapp.changeddatetime end as ChangedDateTime AS changeddatetimeendasChangedDateTime
FROM qapp
LEFT OUTER JOIN I_UsageDecisionCodeGroup AS _UsageDecisionCodeGroup ON InspSubsetUsageDcsnCodeGroup = _UsageDecisionCodeGroup.UsageDecisionCodeGroup -- association [0..1]
LEFT OUTER JOIN I_UsageDecisionCode AS _UsageDecisionCode ON InspSubsetUsageDcsnCodeGroup = _UsageDecisionCode.UsageDecisionCodeGroup AND InspSubsetUsageDcsnCode = _UsageDecisionCode.UsageDecisionCode -- association [0..1]
LEFT OUTER JOIN I_InspLotUsgeDcsnValn AS _InspSubsetUsageDcsnValn ON InspSubsetUsageDcsnValuation = _InspSubsetUsageDcsnValn.InspLotUsageDecisionValuation -- association [0..1]
LEFT OUTER JOIN I_InspLotUsgeDcsnValnTxt AS _InspSubsetUsageDcsnValnTxt ON InspSubsetUsageDcsnValuation = _InspSubsetUsageDcsnValnTxt.InspLotUsageDecisionValuation -- association [0..*]
LEFT OUTER JOIN I_InspectionLot AS _InspectionLot ON InspectionLot = _InspectionLot.InspectionLot -- association [1..1]
LEFT OUTER JOIN I_InspectionOperation AS _InspectionOperation ON InspectionLot = _InspectionOperation.InspectionLot AND InspPlanOperationInternalID = _InspectionOperation.InspPlanOperationInternalID -- association [1..1]
LEFT OUTER JOIN I_InspSubsetCharacteristic AS _InspectionSubsetInternalID ON InspectionLot = _InspectionSubsetInternalID.InspectionLot AND InspPlanOperationInternalID = _InspectionSubsetInternalID.InspPlanOperationInternalID AND InspectionSubsetInternalID = _InspectionSubsetInternalID.InspectionSubsetInternalID -- association [0..*]
LEFT OUTER JOIN I_MaterialSample AS _MaterialSample ON MaterialSample = _MaterialSample.MaterialSample -- association [0..1]
LEFT OUTER JOIN I_InspectionPartialLot AS _InspectionPartialLot ON InspectionPartialLot = _InspectionPartialLot.InspectionPartialLot AND InspectionLot = _InspectionPartialLot.InspectionLot -- association [0..1]
LEFT OUTER JOIN I_Plant AS _SelectedCodeSetPlant ON SelectedCodeSetPlant = _SelectedCodeSetPlant.Plant -- association [0..1]
LEFT OUTER JOIN I_InspUsgeDcsnSelectedSet AS _SelectedCodeSet ON SelectedCodeSetPlant = _SelectedCodeSet.SelectedCodeSetPlant AND SelectedCodeSet = _SelectedCodeSet.SelectedCodeSet -- association [0..1]
LEFT OUTER JOIN I_Equipment AS _Equipment ON Equipment = _Equipment.Equipment -- association [0..1]
LEFT OUTER JOIN I_FunctionalLocation AS _FunctionalLocation ON FunctionalLocation = _FunctionalLocation.FunctionalLocation -- association [0..1]
LEFT OUTER JOIN I_ShopFloorItem AS _ShopFloorItem ON ShopFloorItem = _ShopFloorItem.ShopFloorItem -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _Unit ON InspectionSubsetQtyUnit = _Unit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN E_InspectionSubset AS _Extension ON InspectionLot = _Extension.InspectionLot AND InspPlanOperationInternalID = _Extension.InspPlanOperationInternalID AND InspectionSubsetInternalID = _Extension.InspectionSubsetInternalID -- association [1..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