‎2006 Nov 20 9:03 AM
Hi All,
Is it possible to capture a descriptive error message from the Application server when we try to transfer a file from SAP and it does not get written to the application server.
I know it is possible to catch the standard catchable runtime exceptions, but I also would like to know if the file transfer fails in any other conditions which do not result in runtime dumps, nevertheless I should be able to get the error message.
Thanks in advance,
‎2006 Nov 20 9:14 AM
when your trasnfer statement fails, the value of sy-subrc will not be zero.
after every open dataset, read dataset put sy-subrc check.
based on the contents of sy-subrc give the error message.
‎2006 Nov 20 11:13 AM
hi,
it is not possible to find the run time errors in application server while writing the file.using sy-subrc only we can find out. where it is writing correctly like this.
we can see all the application server files in this Tcode: AL11