‎2005 Oct 06 12:09 PM
Hi to all,
Situation:
I have created a transaction which uses a lot of
Grids bases on class: CL_GUI_ALV_GRID.
Problem:
Now I want to create initial data calling this transaction in BACKGROUND-TASK!
Error:
If I do this, following error occurs:
Control Framework: Fatal error - GUI cannot be reached
How can I avoid this error?
Thanks a lot in advance
Michael
‎2005 Oct 06 12:36 PM
Hi,
insert foll. lines before starting grid:
CALL METHOD cl_gui_alv_grid=>offline
RECEIVING e_offline = off.
IF off IS INITIAL.
CREATE OBJECT g_custom_container
EXPORTING container_name = g_container.
ENDIF....
Andreas
‎2005 Oct 06 12:36 PM
Hi,
insert foll. lines before starting grid:
CALL METHOD cl_gui_alv_grid=>offline
RECEIVING e_offline = off.
IF off IS INITIAL.
CREATE OBJECT g_custom_container
EXPORTING container_name = g_container.
ENDIF....
Andreas
‎2005 Oct 06 12:57 PM
Thanks a lot for Your solving,
i have done similar to your suggestion.
I am checking SY-BATCH <> 'X', before
creating the controls.
But anyway, your way is much more elegant!
BR
Michael
‎2005 Nov 23 8:12 PM
I am facing this error when i call my Remote Function module from WebDynpro application. In side the remote function module i am performing a BDC using CAll Transaction. From SE37 it works fine. When i call it from WebDynpro it gives the above error.
Can you please help me?