C_InspLotStockPosting

DDL: C_INSPLOTSTOCKPOSTING SQL: CINSPSTKPOSTING Type: view CONSUMPTION Package: ODATA_QM_INSPLOT

Inspection Lot Stock Posting

C_InspLotStockPosting is a Consumption CDS View that provides data about "Inspection Lot Stock Posting" in SAP S/4HANA. It reads from 2 data sources (I_InspLotMatlDocItem, I_InspectionLot) and exposes 16 fields with key fields InspectionLot, InspLotMatlDocItem. Part of development package ODATA_QM_INSPLOT.

Data Sources (2)

SourceAliasJoin Type
I_InspLotMatlDocItem _InspLotMatlDocItem from
I_InspectionLot InspLot inner

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName CINSPSTKPOSTING view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Inspection Lot Stock Posting view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot I_InspLotMatlDocItem InspectionLot Inspection Lot
KEY InspLotMatlDocItem I_InspLotMatlDocItem InspLotMatlDocItem Version
Plant I_InspectionLot Plant Valuation Area
InspectionLotType I_InspectionLot InspectionLotType Inspection Type
MatlQualityAuthorizationGroup I_InspectionLot MatlQualityAuthorizationGroup QM Matl Auth.
IsBusinessPurposeCompleted I_InspectionLot IsBusinessPurposeCompleted Purpose Completed
InspLotMatlDocItemType I_InspLotMatlDocItem InspLotMatlDocItemType Type
MaterialDocumentYear I_InspLotMatlDocItem MaterialDocumentYear Material Document Year
MaterialDocument I_InspLotMatlDocItem MaterialDocument Material Doc.
MaterialDocumentItem I_InspLotMatlDocItem MaterialDocumentItem Material Document Item
CreationDate I_InspLotMatlDocItem CreationDate Time Stamp
GoodsMovementType
GoodsMovementTypeName
InspLotMatlDocItemTypeText
MatlStkChangeQtyInBaseUnit
UnitOfMeasure_E

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 C_InspLotStockPosting.
-- 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: CINSPSTKPOSTING

CREATE VIEW C_InspLotStockPosting AS
SELECT
  _InspLotMatlDocItem.InspectionLot AS InspectionLot,
  _InspLotMatlDocItem.InspLotMatlDocItem AS InspLotMatlDocItem,
  InspLot.Plant AS Plant,
  InspLot.InspectionLotType AS InspectionLotType,
  InspLot.MatlQualityAuthorizationGroup AS MatlQualityAuthorizationGroup,
  InspLot.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  _InspLotMatlDocItem.InspLotMatlDocItemType AS InspLotMatlDocItemType,
  _InspLotMatlDocItem.MaterialDocumentYear AS MaterialDocumentYear,
  _InspLotMatlDocItem.MaterialDocument AS MaterialDocument,
  _InspLotMatlDocItem.MaterialDocumentItem AS MaterialDocumentItem,
  _InspLotMatlDocItem.CreationDate AS CreationDate,
  _InspLotMatlDocItem._GoodsMovementDocument.GoodsMovementType AS GoodsMovementType,
  _InspLotMatlDocItem._GoodsMovementDocument._GoodsMovementType._Text[1:Language=$session.system_language].GoodsMovementTypeName AS GoodsMovementTypeName,
  _InspLotMatlDocItem._InspLotMatlDocItemType._Text[1:Language=$session.system_language].InspLotMatlDocItemTypeText AS InspLotMatlDocItemTypeText,
  _InspLotMatlDocItem._GoodsMovementDocument.MatlStkChangeQtyInBaseUnit AS MatlStkChangeQtyInBaseUnit,
  _InspLotMatlDocItem._GoodsMovementDocument._MaterialBaseUnit._Text[1:Language=$session.system_language].UnitOfMeasure_E AS UnitOfMeasure_E
FROM I_InspLotMatlDocItem AS _InspLotMatlDocItem
INNER JOIN I_InspectionLot AS InspLot ON /* join condition not captured in parsed metadata */
;