DATA : splitter_1 TYPE REF TO cl_gui_splitter_container,
splitter_2 TYPE REF TO cl_gui_splitter_container,
container TYPE REF TO cl_gui_custom_container,
container_1 TYPE REF TO cl_gui_container,
container_2 TYPE REF TO cl_gui_container,
container_3 TYPE REF TO cl_gui_container. DATA : it_mara TYPE TABLE OF mara,
it_makt TYPE TABLE OF makt,
it_mseg TYPE TABLE OF mseg,
c_container TYPE scrfname VALUE 'ccontainer',
grid1 TYPE REF TO cl_gui_alv_grid,
grid2 TYPE REF TO cl_gui_alv_grid,
grid3 TYPE REF TO cl_gui_alv_grid.
**fetching the three tables SELECT * FROM mara INTO TABLE it_mara UP TO 100 ROWS. SELECT * FROM makt INTO TABLE it_makt UP TO 3 ROWS. SELECT * FROM mseg INTO TABLE it_mseg UP TO 4 ROWS.
*&---------------------------------------------------------------------* *& Form CREATE_SPLITTER_1 *&---------------------------------------------------------------------* * text *----------------------------------------------------------------------* * --> p1 text * <-- p2 text *----------------------------------------------------------------------* FORM create_splitter_1 .
ENDFORM. " CREATE_SPLITTER_1 *&---------------------------------------------------------------------* *& Form CREATE_SPLITTER_2 *&---------------------------------------------------------------------* * text *----------------------------------------------------------------------* * --> p1 text * <-- p2 text *----------------------------------------------------------------------* FORM create_splitter_2 .
ENDFORM. " CREATE_SPLITTER_2 *&---------------------------------------------------------------------* *& Form DISPLAY_GRID1 *&---------------------------------------------------------------------* * text *----------------------------------------------------------------------* * --> p1 text * <-- p2 text *----------------------------------------------------------------------* FORM display_grid1 .
ENDFORM. " DISPLAY_GRID1 *&---------------------------------------------------------------------* *& Form DISPLAY_GRID2 *&---------------------------------------------------------------------* * text *----------------------------------------------------------------------* * --> p1 text * <-- p2 text *----------------------------------------------------------------------* FORM display_grid2 .
ENDFORM. " DISPLAY_GRID2 *&---------------------------------------------------------------------* *& Form DISPLAY_GRID3 *&---------------------------------------------------------------------* * text *----------------------------------------------------------------------* * --> p1 text * <-- p2 text *----------------------------------------------------------------------* FORM display_grid3 .
Social Plugin