A_InspectionPlan

DDL: A_INSPECTIONPLAN SQL: AINSPPLAN Type: view_entity COMPOSITE

Inspection Plan Headers

A_InspectionPlan is a Composite CDS View that provides data about "Inspection Plan Headers" in SAP S/4HANA. It reads from 1 data source (I_InspectionPlanVersion) and exposes 31 fields with key fields InspectionPlanGroup, InspectionPlan, InspectionPlanInternalVersion. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_InspectionPlanVersion I_InspectionPlanVersion from

Associations (2)

CardinalityTargetAliasCondition
[0..*] A_InspPlanOperation _InspPlanOp
[0..1] A_InspPlanMaterialAssgmt _InspPlanMat

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Inspection Plan Headers view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view

Fields (31)

KeyFieldSource TableSource FieldDescription
KEY InspectionPlanGroup InspectionPlanGroup Group
KEY InspectionPlan InspectionPlan Group Counter
KEY InspectionPlanInternalVersion InspectionPlanInternalVersion
IsDeleted IsDeleted TRUE
GeneraldataBillOfOperationsDesc
Plant Plant Valuation Area
BillOfOperationsUsage BillOfOperationsUsage
BillOfOperationsStatus BillOfOperationsStatus
ResponsiblePlannerGroup ResponsiblePlannerGroup
MinimumLotSizeQuantity MinimumLotSizeQuantity Min. Lot Size
MaximumLotSizeQuantity MaximumLotSizeQuantity Max. Lot Size
BillOfOperationsUnit BillOfOperationsUnit
ReplacedBillOfOperations ReplacedBillOfOperations
IsMarkedForDeletion IsMarkedForDeletion Purch.org. data
InspPlanHasMultipleSpec InspPlanHasMultipleSpec
InspectionPartialLotAssignment InspectionPartialLotAssignment
SmplDrawingProcedure SmplDrawingProcedure
SmplDrawingProcedureVersion SmplDrawingProcedureVersion
InspectionLotDynamicLevel InspectionLotDynamicLevel
InspLotDynamicRule InspLotDynamicRule
InspExternalNumberingOfValues InspExternalNumberingOfValues
AdministrativeDataCreationDate
CreatedByUser CreatedByUser User Name
LastChangeDate LastChangeDate Time Stamp
LastChangedByUser LastChangedByUser User Name
ChangeNumber ChangeNumber Change Number
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
ChangedDateTime ChangedDateTime Time Stamp
_InspPlanOp _InspPlanOp
_InspPlanMat _InspPlanMat

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 A_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: AINSPPLAN

CREATE VIEW A_InspectionPlan AS
SELECT
  InspectionPlanGroup,
  InspectionPlan,
  InspectionPlanInternalVersion,
  IsDeleted,
  Plant,
  BillOfOperationsUsage,
  BillOfOperationsStatus,
  ResponsiblePlannerGroup,
  MinimumLotSizeQuantity,
  MaximumLotSizeQuantity,
  BillOfOperationsUnit,
  ReplacedBillOfOperations,
  IsMarkedForDeletion,
  InspPlanHasMultipleSpec,
  InspectionPartialLotAssignment,
  SmplDrawingProcedure,
  SmplDrawingProcedureVersion,
  InspectionLotDynamicLevel,
  InspLotDynamicRule,
  InspExternalNumberingOfValues,
  CreatedByUser,
  LastChangeDate,
  LastChangedByUser,
  ChangeNumber,
  ValidityStartDate,
  ValidityEndDate,
  ChangedDateTime
FROM I_InspectionPlanVersion
LEFT OUTER JOIN A_InspPlanOperation AS _InspPlanOp ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN A_InspPlanMaterialAssgmt AS _InspPlanMat ON /* condition not available in parsed metadata */  -- association [0..1]
;