Q0021 SAP (Screen Fields: Infotype 0021) Structure details

Dictionary Type: Structure
Description: Screen Fields: Infotype 0021




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




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

Q0021 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 "Screen Fields: Infotype 0021" 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_Q0021 TYPE Q0021.

The Q0021 table consists of various fields, each holding specific information or linking keys about Screen Fields: Infotype 0021 data available in SAP. These include LNDTX (Country Name), NATTX (Nationality), KDSTX (Text (20 Characters)), KDBTX (Text (20 Characters)).. 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)


SAP Q0021 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
FASEXIndicator: Gender of family member FASEXCHAR1CHAR1
LNDTXCountry Name LANDXCHAR15TEXT15
NATTXNationality NATIOCHAR15TEXT15
KDSTXText (20 Characters) TEXT20CHAR20TEXT20
KDBTXText (20 Characters) TEXT20CHAR20TEXT20
KDUTXText (20 Characters) TEXT20CHAR20TEXT20
KDGTXText (20 Characters) TEXT20CHAR20TEXT20
KNDTXText (20 Characters) TEXT20CHAR20TEXT20
KDZTXText (20 Characters) TEXT20CHAR20TEXT20
KDVTXText (20 Characters) TEXT20CHAR20TEXT20
ENAMEName of referenced personnel number FEDNMCHAR40TEXT40
GESC1Gender key GESC1CHAR1CHAR1
GESC2Gender key GESC2CHAR1CHAR1
OBJTXObject number text PAD_OBJTXCHAR12TEXT12
KDARTIndicator for relationship (specification code) P22J_INDRLCHAR2T577AUSPR
IRPFFactor for applying family minimum PES_IDIRPFCHAR1PES_IDIRPF
MINSVEmployment tax (IRPF): Degree of challenge PES_MINUSNUMC3PES_MINUS
CODIMTax payer's reference number (NIF) CODIMCHAR9CHAR9
IJSSAssistance payment indicator (IJSS) P06_IDIJSSCHAR1XFELD
QDPCHDependant Type for BIR 2316 Form P48_DPTYPCHAR1XFELD
NTRELDependant Type for BIR 2316 Form P48_DPTYPCHAR1XFELD
OTHDPDependant Type for BIR 2316 Form P48_DPTYPCHAR1XFELD
ONAMEFormatted Name of Family Member/Contact P05_ONAMECHAR40TEXT40
ECARDIndicator: Exemption from E-Card Fee for SI AT PB03_ECARDCHAR1XFELD

Key field Non-key field



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

As Q0021 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 Q0021 as there is no data to select.

How to access SAP table Q0021

Within an ECC or HANA version of SAP you can also view further information about Q0021 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!