‎2009 Nov 02 12:29 PM
Hi all,
I have an ALV report done using object oriented functionality.
When I am trying to run that report in background , it is giving me error.
I want to know why it is happening and how it can be corrected.
Regards,
Vaibhav.
‎2009 Nov 02 12:34 PM
‎2009 Nov 02 12:33 PM
Create a docky container :
c_docking_cont TYPE REF TO cl_gui_docking_container.
*For background execution
IF sy-batch EQ c_x.
CREATE OBJECT c_alv
EXPORTING
i_parent = c_docking_cont.
ENDIF.
ALV for display field details
CALL METHOD c_alv->set_table_for_first_display
EXPORTING
is_layout = t_lay
CHANGING
it_outtab = t_table[]
it_fieldcatalog = t_field_cat.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Edited by: Madhavi t on Nov 2, 2009 1:34 PM
‎2009 Nov 02 12:34 PM
‎2009 Nov 02 12:40 PM
This is an old question, look at thread
IF cl_gui_alv_grid=>offline( ) IS INITIAL.
CREATE OBJECT or_custom_container " cl_gui_custom_container
EXPORTING container_name = c_container.
CREATE OBJECT or_grid
EXPORTING i_parent = or_custom_container.
ELSE .
CREATE OBJECT or_grid
EXPORTING i_parent = or_doc . " cl_gui_docking_container
ENDIF .Regards,
Raymond
‎2010 Jan 20 7:09 AM
Hi Raymond,
I have an issue with docking container. I have to show two different report on same screen using Docking container in OO ALV in Background. When I am defining proerties while creating docking then I am getting Error i.e. GUI cannot be reached.
Is that possible to show tow different reprot in same screen in Background.
Other option I have to use Classical report.
Thanks in Advance,
Regards
Sachin