EXSORT_READ_ERROR

Dear Collegues,
now and then we get a runtime error EXSORT_READ_ERROR with
error no. 22 and error text "Invalid argument". We get this
runtime error from different batch jobs: F110*, report painter queries, ...
It seems that the external sort tries to read a file and this
doesn't work properly.
Does anybody know what error number 22 means and how to fix the problem ?
From ST22:
  The current ABAP program, "SAPF110S", had to be terminated because one of the
  statements could not be executed at runtime.                                
  The current ABAP/4 program was meant to sort a dataset (internal table
  or extract). For reasons of capacity, this was not possible due to    
  insufficient main storage space. Therefore, the                       
  external sort was called and resulted in the following error:         
  the following error:                                                                               
An error occurred while reading the sorted file.                                                                               
Error number: 22                                                      
  Error text: "Invalid argument"                                        
  The termination occurred in the function "ReadBlock" of the SAP
  Basis System, specifically in line 1198 of the module         
   "//bas/640_REL/src/krn/runt/abossort.c#1".                   
  The internal operation just processed is "SORX".              
  The internal session was started at 20070810040037.           
  0 bytes of the sorted file were read. However, the system was 
  expecting 1196544 bytes.                                      
Regards
Monika

Hi Monika,
We have de same problem on transaction F110.
This is de error log:
"The termination occurred in the function "ReadBlock" of the SAP  
Basis System, specifically in line 1192 of the module            
"//bas/46D/src/krn/runt/abossort.c#14".                         
The internal operation just processed is "SORX".                 
The internal session was started at 20091202183003.              
This is a C level error.                                                                               
Reading the sorted file was buffered. The buffer contained 3092  
bytes when the next block was read, even though a record contains
only 1454 bytes."
How did you sove the problem? Do you have any SAP Note about this problem?
Thank you!
Best regards,
Edy

Similar Messages

Maybe you are looking for