PI005 SAP (Data Structure for Leave Overview: Infotype 0005) Structure details
Description: Data Structure for Leave Overview: Infotype 0005
Structure field list including key, data, relationships and ABAP select examples
PI005 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 "Data Structure for Leave Overview: Infotype 0005" 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_PI005 TYPE PI005.
The PI005 table consists of various fields, each holding specific information or linking keys about Data Structure for Leave Overview: Infotype 0005 data available in SAP. These include OBJPS (Object Identification), URART (Leave type), UANSP (Leave entitlement), UREH1 (Total number of accounted leave days).. 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 PI005 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 |
URLJJ | Leave year | URLJJ | NUMC | 4 | GJAHR | GJAHR | |||
OBJPS | Object Identification | OBJPS | CHAR | 2 | OBJPS | OPS | |||
URART | Leave type | URART | CHAR | 2 | Assigned to domain | URART | |||
UANSP | Leave entitlement | URANS | DEC | 6(2) | URTAG | ||||
UREH1 | Total number of accounted leave days | UREH1 | DEC | 6(2) | URTAG | ||||
UREH2 | Accounted leave days in time interval | UREH2 | DEC | 6(2) | URTAG | ||||
UBEA1 | Total number of leave days requested | UBEA1 | DEC | 6(2) | URTAG | ||||
UBEA2 | Leave requested in selection period | UBEA2 | DEC | 6(2) | URTAG | ||||
UBEA3 | Leave requested after selection period | UBEA3 | DEC | 6(2) | URTAG | ||||
UGEL1 | Total Number of Leave Days Compensated | UGEL1 | DEC | 6(2) | URTAG | ||||
UGEL2 | Compensated leave in selection period | UGEL2 | DEC | 6(2) | URTAG | ||||
UGEL3 | Compensated leave days after selection period | UGEL3 | DEC | 6(2) | URTAG | ||||
UREST | Remaining leave | URRES | DEC | 6(2) | URTAG | ||||
UABEG | Deduction start date | UABEG | DATS | 8 | DATUM | ||||
UAEND | Deduction end date | UAEND | DATS | 8 | DATUM |
Key field | Non-key field |
How do I retrieve data from SAP structure PI005 using ABAP code?
As PI005 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 PI005 as there is no data to select.How to access SAP table PI005
Within an ECC or HANA version of SAP you can also view further information about PI005 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