PS2004 SAP (HR Time Record: Infotype 2004 (Availability)) Structure details

Dictionary Type: Structure
Description: HR Time Record: Infotype 2004 (Availability)




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




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

PS2004 is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "HR Time Record: Infotype 2004 (Availability)" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_PS2004 TYPE PS2004.

The PS2004 table consists of various fields, each holding specific information or linking keys about HR Time Record: Infotype 2004 (Availability) data available in SAP. These include ENDUZ (End Time), VTKEN (Previous Day Indicator), STNBY (Availability Subtype), ZEITY (Employee Subgroup Grouping for Work Schedules).. 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:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP PS2004 structure 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
BEGUZStart Time BEGUZTIMS6UZEIT
ENDUZEnd Time ENDUZTIMS6UZEIT
VTKENPrevious Day Indicator VTKENCHAR1XFELD
STNBYAvailability Subtype STNBYCHAR2T557STNBY
ZEITYEmployee Subgroup Grouping for Work Schedules DZEITYCHAR1ZEITYTCA
MOFIDPublic Holiday Calendar HIDENTCHAR2THOCIHIDENTHCI
MOSIDPersonnel Subarea Grouping for Work Schedules MOSIDNUMC2T508ZMOSIDMOS
SCHKZWork Schedule Rule SCHKNCHAR8Assigned to domainSCHKNSCH
MOTPRPersonnel Subarea Grouping for Daily Work Schedules MOTPRNUMC2MOTPR
TPROGDaily Work Schedule TPROGCHAR4T550STPROG
VARIADaily Work Schedule Variant VARIACHAR1VARIA
AUFKZExtra Pay Indicator AUFKNCHAR1AUFKN
BWGRLValuation Basis for Different Payment PTM_VBAS7SCURR13(2) P_AMT07V
TRFGRPay Scale Group TRFGRCHAR8Assigned to domainTRFGR
TRFSTPay Scale Level TRFSTCHAR2Assigned to domainTRFST
PRAKNPremium Number PRAKNCHAR2T510PPRAKN
PRAKZPremium Indicator PRAKZNUMC4PRAKZ
OTYPEObject Type OTYPECHAR2T778OOTYPEPOT
PLANSPosition PLANSNUMC8Assigned to domainPLANS
EXBELExternal Document Number EXBELCHAR8CHAR08
WAERSCurrency Key WAERSCUKY5TCURCWAERSFWS
WTARTWork tax area WTARTCHAR4Assigned to domainWRKAR
ADPERAvailability Distribution Key (currently not functional) TIM_AVAIL_DIST_PERCDEC5(2) DEC3_2
TDLANGUDefinition Set for IDs TMW_TDLANGUCHAR10Assigned to domainTMW_TDLANGU
TDSUBLADefinition Subset for IDs TMW_TDSUBLACHAR3Assigned to domainTMW_TDSUBLA
TDTYPETime Data ID Type TDTYPECHAR4TDTYPTDKENN

Key field Non-key field



How do I retrieve data from SAP structure PS2004 using ABAP code?

As PS2004 is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on PS2004 as there is no data to select.

How to access SAP table PS2004

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