PA0005 SAP (HR Master Record: Infotype 0005 (Leave Entitlement)) Table details

Dictionary Type: Table
Description: HR Master Record: Infotype 0005 (Leave Entitlement)




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




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

PA0005 is a standard SAP Table which is used to store HR Master Record: Infotype 0005 (Leave Entitlement) data and is available within R/3 SAP systems depending on the version and release level.

The PA0005 table consists of various fields, each holding specific information or linking keys about HR Master Record: Infotype 0005 (Leave Entitlement) 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 PA0005 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
MANDTClient MANDTCLNT3T000MANDT
PERNRPersonnel number PERSNONUMC8PA0003PERSNOPER
SUBTYSubtype SUBTYCHAR4SUBTYSUB
OBJPSObject Identification OBJPSCHAR2OBJPSOPS
SPRPSLock Indicator for HR Master Data Record SPRPSCHAR1SPRPS
ENDDAEnd Date ENDDADATS8DATUM
BEGDAStart Date BEGDADATS8DATUM
SEQNRNumber of Infotype Record with Same Key SEQNRNUMC3NUM03
AEDTMChanged On AEDATDATS8DATUM
UNAMEName of Person Who Changed Object AENAMCHAR12USNAM
HISTOHistorical Record Flag HISTOCHAR1CHAR1
ITXEXText Exists for Infotype ITXEXCHAR1XFELD
REFEXReference Fields Exist (Primary/Secondary Costs) PRFEXCHAR1XFELD
ORDEXConfirmation Fields Exist ORDEXCHAR1XFELD
ITBLDInfotype Screen Control ITBLDCHAR2CHAR2
PREASReason for Changing Master Data PREASCHAR2T530EPREAS
FLAG1Reserved Field/Unused Field NUSEDCHAR1NUSED
FLAG2Reserved Field/Unused Field NUSEDCHAR1NUSED
FLAG3Reserved Field/Unused Field NUSEDCHAR1NUSED
FLAG4Reserved Field/Unused Field NUSEDCHAR1NUSED
RESE1Reserved Field/Unused Field of Length 2 NUSED2CHAR2NUSED2
RESE2Reserved Field/Unused Field of Length 2 NUSED2CHAR2NUSED2
GRPVLGrouping Value for Personnel Assignments PCCE_GPVALCHAR4PCCE_GPVAL
URLJJLeave year URLJJNUMC4GJAHRGJAHR
URBEGStart of leave URBEGDATS8DATUM
URENDEnd of leave URENDDATS8DATUM
UAR01Leave type URARTCHAR2T533URART
UAN01Leave entitlement PTM_HENTITLEDEC10(5) PTM_QUONUM
UBE01Start of leave URBEGDATS8DATUM
UEN01End of leave URENDDATS8DATUM
UAB01Leave accounted PTM_HACCOUNTEDDEC10(5) PTM_QUONUM
UAR02Leave type URARTCHAR2T533URART
UAN02Leave entitlement PTM_HENTITLEDEC10(5) PTM_QUONUM
UBE02Start of leave URBEGDATS8DATUM
UEN02End of leave URENDDATS8DATUM
UAB02Leave accounted PTM_HACCOUNTEDDEC10(5) PTM_QUONUM
UAR03Leave type URARTCHAR2T533URART
UAN03Leave entitlement PTM_HENTITLEDEC10(5) PTM_QUONUM
UBE03Start of leave URBEGDATS8DATUM
UEN03End of leave URENDDATS8DATUM
UAB03Leave accounted PTM_HACCOUNTEDDEC10(5) PTM_QUONUM
UAR04Leave type URARTCHAR2T533URART
UAN04Leave entitlement PTM_HENTITLEDEC10(5) PTM_QUONUM
UBE04Start of leave URBEGDATS8DATUM
UEN04End of leave URENDDATS8DATUM
UAB04Leave accounted PTM_HACCOUNTEDDEC10(5) PTM_QUONUM
UAR05Leave type URARTCHAR2T533URART
UAN05Leave entitlement PTM_HENTITLEDEC10(5) PTM_QUONUM
UBE05Start of leave URBEGDATS8DATUM
UEN05End of leave URENDDATS8DATUM
UAB05Leave accounted PTM_HACCOUNTEDDEC10(5) PTM_QUONUM
UAR06Leave type URARTCHAR2T533URART
UAN06Leave entitlement PTM_HENTITLEDEC10(5) PTM_QUONUM
UBE06Start of leave URBEGDATS8DATUM
UEN06End of leave URENDDATS8DATUM
UAB06Leave accounted PTM_HACCOUNTEDDEC10(5) PTM_QUONUM

Key field Non-key field



How do I retrieve data from SAP table PA0005 using ABAP code

The following ABAP code Example will allow you to do a basic selection on PA0005 to SELECT all data from the table
DATA: WA_PA0005 TYPE PA0005.

SELECT SINGLE *
FROM PA0005
INTO CORRESPONDING FIELDS OF WA_PA0005
WHERE...

How to access SAP table PA0005

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