PT2001 SAP (HR Time Record: Infotype 2001 (Absences)) Table details
Dictionary Type: Table
Description: HR Time Record: Infotype 2001 (Absences)
Description: HR Time Record: Infotype 2001 (Absences)
Table field list including key, data, relationships and ABAP select examples
PT2001 is a standard SAP Table which is used to store HR Time Record: Infotype 2001 (Absences) data and is available within R/3 SAP systems depending on the version and release level.
The PT2001 table consists of various fields, each holding specific information or linking keys about HR Time Record: Infotype 2001 (Absences) 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 PT2001 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 | ||||
STDAZ | Absence hours | ABSTD | DEC | 7(2) | JRSTD | ||||
ABRTG | Payroll days | ABRTG | DEC | 6(2) | TAGE4_2 | ||||
ABRST | Payroll hours | ABRST | DEC | 7(2) | JRSTD | ||||
ANRTG | Days credited for continued pay | ANRTG | DEC | 6(2) | TAGE4_2 | ||||
LFZED | End of continued pay | LFZED | DATS | 8 | DATUM | ||||
KRGED | End of sick pay | KRGED | DATS | 8 | DATUM | ||||
KBBEG | Certified start of sickness | KBBEG | DATS | 8 | DATUM | ||||
RMDDA | Date on which illness was confirmed | RMDDA | DATS | 8 | DATUM | ||||
KENN1 | Indicator for Subsequent Illness | KENN1 | DEC | 2 | KNZAU | ||||
KENN2 | Indicator for repeated illness | KENN2 | DEC | 2 | KNZAU | ||||
KALTG | Calendar days | KALTG | DEC | 6(2) | TAGE4_2 | ||||
URMAN | Indicator for manual leave deduction | URMAN | CHAR | 1 | URMAN | ||||
BEGVA | Start year for leave deduction | BEGVA | NUMC | 4 | GJAHR | GJAHR | |||
BWGRL | Valuation Basis for Different Payment | PTM_VBAS7S | CURR | 13(2) | P_AMT07V | ||||
AUFKZ | Extra Pay Indicator | AUFKN | CHAR | 1 | AUFKN | ||||
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 | |||
MLDDA | Reported on | MLDDA | DATS | 8 | DATUM | ||||
MLDUZ | Reported at | MLDUZ | TIMS | 6 | UZEIT | ||||
RMDUZ | Sickness confirmed at | RMDUZ | TIMS | 6 | UZEIT | ||||
VORGS | Superior Out Sick (Illness) | VORGS | CHAR | 15 | CHAR15 | ||||
UMSKD | Code for description of illness | UMSKD | CHAR | 6 | CHAR6 | ||||
UMSCH | Description of illness | UMSCH | CHAR | 20 | TEXT20 | ||||
REFNR | Reference number | RFNUM | CHAR | 8 | CHAR8 | ||||
UNFAL | Absent due to accident? | UNFAL | CHAR | 1 | CHAR1 | ||||
STKRV | Subtype for sickness tracking | STKRV | CHAR | 4 | SUBTY | ||||
STUND | Subtype for accident data | STUND | CHAR | 4 | SUBTY | ||||
PSARB | Work capacity percentage | PSARB | DEC | 4(2) | DEC2_2 | ||||
AINFT | Infotype that maintains 2001 | AINFT | CHAR | 4 | T582A | INFOTYP | |||
GENER | Generation flag | PGENER | CHAR | 1 | XFELD | ||||
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 | ||||
PAYTY | Payroll type | PAYTY | CHAR | 1 | PAYTY | ||||
PAYID | Payroll Identifier | PAYID | CHAR | 1 | CHAR1 | ||||
BONDT | Off-cycle payroll payment date | BONDT | DATS | 8 | DATUM | ||||
OCRSN | Reason for Off-Cycle Payroll | PAY_OCRSN | CHAR | 4 | T52OCR | PAY_OCRSN | OCR | ||
SPPE1 | End date for continued pay | SPPEG | DATS | 8 | DATUM | ||||
SPPE2 | End date for continued pay | SPPEG | DATS | 8 | DATUM | ||||
SPPE3 | End date for continued pay | SPPEG | DATS | 8 | DATUM | ||||
SPPIN | Indicator for manual modifications | SPPIN | CHAR | 1 | XFELD | ||||
ZKMKT | Status of Sickness Notification | P05_ZKMKT_EN | CHAR | 1 | P05_ZKMKT | ||||
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 | |||
NXDFL | Next Day Indicator | PTM_NXDFL | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP table PT2001 using ABAP code
The following ABAP code Example will allow you to do a basic selection on PT2001 to SELECT all data from the tableDATA: WA_PT2001 TYPE PT2001.
SELECT SINGLE *
FROM PT2001
INTO CORRESPONDING FIELDS OF WA_PT2001
WHERE...
How to access SAP table PT2001
Within an ECC or HANA version of SAP you can also view further information about PT2001 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