PA2002 SAP (HR Time Record: Infotype 2002 (Attendances)) Table details

Dictionary Type: Table
Description: HR Time Record: Infotype 2002 (Attendances)




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




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

PA2002 is a standard SAP Table which is used to store HR Time Record: Infotype 2002 (Attendances) data and is available within R/3 SAP systems depending on the version and release level.

The PA2002 table consists of various fields, each holding specific information or linking keys about HR Time Record: Infotype 2002 (Attendances) 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: Cannot Be Enhanced


SAP PA2002 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
BEGUZStart Time BEGTITIMS6UZEIT
ENDUZEnd Time ENDTITIMS6UZEIT
VTKENPrevious Day Indicator VTKENCHAR1XFELD
AWARTAttendance or Absence Type AWARTCHAR4T554SAWART
ABWTGAttendance and Absence Days ABWTGDEC6(2) TAGE4_2
ABRTGPayroll days ABRTGDEC6(2) TAGE4_2
ABRSTPayroll hours ABRSTDEC7(2) JRSTD
KALTGCalendar days KALTGDEC6(2) TAGE4_2
STDAZAttendance hours ATTHRDEC7(2) JRSTD
LGARTWage Type LGARTCHAR4T512ZLGART
BWGRLValuation Basis for Different Payment PTM_VBAS7SCURR13(2) P_AMT07V
AUFKZExtra Pay Indicator AUFKNCHAR1AUFKN
VERSLOvertime Compensation Type VRSCHCHAR1T555RVRSCH
TRFGRPay Scale Group TRFGRCHAR8Assigned to domainTRFGR
TRFSTPay Scale Level TRFSTCHAR2Assigned to domainTRFST
PRAKNPremium Number PRAKNCHAR2T510PPRAKN
PRAKZPremium Indicator PRAKZNUMC4PRAKZ
OTYPEObject Type OTYPECHAR2T778OOTYPEPOT
PLANSPosition PLANSNUMC8T528BPLANS
GENERGeneration flag PGENERCHAR1XFELD
EXBELExternal Document Number EXBELCHAR8CHAR08
HRSIFSet number of hours HRS_INPFLCHAR1XFELD
ALLDFRecord is for Full Day ALLDFCHAR1XFELD
WAERSCurrency Key WAERSCUKY5TCURCWAERSFWS
LOGSYSLogical system LOGSYSCHAR10Assigned to domainALPHALOGSYS
AWTYPReference Transaction AWTYPCHAR5Assigned to domainAWTYP
AWREFReference Document Number AWREFCHAR10ALPHAAWREF
AWORGReference Organizational Units AWORGCHAR10AWORG
DOCSYLogical system for document (personnel time) PTM_DOCSYCHAR10Assigned to domainALPHALOGSYS
DOCNRDocument number for time data PTM_DOCNRNUMC20PTM_DOCNR
WTARTWork tax area WTARTCHAR4Assigned to domainWRKAR
FAPRSEvaluation Type for Attendances/Absences FAPRSCHAR2T554HFAPRS
TDLANGUDefinition Set for IDs TMW_TDLANGUCHAR10Assigned to domainTMW_TDLANGU
TDSUBLADefinition Subset for IDs TMW_TDSUBLACHAR3Assigned to domainTMW_TDSUBLA
TDTYPETime Data ID Type TDTYPECHAR4TDTYPTDKENN
KEPAUNo break TIM_KEPAUCHAR1XFELD
EXPAUBreaks Specified Explicitly TIM_EXPAUCHAR1XFELD
PBEG1Start of Break PDBEGTIMS6UZEIT
PEND1End of Break PDENDTIMS6UZEIT
PBEZ1Paid Break Period PDBEZDEC4(2) DEC2_2
PUNB1Unpaid Break Period PDUNBDEC4(2) DEC2_2
PBEG2Start of Break PDBEGTIMS6UZEIT
PEND2End of Break PDENDTIMS6UZEIT
PBEZ2Paid Break Period PDBEZDEC4(2) DEC2_2
PUNB2Unpaid Break Period PDUNBDEC4(2) DEC2_2
NXDFLNext Day Indicator PTM_NXDFLCHAR1XFELD

Key field Non-key field



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

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

SELECT SINGLE *
FROM PA2002
INTO CORRESPONDING FIELDS OF WA_PA2002
WHERE...

How to access SAP table PA2002

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