Code: Alles auswählen.
IF CL_GUI_ALV_GRID=>offline( ) is initial.
create Ojbect ....
endif.
Code: Alles auswählen.
IF CL_GUI_ALV_GRID=>offline( ) is initial.
create Ojbect ....
endif.
Code: Alles auswählen.
...
data: g_tab_sflight type table of sflight,
g_container type scrfname value 'CUST_CONTAINER', " Dynpro 0100
g_alv_grid type ref to cl_gui_alv_grid,
g_cust_container type ref to cl_gui_custom_container,
g_dock_container type ref to cl_gui_docking_container.
...
*---------------------------------------------------------------------*
* MODULE PBO OUTPUT *
*---------------------------------------------------------------------*
module pbo output.
set pf-status 'XXXXXXXX'.
if g_cust_container is initial.
if cl_gui_alv_grid=>offline( ) is initial.
* ONLINE
create object g_cust_container
exporting
container_name = g_container.
* Erzeugen ALV-Grid
create object g_alv_grid
exporting
i_parent = g_cust_container.
else.
* Hintergrund
create object g_alv_grid
exporting
i_parent = g_dock_container.
endif.
* Ausgabe ALV
call method g_alv_grid->set_table_for_first_display
exporting
i_structure_name = 'SFLIGHT'
changing
it_outtab = g_tab_sflight.
endif.
Folgende Benutzer bedankten sich beim Autor gecco für den Beitrag:
a-dead-trousers
Amen!c oco hat geschrieben:dein Beispiel funktioniert insofern, dass es nicht zu einem Dump kommt aber letzten Endes habe ich keine Ausgabe.
Folgende Benutzer bedankten sich beim Autor Tron für den Beitrag:
a-dead-trousers