PS0799 SAP (AFI message data) Structure details
Description: AFI message data
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 |
ACCAF | Action at employee level | PES_ACCAFI | CHAR | 3 | PES_ACCAFI | ||||
MOTAF | Employee status | PES_MOTAFI | NUMC | 2 | Assigned to domain | PES_MOTAFI | |||
STAFI | .AFI message status | PES_STAFI | NUMC | 1 | PES_STAFI | ||||
FPAFI | .AFI message processing date | PES_FPAFI | DATS | 8 | DATS | ||||
FEINI | Contracts start date | PES_FECH_I | DATS | 8 | DATUM | ||||
INDSU | Partial subrogation indicator | PES_INDSUB | CHAR | 1 | CHAR1 | ||||
RELAB | Special work relationship | PES_RELLAB | CHAR | 4 | PES_RELLAB | ||||
NUSST | Replaced employee Social Insurance number | PES_NUSS | NUMC | 12 | NUM12 | ||||
CAUSU | Reason for substitution | PES_CAUSAS | CHAR | 2 | PES_CAUSAS | ||||
RELEV | Relief contract | PES_RELEV | CHAR | 1 | CAT_FLAG | ||||
CODES | Unemployed | PES_CODES | CHAR | 1 | PES_CODES | ||||
MUJSR | Under-represented woman | PES_MUJSR | CHAR | 1 | XFELD | ||||
COLTR | Worker group | PES_COLTR | NUMC | 3 | PES_COLTR | ||||
INACT | Inactivity type | PES_INACTI | CHAR | 1 | PES_INACT | ||||
COEF_HUEL | Activity percentage in the event of a partial strike | PES_HUEL | NUMC | 3 | NUM3 | ||||
MREIN | Rehired female employee | PES_MREIN | CHAR | 1 | PES_MREIN | ||||
INCRE | Readmitted person with occupational disability | PES_INCRE | CHAR | 1 | XFELD | ||||
PTRAU | Self-employed worker | PES_PTRAU | CHAR | 1 | XFELD | ||||
EXCVD | Social disadvantage / domestic violance | PES_EXCVD | NUMC | 1 | PES_EXCVD | ||||
RACIN | Active Insertion Income | PES_RACIN | CHAR | 1 | XFELD | ||||
ALUMB | Contract after giving birth | PES_ALUMB | CHAR | 1 | XFELD | ||||
REDJB | Retirement age reduction coefficient | PES_REDJB | NUMC | 2 | NUMC2 | ||||
AUTTR | Authorization to work (foreigners) | PES_AUTTR1 | CHAR | 3 | CHAR3 | ||||
AUTVI | Validity of authorization to work (foreigners) | PES_AUTVI | DATS | 8 | DATS | ||||
HPAFI | .AFI message processing time | PES_HPAFI | TIMS | 6 | |||||
CODER | Error code | PES_CODER | CHAR | 4 | CHAR4 | ||||
TXTAD | Additional text indicator | PES_TXTAD | CHAR | 1 | CHAR1 | ||||
TXTOT | Other text indicator | PES_TXTOT | CHAR | 1 | CHAR1 | ||||
GLBID | HR B2A: Global Object ID | PC_B2A_GLBID | CHAR | 32 | CHAR32 | ||||
DTRTP | Days worked part-time | PES_DTRTP | NUMC | 2 | NUMC2 | ||||
CPTRA | Change of work center | PES_CPTRA | NUMC | 2 | PES_CPTRA | ||||
PERDB | Benefits loss indicator | PES_PERDB | NUMC | 2 | PES_PERDB | ||||
INDAU | Automatism indicator | PES_INDAU | CHAR | 1 | XFELD | ||||
INDPB | Benefits loss indicator | PES_INDPB | CHAR | 2 | PES_INDPB | ||||
SAAFI | Type of additional situation | PES_SAAFI | CHAR | 3 | PES_SAAFI | ||||
NEWBE | New start date | PES_NEWBE | DATS | 8 | DATUM | ||||
NEWEN | New end date | PES_NEWEN | DATS | 8 | DATUM | ||||
VIFAM | Family tie indicator | PES_VIFAM | CHAR | 1 | PES_VIFAM | ||||
INDIMP | RED system: printout indicator | PES_INDIMP | CHAR | 1 | PES_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 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