Q0005 SAP (Screen Fields: Infotype P0005) Structure details
Description: Screen Fields: Infotype P0005
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 |
KJAHR | Year stored | KJAHR | NUMC | 4 | GJAHR | GJAHR | |||
URART | Leave type | URART | CHAR | 2 | T533 | URART | |||
OBJPS | Object Identification | OBJPS | CHAR | 2 | OBJPS | OPS | |||
VREST | Remaining leave | PTM_HREST | DEC | 10(5) | PTM_QUONUM | ||||
UANSP | Leave entitlement | PTM_HENTITLE | DEC | 10(5) | PTM_QUONUM | ||||
UBEAN | Leave requested | PTM_HDEMAND | DEC | 10(5) | PTM_QUONUM | ||||
UREST | Remaining leave | PTM_HREST | DEC | 10(5) | PTM_QUONUM | ||||
URECH | Leave accounted | PTM_HACCOUNTED | DEC | 10(5) | PTM_QUONUM | ||||
UABRE | Leave accounted | PTM_HACCOUNTED | DEC | 10(5) | PTM_QUONUM | ||||
UGELT | Compensated leave | PTM_HSETTLED | DEC | 10(5) | PTM_QUONUM | ||||
UABEG | Deduction start date | UABEG | DATS | 8 | DATUM | ||||
UAEND | Deduction end date | UAEND | DATS | 8 | DATUM | ||||
UANSS | Total leave entitlement for all leave types | PTM_HENTITLE_S | DEC | 10(5) | PTM_QUONUM | ||||
UBEAS | Total leave requested | PTM_HDEMAND_S | DEC | 10(5) | PTM_QUONUM | ||||
UABRS | Total leave accounted | PTM_HACCOUNTED_S | DEC | 10(5) | PTM_QUONUM | ||||
URESS | Total remaining leave | PTM_HREST_S | DEC | 10(5) | PTM_QUONUM | ||||
URECS | Total leave accounted | PTM_HACCOUNTED_S | DEC | 10(5) | PTM_QUONUM | ||||
UGELS | Total compensated leave for all leave types | PTM_HSETTLED_S | DEC | 10(5) | PTM_QUONUM | ||||
PSEND | End of payroll period | PSEND | DATS | 8 | DATUM | ||||
URLRE | Remaining leave to this date | URLRE | DATS | 8 | DATUM | ||||
ACTUP | Current page | ACTUP | NUMC | 2 | NUMC2 | ||||
LASTP | Last page | LASTP | NUMC | 2 | NUMC2 |
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 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