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: 

why the background job for downloading file failed?

Former Member
0 Kudos

I have a background job for downloading file with logical path.

with

'OPEN DATASET l_out_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT';

Now, the program can be run in foreground;but when it running on background, it shows 'open file error'.

I do not know what happen?

Please help ~~

1 ACCEPTED SOLUTION

former_member223537
Active Contributor
0 Kudos

Hi,

The logical path you have provided might be incorrect or you might not have the necessary authorization to read/write on that folder.

Please check the folder in transaction AL11 & check whether you have the authorization to read/write. BASIS consultant would be able to tell you about it.

Best regards,

Prashant

4 REPLIES 4

former_member223537
Active Contributor
0 Kudos

Hi,

The logical path you have provided might be incorrect or you might not have the necessary authorization to read/write on that folder.

Please check the folder in transaction AL11 & check whether you have the authorization to read/write. BASIS consultant would be able to tell you about it.

Best regards,

Prashant

0 Kudos

I think the logical path is correct,because the program can work on foreground;

variant is same between foreground and backfround

Former Member
0 Kudos

Hi Ping,

Try and put the file name in single quotes and the probme might get resolved.

In case you have any further clarifications,do let me know.

Regards,

Puneet Jhari.

Former Member
0 Kudos

Thank you ererybody~

Basis guys had found that there is something wrong wiht logical path's configuration.