‎2007 Feb 19 11:02 AM
Guyz,
I have a report 1 and report 2.....i'm calling report 2 in report 1 thru FM K_BATCH_REQUEST so that report 2 will be scheduled as a background job... funny observation i found is if we run report 1 in foreground, report 2 will be scheduled in background as expected and job will be finished with in expected time and results. But when i schedule report 1 in background with the same variant, job is getting cancelled ....
i monitored the report 2 background job sessions when report 1 is ran in foreground and background..difference i found is in former case, SM51 process showed 'report 2' name, but in latter SM51 process showed SAPLKABA (function module's main program) for about 5-10 minutes and it vanished .....after a while job got cacelled ....
anyone faced such scenario with this FM ?
I suspect its to do with this FM ....
any pointers will be appreciated and points will be awarded promptly ...
Thanks
‎2007 Feb 19 3:15 PM
‎2007 Feb 19 3:16 PM
‎2007 Feb 20 9:44 PM
its simple....FM has got a flag which determines a 'Call screen' dialog due to which background job isnt working....i've adjusted accordingly and is working fine.....thanks for ur time anyways