10-16-2009 9:38 PM
Hi all,
I am using REUSE_ALV_GRID_DISPLAY_LVC to display output of the program, this runs correct in foreground but the same when we run the program in background we are getting
Control Framework: Fatal error - GUI cannot be reache
Job cancelled after system exception ERROR_MESSAGE
Kindly let me know the solution for the same.
Thanks and Regards
Sudharshan
10-16-2009 9:50 PM
Well, it's telling you what the problem is. The GUI is not available in the background, so you have to do something else. You could test sy-batch and use REUSE_ALV_LIST_DISPLAY in the background.
Rob
10-17-2009 3:12 PM
You can use the docking container.
The docking container doesn't need any of the custom controls on the screen; instead it attaches an area to any or all of the four edges of the screen (top, left, right or bottom).
Example:
data: C_doc type ref to cl_gui_docking_container .
create object alv_grid
exporting i_parent = c_doc .