P0502 SAP (HR-SG-PS:Letter of Appointment details) Structure details

Dictionary Type: Structure
Description: HR-SG-PS:Letter of Appointment details




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




Structure field list including key, data, relationships and ABAP select examples

P0502 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-SG-PS:Letter of Appointment details" 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_P0502 TYPE P0502.

The P0502 table consists of various fields, each holding specific information or linking keys about HR-SG-PS:Letter of Appointment details data available in SAP. These include PERNR (Personnel Number), INFTY (Infotype), SUBTY (Subtype), OBJPS (Object Identification).. 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 P0502 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
PERNRPersonnel Number PERNR_DNUMC8PERNRPER
INFTYInfotype INFTYCHAR4T582AINFOTYPITP
SUBTYSubtype SUBTYCHAR4SUBTYSUB
OBJPSObject Identification OBJPSCHAR2OBJPSOPS
SPRPSLock Indicator for HR Master Data Record SPRPSCHAR1SPRPS
ENDDAEnd Date ENDDADATS8DATUM
BEGDAStart Date BEGDADATS8DATUM
SEQNRNumber of Infotype Record with Same Key SEQNRNUMC3NUM03
AEDTMChanged On AEDATDATS8DATUM
UNAMEName of Person Who Changed Object AENAMCHAR12USNAM
HISTOHistorical Record Flag HISTOCHAR1CHAR1
ITXEXText Exists for Infotype ITXEXCHAR1XFELD
REFEXReference Fields Exist (Primary/Secondary Costs) PRFEXCHAR1XFELD
ORDEXConfirmation Fields Exist ORDEXCHAR1XFELD
ITBLDInfotype Screen Control ITBLDCHAR2CHAR2
PREASReason for Changing Master Data PREASCHAR2T530EPREAS
FLAG1Reserved Field/Unused Field NUSEDCHAR1NUSED
FLAG2Reserved Field/Unused Field NUSEDCHAR1NUSED
FLAG3Reserved Field/Unused Field NUSEDCHAR1NUSED
FLAG4Reserved Field/Unused Field NUSEDCHAR1NUSED
RESE1Reserved Field/Unused Field of Length 2 NUSED2CHAR2NUSED2
RESE2Reserved Field/Unused Field of Length 2 NUSED2CHAR2NUSED2
GRPVLGrouping Value for Personnel Assignments PCCE_GPVALCHAR4PCCE_GPVAL
DATISDate of Issue of letter of appointment PSG_DATISDATS8DATS
APTYPAppointment type PSG_APTYPCHAR2T5PBSR4APSG_APTYP
APSTSAppointment status PSG_APSTSCHAR1PSG_APSTS
OVLDTValidity date of offer PSG_OVLDTDATS8DATS
REFNOMINDEF Reference Number PSG_REFNOCHAR20CHAR20
DATJODate of joining PSG_DATJODATS8DATS
TENOFTenure of office PSG_TENOFCHAR2T5PBSR4BPSG_TENOF
DIVSTDivision PSG_DIVISCHAR2T5PBSR3GPSG_DIVIS
JOBTIJob STELLNUMC8T513STELL
SLTYPPay scale type TRFARCHAR2T510ATRFAR
JOBGRPay Scale Area TRFGBCHAR2T510GTRFGB
JOBGDPay grade P_SLGRPCHAR8Assigned to domainTRFGR
SLLVLPay Grade Level P_SLLVLCHAR2CHAR2
SCODESalary Code PSG_SCODECHAR5T5PBSR6BPSG_SCODE
BARIDBar Indicator PSG_BARIDCHAR2CHAR2
SLEVLPay Scale Level TRFSTCHAR2Assigned to domainTRFST
HRSWKWorking time per period PSG_HRSWKDEC2DEC2
TUNITUnit for duration of full time NS PSG_NSUNYCHAR3T538ARPMSH
AWSFLAWS flag PSG_AWSFGCHAR1XFELD
TRMSVTerms of service PSG_TRMSVCHAR40CHAR40
RCOSTAmount BETRGCURR9(2) WERTV5
FSIGNFirst Name PAD_VORNACHAR40PAD_VORNM
LSIGNLast Name PAD_NACHNCHAR40PAD_NACHN
WITN1First Name PAD_VORNACHAR40PAD_VORNM
WITN2Last Name PAD_NACHNCHAR40PAD_NACHN
PNUM2Identity Number P25_IDNUMCHAR30CHAR30
SCGRPGrouping for Salary Code and Bar Indicator PSG_SCGRPCHAR8CHAR8
ICTYPType of identification (IC type) ICTYPCHAR2T5R05ICTYP
ICNUMIdentity Number P25_IDNUMCHAR30CHAR30
PRBZTProbationary Period (Number) PRBZTDEC3DEC3
PRUNTUnit for duration of full time NS PSG_NSUNYCHAR3T538ARPMSH
PXTNSProbationary Period (Number) PRBZTDEC3DEC3
PXUNTUnit for duration of full time NS PSG_NSUNYCHAR3T538ARPMSH
BETRGAmount BETRGCURR9(2) WERTV5
SVINCHR-PS-SG: Service increment PSG_SVINCCHAR1XFELD
VPAYMHR-PS-SG: Variable Payment PSG_VPAYMCHAR1XFELD
ALLWNText Field TEXT50CHAR50TEXT50

Key field Non-key field



How do I retrieve data from SAP structure P0502 using ABAP code?

As P0502 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 P0502 as there is no data to select.

How to access SAP table P0502

Within an ECC or HANA version of SAP you can also view further information about P0502 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!