‎2014 Nov 07 10:15 AM
I have made the custom transaction similar to the transaction "CA97". My requirement is to execute this custom program in the background mode (Background job). I am able to run it in the foreground. Please help me to resolve the issue. Thanks in advance.
‎2014 Nov 07 10:29 AM
Goto SE38 and give the program name and click on Program->Execute->Background.
Provide the variant and click on Job-> Execute immediately.
Go to transaction SM37 and check whether the job was executed successfully or not.
‎2014 Nov 07 10:38 AM
Hi,
Please create the job in sm36 for the custom program and shedule the job either periodically or immedeiatly.
Please check the jobs in sm36 using ownjob option.
Thansk & Regards,
Sree
‎2014 Nov 07 10:39 AM
Hi,
Have you only created a tcode or also developed a program related to it.
If you have also developed a program, in report you can add validation of sy-batch to execute this report only in background mode.
Regards,
Pravin
‎2014 Nov 07 10:54 AM
I have tried all the options. But I would like to mention that it is a module pool program. I have also created an executable program with the selection screen same as "CA97" and then called the custom CA97 program. It is working perfectly fine in foreground mode. But when I execute it in background mode it is going in an infinite loop.
‎2014 Nov 07 11:13 AM
Schedule your job as usual and can you try to debug in using SM51(Work process level) to find how the looping happening.
Regards,
Vadamalai A