Status and error information are transferred in segment E2STATS.
Field name |
Adj. |
Format |
SAP |
Oblig.Field |
Significance |
TABNAM |
CHAR 10 |
Name of table structure (blank) | |||
MANDT |
CHAR 03 |
MANDT |
Client | ||
DOCNUM |
CHAR 16 |
X |
IDoc number of incorrect document | ||
LOGDAT |
DATS 08 |
X |
Date | ||
LOGTIM |
TIMS 06 |
X |
Time | ||
STATUS |
1 |
CHAR 02 |
X |
Status of incorrect IDoc | |
UNAME |
CHAR 12 |
User name | |||
REPID |
CHAR 08 |
Program name | |||
ROUTID |
CHAR 30 |
Subroutine name | |||
STACOD |
3 |
CHAR 08 |
X |
Status Code | |
STATXT |
3, 6 |
CHAR 70 |
X |
Status Code Text | |
SEGNUM |
CHAR 06 |
Segment number | |||
SEGFLD |
CHAR 10 |
Field name | |||
STAPA1 |
CHAR 20 |
Parameter 1 | |||
STAPA2 |
CHAR 20 |
Parameter 2 | |||
STAPA3 |
CHAR 20 |
Parameter 3 | |||
STAPA4 |
CHAR 20 |
Parameter 4 | |||
REFINT |
CHAR 14 |
Reference to file | |||
REFGRP |
CHAR 14 |
Reference to group | |||
REFMES |
CHAR 14 |
Reference to message | |||
ARCKEY |
CHAR 70 |
Document ID in external system | |||
STATYP |
1 |
CHAR 01 |
System message category |
Special Fields and Domain Values In Segment E2STATS
Please take into account these particular functions and/or permitted value areas in the following fields in segment E2STATS.
Field E2STATS-STATUS: Status of incorrect IDoc
Status values for IDoc used within the communication.
Val. |
Significance |
16 |
IDoc was successfully processed (if necessary with warning) |
17 |
IDoc could not be processed |
Field E2STATS-STACOD: Status Code
Status or error message code, as available in the R/3 system. Generally the code is always ‘SAPV6xxx’, whereby digits ‘xxx’ are predefined as follows:
Area |
Significance |
000-499 |
Messages from the transportation planning system to R/3 |
500-999 |
Messages from the R/3 system to transportation planning system |
You can compare the messages manually between the systems so that if there is a message in the destination system only defined by a status code, its corresponding long text will appear.
Field E2STATS-ARCKEY: Document ID in external system
An identification predefined by the subsystem is created in the ARCKEY field. If you cannot process a document sent by the subsystem to the R/3 system the contents of the ARCKEY field from the incorrect IDoc will be sent back in the ARCKEY field in the error message. This will allow you to recreate the reference to the process that generated the document.
Field E2STATS-STATYP: System message category
Category of system message.
Val. |
Significance |
S |
Status message after successful transaction |
I |
Information message (note) |
W |
Warning |
E |
Error message |
A |
Termination message (serious error) |