Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DATA:
- * Custom_container TYPE REF TO cl_gui_custom_container,
- * alv_grid TYPE REF TO cl_gui_alv_grid,
- sc TYPE table of scustom,
- ok_code TYPE sy-ucomm.
- Set Screen 100.
- *START-OF-SELECTION.
- * Ruft die Funktion auf - Mann kann es auch in User Commands schreiben
- PERFORM GET_DATA.
- PERFORM DISPLAY_DATA.
- *PERFORM clean_up.
- * --------------------------------------------------------------------
- form get_data .
- select * from scustom into table sc.
- endform.
- form display_data .
- CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
- EXPORTING
- I_CALLBACK_PROGRAM = 'SY-REPID'
- i_structure_name = 'SCUSTOM'
- TABLES
- T_OUTTAB = sc.
- endform.
- *form clean_up.
- *CALL METHOD custom_container->free.
- *Clear:
- *alv_grid.
- *endform.
- * User Commands
- INCLUDE zddevd966_pruefung_2018_3_ui01.
- * Menu
- INCLUDE zddevd966_pruefung_2018_3_so01.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement