PS0799 SAP (AFI message data) Structure details

Dictionary Type: Structure
Description: AFI message data




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




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

PS0799 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 "AFI message data" 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_PS0799 TYPE PS0799.

The PS0799 table consists of various fields, each holding specific information or linking keys about AFI message data data available in SAP. These include MOTAF (Employee status), STAFI (.AFI message status), FPAFI (.AFI message processing date), FEINI (Contracts start 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: Can be enhanced (character-type or numeric)


SAP PS0799 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
ACCAFAction at employee level PES_ACCAFICHAR3PES_ACCAFI
MOTAFEmployee status PES_MOTAFINUMC2Assigned to domainPES_MOTAFI
STAFI.AFI message status PES_STAFINUMC1PES_STAFI
FPAFI.AFI message processing date PES_FPAFIDATS8DATS
FEINIContracts start date PES_FECH_IDATS8DATUM
INDSUPartial subrogation indicator PES_INDSUBCHAR1CHAR1
RELABSpecial work relationship PES_RELLABCHAR4PES_RELLAB
NUSSTReplaced employee Social Insurance number PES_NUSSNUMC12NUM12
CAUSUReason for substitution PES_CAUSASCHAR2PES_CAUSAS
RELEVRelief contract PES_RELEVCHAR1CAT_FLAG
CODESUnemployed PES_CODESCHAR1PES_CODES
MUJSRUnder-represented woman PES_MUJSRCHAR1XFELD
COLTRWorker group PES_COLTRNUMC3PES_COLTR
INACTInactivity type PES_INACTICHAR1PES_INACT
COEF_HUELActivity percentage in the event of a partial strike PES_HUELNUMC3NUM3
MREINRehired female employee PES_MREINCHAR1PES_MREIN
INCREReadmitted person with occupational disability PES_INCRECHAR1XFELD
PTRAUSelf-employed worker PES_PTRAUCHAR1XFELD
EXCVDSocial disadvantage / domestic violance PES_EXCVDNUMC1PES_EXCVD
RACINActive Insertion Income PES_RACINCHAR1XFELD
ALUMBContract after giving birth PES_ALUMBCHAR1XFELD
REDJBRetirement age reduction coefficient PES_REDJBNUMC2NUMC2
AUTTRAuthorization to work (foreigners) PES_AUTTR1CHAR3CHAR3
AUTVIValidity of authorization to work (foreigners) PES_AUTVIDATS8DATS
HPAFI.AFI message processing time PES_HPAFITIMS6
CODERError code PES_CODERCHAR4CHAR4
TXTADAdditional text indicator PES_TXTADCHAR1CHAR1
TXTOTOther text indicator PES_TXTOTCHAR1CHAR1
GLBIDHR B2A: Global Object ID PC_B2A_GLBIDCHAR32CHAR32
DTRTPDays worked part-time PES_DTRTPNUMC2NUMC2
CPTRAChange of work center PES_CPTRANUMC2PES_CPTRA
PERDBBenefits loss indicator PES_PERDBNUMC2PES_PERDB
INDAUAutomatism indicator PES_INDAUCHAR1XFELD
INDPBBenefits loss indicator PES_INDPBCHAR2PES_INDPB
SAAFIType of additional situation PES_SAAFICHAR3PES_SAAFI
NEWBENew start date PES_NEWBEDATS8DATUM
NEWENNew end date PES_NEWENDATS8DATUM
VIFAMFamily tie indicator PES_VIFAMCHAR1PES_VIFAM
INDIMPRED system: printout indicator PES_INDIMPCHAR1PES_INDIMP

Key field Non-key field



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

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

How to access SAP table PS0799

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