PA0397 SAP (Infotype 0021 Family) Table details
Dictionary Type: Table
Description: Infotype 0021 Family
Description: Infotype 0021 Family
Table field list including key, data, relationships and ABAP select examples
PA0397 is a standard SAP Table which is used to store Infotype 0021 Family data and is available within R/3 SAP systems depending on the version and release level.
The PA0397 table consists of various fields, each holding specific information or linking keys about Infotype 0021 Family data available in SAP. These include PERNR (Personnel number), SUBTY (Subtype), OBJPS (Object Identification), SPRPS (Lock Indicator for HR Master Data Record).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP PA0397 table 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
PERNR | Personnel number | PERSNO | NUMC | 8 | PA0003 | PERSNO | PER | ||
SUBTY | Subtype | SUBTY | CHAR | 4 | SUBTY | SUB | |||
OBJPS | Object Identification | OBJPS | CHAR | 2 | OBJPS | OPS | |||
SPRPS | Lock Indicator for HR Master Data Record | SPRPS | CHAR | 1 | SPRPS | ||||
ENDDA | End Date | ENDDA | DATS | 8 | DATUM | ||||
BEGDA | Start Date | BEGDA | DATS | 8 | DATUM | ||||
SEQNR | Number of Infotype Record with Same Key | SEQNR | NUMC | 3 | NUM03 | ||||
AEDTM | Changed On | AEDAT | DATS | 8 | DATUM | ||||
UNAME | Name of Person Who Changed Object | AENAM | CHAR | 12 | USNAM | ||||
HISTO | Historical Record Flag | HISTO | CHAR | 1 | CHAR1 | ||||
ITXEX | Text Exists for Infotype | ITXEX | CHAR | 1 | XFELD | ||||
REFEX | Reference Fields Exist (Primary/Secondary Costs) | PRFEX | CHAR | 1 | XFELD | ||||
ORDEX | Confirmation Fields Exist | ORDEX | CHAR | 1 | XFELD | ||||
ITBLD | Infotype Screen Control | ITBLD | CHAR | 2 | CHAR2 | ||||
PREAS | Reason for Changing Master Data | PREAS | CHAR | 2 | T530E | PREAS | |||
FLAG1 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
FLAG2 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
FLAG3 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
FLAG4 | Reserved Field/Unused Field | NUSED | CHAR | 1 | NUSED | ||||
RESE1 | Reserved Field/Unused Field of Length 2 | NUSED2 | CHAR | 2 | NUSED2 | ||||
RESE2 | Reserved Field/Unused Field of Length 2 | NUSED2 | CHAR | 2 | NUSED2 | ||||
GRPVL | Grouping Value for Personnel Assignments | PCCE_GPVAL | CHAR | 4 | PCCE_GPVAL | ||||
UFBOT | STATE (State, Province, County) | REGIO | CHAR | 3 | T005S | REGIO | |||
STINV | Challenged dependent indicator | PBR_STINV | CHAR | 1 | CHAR1 | ||||
ESCOL | Education level | PBR_FASAR | CHAR | 2 | T7BR7C | PBR_FASAR | |||
SALFA | Eligibility indicator for child allowance | PBR_SALFA | CHAR | 1 | CHAR1 | ||||
IRFLG | Eligibility indicator for income tax discount | PBR_IRFLG | CHAR | 1 | CHAR1 | ||||
SERIE | Grade | PBR_SERIE | CHAR | 2 | T7BR7B | CHAR2 | |||
MODEN | Educational specification | PBR_MODEN | CHAR | 1 | PBR_MODEN | ||||
ESCOA | School | PBR_ESCOA | CHAR | 4 | T7BRES | PBR_ESCOA | HRPADBRES | ||
DTCVC | Vaccination card expiration | PBR_DTCVC | DATS | 8 | DATS | ||||
SALED | Eligibility indicator for education allowance | PBR_SALED | CHAR | 1 | CHAR1 | ||||
ESTUD | Dependent student indicator | PBR_STUDE | CHAR | 1 | XFELD | ||||
FUMAN | Smoker dependent indicator | PBR_FUMAN | CHAR | 1 | XFELD | ||||
CARTO | Name of public notary | PBR_CARTO | CHAR | 40 | TEXT40 | ||||
NOREG | Record number | PBR_NOREG | CHAR | 10 | TEXT10 | ||||
NOLIV | Entry ledger number | PBR_NOLIV | CHAR | 10 | TEXT10 | ||||
NOFOL | Entry sheet number | PBR_NOFOL | CHAR | 5 | TEXT5 | ||||
DTENT | Certificate date of delivery | PBR_DTENT | DATS | 8 | DATS | ||||
DTBAI | Sick leave date | PBR_DTBAI | DATS | 8 | DATS | ||||
ICTYP | Type of ID document | PBR_ICTYP | CHAR | 2 | T5R05 | ICTYP | |||
ICNUM | CPF no. | PBR_IDNUM | CHAR | 30 | CHAR30 | ||||
PENSI | Pensioner indicator | PBR_PENSI | CHAR | 1 | XFLAG | ||||
MOVOR | First Name | PAD_VORNA | CHAR | 40 | PAD_VORNM | ||||
MONAM | Last Name | PAD_NACHN | CHAR | 40 | PAD_NACHN | ||||
MONA2 | Second Name | PAD_NACH2 | CHAR | 40 | PAD_NACHN | ||||
MINIT | Initials | INITS | CHAR | 10 | TEXT10 | ||||
MOTHE | Mother full name | PBR_MOTHE | CHAR | 80 | TEXT80 | ||||
EXCEP | Dependent physical challenged person | PBR_EXCEP | CHAR | 1 | XFELD | ||||
SBART | Type of Challenge | SBART | CHAR | 2 | Assigned to domain | SBART | |||
NOREU | Birth certificate register | PBR_NOREU | CHAR | 32 | PBR_NOREU | ||||
LBCNR | Live Birth Certificate | PBR_LBCNR | CHAR | 15 | CHAR015 | ||||
NHCNR | Health National Card | PBR_NHCNR | CHAR | 16 | PBR_IDNR |
Key field | Non-key field |
How do I retrieve data from SAP table PA0397 using ABAP code
The following ABAP code Example will allow you to do a basic selection on PA0397 to SELECT all data from the tableDATA: WA_PA0397 TYPE PA0397.
SELECT SINGLE *
FROM PA0397
INTO CORRESPONDING FIELDS OF WA_PA0397
WHERE...
How to access SAP table PA0397
Within an ECC or HANA version of SAP you can also view further information about PA0397 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