P21G1 SAP (Children data) Structure details

Dictionary Type: Structure
Description: Children data




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




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

P21G1 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 "Children data" 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_P21G1 TYPE P21G1.

The P21G1 table consists of various fields, each holding specific information or linking keys about Children data data available in SAP. These include V0ZNR (Variable assignment number), OBJPS (Object Identification), FANAM (Last Name), FAVOR (First Name).. 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 P21G1 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
V0TYPVariable assignment type V0TYPCHAR1V0TYP
V0ZNRVariable assignment number V0ZNRRAW1RAW1
OBJPSObject Identification OBJPSCHAR2OBJPSOPS
FANAMLast Name PAD_NACHNCHAR40PAD_NACHN
FAVORFirst Name PAD_VORNACHAR40PAD_VORNM
FASEXGender Key GESCHCHAR1GESCH
FGBDTDate of Birth GBDATDATS8PDATEGBDAT
SVNUMSI ID P21_SVNUMCHAR10P21_SVNUM
SVKNRPersonal tax number P21_STRNRCHAR20P21_STRNR
ADOKDTax settlement code P21_ADOKDCHAR1Assigned to domainP21_ADOKD
STAT7Family status P21_FSTA1CHAR2Assigned to domainAUSPR
ANYNALast Name NACHNCHAR25NACHN
ANYVOFirst Name VORNACHAR25VORNM
ESMNYSI accounting - date type 1 event P21_ESMNYCHAR2P21_KMODI
DATM1SI accounting - time P21_DATM1DATS8P21_DATUM
ESMN1SI accounting - Date type 2 events P21_ESMN1CHAR2P21_KMODI
DATM2SI accounting - from P21_DATM2DATS8P21_DATUM
DATM3SI accounting - to P21_DATM3DATS8P21_DATUM
NY3MHSI accounting - income over 3-month minimum pension P21_NY3MHCHAR1P21_BOOLN
ALLPTSI accounting - child condition P21_CPGYACHAR2P21_CPGYA
DATM4SI accounting - date of medical examination P21_DATM4DATS8P21_DATUM
IGENCNurturing benefit direct entry P21_IGENCCHAR1P21_BOOLN
KORCSNurturing benefit direct entry - value P21_KORCSCURR9(2) WERTV5
GYSORSI number of children, GYES criterion P21_GYSORNUMC2P21_GYSOR
CSPMHSI accounting - child benefit prolonged P21_CSPMHDATS8P21_DATUM
ALAPKSI accounting - basis quota P21_ALAPKNUMC3P21_KERET
EGYAKSI accounting - basis quota for single parent P21_EGYAKNUMC3P21_KERET
ATHAKSI accounting - carry forward quota P21_ATHAKNUMC3P21_KERET
ATHEKSI accounting - carry forward quota for single P21_ATHEKNUMC3P21_KERET
ANYKESI accounting - employee's quota P21_ANYKENUMC3P21_KERET
APAKESI accounting - spouse's quota P21_APAKENUMC3P21_KERET
MARAKSI accounting - rest of basis quota P21_MARAKNUMC3P21_KERET
MAREKSI accounting - rest of single quota P21_MAREKNUMC3P21_KERET

Key field Non-key field



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

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

How to access SAP table P21G1

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