ANFM SAP (Error messages from dep. calc.) Structure details
Description: Error messages from dep. calc.
Structure field list including key, data, relationships and ABAP select examples
ANFM 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 "Error messages from dep. calc." 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_ANFM TYPE ANFM.
The ANFM table consists of various fields, each holding specific information or linking keys about Error messages from dep. calc. data available in SAP. These include ID (Message identification), KZ (Error indicator), NR (Message number), V1 (Error variable 1).. 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: Cannot Be Enhanced
SAP ANFM 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 |
AFABER | Depreciation area real or derived | AFABER | NUMC | 2 | Assigned to domain | AFABE | |||
ID | Message identification | MSGID | CHAR | 20 | Assigned to domain | ARBGB | |||
KZ | Error indicator | ANFMKZ | CHAR | 1 | ANFMKZ | ||||
NR | Message number | MSGNR | CHAR | 3 | Assigned to domain | MSGNR | |||
V1 | Error variable 1 | ANFMV1 | CHAR | 20 | ANFMV | ||||
V2 | Error variable 2 | ANFMV2 | CHAR | 20 | ANFMV | ||||
V3 | Error variable 3 | ANFMV3 | CHAR | 20 | ANFMV | ||||
V4 | Error variable 4 | ANFMV4 | CHAR | 20 | ANFMV |
Key field | Non-key field |
How do I retrieve data from SAP structure ANFM using ABAP code?
As ANFM 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 ANFM as there is no data to select.How to access SAP table ANFM
Within an ECC or HANA version of SAP you can also view further information about ANFM 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