P_InspLotSubsetRsltRec

DDL: P_INSPLOTSUBSETRSLTREC SQL: PILSUBRESREC Type: view CONSUMPTION Package: ODATA_QM_INSPECTION_ANALYTICS

Inspection Lot result Recording with Inspection Point

P_InspLotSubsetRsltRec is a Consumption CDS View that provides data about "Inspection Lot result Recording with Inspection Point" in SAP S/4HANA. It has 1 association to related views. Part of development package ODATA_QM_INSPECTION_ANALYTICS.

Parameters (1)

NameTypeDefault
P_endDate abap.dats

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_InspLotEndDateGrp _InspLotEndDateGrp $projection.InspLotEndDateGrp = _InspLotEndDateGrp.InspLotEndDateGrp

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PILSUBRESREC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
VDM.private true view
VDM.viewType #CONSUMPTION view

Fields (17)

KeyFieldSource TableSource FieldDescription
InspectionLot C_InspLotRsltRec InspectionLot Inspection Lot
Plant C_InspLotRsltRec Plant Valuation Area
Material C_InspLotRsltRec Material Vehicle Model
InspectionLotOrigin C_InspLotRsltRec InspectionLotOrigin
InspectionLotType C_InspLotRsltRec InspectionLotType Inspection Type
InspectionLotStartDate C_InspLotRsltRec InspectionLotStartDate
InspectionLotEndDate C_InspLotRsltRec InspectionLotEndDate
InspectionLotText C_InspLotRsltRec InspectionLotText
InspectionLotQuantity C_InspLotRsltRec InspectionLotQuantity
InspectionLotQuantityUnit C_InspLotRsltRec InspectionLotQuantityUnit
InspLotRsltRecgStatus C_InspLotRsltRec InspLotRsltRecgStatus
MatlQualityAuthorizationGroup C_InspLotRsltRec MatlQualityAuthorizationGroup QM Matl Auth.
IsBusinessPurposeCompleted C_InspLotRsltRec IsBusinessPurposeCompleted Purpose Completed
_InspectionLot _InspectionLot
_InspectionLotType _InspectionLotType
_InspectionLotOrigin _InspectionLotOrigin
_InspLotEndDateGrp _InspLotEndDateGrp

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 P_InspLotSubsetRsltRec.
-- 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: PILSUBRESREC
-- Parameters: P_endDate : abap.dats

CREATE VIEW P_InspLotSubsetRsltRec AS
SELECT
  C_InspLotRsltRec.InspectionLot AS InspectionLot,
  C_InspLotRsltRec.Plant AS Plant,
  C_InspLotRsltRec.Material AS Material,
  C_InspLotRsltRec.InspectionLotOrigin AS InspectionLotOrigin,
  C_InspLotRsltRec.InspectionLotType AS InspectionLotType,
  C_InspLotRsltRec.InspectionLotStartDate AS InspectionLotStartDate,
  C_InspLotRsltRec.InspectionLotEndDate AS InspectionLotEndDate,
  C_InspLotRsltRec.InspectionLotText AS InspectionLotText,
  C_InspLotRsltRec.InspectionLotQuantity AS InspectionLotQuantity,
  C_InspLotRsltRec.InspectionLotQuantityUnit AS InspectionLotQuantityUnit,
  C_InspLotRsltRec.InspLotRsltRecgStatus AS InspLotRsltRecgStatus,
  C_InspLotRsltRec.MatlQualityAuthorizationGroup AS MatlQualityAuthorizationGroup,
  C_InspLotRsltRec.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted
LEFT OUTER JOIN I_InspLotEndDateGrp AS _InspLotEndDateGrp ON InspLotEndDateGrp = _InspLotEndDateGrp.InspLotEndDateGrp  -- association [1..1]
;