I_InspectionPartialLot

DDL: I_INSPECTIONPARTIALLOT SQL: IINSPPARTIALLOT Type: view BASIC

Partial Inspection Lot

I_InspectionPartialLot is a Basic CDS View that provides data about "Partial Inspection Lot" in SAP S/4HANA. It reads from 1 data source (qalt) and exposes 11 fields with key fields InspectionLot, InspectionPartialLot. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
qalt qalt from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_InspectionLot _InspectionLot $projection.InspectionLot = _InspectionLot.InspectionLot
[1..1] E_InspectionPartialLot _Extension $projection.InspectionLot = _Extension.InspectionLot and $projection.InspectionPartialLot = _Extension.InspectionPartialLot

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IINSPPARTIALLOT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Partial Inspection Lot view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.representativeKey InspectionPartialLot view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #A view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot qalt prueflos Inspection Lot
KEY InspectionPartialLot qalt teillos Partial Lot
InspectionPartialLotText qalt ktexttlos Short Text
InspectionPartialLotUUID qalt partial_lot_guid Partial Lot ID
InspPrtlLotChangeDate qalt aenderdat Changed On
InspPrtlLotChangeTime
InspPrtlLotChangedBy qalt aenderer Changed By
InspPrtlLotCreatedOnDate qalt ersteldat Created On
InspPrtlLotCreatedOnTime
InspPrtlLotCreatedBy qalt ersteller Created By
_InspectionLot _InspectionLot

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_InspectionPartialLot.
-- 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: IINSPPARTIALLOT

CREATE VIEW I_InspectionPartialLot AS
SELECT
  qalt.prueflos AS InspectionLot,
  qalt.teillos AS InspectionPartialLot,
  qalt.ktexttlos AS InspectionPartialLotText,
  qalt.partial_lot_guid AS InspectionPartialLotUUID,
  qalt.aenderdat AS InspPrtlLotChangeDate,
  cast( qalt.aenderzeit as vdm_qaendezeit preserving type ) AS InspPrtlLotChangeTime,
  qalt.aenderer AS InspPrtlLotChangedBy,
  qalt.ersteldat AS InspPrtlLotCreatedOnDate,
  cast( qalt.erstelzeit as vdm_qerstezeit preserving type ) AS InspPrtlLotCreatedOnTime,
  qalt.ersteller AS InspPrtlLotCreatedBy
FROM qalt
LEFT OUTER JOIN I_InspectionLot AS _InspectionLot ON InspectionLot = _InspectionLot.InspectionLot  -- association [1..1]
LEFT OUTER JOIN E_InspectionPartialLot AS _Extension ON InspectionLot = _Extension.InspectionLot AND InspectionPartialLot = _Extension.InspectionPartialLot  -- association [1..1]
;