Application Development 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: 

Write file to application server in background

Former Member
0 Kudos

Hi,

I am writing the file on to applicaton server in my program. When I run the program in foreground file is written successfully.

But when I run the program in Background file is not written.

I have debugged the program while running in the background. File was opened successfully. Transfer was successful.

But when I check the same in AL11, file is not displaying.

Can any one help me on this?

Thanks and Regards,

Shravan G.

5 REPLIES 5

Former Member
0 Kudos

That sounds strange. Are you sure you are pasiing the correct filename ?

Former Member
0 Kudos

File name depends upon the current date and current time.

Like file name would be: REPORTNAME_20100506_111212.csv

0 Kudos

Hi

Maybe the file name is too long..

can you paste the code that you use for save the file?

regards

Marco

Former Member
0 Kudos

Hi,

Does your system have multiple application servers? It may be that the batch process ran on one server and your dialog session looking at AL11 is running on another.

Regards,

Nick

kiran_k8
Active Contributor
0 Kudos

I am also facing a similar kind of issue.File transfer to app server in debugging it is fine and I am also able to see the file but when executed directly from the background option it is not.Only a few lines are getting transferred not the entire file.

K.Kiran