2011 Oct 16 10:11 AM
Hi,
I have written code to upload some data to Appln server(AL11). When i execute in foreground, file is creating. But wen i execute in background, i couldnt find that file in the path which i have given.
Since we cant debug the program in Background, i dont know whether OPEN DATASET returns SUBRC = 0 or not. I even checked with the Path thr AL11. The same path is accessible too..
Plz help me out for this.
Thanks,
Ramesh
2011 Oct 16 2:23 PM
Ramesh,
You can debug a background job.
go to sm37 and select the job and type /JDBG in the command prompt.
search in sdn on how to debug a background job
Thanks
Bala Duvvuri
2024 Jul 10 4:57 PM
Your system has more than one application server. When you run the process in debug mode, the system generates the file on the same app server, and you can see it in AL11. But, in the background, it's dynamic.
To check the file, open TCODE SM51, go to each app server, and check AL11. You will find the file in AL11 on one of the app servers.