‎2010 Aug 18 4:04 PM
Hi,
i have a batch program in isu module, batch using eg32 trans.
And have problem in this batch program.
The problem is that program is running in foreground ok, without any problem and does what it is expexted.
However when it is run in background it process and consumes time but do not do the necessary job.
And again when i tried to run the program in foreground with the same items of the one run at background, it does what is expected.
I did not understand this issue?
What could be the problem, why running in foreground and not running in background?
Thanks for your valueable helps.
‎2010 Aug 18 6:28 PM
In background, how are you providing the selection screen input values?
‎2010 Aug 18 6:28 PM
In background, how are you providing the selection screen input values?
‎2010 Aug 18 7:20 PM
Hi ,
there are two things to do i hope, first one is you can debug the back ground job using the command JDBG .
second one is you can place messages in the back ground using sy-batch and check the program status in the job.
if sy-batch = 'X'.
message s000 with 'Records extraction started from the table '', v_table.
endif.
select.........
if sy-batch = 'X'.
message s000 with 'the number of records extracted is '', v_tabix.
endif.
‎2010 Aug 18 8:27 PM
Hi,
This may happend for many reason. Here I'm giving a few which may help you.
1. If your program uploading/ downloading files from Application server then check you have the read authorization. Then you can check this program with other user id.
2. If you are working with doing some BDC or call transaction then screen may comes if different way. Then you need to do recordingly.
3. Ther may some function module which is working in differentway for background.
If all the above are not a problem then you can parallely run the same program in two session, in one session make SY_BATCH as X. Thenm you can check difference.
Thanks
Subhankar