QFAAI SAP (Defect item table for defects recording) Structure details

Dictionary Type: Structure
Description: Defect item table for defects recording




ABAP Code to SELECT data from QFAAI
Related tables to QFAAI
Access table QFAAI




Structure field list including key, data, relationships and ABAP select examples

QFAAI is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Defect item table for defects recording" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_QFAAI TYPE QFAAI.

The QFAAI table consists of various fields, each holding specific information or linking keys about Defect item table for defects recording data available in SAP. These include SERIALNR (Single-Unit Number for the Unit to Be Inspected), QMNUM (Notification No), TMP (Ind. temporary number), FEART (Report Type for Defects Recording).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP QFAAI structure fields - Full list of fields found in SAP data dictionary

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
POSItem Number in Item Record Without Value Table QFELFDNUMC4QFELFD
SERIALNRSingle-Unit Number for the Unit to Be Inspected QSERIALNRCHAR18ALPHAQSERIALNR
QMNUMNotification No QMNUMCHAR12Assigned to domainALPHAQMNUMIQM
TMP Ind. temporary number0
FEARTReport Type for Defects Recording QFEARTCHAR8Assigned to domainQFEARTQFE
PNLKNCurrent Node Number from Order Counter APLZL QLFNKNNUMC8KNTNR
MERKNRInspection Characteristic Number QMERKNRPNUMC4QMERKNRP
FENUMItem Number in Item Record FELFDNUMC4Assigned to domainFELFD
PROBENRSample Number QPROBENRNUMC6Assigned to domainQPROBENRQPO
POSNRSort Number for Item QLFDPOSNUMC4QFELFD
PHYNRPhysical Sample Number QPHYSPRNRCHAR12Assigned to domainALPHAQPHYSPRNRQPN
OBJNR_PVOObject number J_OBJNRCHAR22Assigned to domainJ_OBJNRONR
DET_VORHAdditional Data for the Object QEXDATENCHAR1QKZ
FEKATCatalog Type for the Defect Catalog QKATFEHLERCHAR1Assigned to domainQKATART
TXTGRShort Description of the Code Group QKTEXTGRCHAR40QKURZTEXT
TXTCDProblem Code Short Text TXTCDFECHAR40TEXT40
TXTCDGRShort Text for Problem or Damage Code QTXTCDGRFECHAR80QTEXT80
DET_FEHLERAdditional Data for the Object QEXDATENCHAR1QKZ
OTKATCatalog Type for Defect Location QKATFHLORTCHAR1Assigned to domainQKATART
TXTGROTShort Description of the Code Group QKTEXTGRCHAR40QKURZTEXT
TXTCDOTObject Part Code Short Text TXTCDOTCHAR40TEXT40
TXTCDGROTShort Text for Object Part Code QTXTCDGROTCHAR80QTEXT80
DET_ORTAdditional Data for the Object QEXDATENCHAR1QKZ
DET_URSAAdditional Data for the Object QEXDATENCHAR1QKZ
DET_MASSNAdditional Data for the Object QEXDATENCHAR1QKZ
INDTXObject Long Text Available INDLTXCHAR1CHAR1
KZMLAPrimary language indicator for text segment KZMLACHAR1CHAR1
UNITFLBEWUnit for Defect Valuation QUNITFLBEWUNIT3Assigned to domainCUNITMEINS
MSEHTUnit of Measurement Text (Maximum 10 Characters) MSEHTCHAR10TEXT10
KZSYSFESystematic Defect QKZSYSFECHAR1QKZ
AEKNZChange indicator AEKNZCHAR1FLAG
HERPOSOrigin of Item Record QMFEHERKCHAR1QMFEHERK
FECODDefect Code QCODEFHLRCHAR4Assigned to domainQCODE
FEGRPCode Group for Problem QCGRFEHLERCHAR8Assigned to domainQCODEGRP
FEQKLASDefect Class QFEHLKLASCHAR2TQ17QFEHLKLAS
FEHLKLTEXTShort Text QKURZTEXTCHAR40QKURZTEXT
ANZFEHLERNumber of Defects Found QANZFEHL4INT410QANZAHL4
FETXTDefects QTXTFEHLERCHAR40QTXT40
OTEILCode for Defect Location QCODEFHORTCHAR4Assigned to domainQCODE
OTGRPCode Group for Objects Section QCGRFHLORTCHAR8Assigned to domainQCODEGRP
OTTXTDefect Location QTXTFHLORTCHAR40QTXT40
FRKLSClassification FRKLSCHAR18KLASSE
KLTXTClass Description KLSBEZCHAR40TEXT40KBZ
BAUTLAssembly BAUTLCHAR18Assigned to domainMATN1MATNRMAT
BAUTXDescription of PM Assembly BAUTXCHAR40TEXT40
FEHLBEWDefect Valuation QFEHLBEWFLTP16(16) FLTP
FEHLBEWCQuantitative Defect Valuation QFEHLBEWCCHAR10CHAR10
LAST_URNUMSequential Number for Cause URNUMNUMC4NUM4
CONTROLControl Parameters QCONTROLCHAR1CHAR01
PRUEFERName of the Inspector QPRUEFERCHAR12QPRUEFERQPR
PRUEFDATUVInspection Start Date QPRUEFDATVDATS8DATUMQDV
PRUEFZEITVStarting Time of the Inspection QPRUEFZTVTIMS6QZEITQZV
CROBJTYObject types of the CIM resource CR_OBJTYCHAR2CR_OBJTY
ARBPLObject ID of the Work Center LGWIDNUMC8Assigned to domainCR_OBJID
ARBPLWERKPlant for Work Center QARBPWERKSCHAR4Assigned to domainWERKSWRK
FENUMORGNumber of Original Item to Which Reference Is Made QFENUMORGNUMC4QFELFD
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
ERDATDate on Which Record Was Created ERDATDATS8DATUM
ERZEITTime, at Which Record Was Added ERZEITTIMS6UHRZT
AENAMName of Person Who Changed Object AENAMCHAR12USNAM
AEDATChanged On AEDATDATS8DATUM
AEZEITTime of Change AEZEITTIMS6UHRZT
PRE_DELX and Blank QKZCHAR1QKZ
QMACTIVEItem Is Being Processed as a Quality Notification QMACTIVECHAR1QKZ
FEARTTXTShort Text QKURZTEXTCHAR40QKURZTEXT
MARKSelection Field QEEMARKCHAR1QKZ
INVALIDX and Blank QKZCHAR1QKZ

Key field Non-key field



How do I retrieve data from SAP structure QFAAI using ABAP code?

As QFAAI is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on QFAAI as there is no data to select.

How to access SAP table QFAAI

Within an ECC or HANA version of SAP you can also view further information about QFAAI and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!