P20_AAMST SAP (AA-Register message structure) Structure details

Dictionary Type: Structure
Description: AA-Register message structure




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




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

P20_AAMST 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 "AA-Register message structure" 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_P20_AAMST TYPE P20_AAMST.

The P20_AAMST table consists of various fields, each holding specific information or linking keys about AA-Register message structure data available in SAP. These include RTIME (Time message for the AA-register was created in the system), MTYPE (Type of message to employees/employers register), LONNS ( to AA-Registeret - Norway), ORGNJ (Organization number juridisk).. 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 P20_AAMST 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
RDATEDate message for the AA-register was created in the system P20_RDATEDATS8DATUM
RTIMETime message for the AA-register was created in the system P20_RTIMETIMS6TIMES
MTYPEType of message to employees/employers register P20_MTYPECHAR2P20_MTYPE
LONNS to AA-Registeret - Norway P20_LONNSNUMC3NUMC03
ORGNJOrganization number juridisk P20_ORGNJNUMC9NUMC09
ORGNBOrganization number Bedrift P20_ORGNBNUMC9NUMC09
FDNUMNorwegian personal id (foedselsnummer) P20_PERIDNUMC11NUMC11
HIRDAHire date. P20_HIRDADATS8DATE
CHIRDCorrrected hire date. P20_AACHIDATS8DATS
WOHRSPlanned number of working hours per week. P20_WOHRSDEC4(2) DEC2_2
CWOSIDate number of working hours per week code was changed P20_AACCWDATS8DATS
NORGNNew organization number P20_NORGBCHAR9CHAR9
CORGNDate was changed. P20_CORGNDATS8DATS
FIRDAResignation date. P20_FIRDADATS8DATE
OCCUPOccupation code for statistics - Norway. P20_AAOCCNUMC7NUMC07
COCCUChange date for occupational code - Norway P20_AAMCODATS8DATS

Key field Non-key field



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

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

How to access SAP table P20_AAMST

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