PSG02 SAP (Leave scheme records) Structure details

Dictionary Type: Structure
Description: Leave scheme records




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




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
SCHEMScheme code PSG_SCHEMCHAR2T5PBSR3APSG_SCHEM
DIVISDivision PSG_DIVISCHAR2T5PBSR3GPSG_DIVIS
QTTYPAbsence Quota Type ABWKONUMC2T556AABWKO
CUTYRYear for calculation PSG_CUTYRDATS8DATS
SALGPSalary Group Code PSG_SALGPCHAR2T5PBSR3HCHAR2
MOPGKEmployee Subgroup Grouping for Time Quota Types MOPGKCHAR1CHAR1
MOZKOGrouping of Personnel Subareas for Time Quota Types MOZKONUMC2MOZKO
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
WERKSPersonnel Area PERSACHAR4Assigned to domainPERSAPBR
BTRTLPersonnel Subarea BTRTLCHAR4Assigned to domainBTRTLPBS
PERSGEmployee Group PERSGCHAR1Assigned to domainPERSGPRG
PERSKEmployee Subgroup PERSKCHAR2Assigned to domainPERSKPKR
MOLGACountry Grouping MOLGACHAR2Assigned to domainMOLGAMOL
MOURAPersonnel Subarea Grouping for Leave Types MOURANUMC2MODIF
URARTLeave type URARTCHAR2Assigned to domainURART
SBGRUChallenge group SBGRUCHAR2Assigned to domainSBGRD
SBPROSevere challenge: Percentage SBPRODEC3DEC3
AGEJJAge in years AGEJJNUMC2NUM2
DAUERSeniority in years DDAUERNUMC4NUM4
TRFARPay scale type TRFARCHAR2Assigned to domainTRFAR
TRFGBPay Scale Area TRFGBCHAR2Assigned to domainTRFGB
TRFGRPay Scale Group TRFGRCHAR8Assigned to domainTRFGR
TRFSTPay Scale Level TRFSTCHAR2Assigned to domainTRFST
SCHKZWork Schedule Rule SCHKNCHAR8Assigned to domainSCHKNSCH
URLZKCounting class for period work schedule URLZKNUMC1NUMC1
BEGDAStart Date BEGDADATS8DATUM
ENDDAEnd Date ENDDADATS8DATUM
PERNRPersonnel Number PERNR_DNUMC8PERNRPER
ELIGBEligibility percentage PSG_ELIGBDEC5(2) DEC03_2
AMUNTAmount BETRGCURR9(2) WERTV5
ENTITEntitlement PSG_ENTILDEC10(5) PTM_QUONUM
AWRKHAnnual working hours JRSTDDEC7(2) JRSTD
AWRKDFour-digit number NUM4NUMC4NUM04
YWRKHAnnual working hours JRSTDDEC7(2) JRSTD
YWRKDFour-digit number NUM4NUMC4NUM04
CTYPECharacter field of length 6 CHAR6CHAR6CHAR6

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 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!