C_Insplot_Object

DDL: C_INSPLOT_OBJECT SQL: CINSPLOTOBJECT Type: view CONSUMPTION

Inspection Lot Object Page

C_Insplot_Object is a Consumption CDS View that provides data about "Inspection Lot Object Page" in SAP S/4HANA. It reads from 5 data sources (I_InspectionLotOriginText, I_InspectionLot, I_InspectionLotTypeText, I_MaintenancePlanBasic, I_MaintenanceStrategyT) and exposes 96 fields with key field InspectionLot. It has 12 associations to related views.

Data Sources (5)

SourceAliasJoin Type
I_InspectionLotOriginText _InspectionLotOriginText left_outer
I_InspectionLot _InspLot from
I_InspectionLotTypeText _InspLotText left_outer
I_MaintenancePlanBasic _MaintenancePlan left_outer
I_MaintenanceStrategyT _MaintenanceStrategyT left_outer

Associations (12)

CardinalityTargetAliasCondition
[1..*] C_Inspoperation_Object _Operation $projection.InspectionLot = _Operation.InspectionLot
[1..*] C_InspLotStatus _InspLotStatus $projection.InspectionLot = _InspLotStatus.InspectionLot
[0..1] I_Customer _Customer $projection.Customer = _Customer.Customer
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[0..1] I_Supplier _Manufacturer $projection.Manufacturer = _Manufacturer.Supplier
[1..1] I_PurchasingOrganization _PurchasingOrganization $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization
[1..1] I_ProductionVersion _ProductionVersion $projection.Material = _ProductionVersion.Material and $projection.Plant = _ProductionVersion.Plant and $projection.ProductionVersion = _ProductionVersion.ProductionVersion
[0..*] C_InspLotStockPosting _InspLotStockPosting $projection.InspectionLot = _InspLotStockPosting.InspectionLot
[0..1] I_UserContactCard _BusinessCardInfo $projection.InspectionLotCreatedBy = _BusinessCardInfo.ContactCardID or $projection.inspectionlotusagedecidedby = _BusinessCardInfo.ContactCardID
[0..1] I_UserContactCard _ChangedByBusinessCardInfo $projection.InspectionLotChangedBy = _ChangedByBusinessCardInfo.ContactCardID or $projection.insplotusagedecisionchangedby = _ChangedByBusinessCardInfo.ContactCardID
[1..*] C_InspLotDocument _InspLotDocument $projection.InspectionLot = _InspLotDocument.LinkedSAPObjectKey
[0..1] I_MaterialText _MaterialText _InspLot.Material = _MaterialText.Material and _MaterialText.Language = $session.system_language

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CINSPLOTOBJECT view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
VDM.viewType #CONSUMPTION view
EndUserText.label Inspection Lot Object Page view
Search.searchable true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view

Fields (96)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot I_InspectionLot InspectionLot Inspection Lot
InspectionLotType I_InspectionLot InspectionLotType Inspection Type
InspectionLotTypeText I_InspectionLotTypeText InspectionLotTypeText
Material I_InspectionLot Material Vehicle Model
InspectionLotObjectText I_InspectionLot InspectionLotObjectText Obj short text
InspectionLotText I_InspectionLot InspectionLotText
InspectionLotQuantity I_InspectionLot InspectionLotQuantity
InspectionLotQuantityUnit
Plant I_InspectionLot Plant Valuation Area
PlantName
MaterialIsBatchManaged I_InspectionLot MaterialIsBatchManaged
Batch I_InspectionLot Batch Lot No.
BatchBySupplier I_InspectionLot BatchBySupplier Supplier Batch
InspectionLotStartDate I_InspectionLot InspectionLotStartDate Start Date
InspectionLotEndDate I_InspectionLot InspectionLotEndDate End Date
MatlQualityAuthorizationGroup I_InspectionLot MatlQualityAuthorizationGroup QM Matl Auth.
BillOfOperationsType I_InspectionLot BillOfOperationsType Task List Type
BillOfOperationsGroup I_InspectionLot BillOfOperationsGroup Group
BillOfOperationsVariant I_InspectionLot BillOfOperationsVariant Group Counter
BillOfOperationsChangeStateID I_InspectionLot BillOfOperationsChangeStateID Sort pos.
BillOfOperationsDesc
BillOfOperationsTypeName
QualityCostCollector I_InspectionLot QualityCostCollector QM Order
Equipment I_InspectionLot Equipment Equipment check
EquipmentName
FunctionalLocation I_InspectionLot FunctionalLocation Object ID
FunctionalLocationName
InspLotCreatedOnLocalDate I_InspectionLot InspLotCreatedOnLocalDate Lot Created
InspLotCreatedOnLocalTime I_InspectionLot InspLotCreatedOnLocalTime
InspectionLotCreatedOnTime I_InspectionLot InspectionLotCreatedOnTime
InspectionLotCreatedOn I_InspectionLot InspectionLotCreatedOn Created On
InspectionLotCreatedBy I_InspectionLot InspectionLotCreatedBy Created By
InspectionLotChangeDate I_InspectionLot InspectionLotChangeDate Changed On
InspectionLotChangeTime I_InspectionLot InspectionLotChangeTime
InspectionLotChangedBy I_InspectionLot InspectionLotChangedBy Changed By
InspLotUsageDecisionValuation
InspectionLotUsageDecisionCode
InspLotUsageDecisionCodeGroup
UsageDecisionCodeText
InspectionLotQualityScore
InspLotUsgeDcsnFollowUpAction
InspectionLotUsageDecidedOn
InspLotUsageDecisionTime
InspectionLotUsageDecidedBy
InspLotUsageDecisionChangedBy
InspLotUsageDecisionChangedOn
InspLotUsgeDcsnChangedTime
InspectionLotActualQuantity I_InspectionLot InspectionLotActualQuantity
InspectionLotSampleQuantity I_InspectionLot InspectionLotSampleQuantity Sample Size
InspectionLotSampleUnit
InspLotQtyDestroyed I_InspectionLot InspLotQtyDestroyed
InspectionLotDefectiveQuantity I_InspectionLot InspectionLotDefectiveQuantity
InspQtyPosted I_InspectionLot InspLotQtyToBePosted
InspectionLotOrigin I_InspectionLot InspectionLotOrigin Insp. Lot Orig.
InspectionLotOriginText I_InspectionLotOriginText InspectionLotOriginText Text: Origin
Customer I_InspectionLot Customer Sold-to Party
CustomerName _Customer CustomerName Name of Customer
Supplier I_InspectionLot Supplier Supplier
SupplierName _Supplier SupplierName Supplier Name
Manufacturer I_InspectionLot Manufacturer Manufacturer
ManufacturerName _Manufacturer SupplierName Supplier Name
ManufacturerPartNmbr I_InspectionLot ManufacturerPartNmbr Mfr Part Number
MaterialName _MaterialText MaterialName Material Description
PurchasingOrganization I_InspectionLot PurchasingOrganization Purchasing Organization
PurchasingOrganizationName _PurchasingOrganization PurchasingOrganizationName Purch. Org. Name
PurchasingDocument I_InspectionLot PurchasingDocument Purchasing Document
MaterialDocument I_InspectionLot MaterialDocument Material Doc.
DeliveryDocument I_InspectionLot DeliveryDocument Outbound Delivery
ManufacturingOrder I_InspectionLot ManufacturingOrder Order
ProductionVersion I_InspectionLot ProductionVersion Version ID
ProductionVersionText _ProductionVersion ProductionVersionText
SalesOrder I_InspectionLot SalesOrder SD Document
SalesOrderItemendasSalesOrderItem
MaintenanceStrategy I_InspectionLot MaintenanceStrategy Strategy Fields
MaintenancePlan I_InspectionLot MaintenancePlan MaintenancePlan
MaintenancePlanItemIntID I_InspectionLot MaintenancePlanItemIntID MaintItem
MaintenancePlanDesc I_MaintenancePlanBasic MaintenancePlanDesc MaintPlanText
MaintenancePlanItemDesc _MaintenanceItem MaintenanceItemDescription MaintItem text
MaintenanceStrategyDesc I_MaintenanceStrategyT MaintenanceStrategyDesc Text
IsBusinessPurposeCompleted I_InspectionLot IsBusinessPurposeCompleted Purpose Completed
InspLotSelectionValidFromDate InspLotSelectionValidFromDate Valid From
InspLotIsSerialNmbrPossible I_InspectionLot InspLotIsSerialNmbrPossible Serial Numbers
SerialNumberProfile I_InspectionLot SerialNumberProfile SerialNoProfile
_Operation _Operation
_InspLotStatus _InspLotStatus
_Customer _Customer
_Manufacturer _Manufacturer
_Supplier _Supplier
_PurchasingOrganization _PurchasingOrganization
_ProductionVersion _ProductionVersion
_InspLotUsageDecision _InspLotUsageDecision
_InspLotStockPosting _InspLotStockPosting
_InspLotDocument _InspLotDocument
_BusinessCardInfo _BusinessCardInfo
_ChangedByBusinessCardInfo _ChangedByBusinessCardInfo
_MaterialText _MaterialText

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_Insplot_Object.
-- 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: CINSPLOTOBJECT

CREATE VIEW C_Insplot_Object AS
SELECT
  _InspLot.InspectionLot AS InspectionLot,
  _InspLot.InspectionLotType AS InspectionLotType,
  _InspLotText.InspectionLotTypeText AS InspectionLotTypeText,
  _InspLot.Material AS Material,
  _InspLot.InspectionLotObjectText AS InspectionLotObjectText,
  _InspLot.InspectionLotText AS InspectionLotText,
  _InspLot.InspectionLotQuantity AS InspectionLotQuantity,
  _InspLot._InspectionLotQuantityUnit._Text[1:Language=$session.system_language].UnitOfMeasure_E AS InspectionLotQuantityUnit,
  _InspLot.Plant AS Plant,
  _InspLot._Plant.PlantName AS PlantName,
  _InspLot.MaterialIsBatchManaged AS MaterialIsBatchManaged,
  _InspLot.Batch AS Batch,
  _InspLot.BatchBySupplier AS BatchBySupplier,
  _InspLot.InspectionLotStartDate AS InspectionLotStartDate,
  _InspLot.InspectionLotEndDate AS InspectionLotEndDate,
  _InspLot.MatlQualityAuthorizationGroup AS MatlQualityAuthorizationGroup,
  _InspLot.BillOfOperationsType AS BillOfOperationsType,
  _InspLot.BillOfOperationsGroup AS BillOfOperationsGroup,
  _InspLot.BillOfOperationsVariant AS BillOfOperationsVariant,
  _InspLot.BillOfOperationsChangeStateID AS BillOfOperationsChangeStateID,
  _InspLot._BillOfOperationsChangeState.BillOfOperationsDesc AS BillOfOperationsDesc,
  _InspLot._BillOfOperationsType._Text[1:Language=$session.system_language].BillOfOperationsTypeName AS BillOfOperationsTypeName,
  _InspLot.QualityCostCollector AS QualityCostCollector,
  _InspLot.Equipment AS Equipment,
  _InspLot._Equipment._EquipmentText[1:Language=$session.system_language].EquipmentName AS EquipmentName,
  _InspLot.FunctionalLocation AS FunctionalLocation,
  _InspLot._FunctionalLocation._FunctionalLocationText[1:Language=$session.system_language].FunctionalLocationName AS FunctionalLocationName,
  _InspLot.InspLotCreatedOnLocalDate AS InspLotCreatedOnLocalDate,
  _InspLot.InspLotCreatedOnLocalTime AS InspLotCreatedOnLocalTime,
  _InspLot.InspectionLotCreatedOnTime AS InspectionLotCreatedOnTime,
  _InspLot.InspectionLotCreatedOn AS InspectionLotCreatedOn,
  _InspLot.InspectionLotCreatedBy AS InspectionLotCreatedBy,
  _InspLot.InspectionLotChangeDate AS InspectionLotChangeDate,
  _InspLot.InspectionLotChangeTime AS InspectionLotChangeTime,
  _InspLot.InspectionLotChangedBy AS InspectionLotChangedBy,
  _InspLot._InspLotUsageDecision.InspLotUsageDecisionValuation AS InspLotUsageDecisionValuation,
  _InspLot._InspLotUsageDecision.InspectionLotUsageDecisionCode AS InspectionLotUsageDecisionCode,
  _InspLot._InspLotUsageDecision.InspLotUsageDecisionCodeGroup AS InspLotUsageDecisionCodeGroup,
  _InspLot._InspLotUsageDecision._UsageDecisionCode.UsageDecisionCodeText AS UsageDecisionCodeText,
  _InspLot._InspLotUsageDecision.InspectionLotQualityScore AS InspectionLotQualityScore,
  _InspLot._InspLotUsageDecision.InspLotUsgeDcsnFollowUpAction AS InspLotUsgeDcsnFollowUpAction,
  _InspLot._InspLotUsageDecision.InspectionLotUsageDecidedOn AS InspectionLotUsageDecidedOn,
  _InspLot._InspLotUsageDecision.InspLotUsageDecisionTime AS InspLotUsageDecisionTime,
  _InspLot._InspLotUsageDecision.InspectionLotUsageDecidedBy AS InspectionLotUsageDecidedBy,
  _InspLot._InspLotUsageDecision.InspLotUsageDecisionChangedBy AS InspLotUsageDecisionChangedBy,
  _InspLot._InspLotUsageDecision.InspLotUsageDecisionChangedOn AS InspLotUsageDecisionChangedOn,
  _InspLot._InspLotUsageDecision.InspLotUsgeDcsnChangedTime AS InspLotUsgeDcsnChangedTime,
  _InspLot.InspectionLotActualQuantity AS InspectionLotActualQuantity,
  _InspLot.InspectionLotSampleQuantity AS InspectionLotSampleQuantity,
  _InspLot._InspectionLotSampleUnit._Text[1:Language=$session.system_language].UnitOfMeasure_E AS InspectionLotSampleUnit,
  _InspLot.InspLotQtyDestroyed AS InspLotQtyDestroyed,
  _InspLot.InspectionLotDefectiveQuantity AS InspectionLotDefectiveQuantity,
  _InspLot.InspLotQtyToBePosted AS InspQtyPosted,
  _InspLot.InspectionLotOrigin AS InspectionLotOrigin,
  _InspectionLotOriginText.InspectionLotOriginText AS InspectionLotOriginText,
  _InspLot.Customer AS Customer,
  _Customer.CustomerName AS CustomerName,
  _InspLot.Supplier AS Supplier,
  _Supplier.SupplierName AS SupplierName,
  _InspLot.Manufacturer AS Manufacturer,
  _Manufacturer.SupplierName AS ManufacturerName,
  _InspLot.ManufacturerPartNmbr AS ManufacturerPartNmbr,
  _MaterialText.MaterialName AS MaterialName,
  _InspLot.PurchasingOrganization AS PurchasingOrganization,
  _PurchasingOrganization.PurchasingOrganizationName AS PurchasingOrganizationName,
  _InspLot.PurchasingDocument AS PurchasingDocument,
  _InspLot.MaterialDocument AS MaterialDocument,
  _InspLot.DeliveryDocument AS DeliveryDocument,
  _InspLot.ManufacturingOrder AS ManufacturingOrder,
  _InspLot.ProductionVersion AS ProductionVersion,
  _ProductionVersion.ProductionVersionText AS ProductionVersionText,
  _InspLot.SalesOrder AS SalesOrder,
  case _InspLot.SalesOrderItem when '000000' then '' else _InspLot.SalesOrderItem end as SalesOrderItem AS SalesOrderItemendasSalesOrderItem,
  _InspLot.MaintenanceStrategy AS MaintenanceStrategy,
  _InspLot.MaintenancePlan AS MaintenancePlan,
  _InspLot.MaintenancePlanItemIntID AS MaintenancePlanItemIntID,
  _MaintenancePlan.MaintenancePlanDesc AS MaintenancePlanDesc,
  _MaintenanceItem.MaintenanceItemDescription AS MaintenancePlanItemDesc,
  _MaintenanceStrategyT.MaintenanceStrategyDesc AS MaintenanceStrategyDesc,
  _InspLot.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  InspLotSelectionValidFromDate,
  _InspLot.InspLotIsSerialNmbrPossible AS InspLotIsSerialNmbrPossible,
  _InspLot.SerialNumberProfile AS SerialNumberProfile
FROM I_InspectionLot AS _InspLot
LEFT OUTER JOIN I_InspectionLotTypeText AS _InspLotText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_InspectionLotOriginText AS _InspectionLotOriginText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MaintenancePlanBasic AS _MaintenancePlan ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MaintenanceStrategyT AS _MaintenanceStrategyT ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN C_Inspoperation_Object AS _Operation ON InspectionLot = _Operation.InspectionLot  -- association [1..*]
LEFT OUTER JOIN C_InspLotStatus AS _InspLotStatus ON InspectionLot = _InspLotStatus.InspectionLot  -- association [1..*]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Manufacturer ON Manufacturer = _Manufacturer.Supplier  -- association [0..1]
LEFT OUTER JOIN I_PurchasingOrganization AS _PurchasingOrganization ON PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization  -- association [1..1]
LEFT OUTER JOIN I_ProductionVersion AS _ProductionVersion ON Material = _ProductionVersion.Material AND Plant = _ProductionVersion.Plant AND ProductionVersion = _ProductionVersion.ProductionVersion  -- association [1..1]
LEFT OUTER JOIN C_InspLotStockPosting AS _InspLotStockPosting ON InspectionLot = _InspLotStockPosting.InspectionLot  -- association [0..*]
LEFT OUTER JOIN I_UserContactCard AS _BusinessCardInfo ON InspectionLotCreatedBy = _BusinessCardInfo.ContactCardID OR inspectionlotusagedecidedby = _BusinessCardInfo.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _ChangedByBusinessCardInfo ON InspectionLotChangedBy = _ChangedByBusinessCardInfo.ContactCardID OR insplotusagedecisionchangedby = _ChangedByBusinessCardInfo.ContactCardID  -- association [0..1]
LEFT OUTER JOIN C_InspLotDocument AS _InspLotDocument ON InspectionLot = _InspLotDocument.LinkedSAPObjectKey  -- association [1..*]
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON _InspLot.Material = _MaterialText.Material AND _MaterialText.Language = $session.system_language  -- association [0..1]
;