I_InspectionLotValueHelp

DDL: I_INSPECTIONLOTVALUEHELP SQL: IINSPLOTVALHLP Type: view COMPOSITE

Inspection Lot

I_InspectionLotValueHelp is a Composite CDS View that provides data about "Inspection Lot" in SAP S/4HANA. It reads from 4 data sources (I_InspectionCharacteristic, I_InspectionLot, I_InspectionOperation, I_MaterialSample) and exposes 139 fields with key fields InspectionLot, InspectionOperation, InspectionCharacteristic.

Data Sources (4)

SourceAliasJoin Type
I_InspectionCharacteristic I_InspectionCharacteristic inner
I_InspectionLot I_InspectionLot from
I_InspectionOperation I_InspectionOperation inner
I_MaterialSample I_MaterialSample inner

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IINSPLOTVALHLP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Inspection Lot view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
Metadata.ignorePropagatedAnnotations true view

Fields (139)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot _insplots InspectionLot
KEY InspectionOperation I_InspectionOperation InspectionOperation
KEY InspectionCharacteristic I_InspectionCharacteristic InspectionCharacteristic
Material _insplots Material
Batch _insplots Batch
Plant _insplots Plant
InspectionLotOrigin _insplots InspectionLotOrigin
ManufacturingOrder _insplots ManufacturingOrder
InspectionLotText _insplots InspectionLotText
InspectionLotType _insplots InspectionLotType
InspectionLotQuantity _insplots InspectionLotQuantity
InspectionLotQuantityUnit _insplots InspectionLotQuantityUnit
InspLotCreatedOnLocalDate
MaterialName
InspectionLotHasUsageDecision _insplots InspectionLotHasUsageDecision
InspLotNmbrOpenLongTermCharc _insplots InspLotNmbrOpenLongTermCharc
InspectionLotObjectText _insplots InspectionLotObjectText
GoodsReceiptIsMovedToBlkdStock _insplots GoodsReceiptIsMovedToBlkdStock
InspectionLotHasQuantity _insplots InspectionLotHasQuantity
InspectionLotHasPartialLots _insplots InspectionLotHasPartialLots
InspLotIsDocumentationRequired _insplots InspLotIsDocumentationRequired
InspectionLotApproval _insplots InspectionLotApproval
InspLotDigitalSgntrInUsgeDcsn _insplots InspLotDigitalSgntrInUsgeDcsn
InspectionLotIsSkipped _insplots InspectionLotIsSkipped
InspectionLotIsFullInspection _insplots InspectionLotIsFullInspection
InspLotCreatedOnLocalTime
InspectionLotCreatedBy _insplots InspectionLotCreatedBy
InspectionLotCreatedOn
InspectionLotCreatedOnTime
InspectionLotChangedBy _insplots InspectionLotChangedBy
InspectionLotChangeDate
InspectionLotChangeTime
InspectionLotStartDate
InspectionLotStartTime
InspectionLotEndDate
InspectionLotEndTime
BillOfOperationsType _insplots BillOfOperationsType
BillOfOperationsGroup _insplots BillOfOperationsGroup
BillOfOperationsUsage _insplots BillOfOperationsUsage
BillOfOperationsVariant _insplots BillOfOperationsVariant
SmplDrawingProcedure _insplots SmplDrawingProcedure
SmplDrwgProcedIsConfRequired _insplots SmplDrwgProcedIsConfRequired
InspLotSelectionValidFromDate
ProductionVersion _insplots ProductionVersion
Customer _insplots Customer
Supplier _insplots Supplier
Manufacturer _insplots Manufacturer
ManufacturerPartNmbr _insplots ManufacturerPartNmbr
MaterialRevisionLevel _insplots MaterialRevisionLevel
MaterialIsBatchManaged _insplots MaterialIsBatchManaged
BatchStorageLocation _insplots BatchStorageLocation
MaterialCompIsSpecialStock _insplots MaterialCompIsSpecialStock
PurchasingOrganization _insplots PurchasingOrganization
PurchasingDocument _insplots PurchasingDocument
AccountingDocumentType _insplots AccountingDocumentType
MaterialDocumentYear _insplots MaterialDocumentYear
MaterialDocument _insplots MaterialDocument
MatlDocLatestPostgDate
GoodsMovementType _insplots GoodsMovementType
InspectionLotPlant _insplots InspectionLotPlant
InspectionLotStorageLocation _insplots InspectionLotStorageLocation
Warehouse _insplots Warehouse
StorageType _insplots StorageType
StorageBin _insplots StorageBin
SalesOrder _insplots SalesOrder
DeliveryDocument _insplots DeliveryDocument
DeliveryCategory _insplots DeliveryCategory
InspectionDeliveryCategory _insplots InspectionDeliveryCategory
Route _insplots Route
BillToPartyCountry _insplots BillToPartyCountry
SoldToParty _insplots SoldToParty
SalesOrganization _insplots SalesOrganization
MaterialByCustomer _insplots MaterialByCustomer
InspLotNmbrAddlRecordedCharc _insplots InspLotNmbrAddlRecordedCharc
InspLotNmbrOpenShortTermCharc _insplots InspLotNmbrOpenShortTermCharc
InspectionDynamicStage _insplots InspectionDynamicStage
InspectionSeverity _insplots InspectionSeverity
QualityCostCollector _insplots QualityCostCollector
CostCenter _insplots CostCenter
SalesOrdStockWBSElement _insplots SalesOrdStockWBSElement
ProfitCenter _insplots ProfitCenter
BusinessArea _insplots BusinessArea
GLAccount _insplots GLAccount
ControllingArea _insplots ControllingArea
CompanyCode _insplots CompanyCode
SerialNumberProfile _insplots SerialNumberProfile
NumberOfSerialNumbers _insplots NumberOfSerialNumbers
InspLotIsSerialNmbrPossible _insplots InspLotIsSerialNmbrPossible
BatchBySupplier _insplots BatchBySupplier
InspLotIsAutomUsgeDcsnPossible _insplots InspLotIsAutomUsgeDcsnPossible
InspLotHasConfignSpecification _insplots InspLotHasConfignSpecification
InspLotIsTaskListRequired _insplots InspLotIsTaskListRequired
InspLotHasManualSampleSize _insplots InspLotHasManualSampleSize
InspLotHasMaterialSpec _insplots InspLotHasMaterialSpec
InspLotDigitalSgntrResultsRecg _insplots InspLotDigitalSgntrResultsRecg
InspLotIsBatchRequired _insplots InspLotIsBatchRequired
InspLotIsStockPostingCompleted _insplots InspLotIsStockPostingCompleted
MatlQualityAuthorizationGroup _insplots MatlQualityAuthorizationGroup
IsBusinessPurposeCompleted _insplots IsBusinessPurposeCompleted
InspectionOperationPlant I_InspectionOperation InspectionOperationPlant
OperationControlProfile I_InspectionOperation OperationControlProfile
OperationText I_InspectionOperation OperationText
WorkCenter
OperationConfirmation I_InspectionOperation OperationConfirmation
InspectionSubSystem I_InspectionOperation InspectionSubSystem
InspectionSpecification I_InspectionCharacteristic InspectionSpecification
InspectionSpecificationText I_InspectionCharacteristic InspectionSpecificationText
InspectorQualification I_InspectionCharacteristic InspectorQualification
InspSpecInformationField1 I_InspectionCharacteristic InspSpecInformationField1
InspSpecInformationField2 I_InspectionCharacteristic InspSpecInformationField2
InspSpecInformationField3 I_InspectionCharacteristic InspSpecInformationField3
InspSpecImportanceCode I_InspectionCharacteristic InspSpecImportanceCode
InspectionMethod I_InspectionCharacteristic InspectionMethod
InspectionMethodPlant I_InspectionCharacteristic InspectionMethodPlant
InspectionSpecificationPlant I_InspectionCharacteristic InspectionSpecificationPlant
InspectionCharacteristicStatus I_InspectionCharacteristic InspectionCharacteristicStatus
InspectionSubsetSortKey I_InspectionSubset InspectionSubsetSortKey
Equipment I_InspectionSubset Equipment
FunctionalLocation I_InspectionSubset FunctionalLocation
InspSubsetUsageDcsnValuation I_InspectionSubset InspSubsetUsageDcsnValuation
InspectionSubsetLongCharKey I_InspectionSubset InspectionSubsetLongCharKey
InspectionSubsetShortCharKey I_InspectionSubset InspectionSubsetShortCharKey
InspSubsetLongNumericKey I_InspectionSubset InspSubsetLongNumericKey
InspSubsetShortNumericKey I_InspectionSubset InspSubsetShortNumericKey
InspectionSubsetDate
InspectionSubsetTime
MaterialSample I_InspectionSubset MaterialSample
InspSubsetUsageDcsnCodeGroup I_InspectionSubset InspSubsetUsageDcsnCodeGroup
InspSubsetUsageDcsnCode I_InspectionSubset InspSubsetUsageDcsnCode
MaterialSampleType I_MaterialSample MaterialSampleType
MaterialSampleCategory I_MaterialSample MaterialSampleCategory
StorageLocation I_MaterialSample StorageLocation
MaterialSampleStorageLocation I_MaterialSample MaterialSampleStorageLocation
MaterialSampleChangedOn
MaterialSampleDrawingLocation I_MaterialSample MaterialSampleDrawingLocation
MatlSmplDrawingLocDescription I_MaterialSample MatlSmplDrawingLocDescription
MaterialSampleDrawingOnDate
MaterialSampleDrawingOnTime
MaterialSampleResponsibleName I_MaterialSample MaterialSampleResponsibleName
@AbapCatalog.sqlViewName: 'IINSPLOTVALHLP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Inspection Lot'
@VDM.viewType: #COMPOSITE

@ObjectModel.supportedCapabilities: [ #VALUE_HELP_PROVIDER ]
@ObjectModel.usageType: {
    dataClass: #TRANSACTIONAL,
    sizeCategory: #L,
    serviceQuality: #C 
}
@Metadata.ignorePropagatedAnnotations: true
define view I_InspectionLotValueHelp
  as select from   I_InspectionLot _insplots
    inner join     I_InspectionOperation      on _insplots.OrderInternalBillOfOperations = I_InspectionOperation.OrderInternalBillOfOperations
    inner join     I_InspectionCharacteristic on  _insplots.InspectionLot                           = I_InspectionCharacteristic.InspectionLot
                                              and I_InspectionOperation.InspPlanOperationInternalID = I_InspectionCharacteristic.InspPlanOperationInternalID
    left outer join(
                   I_InspectionSubset
        inner join I_MaterialSample           on I_MaterialSample.MaterialSample = I_InspectionSubset.MaterialSample
    )
    on _insplots.InspectionLot = I_InspectionSubset.InspectionLot
{
      key _insplots.InspectionLot,
      key I_InspectionOperation.InspectionOperation,
      key I_InspectionCharacteristic.InspectionCharacteristic,

      //Inspection lot filters

      _insplots.Material,
      _insplots.Batch,
      _insplots.Plant,
      _insplots.InspectionLotOrigin,
      _insplots.ManufacturingOrder,
      _insplots.InspectionLotText,
      _insplots.InspectionLotType,
      @Semantics.quantity.unitOfMeasure: 'InspectionLotQuantityUnit'      
      _insplots.InspectionLotQuantity,
      @Semantics.unitOfMeasure: true
      _insplots.InspectionLotQuantityUnit,
      cast(_insplots.InspLotCreatedOnLocalDate as abap.char( 8 ))          as InspLotCreatedOnLocalDate,
      _insplots._Material._Text[1:Language=$session.system_language].MaterialName,
      _insplots.InspectionLotHasUsageDecision,
      _insplots.InspLotNmbrOpenLongTermCharc,
      _insplots.InspectionLotObjectText,
      _insplots.GoodsReceiptIsMovedToBlkdStock,
      _insplots.InspectionLotHasQuantity,
      _insplots.InspectionLotHasPartialLots,
      _insplots.InspLotIsDocumentationRequired,
      _insplots.InspectionLotApproval,
      _insplots.InspLotDigitalSgntrInUsgeDcsn,
      _insplots.InspectionLotIsSkipped,
      _insplots.InspectionLotIsFullInspection,
      cast(_insplots.InspLotCreatedOnLocalTime as abap.char( 6 ))          as InspLotCreatedOnLocalTime,
      _insplots.InspectionLotCreatedBy,
      cast(_insplots.InspectionLotCreatedOn as abap.char( 8 ))             as InspectionLotCreatedOn,
      cast(_insplots.InspectionLotCreatedOnTime as abap.char( 6 ))         as InspectionLotCreatedOnTime,
      _insplots.InspectionLotChangedBy,
      cast(_insplots.InspectionLotChangeDate as abap.char( 8 ))            as InspectionLotChangeDate,
      cast(_insplots.InspectionLotChangeTime as abap.char( 6 ))            as InspectionLotChangeTime,
      cast(_insplots.InspectionLotStartDate as abap.char( 8 ))             as InspectionLotStartDate,
      cast(_insplots.InspectionLotStartTime as abap.char( 6 ))             as InspectionLotStartTime,
      cast(_insplots.InspectionLotEndDate as abap.char( 8 ))               as InspectionLotEndDate,
      cast(_insplots.InspectionLotEndTime as abap.char( 6 ))               as InspectionLotEndTime,
      _insplots.BillOfOperationsType,
      _insplots.BillOfOperationsGroup,
      _insplots.BillOfOperationsUsage,
      _insplots.BillOfOperationsVariant,
      _insplots.SmplDrawingProcedure,
      _insplots.SmplDrwgProcedIsConfRequired,
      cast(_insplots.InspLotSelectionValidFromDate as abap.char( 8 ))      as InspLotSelectionValidFromDate,
      _insplots.ProductionVersion,
      _insplots.Customer,
      _insplots.Supplier,
      _insplots.Manufacturer,
      _insplots.ManufacturerPartNmbr,
      _insplots.MaterialRevisionLevel,
      _insplots.MaterialIsBatchManaged,
      _insplots.BatchStorageLocation,
      _insplots.MaterialCompIsSpecialStock,
      _insplots.PurchasingOrganization,
      _insplots.PurchasingDocument,
      _insplots.AccountingDocumentType,
      _insplots.MaterialDocumentYear,
      _insplots.MaterialDocument,
      cast(_insplots.MatlDocLatestPostgDate as abap.char( 8 ))             as MatlDocLatestPostgDate,
      _insplots.GoodsMovementType,
      _insplots.InspectionLotPlant,
      _insplots.InspectionLotStorageLocation,
      _insplots.Warehouse,
      _insplots.StorageType,
      _insplots.StorageBin,
      _insplots.SalesOrder,
      _insplots.DeliveryDocument,
      @API.element.releaseState: #DEPRECATED
      @API.element.successor:    'InspectionDeliveryCategory'
      _insplots.DeliveryCategory,
      _insplots.InspectionDeliveryCategory,
      _insplots.Route,
      _insplots.BillToPartyCountry,
      _insplots.SoldToParty,
      _insplots.SalesOrganization,
      _insplots.MaterialByCustomer,
      _insplots.InspLotNmbrAddlRecordedCharc,
      _insplots.InspLotNmbrOpenShortTermCharc,
      _insplots.InspectionDynamicStage,
      _insplots.InspectionSeverity,
      _insplots.QualityCostCollector,
      _insplots.CostCenter,
      _insplots.SalesOrdStockWBSElement,
      _insplots.ProfitCenter,
      _insplots.BusinessArea,
      _insplots.GLAccount,
      _insplots.ControllingArea,
      _insplots.CompanyCode,
      _insplots.SerialNumberProfile,
      _insplots.NumberOfSerialNumbers,
      _insplots.InspLotIsSerialNmbrPossible,
      _insplots.BatchBySupplier,
      _insplots.InspLotIsAutomUsgeDcsnPossible,
      _insplots.InspLotHasConfignSpecification,
      _insplots.InspLotIsTaskListRequired,
      _insplots.InspLotHasManualSampleSize,
      _insplots.InspLotHasMaterialSpec,
      _insplots.InspLotDigitalSgntrResultsRecg,
      _insplots.InspLotIsBatchRequired,
      _insplots.InspLotIsStockPostingCompleted,
      _insplots.MatlQualityAuthorizationGroup,
      @Consumption: { hidden: true }
      _insplots.IsBusinessPurposeCompleted,

      //Operation filters

      I_InspectionOperation.InspectionOperationPlant,
      I_InspectionOperation.OperationControlProfile,
      I_InspectionOperation.OperationText,
      I_InspectionOperation._WorkCenter.WorkCenter,
      I_InspectionOperation.OperationConfirmation,
      I_InspectionOperation.InspectionSubSystem,

      //Charac. specification filters

      I_InspectionCharacteristic.InspectionSpecification,
      I_InspectionCharacteristic.InspectionSpecificationText,
      I_InspectionCharacteristic.InspectorQualification,
      I_InspectionCharacteristic.InspSpecInformationField1,
      I_InspectionCharacteristic.InspSpecInformationField2,
      I_InspectionCharacteristic.InspSpecInformationField3,
      I_InspectionCharacteristic.InspSpecImportanceCode,
      I_InspectionCharacteristic.InspectionMethod,
      I_InspectionCharacteristic.InspectionMethodPlant,
      I_InspectionCharacteristic.InspectionSpecificationPlant,
      I_InspectionCharacteristic.InspectionCharacteristicStatus,

      //Physical sample filters

      I_InspectionSubset.InspectionSubsetSortKey,
      I_InspectionSubset.Equipment,
      I_InspectionSubset.FunctionalLocation,
      I_InspectionSubset.InspSubsetUsageDcsnValuation,
      I_InspectionSubset.InspectionSubsetLongCharKey,
      I_InspectionSubset.InspectionSubsetShortCharKey,
      I_InspectionSubset.InspSubsetLongNumericKey,
      I_InspectionSubset.InspSubsetShortNumericKey,
      cast(I_InspectionSubset.InspectionSubsetDate as abap.char( 8 ))      as InspectionSubsetDate,
      cast(I_InspectionSubset.InspectionSubsetTime as abap.char( 6 ))      as InspectionSubsetTime,
      I_InspectionSubset.MaterialSample,
      I_InspectionSubset.InspSubsetUsageDcsnCodeGroup,
      I_InspectionSubset.InspSubsetUsageDcsnCode,

      //Physical sample filters

      I_MaterialSample.MaterialSampleType,
      I_MaterialSample.MaterialSampleCategory,
      I_MaterialSample.StorageLocation,
      I_MaterialSample.MaterialSampleStorageLocation,
      cast(I_MaterialSample.MaterialSampleChangedOn as abap.char( 8 ))     as MaterialSampleChangedOn,
      I_MaterialSample.MaterialSampleDrawingLocation,
      I_MaterialSample.MatlSmplDrawingLocDescription,
      cast(I_MaterialSample.MaterialSampleDrawingOnDate as abap.char( 8 )) as MaterialSampleDrawingOnDate,
      cast(I_MaterialSample.MaterialSampleDrawingOnTime as abap.char( 6 )) as MaterialSampleDrawingOnTime,
      I_MaterialSample.MaterialSampleResponsibleName
} 
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_INSPECTIONCHARACTERISTIC",
"I_INSPECTIONLOT",
"I_INSPECTIONOPERATION",
"I_INSPECTIONSUBSET",
"I_MATERIAL",
"I_MATERIALSAMPLE",
"I_MATERIALTEXT",
"I_WORKCENTER"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/