SAP ABAP Data Element EDI_STACOD (Status code)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-MID-ALE (Application Component) ALE Integration Technology
     SED (Package) IDoc Interface (Processing, Administration, Definition)
Basic Data
Data Element EDI_STACOD
Short Description Status code  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type EDI_STACOD    
Data Type CHAR   Character String 
Length 8    
Decimal Places 0    
Output Length 8    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 StatCode 
Medium 15 Status code 
Long  
Heading 10 StatCode 
Documentation

General

The field has been replaced by the three fields.

  • STAMQU
  • STAMID
  • STAMNO

If these are not filled, then the system still refers to the field. It either refers to table T100 in the SAP System or to codes of the external system. The field is intended to be used, in particular, to describe error situations, but can also be used for success messages.

Use

For errors in the SAP System, the status code must be set up as follows:

    Bytes 1-3:        'SAP'
    Bytes 4-5:        Message ID from T100
    Bytes 6-8:        Message number from T100

IDoc interface

For errors in the SAP System, the status code must be set up as follows:

    Bytes 1-3:        'SAP'
    Bytes 4-5:        Message ID from T100
    Bytes 6-8:        Message number from T100

EDI subsystem

Outbound IDocs:
Codes of the EDI subsystem which describe a status change or an error more precisely can be passed. Even if the value of the field STATUS is not changed, several status records can be passed to the SAP System, which contain different codes or error messages for the IDoc.
A subsystem-specific display of the status records within the SAP System can be controlled via table TEDE3 if a different prefix to 'SAP' is used for the first 3 bytes of the code.

Inbound IDocs:
No action required.

History
Last changed by/on SAP  19970221 
SAP Release Created in