I_InspLotMatlDocItemType

DDL: I_INSPLOTMATLDOCITEMTYPE SQL: IINSPLTMDOCITTY Type: view BASIC

Reference Type of Matl Doc Item in Lot

I_InspLotMatlDocItemType (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Manufacturing

I_InspLotMatlDocItemType is a Basic CDS View (Dimension) that provides data about "Reference Type of Matl Doc Item in Lot" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field InspLotMatlDocItemType. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Quality Inspection
StatusReleased
Purpose
This view provides supported values for the type of reference between the inspection lot and the material document. The values and their meanings are: Supported domain values Value Meaning Material Documents from UD Posting or Quantity Correction 1 Material Documents for Lot Creation 2 Material Documents for Correcting an Actual Quantity 3 Material Documents for a Usage Decision Transfer Posting 4 Material Documents for Stock Transfer of the Inspection Lot Q Stock 5 Material Documents for Follow-Up Deliveries After Stock Credit Entry 6 Canceled Material Documents for Lot Creation/Follow-Up Delivery 7 Canceled Material Documents for Usage Decision Transfer Posting X Material Documents for QM Inventory

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentQM-IM
CapabilitiesData Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities, Analytical Dimension
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>This view provides supported values for the type of reference between the inspection lot and the material document. The values and their meanings are:

Documentation

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_InspLotMatlDocItemTypeText _Text $projection.InspLotMatlDocItemType = _Text.InspLotMatlDocItemType

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IINSPLTMDOCITTY view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Reference Type of Matl Doc Item in Lot view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.compositionRoot true view
ObjectModel.representativeKey InspLotMatlDocItemType view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
Metadata.ignorePropagatedAnnotations true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY InspLotMatlDocItemType Type of Reference Between Inspection Lot and Material Doc.
_Text _Text

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_InspLotMatlDocItemType.
-- 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: IINSPLTMDOCITTY

CREATE VIEW I_InspLotMatlDocItemType AS
SELECT
  cast ( substring( domvalue_l, 1, 1 ) as qambtype ) AS InspLotMatlDocItemType
FROM dd07l
LEFT OUTER JOIN I_InspLotMatlDocItemTypeText AS _Text ON InspLotMatlDocItemType = _Text.InspLotMatlDocItemType  -- association [0..*]
;