‎2010 Mar 22 1:46 PM
HI Consultants
I have a ALV report to be run in background. The ALV here is called using the CALL SCREEN statement.
I hear its not possible to run a CALL SCREEN statement in background. Is that so?
Here i am getting the error as : ->
control framework: fatal error -> gui cannot be reached
Is there any way this can be run in background?
Please advise.
Regards
Saurabh.
‎2010 Mar 22 2:49 PM
Hi Saurabh, <li> We can't run ALV with control frame work as background job. I mean ALV grid control using CL_GUI_ALV_GRID. But you can run ALV with function modules. Thanks Venkat.O
‎2010 Mar 22 2:27 PM
‎2010 Mar 22 2:41 PM
Hi
You can't run ALV report in background.
Just use writing to spool (write statement for example)
Best Regards
Yossi
‎2010 Mar 22 2:49 PM
Hi Saurabh, <li> We can't run ALV with control frame work as background job. I mean ALV grid control using CL_GUI_ALV_GRID. But you can run ALV with function modules. Thanks Venkat.O
‎2010 Mar 22 3:02 PM
As mentioned OO ALV cannot implicitly handle the background mode scenario like the REUSE* func. modules.
But you have to explicitly code to handle this. Please refer to this discussion for further info:
‎2010 Mar 22 3:13 PM
Discussion links were useful. In my case the ALV is in OO, so that seems to be the problem for the backgrond mode.
Thanks all for your kind attention.
Regards
Saurabh.