Q0005 SAP (Screen Fields: Infotype P0005) Structure details

Dictionary Type: Structure
Description: Screen Fields: Infotype P0005




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




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

Q0005 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 "Screen Fields: Infotype P0005" 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_Q0005 TYPE Q0005.

The Q0005 table consists of various fields, each holding specific information or linking keys about Screen Fields: Infotype P0005 data available in SAP. These include URART (Leave type), OBJPS (Object Identification), VREST (Remaining leave), UANSP (Leave entitlement).. 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: Can be enhanced (character-type or numeric)


SAP Q0005 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
KJAHRYear stored KJAHRNUMC4GJAHRGJAHR
URARTLeave type URARTCHAR2T533URART
OBJPSObject Identification OBJPSCHAR2OBJPSOPS
VRESTRemaining leave PTM_HRESTDEC10(5) PTM_QUONUM
UANSPLeave entitlement PTM_HENTITLEDEC10(5) PTM_QUONUM
UBEANLeave requested PTM_HDEMANDDEC10(5) PTM_QUONUM
URESTRemaining leave PTM_HRESTDEC10(5) PTM_QUONUM
URECHLeave accounted PTM_HACCOUNTEDDEC10(5) PTM_QUONUM
UABRELeave accounted PTM_HACCOUNTEDDEC10(5) PTM_QUONUM
UGELTCompensated leave PTM_HSETTLEDDEC10(5) PTM_QUONUM
UABEGDeduction start date UABEGDATS8DATUM
UAENDDeduction end date UAENDDATS8DATUM
UANSSTotal leave entitlement for all leave types PTM_HENTITLE_SDEC10(5) PTM_QUONUM
UBEASTotal leave requested PTM_HDEMAND_SDEC10(5) PTM_QUONUM
UABRSTotal leave accounted PTM_HACCOUNTED_SDEC10(5) PTM_QUONUM
URESSTotal remaining leave PTM_HREST_SDEC10(5) PTM_QUONUM
URECSTotal leave accounted PTM_HACCOUNTED_SDEC10(5) PTM_QUONUM
UGELSTotal compensated leave for all leave types PTM_HSETTLED_SDEC10(5) PTM_QUONUM
PSENDEnd of payroll period PSENDDATS8DATUM
URLRERemaining leave to this date URLREDATS8DATUM
ACTUPCurrent page ACTUPNUMC2NUMC2
LASTPLast page LASTPNUMC2NUMC2

Key field Non-key field



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

As Q0005 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 Q0005 as there is no data to select.

How to access SAP table Q0005

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