SAP ABAP Data Element EDI_STATUS (Status of IDoc)
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_STATUS
Short Description Status of IDoc  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type EDI_STATUS    
Data Type CHAR   Character String 
Length 2    
Decimal Places 0    
Output Length 2    
Value Table TEDS1    
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 Status 
Medium 15 IDoc Status 
Long 20 IDoc Status 
Heading Status 
Documentation

Use

A two-digit status is assigned to an IDoc to allow the processing to be monitored. Both the SAP application and the the external system (during status confirmation) must maintain the field with the correct value. For more information about these values, select Control -> Status maintenance from the IDoc Interface initial screen.

The statuses for outbound IDocs are between '01' and '49', while the statuses for inbound IDocs begin with '50'.

When an IDoc is created, the IDoc Interface sets the status in the function module EDI_DOCUMENT_CLOSE_CREATE. All additional status records are written explicitly by the function module EDI_DOCUMENT_STATUS_SET.

IDoc outbound processing (from the SAP system):
The IDoc Interface writes all status records.

IDoc inbound processing
The IDoc Interface writes the first status record when the inbound IDoc is created. During the processing, the application writes the status records using the function module EDI_DOCUMENT_STATUS_SET.

Status confirmation when using port type 'File':
The external system writes the status records in a status file, which is read by the SAP system. In this case, the confirmation always refers to outbound IDocs.

Status confirmation using IDoc type SYSTAT01:
The system sending the confirmation writes the status records as data records of IDoc type SYSTAT01. All port types and both directions can be entered.

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