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: 

File not generated in Background job

neelammourya
Discoverer
0 Kudos
305

Hi All,

I am running a program in background which generate 2 file in application server. The issue is first file is generated successfully every time but the second file is not generating sometime.

And If I debug the background job there is no error and second file is also generated successfully.

In foreground all the file is getting generated in Application server. And this problem exists only in QA system.

Thanks,

Neelam .

3 REPLIES 3

fprokopiuk
Active Participant
226

Hi Neelam, have you tried checking logs in SM37 transaction?

raymond_giuseppi
Active Contributor
0 Kudos
226

Look in job log SM37 and system log SM21, if the problem comes from you code (which doesn't wait enough for some previous update for example) we won't be able to help you.

You should add some error handling in your program, seems you may have forgotten to handle some errors?

Sandra_Rossi
Active Contributor
0 Kudos
226

If your ABAP code is done right, the issue is possibly that you have a QAS with 2+ application servers (look at SM51 in QAS) with 1 which has a wrong mapping of its folders to the network folder. It's something already discussed in the forum, only the administrators can fix that.

If you have only 1 AS in QAS, and if you don't have a serious issue with your server/network, it's an ABAP error.