2007 Apr 13 1:51 PM
Hi All,
'A spool for GRID type ALV cannot be generated.'
Going by this, does it mean that when a grid type ALV is submitted for a spool, it wud give just a ALV list display?
OR, just that the spool will not take a grid type ALV at all.
Thanks.
Hi All,
'A spool for GRID type ALV cannot be generated.'
Going by this, does it mean that when a grid type ALV is submitted for a spool, it wud give just a ALV list display?
OR, just that the spool will not take a grid type ALV at all.
Thanks.
2007 Apr 13 1:54 PM
In spool you can not get the Grid ALV ...
it is basically meant for the external communication...
Hope this gives you the perfect answer,
Assign reward points if it helps.
-Gaurang
2007 Apr 13 2:35 PM
Hi,
Change your code like below , it will work in background case also.
DATA :o_grid TYPE REF TO cl_gui_alv_grid,
o_container TYPE REF TO cl_gui_custom_container,
o_dock_container TYPE REF TO cl_gui_docking_container.
* IF sy-batch IS INITIAL. "Foreground Option
* CREATE OBJECT o_container
* EXPORTING
* container_name = 'CONTAINER'.
* CREATE OBJECT o_grid
* EXPORTING
* i_parent = o_container.
* i_appl_events = 'X'.
*
* ELSE. "Background
*
* CREATE OBJECT o_grid
* EXPORTING
* i_parent = o_dock_container.
* IF sy-subrc NE 0.
* ENDIF.
*
* ENDIF.Regards
L Appana