Q0021H SAP (Auxiliary structure to infotype P0021 (H)) Structure details

Dictionary Type: Structure
Description: Auxiliary structure to infotype P0021 (H)




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




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

Q0021H 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 "Auxiliary structure to infotype P0021 (H)" 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_Q0021H TYPE Q0021H.

The Q0021H table consists of various fields, each holding specific information or linking keys about Auxiliary structure to infotype P0021 (H) data available in SAP. These include PITYP (Personal identification type), PERID (Personal identification), SVNUM (SI ID), SVKNR (Personal tax number).. 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: Not classified


SAP Q0021H 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
PERNRPersonnel number to family members P21_FPENRNUMC8PERNR
PITYPPersonal identification type P21_PIDMOCHAR2P21_PIDMO
PERIDPersonal identification P21_PIDNRCHAR15P21_PIDNR
SVNUMSI ID P21_SVNUMCHAR10P21_SVNUM
SVKNRPersonal tax number P21_STRNRCHAR20P21_STRNR
STAT1Family status P21_FSTA1CHAR2T577AUSPR
STAT2Family status P21_FSTA1CHAR2T577AUSPR
STAT3Family status P21_FSTA1CHAR2T577AUSPR
STAT4Family status P21_FSTA1CHAR2T577AUSPR
STAT5Family status P21_FSTA1CHAR2T577AUSPR
STAT6Family status P21_FSTA1CHAR2T577AUSPR
PYTEXText (20 Characters) TEXT20CHAR20TEXT20
STAT7Family status P21_FSTA1CHAR2T577AUSPR
TBTXTText (20 Characters) TEXT20CHAR20TEXT20
ADOKDTax settlement code P21_ADOKDCHAR1T5H2GP21_ADOKD
ADOTXWay of display on tax settlement P21_ADOTXCHAR35P21_TXT35
ELEVFInclude in tax year before actual year P21_ELEVFCHAR1XFELD
EKHSZNumber of months for allowance entitlement P21_EKHSZNUMC2NUMC2

Key field Non-key field



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

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

How to access SAP table Q0021H

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