Application Development and Automation 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: 
Read only

Dump with K_BATCH_REQUEST

Former Member
0 Likes
647

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

3 REPLIES 3
Read only

Former Member
0 Likes
554

come on guyz ...... isn't there anyone who can help me ?

Read only

0 Likes
554

I think i found something.....i'll update u guyz aswell....

Read only

0 Likes
554

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