PC2A8 SAP (HR Master Record: Infotype 0005 (Leave Entitlement)) Structure details
Description: HR Master Record: Infotype 0005 (Leave Entitlement)
Structure field list including key, data, relationships and ABAP select examples
PC2A8 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 Master Record: Infotype 0005 (Leave Entitlement)" 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_PC2A8 TYPE PC2A8.
The PC2A8 table consists of various fields, each holding specific information or linking keys about HR Master Record: Infotype 0005 (Leave Entitlement) data available in SAP. These include URART (Leave type), URTXT (Leave name), UABEG (Deduction start date), UAEND (Deduction end date).. 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 PC2A8 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 | |||
URART | Leave type | URART | CHAR | 2 | Assigned to domain | URART | |||
URTXT | Leave name | URTXT | CHAR | 20 | TEXT20 | ||||
UABEG | Deduction start date | UABEG | DATS | 8 | DATUM | ||||
UAEND | Deduction end date | UAEND | DATS | 8 | DATUM | ||||
UANSP | Leave entitlement | UANSP | DEC | 5(2) | URLTG | ||||
URECH | Leave Days Accounted | URECH | DEC | 5(2) | URLTG | ||||
UGELT | Compensated leave days | UGELT | DEC | 5(2) | URLTG | ||||
UUSED | Total Leave Taken | P09_UUSED | DEC | 5(2) | URLTG | ||||
UREST | Remaining Leave Days | P09_UREST | DEC | 5(2) | URLTG | ||||
UUNIT | Time/Measurement Unit | PT_ZEINH | CHAR | 3 | Assigned to domain | RPMSH |
Key field | Non-key field |
How do I retrieve data from SAP structure PC2A8 using ABAP code?
As PC2A8 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 PC2A8 as there is no data to select.How to access SAP table PC2A8
Within an ECC or HANA version of SAP you can also view further information about PC2A8 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