PA2002 SAP (HR Time Record: Infotype 2002 (Attendances)) Table details
Dictionary Type: Table
Description: HR Time Record: Infotype 2002 (Attendances)
Description: HR Time Record: Infotype 2002 (Attendances)
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 |
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 | ||||
BEGUZ | Start Time | BEGTI | TIMS | 6 | UZEIT | ||||
ENDUZ | End Time | ENDTI | TIMS | 6 | UZEIT | ||||
VTKEN | Previous Day Indicator | VTKEN | CHAR | 1 | XFELD | ||||
AWART | Attendance or Absence Type | AWART | CHAR | 4 | T554S | AWART | |||
ABWTG | Attendance and Absence Days | ABWTG | DEC | 6(2) | TAGE4_2 | ||||
ABRTG | Payroll days | ABRTG | DEC | 6(2) | TAGE4_2 | ||||
ABRST | Payroll hours | ABRST | DEC | 7(2) | JRSTD | ||||
KALTG | Calendar days | KALTG | DEC | 6(2) | TAGE4_2 | ||||
STDAZ | Attendance hours | ATTHR | DEC | 7(2) | JRSTD | ||||
LGART | Wage Type | LGART | CHAR | 4 | T512Z | LGART | |||
BWGRL | Valuation Basis for Different Payment | PTM_VBAS7S | CURR | 13(2) | P_AMT07V | ||||
AUFKZ | Extra Pay Indicator | AUFKN | CHAR | 1 | AUFKN | ||||
VERSL | Overtime Compensation Type | VRSCH | CHAR | 1 | T555R | VRSCH | |||
TRFGR | Pay Scale Group | TRFGR | CHAR | 8 | Assigned to domain | TRFGR | |||
TRFST | Pay Scale Level | TRFST | CHAR | 2 | Assigned to domain | TRFST | |||
PRAKN | Premium Number | PRAKN | CHAR | 2 | T510P | PRAKN | |||
PRAKZ | Premium Indicator | PRAKZ | NUMC | 4 | PRAKZ | ||||
OTYPE | Object Type | OTYPE | CHAR | 2 | T778O | OTYPE | POT | ||
PLANS | Position | PLANS | NUMC | 8 | T528B | PLANS | |||
GENER | Generation flag | PGENER | CHAR | 1 | XFELD | ||||
EXBEL | External Document Number | EXBEL | CHAR | 8 | CHAR08 | ||||
HRSIF | Set number of hours | HRS_INPFL | CHAR | 1 | XFELD | ||||
ALLDF | Record is for Full Day | ALLDF | CHAR | 1 | XFELD | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | TCURC | WAERS | FWS | ||
LOGSYS | Logical system | LOGSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
AWTYP | Reference Transaction | AWTYP | CHAR | 5 | Assigned to domain | AWTYP | |||
AWREF | Reference Document Number | AWREF | CHAR | 10 | ALPHA | AWREF | |||
AWORG | Reference Organizational Units | AWORG | CHAR | 10 | AWORG | ||||
DOCSY | Logical system for document (personnel time) | PTM_DOCSY | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
DOCNR | Document number for time data | PTM_DOCNR | NUMC | 20 | PTM_DOCNR | ||||
WTART | Work tax area | WTART | CHAR | 4 | Assigned to domain | WRKAR | |||
FAPRS | Evaluation Type for Attendances/Absences | FAPRS | CHAR | 2 | T554H | FAPRS | |||
TDLANGU | Definition Set for IDs | TMW_TDLANGU | CHAR | 10 | Assigned to domain | TMW_TDLANGU | |||
TDSUBLA | Definition Subset for IDs | TMW_TDSUBLA | CHAR | 3 | Assigned to domain | TMW_TDSUBLA | |||
TDTYPE | Time Data ID Type | TDTYPE | CHAR | 4 | TDTYP | TDKENN | |||
KEPAU | No break | TIM_KEPAU | CHAR | 1 | XFELD | ||||
EXPAU | Breaks Specified Explicitly | TIM_EXPAU | CHAR | 1 | XFELD | ||||
PBEG1 | Start of Break | PDBEG | TIMS | 6 | UZEIT | ||||
PEND1 | End of Break | PDEND | TIMS | 6 | UZEIT | ||||
PBEZ1 | Paid Break Period | PDBEZ | DEC | 4(2) | DEC2_2 | ||||
PUNB1 | Unpaid Break Period | PDUNB | DEC | 4(2) | DEC2_2 | ||||
PBEG2 | Start of Break | PDBEG | TIMS | 6 | UZEIT | ||||
PEND2 | End of Break | PDEND | TIMS | 6 | UZEIT | ||||
PBEZ2 | Paid Break Period | PDBEZ | DEC | 4(2) | DEC2_2 | ||||
PUNB2 | Unpaid Break Period | PDUNB | DEC | 4(2) | DEC2_2 | ||||
NXDFL | Next Day Indicator | PTM_NXDFL | CHAR | 1 | XFELD |
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 tableDATA: 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 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