C_InspectionPlan

DDL: C_INSPECTIONPLAN SQL: CINSPPLTP Type: view CONSUMPTION

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)

SourceAliasJoin Type
I_InspectionPlanTP _InspPlan from

Associations (9)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;