P21G1 SAP (Children data) Structure details
Description: Children data
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 |
V0TYP | Variable assignment type | V0TYP | CHAR | 1 | V0TYP | ||||
V0ZNR | Variable assignment number | V0ZNR | RAW | 1 | RAW1 | ||||
OBJPS | Object Identification | OBJPS | CHAR | 2 | OBJPS | OPS | |||
FANAM | Last Name | PAD_NACHN | CHAR | 40 | PAD_NACHN | ||||
FAVOR | First Name | PAD_VORNA | CHAR | 40 | PAD_VORNM | ||||
FASEX | Gender Key | GESCH | CHAR | 1 | GESCH | ||||
FGBDT | Date of Birth | GBDAT | DATS | 8 | PDATE | GBDAT | |||
SVNUM | SI ID | P21_SVNUM | CHAR | 10 | P21_SVNUM | ||||
SVKNR | Personal tax number | P21_STRNR | CHAR | 20 | P21_STRNR | ||||
ADOKD | Tax settlement code | P21_ADOKD | CHAR | 1 | Assigned to domain | P21_ADOKD | |||
STAT7 | Family status | P21_FSTA1 | CHAR | 2 | Assigned to domain | AUSPR | |||
ANYNA | Last Name | NACHN | CHAR | 25 | NACHN | ||||
ANYVO | First Name | VORNA | CHAR | 25 | VORNM | ||||
ESMNY | SI accounting - date type 1 event | P21_ESMNY | CHAR | 2 | P21_KMODI | ||||
DATM1 | SI accounting - time | P21_DATM1 | DATS | 8 | P21_DATUM | ||||
ESMN1 | SI accounting - Date type 2 events | P21_ESMN1 | CHAR | 2 | P21_KMODI | ||||
DATM2 | SI accounting - from | P21_DATM2 | DATS | 8 | P21_DATUM | ||||
DATM3 | SI accounting - to | P21_DATM3 | DATS | 8 | P21_DATUM | ||||
NY3MH | SI accounting - income over 3-month minimum pension | P21_NY3MH | CHAR | 1 | P21_BOOLN | ||||
ALLPT | SI accounting - child condition | P21_CPGYA | CHAR | 2 | P21_CPGYA | ||||
DATM4 | SI accounting - date of medical examination | P21_DATM4 | DATS | 8 | P21_DATUM | ||||
IGENC | Nurturing benefit direct entry | P21_IGENC | CHAR | 1 | P21_BOOLN | ||||
KORCS | Nurturing benefit direct entry - value | P21_KORCS | CURR | 9(2) | WERTV5 | ||||
GYSOR | SI number of children, GYES criterion | P21_GYSOR | NUMC | 2 | P21_GYSOR | ||||
CSPMH | SI accounting - child benefit prolonged | P21_CSPMH | DATS | 8 | P21_DATUM | ||||
ALAPK | SI accounting - basis quota | P21_ALAPK | NUMC | 3 | P21_KERET | ||||
EGYAK | SI accounting - basis quota for single parent | P21_EGYAK | NUMC | 3 | P21_KERET | ||||
ATHAK | SI accounting - carry forward quota | P21_ATHAK | NUMC | 3 | P21_KERET | ||||
ATHEK | SI accounting - carry forward quota for single | P21_ATHEK | NUMC | 3 | P21_KERET | ||||
ANYKE | SI accounting - employee's quota | P21_ANYKE | NUMC | 3 | P21_KERET | ||||
APAKE | SI accounting - spouse's quota | P21_APAKE | NUMC | 3 | P21_KERET | ||||
MARAK | SI accounting - rest of basis quota | P21_MARAK | NUMC | 3 | P21_KERET | ||||
MAREK | SI accounting - rest of single quota | P21_MAREK | NUMC | 3 | P21_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 asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects