PSG02 SAP (Leave scheme records) Structure details
Description: Leave scheme records
Structure field list including key, data, relationships and ABAP select examples
PSG02 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 "Leave scheme records" 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_PSG02 TYPE PSG02.
The PSG02 table consists of various fields, each holding specific information or linking keys about Leave scheme records data available in SAP. These include SCHEM (Scheme code), DIVIS (Division), QTTYP (Absence Quota Type), CUTYR (Year for calculation).. 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: Not classified
SAP PSG02 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 |
SCHEM | Scheme code | PSG_SCHEM | CHAR | 2 | T5PBSR3A | PSG_SCHEM | |||
DIVIS | Division | PSG_DIVIS | CHAR | 2 | T5PBSR3G | PSG_DIVIS | |||
QTTYP | Absence Quota Type | ABWKO | NUMC | 2 | T556A | ABWKO | |||
CUTYR | Year for calculation | PSG_CUTYR | DATS | 8 | DATS | ||||
SALGP | Salary Group Code | PSG_SALGP | CHAR | 2 | T5PBSR3H | CHAR2 | |||
MOPGK | Employee Subgroup Grouping for Time Quota Types | MOPGK | CHAR | 1 | CHAR1 | ||||
MOZKO | Grouping of Personnel Subareas for Time Quota Types | MOZKO | NUMC | 2 | MOZKO | ||||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
WERKS | Personnel Area | PERSA | CHAR | 4 | Assigned to domain | PERSA | PBR | ||
BTRTL | Personnel Subarea | BTRTL | CHAR | 4 | Assigned to domain | BTRTL | PBS | ||
PERSG | Employee Group | PERSG | CHAR | 1 | Assigned to domain | PERSG | PRG | ||
PERSK | Employee Subgroup | PERSK | CHAR | 2 | Assigned to domain | PERSK | PKR | ||
MOLGA | Country Grouping | MOLGA | CHAR | 2 | Assigned to domain | MOLGA | MOL | ||
MOURA | Personnel Subarea Grouping for Leave Types | MOURA | NUMC | 2 | MODIF | ||||
URART | Leave type | URART | CHAR | 2 | Assigned to domain | URART | |||
SBGRU | Challenge group | SBGRU | CHAR | 2 | Assigned to domain | SBGRD | |||
SBPRO | Severe challenge: Percentage | SBPRO | DEC | 3 | DEC3 | ||||
AGEJJ | Age in years | AGEJJ | NUMC | 2 | NUM2 | ||||
DAUER | Seniority in years | DDAUER | NUMC | 4 | NUM4 | ||||
TRFAR | Pay scale type | TRFAR | CHAR | 2 | Assigned to domain | TRFAR | |||
TRFGB | Pay Scale Area | TRFGB | CHAR | 2 | Assigned to domain | TRFGB | |||
TRFGR | Pay Scale Group | TRFGR | CHAR | 8 | Assigned to domain | TRFGR | |||
TRFST | Pay Scale Level | TRFST | CHAR | 2 | Assigned to domain | TRFST | |||
SCHKZ | Work Schedule Rule | SCHKN | CHAR | 8 | Assigned to domain | SCHKN | SCH | ||
URLZK | Counting class for period work schedule | URLZK | NUMC | 1 | NUMC1 | ||||
BEGDA | Start Date | BEGDA | DATS | 8 | DATUM | ||||
ENDDA | End Date | ENDDA | DATS | 8 | DATUM | ||||
PERNR | Personnel Number | PERNR_D | NUMC | 8 | PERNR | PER | |||
ELIGB | Eligibility percentage | PSG_ELIGB | DEC | 5(2) | DEC03_2 | ||||
AMUNT | Amount | BETRG | CURR | 9(2) | WERTV5 | ||||
ENTIT | Entitlement | PSG_ENTIL | DEC | 10(5) | PTM_QUONUM | ||||
AWRKH | Annual working hours | JRSTD | DEC | 7(2) | JRSTD | ||||
AWRKD | Four-digit number | NUM4 | NUMC | 4 | NUM04 | ||||
YWRKH | Annual working hours | JRSTD | DEC | 7(2) | JRSTD | ||||
YWRKD | Four-digit number | NUM4 | NUMC | 4 | NUM04 | ||||
CTYPE | Character field of length 6 | CHAR6 | CHAR | 6 | CHAR6 |
Key field | Non-key field |
How do I retrieve data from SAP structure PSG02 using ABAP code?
As PSG02 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 PSG02 as there is no data to select.How to access SAP table PSG02
Within an ECC or HANA version of SAP you can also view further information about PSG02 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