ERRORMSG SAP (Field string for creating error list when replacing objects) Structure details
Description: Field string for creating error list when replacing objects
Structure field list including key, data, relationships and ABAP select examples
ERRORMSG 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 "Field string for creating error list when replacing objects" 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_ERRORMSG TYPE ERRORMSG.
The ERRORMSG table consists of various fields, each holding specific information or linking keys about Field string for creating error list when replacing objects data available in SAP. These include PLNTY (Task List Type), PLNNR (Key for Task List Group), PLNAL (Group Counter), PLNFL (Sequence).. 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)
SAP ERRORMSG 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 |
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
PLNTY | Task List Type | PLNTY | CHAR | 1 | Assigned to domain | PLNTY | PTY | H_TCA01 | |
PLNNR | Key for Task List Group | PLNNR | CHAR | 8 | ALPHA | PLNNR | PLN | PLKS | |
PLNAL | Group Counter | PLNAL | CHAR | 2 | ALPHA | ALTNR | PAL | ||
PLNFL | Sequence | PLNFOLGE | CHAR | 6 | ALPHA | PLNFOLGE | |||
VORNR | Operation/Activity Number | VORNR | CHAR | 4 | NUMCV | VORNR | VGN | ||
UVORN | Suboperation | UVORN | CHAR | 4 | NUMCV | VORNR | |||
TEXT | Error message text - long text of the error | TEXT70 | CHAR | 70 | TEXT70 | ||||
MSGV1 | Message variable 01 | MSGV1 | CHAR | 50 | CHAR50 | ||||
MSGV2 | Message variable 02 | MSGV2 | CHAR | 50 | CHAR50 | ||||
MSGV3 | Message variable 03 | MSGV3 | CHAR | 50 | CHAR50 | ||||
MSGV4 | Message variable 04 | MSGV4 | CHAR | 50 | CHAR50 | ||||
VBOK | Replace object - update indicator | VBOK | CHAR | 1 | CHAR1 | ||||
VBNO | Replace object - update failed | VBNO | CHAR | 1 | CHAR1 |
Key field | Non-key field |
How do I retrieve data from SAP structure ERRORMSG using ABAP code?
As ERRORMSG 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 ERRORMSG as there is no data to select.How to access SAP table ERRORMSG
Within an ECC or HANA version of SAP you can also view further information about ERRORMSG 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