C_DefectMng
Manage Defects
C_DefectMng is a Consumption CDS View that provides data about "Manage Defects" in SAP S/4HANA. It reads from 1 data source (I_DefectUnion) and exposes 135 fields with key field DefectInternalID. It has 21 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_DefectUnion | _DefectUnion | from |
Associations (21)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CalendarDate | _DefectsWeek | $projection.CreationDate = _DefectsWeek.CalendarDate |
| [1..1] | C_Plantvaluehelp | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | C_InspLotSuplrValHelp | _SupplierVH | $projection.supplier = _SupplierVH.Supplier |
| [1..1] | C_InspLotCustValHelp | _CustomerVH | $projection.customer = _CustomerVH.Customer |
| [0..1] | C_InsLotHasUsgeDcsnT | _InspLotHasUsgeDcsn | $projection.InspectionLotHasUsageDecision = _InspLotHasUsgeDcsn.InspectionLotHasUsageDecision |
| [0..1] | I_WorkCenterBySemanticKey | _WorkCenterBySemanticKey | $projection.MainWorkCenterInternalID = _WorkCenterBySemanticKey.WorkCenterInternalID and $projection.MainWorkCenterPlant = _WorkCenterBySemanticKey.Plant |
| [1..1] | C_DefectCalc | _DefectCalc | $projection.DefectInternalID = _DefectCalc.DefectInternalID |
| [0..1] | I_InspectionOperation | _InspectionOperation | $projection.InspectionLot = _InspectionOperation.InspectionLot and $projection.InspPlanOperationInternalID = _InspectionOperation.InspPlanOperationInternalID |
| [0..1] | C_DefectMngCharcs | _DefectMngCharcs | $projection.InspectionLot = _DefectMngCharcs.InspectionLot and $projection.InspPlanOperationInternalID = _DefectMngCharcs.InspPlanOperationInternalID and $projection.InspectionCharacteristic = _DefectMngCharcs.InspectionCharacteristic |
| [0..1] | C_DefectMngCharacteristicsSbst | _DefectMngCharacteristicsSbst | $projection.InspectionLot = _DefectMngCharacteristicsSbst .InspectionLot and $projection.InspPlanOperationInternalID = _DefectMngCharacteristicsSbst .InspPlanOperationInternalID and $projection.InspectionSubsetInternalID = _DefectMngCharacteristicsSbst .InspectionSubsetInternalID and $projection.MaterialSample = _DefectMngCharacteristicsSbst .MaterialSample and $projection.InspectionCharacteristic = _DefectMngCharacteristicsSbst .InspectionCharacteristic |
| [0..1] | I_MfgOrderVH | _MfgOrderVH | $projection.ManufacturingOrder = _MfgOrderVH.ManufacturingOrder |
| [0..1] | I_StorageLocation | _StorageLocation | $projection.Plant = _StorageLocation.Plant and $projection.StorageLocation = _StorageLocation.StorageLocation |
| [0..1] | I_ProductionSupplyArea | _ProductionSupplyArea | $projection.ProductionSupplyArea = _ProductionSupplyArea.ProductionSupplyArea and $projection.Plant = _ProductionSupplyArea.Plant |
| [0..1] | I_EWM_WarehouseNumber_2 | _EWM_WarehouseNumber_2 | $projection.Warehouse = _EWM_WarehouseNumber_2.EWMWarehouse |
| [0..1] | I_EWM_StorageType_2 | _EWM_SourceStorageType | $projection.Warehouse = _EWM_SourceStorageType.EWMWarehouse and $projection.StorageType = _EWM_SourceStorageType.EWMStorageType |
| [0..1] | I_EWM_StorageBin_2 | _EWM_SourceStorageBin | $projection.Warehouse = _EWM_SourceStorageBin.EWMWarehouse and $projection.SourceStorageBin = _EWM_SourceStorageBin.EWMStorageBin |
| [0..1] | C_DefectMngInspectionSubset | _DefectMngInspectionSubset | $projection.InspectionLot = _DefectMngInspectionSubset .InspectionLot and $projection.InspPlanOperationInternalID = _DefectMngInspectionSubset .InspPlanOperationInternalID and $projection.InspectionSubsetInternalID = _DefectMngInspectionSubset .InspectionSubsetInternalID |
| [0..*] | I_DefectStatusText | _DefectStatusText | $projection.DefectLifecycleStatus = _DefectStatusText.DefectLifecycleStatus |
| [0..*] | I_DefectCategoryText | _DefectCategoryText | $projection.DefectCategory = _DefectCategoryText.DefectCategory |
| [0..1] | I_DefectCausedBy | _DefectCausedBy | $projection.DefectCausedBy = _DefectCausedBy.DefectCausedBy |
| [1..*] | I_DefectCausedByText | _DefectCausedByText | $projection.DefectCausedBy = _DefectCausedByText.DefectCausedBy |
Annotations (20)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CDEFECTMNG | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Manage Defects | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.representativeKey | DefectInternalID | view | |
| UI.headerInfo.title.label | Defect | view | |
| UI.headerInfo.title.type | #STANDARD | view | |
| UI.headerInfo.title.value | Defect | view | |
| UI.headerInfo.description.label | Defects | view | |
| UI.headerInfo.description.type | #STANDARD | view | |
| UI.headerInfo.description.value | DefectText | view | |
| UI.headerInfo.typeNamePlural | Defects | view | |
| UI.headerInfo.typeName | Defect | view | |
| Metadata.allowExtensions | true | view |
Fields (135)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| NotificationTypeName | ||||
| DefectCodeText | Defect Code Text | |||
| DefectCodeGroupText | ||||
| DefectCodeGroupAndCode | ||||
| MaterialName | ||||
| InspectionLotOrigin | ||||
| SupplierName | ||||
| Supplier | ||||
| CustomerName | ||||
| Customer | ||||
| DefectClassText | Defect Class Text | |||
| InspectionLotHasUsageDecision | ||||
| InspectionLotTypeText | ||||
| InspectionLotType | ||||
| BatchStorageLocation | ||||
| WorkCenterText | ||||
| ProductionSupplyAreaName | ||||
| EWMWarehouseDescription | ||||
| EWMStorageTypeName | ||||
| ManufacturerName | ||||
| Manufacturer | ||||
| PurchasingOrganizationName | ||||
| PurchasingOrganization | Purchasing Organization | |||
| PurchasingDocument | Purchasing Document | |||
| PurchasingDocumentItem | Purchasing Document Item | |||
| ManufacturerPartNmbr | ||||
| SalesOrder | ||||
| SalesOrderItem | ||||
| DeliveryDocument | ||||
| SalesOrganization | ||||
| MaterialByCustomer | ||||
| MaterialIsBatchManaged | ||||
| InspLotHasSubsets | ||||
| InspectionLotQuantity | ||||
| InspectionLotQuantityUnit | ||||
| MaterialDocument | ||||
| MaterialDocumentItem | ||||
| MaterialDocumentYear | ||||
| InspLotUsageDecisionCodeGroup | ||||
| InspectionLotUsageDecisionCode | Usage Decision Code | |||
| UsageDecisionCodeText | ||||
| InspectionLotQualityScore | Quality Score | |||
| IsBusinessPurposeCompleted | ||||
| DefectLocationCodeGroupText | ||||
| DefectLocationCodeText | ||||
| _DefectCode | _DefectCode | |||
| _DefectCodeGroup | _DefectCodeGroup | |||
| _DefectsWeek | _DefectsWeek | |||
| _Plant | _Plant | |||
| _SupplierVH | _SupplierVH | |||
| _CustomerVH | _CustomerVH | |||
| _DefectCategory | _DefectCategory | |||
| _DefectCategoryText | _DefectCategoryText | |||
| _DefectClass | _DefectClass | |||
| _InspLotHasUsgeDcsn | _InspLotHasUsgeDcsn | |||
| _DefectCalc | _DefectCalc | |||
| _DefectMngCharcs | _DefectMngCharcs | |||
| _DefectMngCharacteristicsSbst | _DefectMngCharacteristicsSbst | |||
| _DefectMngInspectionSubset | _DefectMngInspectionSubset | |||
| _CreatedByUserContactCard | _CreatedByUserContactCard | |||
| _LastChangedByUserContactCard | _LastChangedByUserContactCard | |||
| _Notification | _Notification | |||
| _DefectStatus | _DefectStatus | |||
| _DefectStatusText | _DefectStatusText | |||
| _InspectionLot | _InspectionLot | |||
| _MfgOrderVH | _MfgOrderVH | |||
| _StorageLocation | _StorageLocation | |||
| _ProductionSupplyArea | _ProductionSupplyArea | |||
| _EWM_WarehouseNumber | _EWM_WarehouseNumber | |||
| _EWM_SourceStorageType | _EWM_SourceStorageType | |||
| _EWM_SourceStorageBin | _EWM_SourceStorageBin | |||
| _DefectCausedBy | _DefectCausedBy | |||
| _DefectCausedByText | _DefectCausedByText | |||
| _DefectLocationCatalog | _DefectLocationCatalog | |||
| _DefectLocationCodeGroup | _DefectLocationCodeGroup | |||
| _DefectLocationCode | _DefectLocationCode | |||
| _Product | _Product | |||
| _UsageDecisionCodeGroup | ||||
| _UsageDecisionCode | ||||
| KEY | DefectInternalID | I_DefectUnion | DefectInternalID | Internal Defect ID |
| Notification | I_DefectUnion | Notification | Notification | |
| NotificationType | I_DefectUnion | NotificationType | Notifictn Type | |
| NotificationItem | I_DefectUnion | NotificationItem | ||
| Defect | I_DefectUnion | Defect | Defect | |
| NotificationItemExternalID | I_DefectUnion | NotificationItemExternalID | ||
| InspectionLot | I_DefectUnion | InspectionLot | Inspection Lot | |
| InspPlanOperationInternalID | I_DefectUnion | InspPlanOperationInternalID | ||
| InspectionCharacteristic | I_DefectUnion | InspectionCharacteristic | Inspection Characteristic | |
| InspectionSubsetInternalID | I_DefectUnion | InspectionSubsetInternalID | ||
| MaterialSample | I_DefectUnion | MaterialSample | ||
| DefectText | I_DefectUnion | DefectText | ||
| DefectLifecycleStatus | I_DefectUnion | DefectLifecycleStatus | ||
| DefectCode | I_DefectUnion | DefectCode | Defect Code | |
| DefectCodeGroup | I_DefectUnion | DefectCodeGroup | Defect Code Group | |
| DefectCategory | I_DefectUnion | DefectCategory | ||
| Material | I_DefectUnion | Material | Vehicle Model | |
| Plant | I_DefectUnion | Plant | Valuation Area | |
| NumberOfDefects | I_DefectUnion | NumberOfDefects | ||
| CreationDate | I_DefectUnion | CreationDate | Time Stamp | |
| DefectClass | I_DefectUnion | DefectClass | Defect Class | |
| Batch | I_DefectUnion | Batch | Batch | |
| MainWorkCenterInternalID | I_DefectUnion | MainWorkCenterInternalID | Work Center | |
| WorkCenterTypeCode | I_DefectUnion | WorkCenterTypeCode | Object Type | |
| MainWorkCenterPlant | I_DefectUnion | MainWorkCenterPlant | Plnt WorkCenter | |
| StorageLocation | I_DefectUnion | StorageLocation | StorageLocation | |
| ProductionSupplyArea | I_DefectUnion | ProductionSupplyArea | Supply Area | |
| Warehouse | I_DefectUnion | Warehouse | Warehouse No. | |
| StorageType | I_DefectUnion | StorageType | Storage Type | |
| SourceStorageBin | I_DefectUnion | SourceStorageBin | ||
| CreatedByUser | I_DefectUnion | CreatedByUser | User Name | |
| CreationTime | I_DefectUnion | CreationTime | Time of Change | |
| LastChangedByUser | I_DefectUnion | LastChangedByUser | User Name | |
| LastChangeDate | I_DefectUnion | LastChangeDate | Time Stamp | |
| LastChangeTime | I_DefectUnion | LastChangeTime | Time changed | |
| IsDeleted | I_DefectUnion | IsDeleted | TRUE | |
| MainWorkCenter | I_DefectUnion | MainWorkCenter | Work Center | |
| DefectCausedBy | I_DefectUnion | DefectCausedBy | Defect Caused By | |
| DefectLocationCatalog | I_DefectUnion | DefectLocationCatalog | ||
| DefectLocationCodeGroup | I_DefectUnion | DefectLocationCodeGroup | ||
| DefectLocationCode | I_DefectUnion | DefectLocationCode | ||
| NumberOfDefectsCriticality | _DefectCalc | NumberOfDefectsCriticality | ||
| CalendarWeek | _DefectsWeek | CalendarWeek | Calendar Week | |
| CalendarYear | _DefectsWeek | CalendarYear | Year | |
| _CalendarYear | _DefectsWeek | _CalendarYear | ||
| _InspectionLotType | _InspectionLot | _InspectionLotType | ||
| _PurchasingOrganization | _InspectionLot | _PurchasingOrganization | ||
| _Manufacturer | _InspectionLot | _Manufacturer | ||
| _InspectionLotOrigin | _InspectionLot | _InspectionLotOrigin | ||
| _ManufacturerPartNmbr | _InspectionLot | _ManufacturerPartNmbr | ||
| _Supplier | _InspectionLot | _Supplier | ||
| _Customer | _InspectionLot | _Customer | ||
| _SalesOrganization | _InspectionLot | _SalesOrganization | ||
| _InspectionLotQuantityUnit | _InspectionLot | _InspectionLotQuantityUnit | ||
| PlantName | _Plant | PlantName | Plant Name | |
| WorkCenter | _WorkCenterBySemanticKey | WorkCenter | Work Center |
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_DefectMng.
-- 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: CDEFECTMNG
CREATE VIEW C_DefectMng AS
SELECT
_DefectUnion._NotificationType._NotificationTypeName[1: Language = $session.system_language].NotificationTypeName AS NotificationTypeName,
_DefectUnion._DefectCode._Text[1:Language=$session.system_language].DefectCodeText AS DefectCodeText,
_DefectUnion._DefectCodeGroup._Text[1:Language=$session.system_language].DefectCodeGroupText AS DefectCodeGroupText,
cast( concat_with_space(_DefectUnion.DefectCodeGroup, _DefectUnion.DefectCode, 1) as qdefect_code_group_and_code preserving type ) AS DefectCodeGroupAndCode,
_Product._Text[1:Language=$session.system_language].ProductName AS MaterialName,
_DefectUnion._InspectionLot.InspectionLotOrigin AS InspectionLotOrigin,
_DefectUnion._InspectionLot._Supplier.SupplierName AS SupplierName,
_DefectUnion._InspectionLot.Supplier AS Supplier,
_DefectUnion._InspectionLot._Customer.CustomerName AS CustomerName,
_DefectUnion._InspectionLot.Customer AS Customer,
_DefectClass._Text[1:Language=$session.system_language].DefectClassText AS DefectClassText,
cast ( _DefectUnion._InspectionLot.InspectionLotHasUsageDecision as xfeld preserving type ) AS InspectionLotHasUsageDecision,
_DefectUnion._InspectionLot._InspectionLotType._Text[1:Language=$session.system_language].InspectionLotTypeText AS InspectionLotTypeText,
_DefectUnion._InspectionLot.InspectionLotType AS InspectionLotType,
_DefectUnion._InspectionLot.BatchStorageLocation AS BatchStorageLocation,
_WorkCenterBySemanticKey._WorkCenterTextBySemanticKey[1:Language=$session.system_language].WorkCenterText AS WorkCenterText,
_ProductionSupplyArea._Text[1: Language = $session.system_language].ProductionSupplyAreaName AS ProductionSupplyAreaName,
_EWM_WarehouseNumber_2._Text[1: Language = $session.system_language].EWMWarehouseDescription AS EWMWarehouseDescription,
_EWM_SourceStorageType._Text[1: Language = $session.system_language].EWMStorageTypeName AS EWMStorageTypeName,
cast( _DefectUnion._InspectionLot._Manufacturer.SupplierName as vdm_qm_manufacturer_name preserving type ) AS ManufacturerName,
_DefectUnion._InspectionLot.Manufacturer AS Manufacturer,
_DefectUnion._InspectionLot._PurchasingOrganization.PurchasingOrganizationName AS PurchasingOrganizationName,
_DefectUnion._InspectionLot.PurchasingOrganization AS PurchasingOrganization,
_DefectUnion._InspectionLot.PurchasingDocument AS PurchasingDocument,
_DefectUnion._InspectionLot.PurchasingDocumentItem AS PurchasingDocumentItem,
_DefectUnion._InspectionLot.ManufacturerPartNmbr AS ManufacturerPartNmbr,
_DefectUnion._InspectionLot.SalesOrder AS SalesOrder,
_DefectUnion._InspectionLot.SalesOrderItem AS SalesOrderItem,
_DefectUnion._InspectionLot.DeliveryDocument AS DeliveryDocument,
_DefectUnion._InspectionLot.SalesOrganization AS SalesOrganization,
_DefectUnion._InspectionLot.MaterialByCustomer AS MaterialByCustomer,
cast(_DefectUnion._InspectionLot.MaterialIsBatchManaged as xfeld preserving type ) AS MaterialIsBatchManaged,
cast (_DefectUnion._InspectionLot.InspLotHasSubsets as xfeld preserving type ) AS InspLotHasSubsets,
_DefectUnion._InspectionLot.InspectionLotQuantity AS InspectionLotQuantity,
_DefectUnion._InspectionLot.InspectionLotQuantityUnit AS InspectionLotQuantityUnit,
_DefectUnion._InspectionLot.MaterialDocument AS MaterialDocument,
_DefectUnion._InspectionLot.MaterialDocumentItem AS MaterialDocumentItem,
_DefectUnion._InspectionLot.MaterialDocumentYear AS MaterialDocumentYear,
_DefectUnion._InspectionLot._InspLotUsageDecision.InspLotUsageDecisionCodeGroup AS InspLotUsageDecisionCodeGroup,
_DefectUnion._InspectionLot._InspLotUsageDecision.InspectionLotUsageDecisionCode AS InspectionLotUsageDecisionCode,
_DefectUnion._InspectionLot._InspLotUsageDecision._UsageDecisionCode.UsageDecisionCodeText AS UsageDecisionCodeText,
_DefectUnion._InspectionLot._InspLotUsageDecision.InspectionLotQualityScore AS InspectionLotQualityScore,
_DefectUnion._InspectionLot.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
_DefectLocationCodeGroup._Text[1:Language=$session.system_language].DefectLocationCodeGroupText AS DefectLocationCodeGroupText,
_DefectLocationCode._DefectLocationCodeText[1:Language=$session.system_language].DefectLocationCodeText AS DefectLocationCodeText,
_InspectionLot._InspLotUsageDecision._UsageDecisionCodeGroup AS _UsageDecisionCodeGroup,
_InspectionLot._InspLotUsageDecision._UsageDecisionCode AS _UsageDecisionCode,
_DefectUnion.DefectInternalID AS DefectInternalID,
_DefectUnion.Notification AS Notification,
_DefectUnion.NotificationType AS NotificationType,
_DefectUnion.NotificationItem AS NotificationItem,
_DefectUnion.Defect AS Defect,
_DefectUnion.NotificationItemExternalID AS NotificationItemExternalID,
_DefectUnion.InspectionLot AS InspectionLot,
_DefectUnion.InspPlanOperationInternalID AS InspPlanOperationInternalID,
_DefectUnion.InspectionCharacteristic AS InspectionCharacteristic,
_DefectUnion.InspectionSubsetInternalID AS InspectionSubsetInternalID,
_DefectUnion.MaterialSample AS MaterialSample,
_DefectUnion.DefectText AS DefectText,
_DefectUnion.DefectLifecycleStatus AS DefectLifecycleStatus,
_DefectUnion.DefectCode AS DefectCode,
_DefectUnion.DefectCodeGroup AS DefectCodeGroup,
_DefectUnion.DefectCategory AS DefectCategory,
_DefectUnion.Material AS Material,
_DefectUnion.Plant AS Plant,
_DefectUnion.NumberOfDefects AS NumberOfDefects,
_DefectUnion.CreationDate AS CreationDate,
_DefectUnion.DefectClass AS DefectClass,
_DefectUnion.Batch AS Batch,
_DefectUnion.MainWorkCenterInternalID AS MainWorkCenterInternalID,
_DefectUnion.WorkCenterTypeCode AS WorkCenterTypeCode,
_DefectUnion.MainWorkCenterPlant AS MainWorkCenterPlant,
_DefectUnion.StorageLocation AS StorageLocation,
_DefectUnion.ProductionSupplyArea AS ProductionSupplyArea,
_DefectUnion.Warehouse AS Warehouse,
_DefectUnion.StorageType AS StorageType,
_DefectUnion.SourceStorageBin AS SourceStorageBin,
_DefectUnion.CreatedByUser AS CreatedByUser,
_DefectUnion.CreationTime AS CreationTime,
_DefectUnion.LastChangedByUser AS LastChangedByUser,
_DefectUnion.LastChangeDate AS LastChangeDate,
_DefectUnion.LastChangeTime AS LastChangeTime,
_DefectUnion.IsDeleted AS IsDeleted,
_DefectUnion.MainWorkCenter AS MainWorkCenter,
_DefectUnion.DefectCausedBy AS DefectCausedBy,
_DefectUnion.DefectLocationCatalog AS DefectLocationCatalog,
_DefectUnion.DefectLocationCodeGroup AS DefectLocationCodeGroup,
_DefectUnion.DefectLocationCode AS DefectLocationCode,
_DefectCalc.NumberOfDefectsCriticality AS NumberOfDefectsCriticality,
_DefectsWeek.CalendarWeek AS CalendarWeek,
_DefectsWeek.CalendarYear AS CalendarYear,
_DefectsWeek._CalendarYear AS _CalendarYear,
_InspectionLot._InspectionLotType AS _InspectionLotType,
_InspectionLot._PurchasingOrganization AS _PurchasingOrganization,
_InspectionLot._Manufacturer AS _Manufacturer,
_InspectionLot._InspectionLotOrigin AS _InspectionLotOrigin,
_InspectionLot._ManufacturerPartNmbr AS _ManufacturerPartNmbr,
_InspectionLot._Supplier AS _Supplier,
_InspectionLot._Customer AS _Customer,
_InspectionLot._SalesOrganization AS _SalesOrganization,
_InspectionLot._InspectionLotQuantityUnit AS _InspectionLotQuantityUnit,
_Plant.PlantName AS PlantName,
_WorkCenterBySemanticKey.WorkCenter AS WorkCenter
FROM I_DefectUnion AS _DefectUnion
LEFT OUTER JOIN I_CalendarDate AS _DefectsWeek ON CreationDate = _DefectsWeek.CalendarDate -- association [1..1]
LEFT OUTER JOIN C_Plantvaluehelp AS _Plant ON Plant = _Plant.Plant -- association [1..1]
LEFT OUTER JOIN C_InspLotSuplrValHelp AS _SupplierVH ON supplier = _SupplierVH.Supplier -- association [0..1]
LEFT OUTER JOIN C_InspLotCustValHelp AS _CustomerVH ON customer = _CustomerVH.Customer -- association [1..1]
LEFT OUTER JOIN C_InsLotHasUsgeDcsnT AS _InspLotHasUsgeDcsn ON InspectionLotHasUsageDecision = _InspLotHasUsgeDcsn.InspectionLotHasUsageDecision -- association [0..1]
LEFT OUTER JOIN I_WorkCenterBySemanticKey AS _WorkCenterBySemanticKey ON MainWorkCenterInternalID = _WorkCenterBySemanticKey.WorkCenterInternalID AND MainWorkCenterPlant = _WorkCenterBySemanticKey.Plant -- association [0..1]
LEFT OUTER JOIN C_DefectCalc AS _DefectCalc ON DefectInternalID = _DefectCalc.DefectInternalID -- association [1..1]
LEFT OUTER JOIN I_InspectionOperation AS _InspectionOperation ON InspectionLot = _InspectionOperation.InspectionLot AND InspPlanOperationInternalID = _InspectionOperation.InspPlanOperationInternalID -- association [0..1]
LEFT OUTER JOIN C_DefectMngCharcs AS _DefectMngCharcs ON InspectionLot = _DefectMngCharcs.InspectionLot AND InspPlanOperationInternalID = _DefectMngCharcs.InspPlanOperationInternalID AND InspectionCharacteristic = _DefectMngCharcs.InspectionCharacteristic -- association [0..1]
LEFT OUTER JOIN C_DefectMngCharacteristicsSbst AS _DefectMngCharacteristicsSbst ON InspectionLot = _DefectMngCharacteristicsSbst .InspectionLot AND InspPlanOperationInternalID = _DefectMngCharacteristicsSbst .InspPlanOperationInternalID AND InspectionSubsetInternalID = _DefectMngCharacteristicsSbst .InspectionSubsetInternalID AND MaterialSample = _DefectMngCharacteristicsSbst .MaterialSample AND InspectionCharacteristic = _DefectMngCharacteristicsSbst .InspectionCharacteristic -- association [0..1]
LEFT OUTER JOIN I_MfgOrderVH AS _MfgOrderVH ON ManufacturingOrder = _MfgOrderVH.ManufacturingOrder -- association [0..1]
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON Plant = _StorageLocation.Plant AND StorageLocation = _StorageLocation.StorageLocation -- association [0..1]
LEFT OUTER JOIN I_ProductionSupplyArea AS _ProductionSupplyArea ON ProductionSupplyArea = _ProductionSupplyArea.ProductionSupplyArea AND Plant = _ProductionSupplyArea.Plant -- association [0..1]
LEFT OUTER JOIN I_EWM_WarehouseNumber_2 AS _EWM_WarehouseNumber_2 ON Warehouse = _EWM_WarehouseNumber_2.EWMWarehouse -- association [0..1]
LEFT OUTER JOIN I_EWM_StorageType_2 AS _EWM_SourceStorageType ON Warehouse = _EWM_SourceStorageType.EWMWarehouse AND StorageType = _EWM_SourceStorageType.EWMStorageType -- association [0..1]
LEFT OUTER JOIN I_EWM_StorageBin_2 AS _EWM_SourceStorageBin ON Warehouse = _EWM_SourceStorageBin.EWMWarehouse AND SourceStorageBin = _EWM_SourceStorageBin.EWMStorageBin -- association [0..1]
LEFT OUTER JOIN C_DefectMngInspectionSubset AS _DefectMngInspectionSubset ON InspectionLot = _DefectMngInspectionSubset .InspectionLot AND InspPlanOperationInternalID = _DefectMngInspectionSubset .InspPlanOperationInternalID AND InspectionSubsetInternalID = _DefectMngInspectionSubset .InspectionSubsetInternalID -- association [0..1]
LEFT OUTER JOIN I_DefectStatusText AS _DefectStatusText ON DefectLifecycleStatus = _DefectStatusText.DefectLifecycleStatus -- association [0..*]
LEFT OUTER JOIN I_DefectCategoryText AS _DefectCategoryText ON DefectCategory = _DefectCategoryText.DefectCategory -- association [0..*]
LEFT OUTER JOIN I_DefectCausedBy AS _DefectCausedBy ON DefectCausedBy = _DefectCausedBy.DefectCausedBy -- association [0..1]
LEFT OUTER JOIN I_DefectCausedByText AS _DefectCausedByText ON DefectCausedBy = _DefectCausedByText.DefectCausedBy -- association [1..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA