I_ProdnRtgInspCharcsAssgmt

DDL: I_PRODNRTGINSPCHARCSASSGMT Type: view_entity COMPOSITE

Inspection Characteristics Assignment

I_ProdnRtgInspCharcsAssgmt is a Composite CDS View that provides data about "Inspection Characteristics Assignment" in SAP S/4HANA. It reads from 2 data sources (I_BOOSqncOperationAssgmtChgSt, I_BOOCharacteristicVersion) and exposes 64 fields with key fields BillOfOperationsType, BillOfOperationsGroup, BillOfOperationsVariant, BillOfOperationsSequence, BOOOperationInternalID. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_BOOSqncOperationAssgmtChgSt plas inner
I_BOOCharacteristicVersion plmk from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_AssgmtInspMethInspSpec qpmz plmk.InspectionMethodPlant = qpmz.InspectionMethodPlant and plmk.InspectionMethod = qpmz.InspectionMethod and plmk.InspectionMethodVersion = qpmz.InspectionMethodVersion and plmk.InspectionSpecificationPlant = qpmz.InspectionSpecificationPlant and plmk.InspectionSpecification = qpmz.InspectionSpecification and plmk.InspectionSpecificationVersion = qpmz.InspectionSpecificationVersion and plmk.BOOCharcHasInspSpecReference = 'X'

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Inspection Characteristics Assignment view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #COMPOSITE view

Fields (64)

KeyFieldSource TableSource FieldDescription
KEY BillOfOperationsType I_BOOCharacteristicVersion BillOfOperationsType Task List Type
KEY BillOfOperationsGroup I_BOOCharacteristicVersion BillOfOperationsGroup Group
KEY BillOfOperationsVariant I_BOOSqncOperationAssgmtChgSt BillOfOperationsVariant Group Counter
KEY BillOfOperationsSequence I_BOOSqncOperationAssgmtChgSt BillOfOperationsSequence Sequence
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
InspectionMethodPlant I_BOOCharacteristicVersion InspectionMethodPlant Plant
InspectionMethod I_BOOCharacteristicVersion InspectionMethod Insp. Method
InspectionMethodVersion I_BOOCharacteristicVersion InspectionMethodVersion Version
InspSpecImportanceCode I_BOOCharacteristicVersion InspSpecImportanceCode Weighting
InspectorQualification I_BOOCharacteristicVersion InspectorQualification
BOOOperationPRTInternalID I_BOOCharacteristicVersion BOOOperationPRTInternalID
InspectionSpecificationPlant I_BOOCharacteristicVersion InspectionSpecificationPlant
InspectionSpecification I_BOOCharacteristicVersion InspectionSpecification Master IC
InspectionSpecificationVersion I_BOOCharacteristicVersion InspectionSpecificationVersion
BOOCharcHasInspSpecReference I_BOOCharacteristicVersion BOOCharcHasInspSpecReference
InspectionScopeendasInspectionScope
InspSpecNumberOfClasses I_BOOCharacteristicVersion InspSpecNumberOfClasses
InspSpecClassWidthQty I_BOOCharacteristicVersion InspSpecClassWidthQty
InspSpecHasClassWidth I_BOOCharacteristicVersion InspSpecHasClassWidth
InspSpecClassMidpointQty I_BOOCharacteristicVersion InspSpecClassMidpointQty
InspSpecHasClassMidpoint I_BOOCharacteristicVersion InspSpecHasClassMidpoint
InspSpecHasFormula I_BOOCharacteristicVersion InspSpecHasFormula
InspSpecFormula1 I_BOOCharacteristicVersion InspSpecFormula1
InspSpecFormula2 I_BOOCharacteristicVersion InspSpecFormula2
SelectedCodeSetendasSelectedCodeSet
SamplingProcedure I_BOOCharacteristicVersion SamplingProcedure
InspCharacteristicSampleUnit I_BOOCharacteristicVersion InspCharacteristicSampleUnit
BOOCharcSampleQuantity I_BOOCharacteristicVersion BOOCharcSampleQuantity
InspectionSpecificationText I_BOOCharacteristicVersion InspectionSpecificationText
CreatedByUser I_BOOCharacteristicVersion CreatedByUser User Name
CreationDate I_BOOCharacteristicVersion CreationDate Time Stamp
LastChangedByUser I_BOOCharacteristicVersion LastChangedByUser User Name
LastChangeDate I_BOOCharacteristicVersion LastChangeDate Time Stamp
MatlIsConsideredForDynModif I_BOOCharacteristicVersion MatlIsConsideredForDynModif
SuplrIsConsideredForDynModif I_BOOCharacteristicVersion SuplrIsConsideredForDynModif
MfrIsConsideredForDynModif I_BOOCharacteristicVersion MfrIsConsideredForDynModif
CustIsConsideredForDynModif I_BOOCharacteristicVersion CustIsConsideredForDynModif
InspLotDynamicRule I_BOOCharacteristicVersion InspLotDynamicRule
InspCharcDynModifRef I_BOOCharacteristicVersion InspCharcDynModifRef
QltyCtrlChartAggrgnCriterion I_BOOCharacteristicVersion QltyCtrlChartAggrgnCriterion
InspSpecInputProcedure I_BOOCharacteristicVersion InspSpecInputProcedure
BOOCharcGroup I_BOOCharacteristicVersion BOOCharcGroup Characteristic Group
BOOCharcSourceCharc I_BOOCharacteristicVersion BOOCharcSourceCharc Source Charc
BOOCharcGroupDivision I_BOOCharacteristicVersion BOOCharcGroupDivision Internal Division ID
BillOfOperationsVersion I_BOOCharacteristicVersion BillOfOperationsVersion Routing Version
_BillOfOperationsGroup I_BOOCharacteristicVersion _BillOfOperationsGroup
_BillOfOperationsType I_BOOCharacteristicVersion _BillOfOperationsType
_BOOCharacteristic I_BOOCharacteristicVersion _BOOCharacteristic
_BOOOperationInternalID I_BOOCharacteristicVersion _BOOOperationInternalID
_InspectionMethod I_BOOCharacteristicVersion _InspectionMethod
_InspectionMethodPlant I_BOOCharacteristicVersion _InspectionMethodPlant
_InspectionMethodVersion I_BOOCharacteristicVersion _InspectionMethodVersion
_InspectionSpecificationPlant I_BOOCharacteristicVersion _InspectionSpecificationPlant
_InspectorQualification I_BOOCharacteristicVersion _InspectorQualification
_InspSpecificationVersion I_BOOCharacteristicVersion _InspSpecificationVersion
_InspSpecImportanceCode I_BOOCharacteristicVersion _InspSpecImportanceCode
_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_ProdnRtgInspCharcsAssgmt.
-- 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_ProdnRtgInspCharcsAssgmt AS
SELECT
  plmk.BillOfOperationsType AS BillOfOperationsType,
  plmk.BillOfOperationsGroup AS BillOfOperationsGroup,
  plas.BillOfOperationsVariant AS BillOfOperationsVariant,
  plas.BillOfOperationsSequence AS BillOfOperationsSequence,
  plmk.BOOOperationInternalID AS BOOOperationInternalID,
  plmk.BOOCharacteristic AS BOOCharacteristic,
  plmk.BOOCharacteristicVersion AS BOOCharacteristicVersion,
  plmk.ValidityStartDate AS ValidityStartDate,
  plmk.ValidityEndDate AS ValidityEndDate,
  plmk.ChangeNumber AS ChangeNumber,
  plmk.IsDeleted AS IsDeleted,
  plmk.InspectionMethodPlant AS InspectionMethodPlant,
  plmk.InspectionMethod AS InspectionMethod,
  plmk.InspectionMethodVersion AS InspectionMethodVersion,
  plmk.InspSpecImportanceCode AS InspSpecImportanceCode,
  plmk.InspectorQualification AS InspectorQualification,
  plmk.BOOOperationPRTInternalID AS BOOOperationPRTInternalID,
  plmk.InspectionSpecificationPlant AS InspectionSpecificationPlant,
  plmk.InspectionSpecification AS InspectionSpecification,
  plmk.InspectionSpecificationVersion AS InspectionSpecificationVersion,
  plmk.BOOCharcHasInspSpecReference AS BOOCharcHasInspSpecReference,
  case plmk.BOOCharcHasInspSpecReference when 'X' then plmk._InspSpecificationVersion.InspectionScope else plmk.InspectionScope end as InspectionScope AS InspectionScopeendasInspectionScope,
  plmk.InspSpecNumberOfClasses AS InspSpecNumberOfClasses,
  plmk.InspSpecClassWidthQty AS InspSpecClassWidthQty,
  plmk.InspSpecHasClassWidth AS InspSpecHasClassWidth,
  plmk.InspSpecClassMidpointQty AS InspSpecClassMidpointQty,
  plmk.InspSpecHasClassMidpoint AS InspSpecHasClassMidpoint,
  plmk.InspSpecHasFormula AS InspSpecHasFormula,
  plmk.InspSpecFormula1 AS InspSpecFormula1,
  plmk.InspSpecFormula2 AS InspSpecFormula2,
  case plmk.BOOCharcHasInspSpecReference when 'X' then qpmz.SelectedCodeSet else plmk.SelectedCodeSet end as SelectedCodeSet AS SelectedCodeSetendasSelectedCodeSet,
  plmk.SamplingProcedure AS SamplingProcedure,
  plmk.InspCharacteristicSampleUnit AS InspCharacteristicSampleUnit,
  plmk.BOOCharcSampleQuantity AS BOOCharcSampleQuantity,
  plmk.InspectionSpecificationText AS InspectionSpecificationText,
  plmk.CreatedByUser AS CreatedByUser,
  plmk.CreationDate AS CreationDate,
  plmk.LastChangedByUser AS LastChangedByUser,
  plmk.LastChangeDate AS LastChangeDate,
  plmk.MatlIsConsideredForDynModif AS MatlIsConsideredForDynModif,
  plmk.SuplrIsConsideredForDynModif AS SuplrIsConsideredForDynModif,
  plmk.MfrIsConsideredForDynModif AS MfrIsConsideredForDynModif,
  plmk.CustIsConsideredForDynModif AS CustIsConsideredForDynModif,
  plmk.InspLotDynamicRule AS InspLotDynamicRule,
  plmk.InspCharcDynModifRef AS InspCharcDynModifRef,
  plmk.QltyCtrlChartAggrgnCriterion AS QltyCtrlChartAggrgnCriterion,
  plmk.InspSpecInputProcedure AS InspSpecInputProcedure,
  plmk.BOOCharcGroup AS BOOCharcGroup,
  plmk.BOOCharcSourceCharc AS BOOCharcSourceCharc,
  plmk.BOOCharcGroupDivision AS BOOCharcGroupDivision,
  plmk.BillOfOperationsVersion AS BillOfOperationsVersion,
  plmk._BillOfOperationsGroup AS _BillOfOperationsGroup,
  plmk._BillOfOperationsType AS _BillOfOperationsType,
  plmk._BOOCharacteristic AS _BOOCharacteristic,
  plmk._BOOOperationInternalID AS _BOOOperationInternalID,
  plmk._InspectionMethod AS _InspectionMethod,
  plmk._InspectionMethodPlant AS _InspectionMethodPlant,
  plmk._InspectionMethodVersion AS _InspectionMethodVersion,
  plmk._InspectionSpecificationPlant AS _InspectionSpecificationPlant,
  plmk._InspectorQualification AS _InspectorQualification,
  plmk._InspSpecificationVersion AS _InspSpecificationVersion,
  plmk._InspSpecImportanceCode AS _InspSpecImportanceCode,
  plmk._SampleUnitOfMeasure AS _SampleUnitOfMeasure,
  plmk._SamplingProcedure AS _SamplingProcedure
FROM I_BOOCharacteristicVersion AS plmk
INNER JOIN I_BOOSqncOperationAssgmtChgSt AS plas ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_AssgmtInspMethInspSpec AS qpmz ON plmk.InspectionMethodPlant = qpmz.InspectionMethodPlant AND plmk.InspectionMethod = qpmz.InspectionMethod AND plmk.InspectionMethodVersion = qpmz.InspectionMethodVersion AND plmk.InspectionSpecificationPlant = qpmz.InspectionSpecificationPlant AND plmk.InspectionSpecification = qpmz.InspectionSpecification AND plmk.InspectionSpecificationVersion = qpmz.InspectionSpecificationVersion AND plmk.BOOCharcHasInspSpecReference = 'X'  -- association [1..1]
;