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

File not created in application server

Former Member
0 Likes
1,932

Hi All,

I have to create a file in the application server for this i have coded as

OPEN DATASET G_PATH2 FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.

when i am creating the file in the foreground, it is creating the file, but the same thing when i am setting the back ground job for the program in which i have to create the file using OPEN DATASET, i am not able to create the file. I am getting the error message "File /usr/sap/BI_ARF/ABC.txt is not downloaded to Application Server" in my job log.

Pls help to resolve the issue.

Thanks,

Raju

Hi All,

I have to create a file in the application server for this i have coded as

OPEN DATASET G_PATH2 FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.

when i am creating the file in the foreground, it is creating the file, but the same thing when i am setting the back ground job for the program in which i have to create the file using OPEN DATASET, i am not able to create the file. I am getting the error message "File /usr/sap/BI_ARF/ABC.txt is not downloaded to Application Server" in my job log.

Pls help to resolve the issue.

Thanks,

Raju

5 REPLIES 5
Read only

Former Member
0 Likes
1,175

Hi Raju,

first cross check the file existance in the application server using tcode AL11.

if the file doesn't exist than debug the report & try creating the file using binary mode..

let me know if the issue still persist...

Regards

Ravi

Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
1,175

Hi,

Refer:

Hope they help you.

Regards,

Tarun

Read only

Former Member
0 Likes
1,175

Hi Raju,

Please refer the link below for the detailed solutions to your problem.

[Error in downloading file to Application Server in background|http://itknowledgeexchange.techtarget.com/itanswers/download-text-file-in-background/]

Regards,

Swapna.

Read only

former_member242255
Active Contributor
0 Likes
1,175

check whether the filename formation code is being given with the correct input filepath when ran in background.

Read only

uwe_schieferstein
Active Contributor
0 Likes
1,175

Hello Raju

The major difference between dialog vs. background is apparently the user.

Therefore, in order to exclude any authorization issues I would do the following "smoke" test:

- Run the dialog program with the user used for the background job

Regards

Uwe