I_InspectionSubsetTP

DDL: I_INSPECTIONSUBSETTP SQL: IINSPSUBSETTP Type: view TRANSACTIONAL

Inspection Point of Inspection Operation

I_InspectionSubsetTP is a Transactional CDS View that provides data about "Inspection Point of Inspection Operation" in SAP S/4HANA. It reads from 1 data source (I_InspectionSubset) and exposes 55 fields with key fields InspectionLot, InspPlanOperationInternalID, InspectionSubsetInternalID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_InspectionSubset InspectionSubset from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_InspSubsetCharcResultTP _InspSubsetCharcResult $projection.InspectionLot = _InspSubsetCharcResult.InspectionLot and $projection.InspPlanOperationInternalID = _InspSubsetCharcResult.InspPlanOperationInternalID and $projection.InspectionSubsetInternalID = _InspSubsetCharcResult.InspectionSubsetInternalID
[1..1] I_UserContactCard _CreatedByUser $projection.UserID = _CreatedByUser.ContactCardID
[1..1] I_UserContactCard _LastChangedByUser $projection.ContactCardID = _LastChangedByUser.ContactCardID

Annotations (21)

NameValueLevelField
AbapCatalog.sqlViewName IINSPSUBSETTP view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Inspection Point of Inspection Operation view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.compositionRoot true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.draftEnabled true view
ObjectModel.writeDraftPersistence QINSPSUBSETRR_D view
ObjectModel.entityChangeStateId ChangedDateTime view
ObjectModel.lifecycle.enqueue.expiryBehavior #RELATIVE_TO_LAST_CHANGE view
ObjectModel.lifecycle.enqueue.expiryInterval PT15M view
ObjectModel.lifecycle.processing.expiryBehavior #RELATIVE_TO_LAST_CHANGE view
ObjectModel.lifecycle.processing.expiryInterval PT30M view

Fields (55)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot I_InspectionSubset InspectionLot Inspection Lot
KEY InspPlanOperationInternalID InspPlanOperationInternalID Node Number
KEY InspectionSubsetInternalID InspectionSubsetInternalID Sample Number
InspectionLotForEdit
InspectionOperationForEdit Node Number
InspectionOperation
InspSubsetStatus
InspectionSubsetSortKey InspectionSubsetSortKey Inspection pt
InspectionOperations
ChangedDateTime ChangedDateTime Time Stamp
InspSubsetTimeInterval
InspSubsetTimeIntervalUnit
SelectedCodeSetPlant SelectedCodeSet SelectedCodeSetPlant Plant
SelectedCodeSet SelectedCodeSet SelectedCodeSet CodeGrp/SelSet
InspSubsetUsageDcsnCodeGroup InspSubsetUsageDcsnCodeGroup UD Code Group
InspSubsetUsageDcsnCode InspSubsetUsageDcsnCode UD Code
InspSubsetUsageDcsnValuation InspSubsetUsageDcsnValuation Code Valuation
InspectionSubsetTime InspectionSubsetTime
InspSbstTimeFldProperty SelectedCodeSet InspSbstTimeFldProperty User Fld Active
InspectionSubsetDate InspectionSubsetDate
InspSbstDateFldProperty SelectedCodeSet InspSbstDateFldProperty User Fld Active
InspSubsetLongNumericKey InspSubsetLongNumericKey
InspSbstLongNmbrFldProperty InspSbstLongNmbrFldProperty User Fld Active
InspSubsetShortNumericKey InspSubsetShortNumericKey
InspSbstShrtNmbrFldProperty InspSbstShrtNmbrFldProperty User Fld Active
InspectionSubsetLongCharKey InspectionSubsetLongCharKey
InspSbstLongTxtFldProperty InspSbstLongTxtFldProperty User Fld Active
InspectionSubsetShortCharKey InspectionSubsetShortCharKey
InspSbstShrtTxtFldProperty InspSbstShrtTxtFldProperty User Fld Active
InspSubsetTimeFieldName SelectedCodeSet InspSubsetTimeFieldName
InspSubsetDateFieldName SelectedCodeSet InspSubsetDateFieldName
InspectionSubsetYieldQty InspectionSubsetYieldQty WarrCountValue
InspectionSubsetScrapQty InspectionSubsetScrapQty Insp. Pt Scrap
InspectionSubsetReworkQty InspectionSubsetReworkQty Rework Quantity
InspectionSubsetQtyUnit InspectionSubsetQtyUnit Sample UOM
Inspector Inspector Inspector
UserID CreatedByUser User Name
ContactCardID I_InspectionSubset LastChangedByUser User Name
CreatedByUser _CreatedByUser FullName Name
CreationDate CreationDate Time Stamp
CreationTime CreationTime Time of Change
LastChangedByUser _LastChangedByUser FullName Name
LastChangeDate LastChangeDate Time Stamp
LastChangeTime LastChangeTime Time changed
_InspSubsetCharcResult _InspSubsetCharcResult
_InspectionLot _InspectionLot
_InspectionOperation _InspectionOperation
_InspectionSubsetInternalID _InspectionSubsetInternalID
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_UsageDecisionCodeGroup _UsageDecisionCodeGroup
_UsageDecisionCode _UsageDecisionCode
_InspSubsetUsageDcsnValn _InspSubsetUsageDcsnValn
_InspSubsetUsageDcsnValnTxt _InspSubsetUsageDcsnValnTxt
_Unit _Unit

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_InspectionSubsetTP.
-- 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: IINSPSUBSETTP

CREATE VIEW I_InspectionSubsetTP AS
SELECT
  InspectionSubset.InspectionLot AS InspectionLot,
  InspPlanOperationInternalID,
  InspectionSubsetInternalID,
  cast(InspectionSubset.InspectionLot as qplos preserving type ) AS InspectionLotForEdit,
  cast(InspPlanOperationInternalID as qlfnkn preserving type ) AS InspectionOperationForEdit,
  InspectionSubset._InspectionOperation.InspectionOperation AS InspectionOperation,
  cast('' as abap.char( 2 )) AS InspSubsetStatus,
  InspectionSubsetSortKey,
  cast ('' as abap.char(1333)) AS InspectionOperations,
  ChangedDateTime,
  cast(00000 as qrastzfak) AS InspSubsetTimeInterval,
  cast('' as qrastzeht) AS InspSubsetTimeIntervalUnit,
  SelectedCodeSet.SelectedCodeSetPlant AS SelectedCodeSetPlant,
  SelectedCodeSet.SelectedCodeSet AS SelectedCodeSet,
  InspSubsetUsageDcsnCodeGroup,
  InspSubsetUsageDcsnCode,
  InspSubsetUsageDcsnValuation,
  InspectionSubsetTime,
  SelectedCodeSet.InspSbstTimeFldProperty AS InspSbstTimeFldProperty,
  InspectionSubsetDate,
  SelectedCodeSet.InspSbstDateFldProperty AS InspSbstDateFldProperty,
  InspSubsetLongNumericKey,
  InspSbstLongNmbrFldProperty,
  InspSubsetShortNumericKey,
  InspSbstShrtNmbrFldProperty,
  InspectionSubsetLongCharKey,
  InspSbstLongTxtFldProperty,
  InspectionSubsetShortCharKey,
  InspSbstShrtTxtFldProperty,
  SelectedCodeSet.InspSubsetTimeFieldName AS InspSubsetTimeFieldName,
  SelectedCodeSet.InspSubsetDateFieldName AS InspSubsetDateFieldName,
  InspectionSubsetYieldQty,
  InspectionSubsetScrapQty,
  InspectionSubsetReworkQty,
  InspectionSubsetQtyUnit,
  Inspector,
  CreatedByUser AS UserID,
  InspectionSubset.LastChangedByUser AS ContactCardID,
  _CreatedByUser.FullName AS CreatedByUser,
  CreationDate,
  CreationTime,
  _LastChangedByUser.FullName AS LastChangedByUser,
  LastChangeDate,
  LastChangeTime
FROM I_InspectionSubset AS InspectionSubset
LEFT OUTER JOIN I_InspSubsetCharcResultTP AS _InspSubsetCharcResult ON InspectionLot = _InspSubsetCharcResult.InspectionLot AND InspPlanOperationInternalID = _InspSubsetCharcResult.InspPlanOperationInternalID AND InspectionSubsetInternalID = _InspSubsetCharcResult.InspectionSubsetInternalID  -- association [0..*]
LEFT OUTER JOIN I_UserContactCard AS _CreatedByUser ON UserID = _CreatedByUser.ContactCardID  -- association [1..1]
LEFT OUTER JOIN I_UserContactCard AS _LastChangedByUser ON ContactCardID = _LastChangedByUser.ContactCardID  -- association [1..1]
;