A_InspLotMatlDocItmSrlNmbr

DDL: A_INSPLOTMATLDOCITMSRLNMBR SQL: AINSPLMATDOCSRLN Type: view CONSUMPTION

Serial Numbers for Stock Posting

A_InspLotMatlDocItmSrlNmbr is a Consumption CDS View that provides data about "Serial Numbers for Stock Posting" in SAP S/4HANA. It reads from 2 data sources (I_InspLotMatlDocItem, I_SerialNumberMaterialDoc_2) and exposes 7 fields with key fields InspectionLot, InspLotMatlDocItem, Equipment. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_InspLotMatlDocItem _ILMatlDocItem inner
I_SerialNumberMaterialDoc_2 _SerialNumberMaterialDoc from

Associations (2)

CardinalityTargetAliasCondition
[1..1] A_InspectionLot _InspectionLot $projection.InspectionLot = _InspectionLot.InspectionLot
[1..1] A_InspLotMatlDocItem _InspLotMatlDocItem $projection.InspectionLot = _InspLotMatlDocItem.InspectionLot and $projection.InspLotMatlDocItem = _InspLotMatlDocItem.InspLotMatlDocItem

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName AINSPLMATDOCSRLN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
EndUserText.label Serial Numbers for Stock Posting view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled false view
ObjectModel.deleteEnabled false view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot I_InspLotMatlDocItem InspectionLot Inspection Lot
KEY InspLotMatlDocItem I_InspLotMatlDocItem InspLotMatlDocItem Version
KEY Equipment I_SerialNumberMaterialDoc_2 Equipment Equipment check
SerialNumber I_SerialNumberMaterialDoc_2 SerialNumber Serial Number
InspLotMatlDocItemType _InspLotMatlDocItem InspLotMatlDocItemType Type
_InspectionLot _InspectionLot
_InspLotMatlDocItem _InspLotMatlDocItem

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 A_InspLotMatlDocItmSrlNmbr.
-- 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: AINSPLMATDOCSRLN

CREATE VIEW A_InspLotMatlDocItmSrlNmbr AS
SELECT
  _ILMatlDocItem.InspectionLot AS InspectionLot,
  _ILMatlDocItem.InspLotMatlDocItem AS InspLotMatlDocItem,
  _SerialNumberMaterialDoc.Equipment AS Equipment,
  _SerialNumberMaterialDoc.SerialNumber AS SerialNumber,
  _InspLotMatlDocItem.InspLotMatlDocItemType AS InspLotMatlDocItemType
FROM I_SerialNumberMaterialDoc_2 AS _SerialNumberMaterialDoc
INNER JOIN I_InspLotMatlDocItem AS _ILMatlDocItem ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN A_InspectionLot AS _InspectionLot ON InspectionLot = _InspectionLot.InspectionLot  -- association [1..1]
LEFT OUTER JOIN A_InspLotMatlDocItem AS _InspLotMatlDocItem ON InspectionLot = _InspLotMatlDocItem.InspectionLot AND InspLotMatlDocItem = _InspLotMatlDocItem.InspLotMatlDocItem  -- association [1..1]
;