_DEFECT

_DEFECT is an SAP database table in S/4HANA. It contains 57 fields.

Fields (57)

KeyField CDS FieldsUsed in Views
KEY DefectInternalID DefectInternalID 2
_DefectCode _DefectCode 1
_DefectCodeGroup _DefectCodeGroup 1
_DefectStatus _DefectStatus 1
_InspectionLot _InspectionLot 2
Batch Batch 2
ChangedDateTime ChangedDateTime 2
CostCenter CostCenter 1
CreatedByUser CreatedByUser 2
CreationDate CreationDate 2
CreationTime CreationTime 2
Defect Defect 3
DefectCategory DefectCategory 2
DefectCausedBy DefectCausedBy 2
DefectClass DefectClass 2
DefectCode DefectCode 3
DefectCodeCatalog DefectCodeCatalog 2
DefectCodeGroup DefectCodeGroup 3
DefectCodeVersion DefectCodeVersion 1
DefectiveQuantity DefectiveQuantity 2
DefectiveQuantityUnit DefectiveQuantityUnit 2
DefectLifecycleStatus DefectLifecycleStatus 3
DefectLocationCatalog DefectLocationCatalog,DefectObjectCodeCatalog 2
DefectLocationCode DefectLocationCode,DefectObjectCode 2
DefectLocationCodeGroup DefectLocationCodeGroup,DefectObjectCodeGroup 2
DefectLocationCodeVersion DefectObjectCodeVersion 1
DefectOrigin DefectOrigin 2
DefectText DefectText 4
DefectUUID DefectUUID 2
EWMWarehouse EWMWarehouse 1
InspectionCharacteristic InspectionCharacteristic 2
InspectionLot InspectionLot 2
InspectionSubsetInternalID InspectionSubsetInternalID 2
InspPlanOperationInternalID InspPlanOperationInternalID 2
IsDeleted IsDeleted 2
LastChangeDate LastChangeDate 2
LastChangedByUser LastChangedByUser 2
LastChangeTime LastChangeTime 2
MainWorkCenter MainWorkCenter 2
MainWorkCenterInternalID MainWorkCenterInternalID 2
MainWorkCenterPlant MainWorkCenterPlant 2
MasterLanguage MasterLanguage 2
Material Material 2
MaterialSample MaterialSample 2
NumberOfDefects NumberOfDefects 2
OrderInternalID OrderInternalID 2
Plant Plant 3
ProblemAnalysisStatus ProblemAnalysisStatus 2
ProductionOrder ManufacturingOrder 2
ProductionOrderSequence ManufacturingOrderSequence 2
ProductionSupplyArea ProductionSupplyArea 1
QualityIssueReference QualityIssueReference 2
SourceStorageBin SourceStorageBin 1
SourceStorageType SourceStorageType 1
StorageLocation StorageLocation 1
WarehouseLogicalSystem WarehouseLogicalSystem 1
WorkCenterTypeCode WorkCenterTypeCode 2

Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.

-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE _DEFECT (
    DEFECTINTERNALID,
    _DEFECTCODE,
    _DEFECTCODEGROUP,
    _DEFECTSTATUS,
    _INSPECTIONLOT,
    BATCH,
    CHANGEDDATETIME,
    COSTCENTER,
    CREATEDBYUSER,
    CREATIONDATE,
    CREATIONTIME,
    DEFECT,
    DEFECTCATEGORY,
    DEFECTCAUSEDBY,
    DEFECTCLASS,
    DEFECTCODE,
    DEFECTCODECATALOG,
    DEFECTCODEGROUP,
    DEFECTCODEVERSION,
    DEFECTIVEQUANTITY,
    DEFECTIVEQUANTITYUNIT,
    DEFECTLIFECYCLESTATUS,
    DEFECTLOCATIONCATALOG,
    DEFECTLOCATIONCODE,
    DEFECTLOCATIONCODEGROUP,
    DEFECTLOCATIONCODEVERSION,
    DEFECTORIGIN,
    DEFECTTEXT,
    DEFECTUUID,
    EWMWAREHOUSE,
    INSPECTIONCHARACTERISTIC,
    INSPECTIONLOT,
    INSPECTIONSUBSETINTERNALID,
    INSPPLANOPERATIONINTERNALID,
    ISDELETED,
    LASTCHANGEDATE,
    LASTCHANGEDBYUSER,
    LASTCHANGETIME,
    MAINWORKCENTER,
    MAINWORKCENTERINTERNALID,
    MAINWORKCENTERPLANT,
    MASTERLANGUAGE,
    MATERIAL,
    MATERIALSAMPLE,
    NUMBEROFDEFECTS,
    ORDERINTERNALID,
    PLANT,
    PROBLEMANALYSISSTATUS,
    PRODUCTIONORDER,
    PRODUCTIONORDERSEQUENCE,
    PRODUCTIONSUPPLYAREA,
    QUALITYISSUEREFERENCE,
    SOURCESTORAGEBIN,
    SOURCESTORAGETYPE,
    STORAGELOCATION,
    WAREHOUSELOGICALSYSTEM,
    WORKCENTERTYPECODE,
    PRIMARY KEY (DEFECTINTERNALID)
);