I_MfgInspCharcHistory

DDL: I_MFGINSPCHARCHISTORY SQL: IMFGICHISTROY Type: view COMPOSITE

Inspection Characteristic History

I_MfgInspCharcHistory is a Composite CDS View that provides data about "Inspection Characteristic History" in SAP S/4HANA. It reads from 16 data sources and exposes 157 fields with key fields InspectionLot, InspPlanOperationInternalID, InspectionCharacteristic, InspectionSubsetInternalID, InspResultValueInternalID.

Data Sources (16)

SourceAliasJoin Type
I_InspectionCharacteristic Charc inner
I_InspectionResult CharcResult inner
I_InspectionResult CharcResult inner
P_MfgInspCharcSmplChgDocItem Doc inner
P_MfgInspCharcChgDocItem Doc inner
I_InspectionLot Lot from
I_InspectionLot Lot union_all
I_InspectionLot Lot union_all
I_InspectionLot Lot union_all
I_InspectionLot Lot union_all
I_InspectionLot Lot union_all
I_InspectionResultValue SingleResult inner
I_InspectionSubset Subset inner
I_InspectionSubset Subset inner
I_InspSubsetResult SubsetResult inner
I_InspSubsetResult SubsetResult inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IMFGICHISTROY view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Inspection Characteristic History view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (157)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot I_InspectionLot InspectionLot Inspection Lot
KEY InspPlanOperationInternalID I_InspSubsetResult InspPlanOperationInternalID Node Number
KEY InspectionCharacteristic I_InspSubsetResult InspectionCharacteristic Characteristic
KEY InspectionSubsetInternalID I_InspSubsetResult InspectionSubsetInternalID Sample Number
KEY InspResultValueInternalID I_InspectionResultValue InspResultValueInternalID Indiv. result
KEY ChangeDocDatabaseTableField P_MfgInspCharcChgDocItem ChangeDocDatabaseTableField
KEY ChangeDocument P_MfgInspCharcChgDocItem ChangeDocument Document Number
KEY MfgExecDocumentCategory
ManufacturingOrder I_InspectionLot ManufacturingOrder Order
CreatedByUser P_MfgInspCharcChgDocItem CreatedByUser Created By
CreationDate P_MfgInspCharcChgDocItem CreationDate Created On
CreationTime P_MfgInspCharcChgDocItem CreationTime Time of Change
ChangeDocObjectClass P_MfgInspCharcChgDocItem ChangeDocObjectClass Change Doc. Object
ChangeDocNewFieldValue P_MfgInspCharcChgDocItem ChangeDocNewFieldValue
ChangeDocPreviousFieldValue P_MfgInspCharcChgDocItem ChangeDocPreviousFieldValue
InspectionResultMeanValue Mean Value
CharacteristicAttributeCodeGrp I_InspectionResultValue CharacteristicAttributeCodeGrp Code Group
CharacteristicAttributeCode I_InspectionResultValue CharacteristicAttributeCode Code
InspectionResultMeasuredValue I_InspectionResultValue InspectionResultMeasuredValue Measured Value
InspectionResultAttribute I_InspectionResultValue InspectionResultAttribute Name of attribute
InspectionValuationResult Valuation
InspCharcIsNotPlanned
ShopFloorItem I_InspectionSubset ShopFloorItem Serial.Mat. ID
Plant I_InspectionLot Plant Valuation Area
InspectionLotType I_InspectionLot InspectionLotType Inspection Type
MatlQualityAuthorizationGroup I_InspectionLot MatlQualityAuthorizationGroup QM Matl Auth.
InspectionLot Inspection Lot
KEY InspPlanOperationInternalID I_InspectionResult InspPlanOperationInternalID Node Number
KEY InspectionCharacteristic I_InspectionResult InspectionCharacteristic Characteristic
KEY InspectionSubsetInternalID Sample Number
KEY InspResultValueInternalID I_InspectionResultValue InspResultValueInternalID Indiv. result
KEY ChangeDocDatabaseTableField P_MfgInspCharcChgDocItem ChangeDocDatabaseTableField
KEY ChangeDocument P_MfgInspCharcChgDocItem ChangeDocument Document Number
KEY MfgExecDocumentCategory
ManufacturingOrder I_InspectionLot ManufacturingOrder Order
CreatedByUser P_MfgInspCharcChgDocItem CreatedByUser Created By
CreationDate P_MfgInspCharcChgDocItem CreationDate Created On
CreationTime P_MfgInspCharcChgDocItem CreationTime Time of Change
ChangeDocObjectClass P_MfgInspCharcChgDocItem ChangeDocObjectClass Change Doc. Object
ChangeDocNewFieldValue P_MfgInspCharcChgDocItem ChangeDocNewFieldValue
ChangeDocPreviousFieldValue P_MfgInspCharcChgDocItem ChangeDocPreviousFieldValue
InspectionResultMeanValue Mean Value
CharacteristicAttributeCodeGrp I_InspectionResultValue CharacteristicAttributeCodeGrp Code Group
CharacteristicAttributeCode I_InspectionResultValue CharacteristicAttributeCode Code
InspectionResultMeasuredValue I_InspectionResultValue InspectionResultMeasuredValue Measured Value
InspectionResultAttribute I_InspectionResultValue InspectionResultAttribute Name of attribute
InspectionValuationResult Valuation
InspCharcIsNotPlanned
ShopFloorItem Serial.Mat. ID
Plant I_InspectionLot Plant Valuation Area
InspectionLotType I_InspectionLot InspectionLotType Inspection Type
MatlQualityAuthorizationGroup I_InspectionLot MatlQualityAuthorizationGroup QM Matl Auth.
InspectionLot Inspection Lot
KEY InspPlanOperationInternalID I_InspectionResult InspPlanOperationInternalID Node Number
KEY InspectionCharacteristic I_InspectionResult InspectionCharacteristic Characteristic
KEY InspectionSubsetInternalID Sample Number
KEY InspResultValueInternalID Indiv. result
KEY ChangeDocDatabaseTableField P_MfgInspCharcChgDocItem ChangeDocDatabaseTableField
KEY ChangeDocument P_MfgInspCharcChgDocItem ChangeDocument Document Number
KEY MfgExecDocumentCategory
ManufacturingOrder I_InspectionLot ManufacturingOrder Order
CreatedByUser I_InspectionResult CreatedByUser Created By
CreationDate I_InspectionResult CreationDate Created On
CreationTime I_InspectionResult CreationTime Time of Change
ChangeDocObjectClass CharcInitChg ChangeDocObjectClass Change Doc. Object
ChangeDocNewFieldValue P_MfgInspCharcChgDocItem ChangeDocNewFieldValue
ChangeDocPreviousFieldValue P_MfgInspCharcChgDocItem ChangeDocPreviousFieldValue
InspectionResultMeanValue I_InspectionResult InspectionResultMeanValue Mean Value
CharacteristicAttributeCodeGrp I_InspectionResult CharacteristicAttributeCodeGrp Code Group
CharacteristicAttributeCode I_InspectionResult CharacteristicAttributeCode Code
InspectionResultMeasuredValue Measured Value
InspectionResultAttribute Name of attribute
InspectionValuationResult I_InspectionResult InspectionValuationResult Valuation
InspCharcIsNotPlanned
ShopFloorItem Serial.Mat. ID
Plant I_InspectionLot Plant Valuation Area
InspectionLotType I_InspectionLot InspectionLotType Inspection Type
MatlQualityAuthorizationGroup I_InspectionLot MatlQualityAuthorizationGroup QM Matl Auth.
InspectionLot Inspection Lot
KEY InspPlanOperationInternalID I_InspSubsetResult InspPlanOperationInternalID Node Number
KEY InspectionCharacteristic I_InspSubsetResult InspectionCharacteristic Characteristic
KEY InspectionSubsetInternalID I_InspSubsetResult InspectionSubsetInternalID Sample Number
KEY InspResultValueInternalID Indiv. result
KEY ChangeDocDatabaseTableField P_MfgInspCharcChgDocItem ChangeDocDatabaseTableField
KEY ChangeDocument P_MfgInspCharcChgDocItem ChangeDocument Document Number
KEY MfgExecDocumentCategory
ManufacturingOrder I_InspectionLot ManufacturingOrder Order
CreatedByUser I_InspSubsetResult CreatedByUser Created By
CreationDate I_InspSubsetResult CreationDate Created On
CreationTime I_InspSubsetResult CreationTime Time of Change
ChangeDocObjectClass CharcInitChg ChangeDocObjectClass Change Doc. Object
ChangeDocNewFieldValue P_MfgInspCharcChgDocItem ChangeDocNewFieldValue
ChangeDocPreviousFieldValue P_MfgInspCharcChgDocItem ChangeDocPreviousFieldValue
InspectionResultMeanValue I_InspSubsetResult InspectionResultMeanValue Mean Value
CharacteristicAttributeCodeGrp I_InspSubsetResult CharacteristicAttributeCodeGrp Code Group
CharacteristicAttributeCode I_InspSubsetResult CharacteristicAttributeCode Code
InspectionResultMeasuredValue Measured Value
InspectionResultAttribute Name of attribute
InspectionValuationResult I_InspSubsetResult InspectionValuationResult Valuation
InspCharcIsNotPlanned
ShopFloorItem I_InspectionSubset ShopFloorItem Serial.Mat. ID
Plant I_InspectionLot Plant Valuation Area
InspectionLotType I_InspectionLot InspectionLotType Inspection Type
MatlQualityAuthorizationGroup I_InspectionLot MatlQualityAuthorizationGroup QM Matl Auth.
InspectionLot Inspection Lot
KEY InspPlanOperationInternalID I_InspectionResultValue InspPlanOperationInternalID Node Number
KEY InspectionCharacteristic I_InspectionResultValue InspectionCharacteristic Characteristic
KEY InspectionSubsetInternalID I_InspectionResultValue InspectionSubsetInternalID Sample Number
KEY InspResultValueInternalID I_InspectionResultValue InspResultValueInternalID Indiv. result
KEY ChangeDocDatabaseTableField
KEY ChangeDocument Document Number
KEY MfgExecDocumentCategory
ManufacturingOrder I_InspectionLot ManufacturingOrder Order
CreatedByUser I_InspectionResultValue CreatedByUser Created By
CreationDate I_InspectionResultValue CreationDate Created On
CreationTime I_InspectionResultValue CreationTime Time of Change
ChangeDocObjectClass Change Doc. Object
ChangeDocNewFieldValue
ChangeDocPreviousFieldValue
InspectionResultMeanValue Mean Value
CharacteristicAttributeCodeGrp I_InspectionResultValue CharacteristicAttributeCodeGrp Code Group
CharacteristicAttributeCode I_InspectionResultValue CharacteristicAttributeCode Code
InspectionResultMeasuredValue I_InspectionResultValue InspectionResultMeasuredValue Measured Value
InspectionResultAttribute I_InspectionResultValue InspectionResultAttribute Name of attribute
InspectionValuationResult Valuation
InspCharcIsNotPlanned
ShopFloorItem I_InspectionSubset ShopFloorItem Serial.Mat. ID
Plant I_InspectionLot Plant Valuation Area
InspectionLotType I_InspectionLot InspectionLotType Inspection Type
MatlQualityAuthorizationGroup I_InspectionLot MatlQualityAuthorizationGroup QM Matl Auth.
InspectionLot Inspection Lot
KEY InspPlanOperationInternalID I_InspectionCharacteristic InspPlanOperationInternalID Node Number
KEY InspectionCharacteristic I_InspectionCharacteristic InspectionCharacteristic Characteristic
KEY InspectionSubsetInternalID SubsetCharc InspectionSubsetInternalID Sample Number
KEY InspResultValueInternalID Indiv. result
KEY ChangeDocDatabaseTableField
KEY ChangeDocument Document Number
KEY MfgExecDocumentCategory
ManufacturingOrder I_InspectionLot ManufacturingOrder Order
CreatedByUser I_InspectionCharacteristic InspCharcCreatedBy Created By
CreationDate I_InspectionCharacteristic InspCharcCreationDate Created On
CreationTime Time of Change
ChangeDocObjectClass Change Doc. Object
ChangeDocNewFieldValue
ChangeDocPreviousFieldValue
InspectionResultMeanValue Mean Value
CharacteristicAttributeCodeGrp Code Group
CharacteristicAttributeCode Code
InspectionResultMeasuredValue Measured Value
InspectionResultAttribute Name of attribute
InspectionValuationResult Valuation
InspCharcIsNotPlanned I_InspectionCharacteristic InspCharcIsNotPlanned
ShopFloorItem I_InspectionSubset ShopFloorItem Serial.Mat. ID
Plant I_InspectionLot Plant Valuation Area
InspectionLotType I_InspectionLot InspectionLotType Inspection Type
MatlQualityAuthorizationGroup I_InspectionLot MatlQualityAuthorizationGroup QM Matl Auth.
InspectionResultLongText

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_MfgInspCharcHistory.
-- 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: IMFGICHISTROY

CREATE VIEW I_MfgInspCharcHistory AS
SELECT
  Lot.InspectionLot AS InspectionLot,
  SubsetResult.InspPlanOperationInternalID AS InspPlanOperationInternalID,
  SubsetResult.InspectionCharacteristic AS InspectionCharacteristic,
  SubsetResult.InspectionSubsetInternalID AS InspectionSubsetInternalID,
  SingleResult.InspResultValueInternalID AS InspResultValueInternalID,
  Doc.ChangeDocDatabaseTableField AS ChangeDocDatabaseTableField,
  Doc.ChangeDocument AS ChangeDocument,
  cast (101 as mpe_exec_doc_category preserving type ) AS MfgExecDocumentCategory,
  Lot.ManufacturingOrder AS ManufacturingOrder,
  Doc.CreatedByUser AS CreatedByUser,
  Doc.CreationDate AS CreationDate,
  Doc.CreationTime AS CreationTime,
  Doc.ChangeDocObjectClass AS ChangeDocObjectClass,
  Doc.ChangeDocNewFieldValue AS ChangeDocNewFieldValue,
  Doc.ChangeDocPreviousFieldValue AS ChangeDocPreviousFieldValue,
  cast(0 as qmittelwrt) AS InspectionResultMeanValue,
  SingleResult.CharacteristicAttributeCodeGrp AS CharacteristicAttributeCodeGrp,
  SingleResult.CharacteristicAttributeCode AS CharacteristicAttributeCode,
  SingleResult.InspectionResultMeasuredValue AS InspectionResultMeasuredValue,
  SingleResult.InspectionResultAttribute AS InspectionResultAttribute,
  cast('' as qmbewertg preserving type) AS InspectionValuationResult,
  cast('' as qniplanmk preserving type) AS InspCharcIsNotPlanned,
  Subset.ShopFloorItem AS ShopFloorItem,
  Lot.Plant AS Plant,
  Lot.InspectionLotType AS InspectionLotType,
  Lot.MatlQualityAuthorizationGroup AS MatlQualityAuthorizationGroup,
  '' AS InspectionResultLongText
FROM I_InspectionLot AS Lot
INNER JOIN I_InspectionSubset AS Subset ON /* join condition not captured in parsed metadata */
INNER JOIN I_InspSubsetResult AS SubsetResult ON /* join condition not captured in parsed metadata */
INNER JOIN P_MfgInspCharcSmplChgDocItem AS Doc ON /* join condition not captured in parsed metadata */
INNER JOIN I_InspectionResult AS CharcResult ON /* join condition not captured in parsed metadata */
INNER JOIN P_MfgInspCharcChgDocItem AS Doc ON /* join condition not captured in parsed metadata */
INNER JOIN I_InspectionResultValue AS SingleResult ON /* join condition not captured in parsed metadata */
INNER JOIN I_InspectionCharacteristic AS Charc ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): I_InspectionLot
;