Problem with background execution - DYNPRO_NOT_FOUND
When I am executing a ALV report in foreground with a variant, the output is coming fine in a couple of seconds.
But when I am scheduling the same report with same variant in background - the job is taking long time and getting cancelled with the message that
<b>"ABAP/4 processor: DYNPRO_NOT_FOUND"</b> .
Could anyone please comment on why this is happening and how to avoid this.