C_InspectionPlan
Inspection Plan Version
C_InspectionPlan is a Consumption CDS View that provides data about "Inspection Plan Version" in SAP S/4HANA. It reads from 1 data source (I_InspectionPlanTP) and exposes 50 fields with key fields InspectionPlanGroup, InspectionPlan, InspectionPlanInternalVersion, BillOfOperationsType. It has 9 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_InspectionPlanTP | _InspPlan | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_InspPlanOperation | _InspPlanOp | $projection.InspectionPlanGroup = _InspPlanOp.InspectionPlanGroup and $projection.InspectionPlan = _InspPlanOp.InspectionPlan and $projection.InspectionPlanInternalVersion = _InspPlanOp.InspectionPlanInternalVersion and $projection.BillOfOperationsType = _InspPlanOp.BillOfOperationsType |
| [0..*] | C_InspPlanMatlAssgmt | _InspPlanMaterialAssgmtTP | $projection.InspectionPlanGroup = _InspPlanMaterialAssgmtTP.InspectionPlanGroup and $projection.InspectionPlan = _InspPlanMaterialAssgmtTP.InspectionPlan and $projection.InspectionPlanInternalVersion = _InspPlanMaterialAssgmtTP.InspectionPlanInternalVersion and $projection.BillOfOperationsType = _InspPlanMaterialAssgmtTP.BillOfOperationsType |
| [0..*] | I_BillOfOperationsStatusText | _BillOfOperationsStatusText | $projection.BillOfOperationsStatus = _BillOfOperationsStatusText.BillOfOperationsStatus |
| [0..*] | I_BillOfOperationsUsageText | _BillOfOperationsUsageText | $projection.BillOfOperationsUsage = _BillOfOperationsUsageText.BillOfOperationsUsage |
| [0..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | I_BillOfOperationsStatus | _BillOfOperationsStatus | $projection.BillOfOperationsStatus = _BillOfOperationsStatus.BillOfOperationsStatus |
| [1..1] | I_User | _InspPlanCreatedBy | $projection.CreatedByUser = _InspPlanCreatedBy.UserID |
| [1..1] | I_User | _InspPlanChangedBy | $projection.LastChangedByUser = _InspPlanChangedBy.UserID |
| [1..1] | I_InspSubsetFieldCombinationT | _InspSubsetFieldCombination | $projection.InspSubsetFieldCombination = _InspSubsetFieldCombination.InspSubsetFieldCombination and _InspSubsetFieldCombination.Language = $session.system_language |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CINSPPLTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Inspection Plan Version | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| Search.searchable | true | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (50)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InspectionPlanGroup | InspectionPlanGroup | ||
| KEY | InspectionPlan | InspectionPlan | ||
| KEY | InspectionPlanInternalVersion | InspectionPlanInternalVersion | ||
| KEY | BillOfOperationsType | BillOfOperationsType | Task List Type | |
| InspectionPlanGroupForEdit | InspectionPlanGroupForEdit | |||
| InspectionPlanForEdit | InspectionPlanForEdit | |||
| IsDeleted | IsDeleted | TRUE | ||
| TaskListKeyDateText | TaskListKeyDateText | Key Date | ||
| IsAuthorizedUser | ||||
| IsCloudSystem | ||||
| BillOfOperationsDesc | BillOfOperationsDesc | |||
| Plant | Plant | Valuation Area | ||
| BillOfOperationsUsage | BillOfOperationsUsage | |||
| Material | ||||
| BillOfOperationsStatus | BillOfOperationsStatus | |||
| MinimumLotSizeQuantity | MinimumLotSizeQuantity | Min. Lot Size | ||
| MaximumLotSizeQuantity | MaximumLotSizeQuantity | Max. Lot Size | ||
| BillOfOperationsUnit | BillOfOperationsUnit | Unit of Measure | ||
| ChangeNumber | ChangeNumber | Change Number | ||
| InspSubsetFieldCombination | InspSubsetFieldCombination | Inspection Points | ||
| InspectionPartialLotAssignment | InspectionPartialLotAssignment | |||
| InspectionLotDynamicLevel | InspectionLotDynamicLevel | |||
| InspLotDynamicRule | InspLotDynamicRule | |||
| MatlIsConsideredForDynModif | MatlIsConsideredForDynModif | |||
| SuplrIsConsideredForDynModif | SuplrIsConsideredForDynModif | |||
| MfrIsConsideredForDynModif | MfrIsConsideredForDynModif | |||
| CustIsConsideredForDynModif | CustIsConsideredForDynModif | |||
| CreationDate | CreationDate | Time Stamp | ||
| CreatedByUser | CreatedByUser | User Name | ||
| LastChangeDate | LastChangeDate | Time Stamp | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| ValidityStartDate | ValidityStartDate | Validity Start Date | ||
| ValidityEndDate | ValidityEndDate | ValidTo | ||
| ChangedDateTime | ChangedDateTime | Time Stamp | ||
| CreatedByUserFullName | _InspPlanCreatedBy | UserDescription | Full Name | |
| LastChangedByUserFullName | _InspPlanChangedBy | UserDescription | Full Name | |
| _BillOfOperationsStatus | _BillOfOperationsStatus | |||
| _BillOfOperationsUnit | _BillOfOperationsUnit | |||
| _BillOfOperationsUsage | _BillOfOperationsUsage | |||
| _InspectionLotDynamicLevel | _InspectionLotDynamicLevel | |||
| _InspectionPlan | _InspectionPlan | |||
| _InspLotDynamicRule | _InspLotDynamicRule | |||
| _InspSubsetFieldCombination | _InspSubsetFieldCombination | |||
| _Plant | _Plant | |||
| _BillOfOperationsStatusText | _BillOfOperationsStatusText | |||
| _BillOfOperationsUsageText | _BillOfOperationsUsageText | |||
| _InspPlanCreatedBy | _InspPlanCreatedBy | |||
| _InspPlanChangedBy | _InspPlanChangedBy | |||
| _InspPlanOp | _InspPlanOp | |||
| _InspPlanMaterialAssgmtTP | _InspPlanMaterialAssgmtTP |
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_InspectionPlan.
-- 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: CINSPPLTP
CREATE VIEW C_InspectionPlan AS
SELECT
InspectionPlanGroup,
InspectionPlan,
InspectionPlanInternalVersion,
BillOfOperationsType,
InspectionPlanGroupForEdit,
InspectionPlanForEdit,
IsDeleted,
TaskListKeyDateText,
cast( ' ' as abap_boolean ) AS IsAuthorizedUser,
cast(' ' as abap_boolean ) AS IsCloudSystem,
BillOfOperationsDesc,
Plant,
BillOfOperationsUsage,
cast( '' as matnr ) AS Material,
BillOfOperationsStatus,
MinimumLotSizeQuantity,
MaximumLotSizeQuantity,
BillOfOperationsUnit,
ChangeNumber,
InspSubsetFieldCombination,
InspectionPartialLotAssignment,
InspectionLotDynamicLevel,
InspLotDynamicRule,
MatlIsConsideredForDynModif,
SuplrIsConsideredForDynModif,
MfrIsConsideredForDynModif,
CustIsConsideredForDynModif,
CreationDate,
CreatedByUser,
LastChangeDate,
LastChangedByUser,
ValidityStartDate,
ValidityEndDate,
ChangedDateTime,
_InspPlanCreatedBy.UserDescription AS CreatedByUserFullName,
_InspPlanChangedBy.UserDescription AS LastChangedByUserFullName
FROM I_InspectionPlanTP AS _InspPlan
LEFT OUTER JOIN C_InspPlanOperation AS _InspPlanOp ON InspectionPlanGroup = _InspPlanOp.InspectionPlanGroup AND InspectionPlan = _InspPlanOp.InspectionPlan AND InspectionPlanInternalVersion = _InspPlanOp.InspectionPlanInternalVersion AND BillOfOperationsType = _InspPlanOp.BillOfOperationsType -- association [0..*]
LEFT OUTER JOIN C_InspPlanMatlAssgmt AS _InspPlanMaterialAssgmtTP ON InspectionPlanGroup = _InspPlanMaterialAssgmtTP.InspectionPlanGroup AND InspectionPlan = _InspPlanMaterialAssgmtTP.InspectionPlan AND InspectionPlanInternalVersion = _InspPlanMaterialAssgmtTP.InspectionPlanInternalVersion AND BillOfOperationsType = _InspPlanMaterialAssgmtTP.BillOfOperationsType -- association [0..*]
LEFT OUTER JOIN I_BillOfOperationsStatusText AS _BillOfOperationsStatusText ON BillOfOperationsStatus = _BillOfOperationsStatusText.BillOfOperationsStatus -- association [0..*]
LEFT OUTER JOIN I_BillOfOperationsUsageText AS _BillOfOperationsUsageText ON BillOfOperationsUsage = _BillOfOperationsUsageText.BillOfOperationsUsage -- association [0..*]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [0..1]
LEFT OUTER JOIN I_BillOfOperationsStatus AS _BillOfOperationsStatus ON BillOfOperationsStatus = _BillOfOperationsStatus.BillOfOperationsStatus -- association [0..1]
LEFT OUTER JOIN I_User AS _InspPlanCreatedBy ON CreatedByUser = _InspPlanCreatedBy.UserID -- association [1..1]
LEFT OUTER JOIN I_User AS _InspPlanChangedBy ON LastChangedByUser = _InspPlanChangedBy.UserID -- association [1..1]
LEFT OUTER JOIN I_InspSubsetFieldCombinationT AS _InspSubsetFieldCombination ON InspSubsetFieldCombination = _InspSubsetFieldCombination.InspSubsetFieldCombination AND _InspSubsetFieldCombination.Language = $session.system_language -- 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