I_BOOCharcInspSpecUnion

DDL: I_BOOCHARCINSPSPECUNION SQL: IBOOCINSPSPUNION Type: view COMPOSITE Package: VDM_QM_PLANNING

Bill of Op. Charc. w. Insp. Charc. Data

I_BOOCharcInspSpecUnion is a Composite CDS View that provides data about "Bill of Op. Charc. w. Insp. Charc. Data" in SAP S/4HANA. It reads from 1 data source (I_BOOCharacteristicVersion) and exposes 58 fields with key fields BillOfOperationsType, BillOfOperationsGroup, BOOOperationInternalID, BOOCharacteristic, BOOCharacteristicVersion. It has 19 associations to related views. Part of development package VDM_QM_PLANNING.

Data Sources (1)

SourceAliasJoin Type
I_BOOCharacteristicVersion I_BOOCharacteristicVersion from

Associations (19)

CardinalityTargetAliasCondition
[0..1] I_AssgmtInspMethInspSpec _AssgmtInspMethInspSpec $projection.InspectionSpecificationPlant = _AssgmtInspMethInspSpec.InspectionSpecificationPlant and $projection.InspectionSpecification = _AssgmtInspMethInspSpec.InspectionSpecification and $projection.InspectionSpecificationVersion = _AssgmtInspMethInspSpec.InspectionSpecificationVersion and $projection.InspectionMethodPlant = _AssgmtInspMethInspSpec.InspectionMethodPlant and $projection.InspectionMethod = _AssgmtInspMethInspSpec.InspectionMethod and $projection.InspectionMethodVersion = _AssgmtInspMethInspSpec.InspectionMethodVersion
[0..1] I_InspToleranceSpecification _InspToleranceSpecification $projection.InspToleranceSpecification = _InspToleranceSpecification.InspToleranceSpecification
[0..1] I_InspectionScope _InspectionScope $projection.InspectionScope = _InspectionScope.InspectionScope
[0..1] I_UnitOfMeasure _InspSpecUnitOfMeasure $projection.InspectionSpecificationUnit = _InspSpecUnitOfMeasure.UnitOfMeasure
[0..1] I_InspSpecRsltCalculation _InspSpecRsltCalculation $projection.InspSpecResultCalculation = _InspSpecRsltCalculation.InspSpecResultCalculation
[0..1] I_InspSpecRecordingType _InspSpecRecordingType $projection.InspSpecRecordingType = _InspSpecRecordingType.InspSpecRecordingType
[0..1] I_InspSpecPrintControl _InspSpecPrintControl $projection.InspSpecPrintControl = _InspSpecPrintControl.InspSpecPrintControl
[1..1] I_InspSpecCharcType _InspSpecCharcType $projection.InspSpecCharacteristicType = _InspSpecCharcType.InspSpecCharacteristicType
[0..1] I_Inspspeccharccategory _InspSpecCharcCategory $projection.InspSpecCharcCategory = _InspSpecCharcCategory.InspSpecCharcCategory
[0..1] I_InspResultDocuRequired _InspResultDocnRequired $projection.InspResultIsDocumentationRqd = _InspResultDocnRequired.InspResultIsDocumentationRqd
[0..1] I_DefectCode _InspDefectCodeRjcnUpper _InspDefectCodeRjcnUpper.DefectCodeGroup = $projection.InspSpecDefectCodeGrpRjcnUpper and _InspDefectCodeRjcnUpper.DefectCode = $projection.InspSpecDefectCodeRjcnUpper
[0..1] I_DefectCode _InspDefectCodeRjcnLower _InspDefectCodeRjcnLower.DefectCodeGroup = $projection.InspSpecDefectCodeGrpRjcnLower and _InspDefectCodeRjcnLower.DefectCode = $projection.InspSpecDefectCodeRjcnLower
[0..1] I_DefectCode _InspDefectCodeRejection _InspDefectCodeRejection.DefectCodeGroup = $projection.InspSpecDefectCodeGrpRejection and _InspDefectCodeRejection.DefectCode = $projection.InspSpecDefectCodeRejection
[0..1] I_DefectCodeGroup _InspDefectCodeGrpRjcnUpper _InspDefectCodeGrpRjcnUpper.DefectCodeGroup = $projection.InspSpecDefectCodeGrpRjcnUpper
[0..1] I_DefectCodeGroup _InspDefectCodeGrpRjcnLower _InspDefectCodeGrpRjcnLower.DefectCodeGroup = $projection.InspSpecDefectCodeGrpRjcnLower
[0..1] I_DefectCodeGroup _InspDefectCodeGrpRejection _InspDefectCodeGrpRejection.DefectCodeGroup = $projection.InspSpecDefectCodeGrpRejection
[0..1] I_InspectorQualification _InspectorQualification $projection.InspectorQualification = _InspectorQualification.InspectorQualification
[0..1] I_InspSpecImportanceCode _InspSpecImportanceCode $projection.InspSpecImportanceCode = _InspSpecImportanceCode.InspSpecImportanceCode
[0..1] I_CharcAttribSelectedCodeSet _CharcAttribSelectedCodeSet $projection.SelectedCodeSetPlant = _CharcAttribSelectedCodeSet.SelectedCodeSetPlant and $projection.SelectedCodeSet = _CharcAttribSelectedCodeSet.SelectedCodeSet

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IBOOCINSPSPUNION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Bill of Op. Charc. w. Insp. Charc. Data view
VDM.viewType #COMPOSITE view

Fields (58)

KeyFieldSource TableSource FieldDescription
KEY BillOfOperationsType I_BOOCharacteristicVersion BillOfOperationsType Task List Type
KEY BillOfOperationsGroup I_BOOCharacteristicVersion BillOfOperationsGroup Group
KEY BOOOperationInternalID I_BOOCharacteristicVersion BOOOperationInternalID Task list node
KEY BOOCharacteristic I_BOOCharacteristicVersion BOOCharacteristic Characteristic
KEY BOOCharacteristicVersion I_BOOCharacteristicVersion BOOCharacteristicVersion Sort pos.
ValidityStartDate I_BOOCharacteristicVersion ValidityStartDate Validity Start Date
ValidityEndDate I_BOOCharacteristicVersion ValidityEndDate ValidTo
ChangeNumber I_BOOCharacteristicVersion ChangeNumber Change Number
IsDeleted I_BOOCharacteristicVersion IsDeleted TRUE
BOOOperationPRTInternalID I_BOOCharacteristicVersion BOOOperationPRTInternalID Test equipment
InspectionMethod I_BOOCharacteristicVersion InspectionMethod Insp. Method
InspectionMethodVersion I_BOOCharacteristicVersion InspectionMethodVersion Version
InspectionMethodPlant I_BOOCharacteristicVersion InspectionMethodPlant Plant
InspectionSpecification I_BOOCharacteristicVersion InspectionSpecification Master IC
InspectionSpecificationVersion I_BOOCharacteristicVersion InspectionSpecificationVersion Version
InspectionSpecificationPlant I_BOOCharacteristicVersion InspectionSpecificationPlant Plant
BOOCharcHasInspSpecReference I_BOOCharacteristicVersion BOOCharcHasInspSpecReference Reference type
InspectionScopeendasInspectionScope
SelectedCodeSetendasSelectedCodeSet
SamplingProcedure I_BOOCharacteristicVersion SamplingProcedure Smpl.procedure
InspCharacteristicSampleUnit I_BOOCharacteristicVersion InspCharacteristicSampleUnit Sample Unit
BOOCharcSampleQuantity I_BOOCharacteristicVersion BOOCharcSampleQuantity Base smpl. qty
CreatedByUser I_BOOCharacteristicVersion CreatedByUser User Name
CreationDate I_BOOCharacteristicVersion CreationDate Time Stamp
LastChangedByUser I_BOOCharacteristicVersion LastChangedByUser User Name
LastChangeDate I_BOOCharacteristicVersion LastChangeDate Time Stamp
BillOfOperationsVersion I_BOOCharacteristicVersion BillOfOperationsVersion Routing Version
_AssgmtInspMethInspSpec _AssgmtInspMethInspSpec
_BOOCharacteristic I_BOOCharacteristicVersion _BOOCharacteristic
_BOOOperationInternalID I_BOOCharacteristicVersion _BOOOperationInternalID
_BillOfOperationsGroup I_BOOCharacteristicVersion _BillOfOperationsGroup
_BillOfOperationsType I_BOOCharacteristicVersion _BillOfOperationsType
_InspDefectCodeGrpRejection _InspDefectCodeGrpRejection
_InspDefectCodeGrpRjcnLower _InspDefectCodeGrpRjcnLower
_InspDefectCodeGrpRjcnUpper _InspDefectCodeGrpRjcnUpper
_InspDefectCodeRejection _InspDefectCodeRejection
_InspDefectCodeRjcnLower _InspDefectCodeRjcnLower
_InspDefectCodeRjcnUpper _InspDefectCodeRjcnUpper
_CharcAttribSelectedCodeSet _CharcAttribSelectedCodeSet
_InspResultDocnRequired _InspResultDocnRequired
_InspSpecCharcCategory _InspSpecCharcCategory
_InspSpecCharcType _InspSpecCharcType
_InspSpecPrintControl _InspSpecPrintControl
_InspSpecRecordingType _InspSpecRecordingType
_InspSpecRsltCalculation _InspSpecRsltCalculation
_InspSpecUnitOfMeasure _InspSpecUnitOfMeasure
_InspSpecificationVersion I_BOOCharacteristicVersion _InspSpecificationVersion
_InspToleranceSpecification _InspToleranceSpecification
_InspectorQualification _InspectorQualification
_InspectionMethod I_BOOCharacteristicVersion _InspectionMethod
_InspectionMethodPlant I_BOOCharacteristicVersion _InspectionMethodPlant
_InspectionMethodVersion I_BOOCharacteristicVersion _InspectionMethodVersion
_InspSpecImportanceCode _InspSpecImportanceCode
_InspectionScope _InspectionScope
_InspectionSpecification I_BOOCharacteristicVersion _InspectionSpecification
_InspectionSpecificationPlant I_BOOCharacteristicVersion _InspectionSpecificationPlant
_SampleUnitOfMeasure I_BOOCharacteristicVersion _SampleUnitOfMeasure
_SamplingProcedure I_BOOCharacteristicVersion _SamplingProcedure

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_BOOCharcInspSpecUnion.
-- 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: IBOOCINSPSPUNION

CREATE VIEW I_BOOCharcInspSpecUnion AS
SELECT
  I_BOOCharacteristicVersion.BillOfOperationsType AS BillOfOperationsType,
  I_BOOCharacteristicVersion.BillOfOperationsGroup AS BillOfOperationsGroup,
  I_BOOCharacteristicVersion.BOOOperationInternalID AS BOOOperationInternalID,
  I_BOOCharacteristicVersion.BOOCharacteristic AS BOOCharacteristic,
  I_BOOCharacteristicVersion.BOOCharacteristicVersion AS BOOCharacteristicVersion,
  I_BOOCharacteristicVersion.ValidityStartDate AS ValidityStartDate,
  I_BOOCharacteristicVersion.ValidityEndDate AS ValidityEndDate,
  I_BOOCharacteristicVersion.ChangeNumber AS ChangeNumber,
  I_BOOCharacteristicVersion.IsDeleted AS IsDeleted,
  I_BOOCharacteristicVersion.BOOOperationPRTInternalID AS BOOOperationPRTInternalID,
  I_BOOCharacteristicVersion.InspectionMethod AS InspectionMethod,
  I_BOOCharacteristicVersion.InspectionMethodVersion AS InspectionMethodVersion,
  I_BOOCharacteristicVersion.InspectionMethodPlant AS InspectionMethodPlant,
  I_BOOCharacteristicVersion.InspectionSpecification AS InspectionSpecification,
  I_BOOCharacteristicVersion.InspectionSpecificationVersion AS InspectionSpecificationVersion,
  I_BOOCharacteristicVersion.InspectionSpecificationPlant AS InspectionSpecificationPlant,
  I_BOOCharacteristicVersion.BOOCharcHasInspSpecReference AS BOOCharcHasInspSpecReference,
  case I_BOOCharacteristicVersion.BOOCharcHasInspSpecReference when 'X' then _InspSpecificationVersion.InspectionScope else I_BOOCharacteristicVersion.InspectionScope end as InspectionScope AS InspectionScopeendasInspectionScope,
  case I_BOOCharacteristicVersion.BOOCharcHasInspSpecReference when 'X' then _AssgmtInspMethInspSpec.SelectedCodeSet else I_BOOCharacteristicVersion.SelectedCodeSet end as SelectedCodeSet AS SelectedCodeSetendasSelectedCodeSet,
  I_BOOCharacteristicVersion.SamplingProcedure AS SamplingProcedure,
  I_BOOCharacteristicVersion.InspCharacteristicSampleUnit AS InspCharacteristicSampleUnit,
  I_BOOCharacteristicVersion.BOOCharcSampleQuantity AS BOOCharcSampleQuantity,
  I_BOOCharacteristicVersion.CreatedByUser AS CreatedByUser,
  I_BOOCharacteristicVersion.CreationDate AS CreationDate,
  I_BOOCharacteristicVersion.LastChangedByUser AS LastChangedByUser,
  I_BOOCharacteristicVersion.LastChangeDate AS LastChangeDate,
  I_BOOCharacteristicVersion.BillOfOperationsVersion AS BillOfOperationsVersion,
  I_BOOCharacteristicVersion._BOOCharacteristic AS _BOOCharacteristic,
  I_BOOCharacteristicVersion._BOOOperationInternalID AS _BOOOperationInternalID,
  I_BOOCharacteristicVersion._BillOfOperationsGroup AS _BillOfOperationsGroup,
  I_BOOCharacteristicVersion._BillOfOperationsType AS _BillOfOperationsType,
  I_BOOCharacteristicVersion._InspSpecificationVersion AS _InspSpecificationVersion,
  I_BOOCharacteristicVersion._InspectionMethod AS _InspectionMethod,
  I_BOOCharacteristicVersion._InspectionMethodPlant AS _InspectionMethodPlant,
  I_BOOCharacteristicVersion._InspectionMethodVersion AS _InspectionMethodVersion,
  I_BOOCharacteristicVersion._InspectionSpecification AS _InspectionSpecification,
  I_BOOCharacteristicVersion._InspectionSpecificationPlant AS _InspectionSpecificationPlant,
  I_BOOCharacteristicVersion._SampleUnitOfMeasure AS _SampleUnitOfMeasure,
  I_BOOCharacteristicVersion._SamplingProcedure AS _SamplingProcedure
FROM I_BOOCharacteristicVersion
LEFT OUTER JOIN I_AssgmtInspMethInspSpec AS _AssgmtInspMethInspSpec ON InspectionSpecificationPlant = _AssgmtInspMethInspSpec.InspectionSpecificationPlant AND InspectionSpecification = _AssgmtInspMethInspSpec.InspectionSpecification AND InspectionSpecificationVersion = _AssgmtInspMethInspSpec.InspectionSpecificationVersion AND InspectionMethodPlant = _AssgmtInspMethInspSpec.InspectionMethodPlant AND InspectionMethod = _AssgmtInspMethInspSpec.InspectionMethod AND InspectionMethodVersion = _AssgmtInspMethInspSpec.InspectionMethodVersion  -- association [0..1]
LEFT OUTER JOIN I_InspToleranceSpecification AS _InspToleranceSpecification ON InspToleranceSpecification = _InspToleranceSpecification.InspToleranceSpecification  -- association [0..1]
LEFT OUTER JOIN I_InspectionScope AS _InspectionScope ON InspectionScope = _InspectionScope.InspectionScope  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _InspSpecUnitOfMeasure ON InspectionSpecificationUnit = _InspSpecUnitOfMeasure.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_InspSpecRsltCalculation AS _InspSpecRsltCalculation ON InspSpecResultCalculation = _InspSpecRsltCalculation.InspSpecResultCalculation  -- association [0..1]
LEFT OUTER JOIN I_InspSpecRecordingType AS _InspSpecRecordingType ON InspSpecRecordingType = _InspSpecRecordingType.InspSpecRecordingType  -- association [0..1]
LEFT OUTER JOIN I_InspSpecPrintControl AS _InspSpecPrintControl ON InspSpecPrintControl = _InspSpecPrintControl.InspSpecPrintControl  -- association [0..1]
LEFT OUTER JOIN I_InspSpecCharcType AS _InspSpecCharcType ON InspSpecCharacteristicType = _InspSpecCharcType.InspSpecCharacteristicType  -- association [1..1]
LEFT OUTER JOIN I_Inspspeccharccategory AS _InspSpecCharcCategory ON InspSpecCharcCategory = _InspSpecCharcCategory.InspSpecCharcCategory  -- association [0..1]
LEFT OUTER JOIN I_InspResultDocuRequired AS _InspResultDocnRequired ON InspResultIsDocumentationRqd = _InspResultDocnRequired.InspResultIsDocumentationRqd  -- association [0..1]
LEFT OUTER JOIN I_DefectCode AS _InspDefectCodeRjcnUpper ON _InspDefectCodeRjcnUpper.DefectCodeGroup = InspSpecDefectCodeGrpRjcnUpper AND _InspDefectCodeRjcnUpper.DefectCode = InspSpecDefectCodeRjcnUpper  -- association [0..1]
LEFT OUTER JOIN I_DefectCode AS _InspDefectCodeRjcnLower ON _InspDefectCodeRjcnLower.DefectCodeGroup = InspSpecDefectCodeGrpRjcnLower AND _InspDefectCodeRjcnLower.DefectCode = InspSpecDefectCodeRjcnLower  -- association [0..1]
LEFT OUTER JOIN I_DefectCode AS _InspDefectCodeRejection ON _InspDefectCodeRejection.DefectCodeGroup = InspSpecDefectCodeGrpRejection AND _InspDefectCodeRejection.DefectCode = InspSpecDefectCodeRejection  -- association [0..1]
LEFT OUTER JOIN I_DefectCodeGroup AS _InspDefectCodeGrpRjcnUpper ON _InspDefectCodeGrpRjcnUpper.DefectCodeGroup = InspSpecDefectCodeGrpRjcnUpper  -- association [0..1]
LEFT OUTER JOIN I_DefectCodeGroup AS _InspDefectCodeGrpRjcnLower ON _InspDefectCodeGrpRjcnLower.DefectCodeGroup = InspSpecDefectCodeGrpRjcnLower  -- association [0..1]
LEFT OUTER JOIN I_DefectCodeGroup AS _InspDefectCodeGrpRejection ON _InspDefectCodeGrpRejection.DefectCodeGroup = InspSpecDefectCodeGrpRejection  -- association [0..1]
LEFT OUTER JOIN I_InspectorQualification AS _InspectorQualification ON InspectorQualification = _InspectorQualification.InspectorQualification  -- association [0..1]
LEFT OUTER JOIN I_InspSpecImportanceCode AS _InspSpecImportanceCode ON InspSpecImportanceCode = _InspSpecImportanceCode.InspSpecImportanceCode  -- association [0..1]
LEFT OUTER JOIN I_CharcAttribSelectedCodeSet AS _CharcAttribSelectedCodeSet ON SelectedCodeSetPlant = _CharcAttribSelectedCodeSet.SelectedCodeSetPlant AND SelectedCodeSet = _CharcAttribSelectedCodeSet.SelectedCodeSet  -- association [0..1]
;