Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error message from Application Server

Former Member
0 Likes
450

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,

2 REPLIES 2
Read only

Former Member
0 Likes
391

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.

Read only

Former Member
0 Likes
391

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