![]() Note that the IS_VARIANT parameter must have the structure DISVARIANT. ![]() To do this use the parameters IS_VARIANT and I_SAVE of the set_table_for_first_display method. ![]() See also example in SAP standard program BCALV_GRID_09. * Load data into the grid and display themĬALL METHOD go_grid->set_table_for_first_displayĪllow the user to save and reuse the layoutĪ button can be shown on the grid toolbar, allowing the user to save and reuse a layout. Go_custom_container TYPE REF TO cl_gui_custom_container.ĮXPORTING container_name = ‘ALV_CONTAINER’. * Declare reference variables to the ALV grid and the container * G L O B A L I N T E R N A L T A B L E SĭATA: gi_sflight TYPE STANDARD TABLE OF sflight. Give it the text Exit and the functioncode EXIT Create a screen (100) and place a custom container named ALV_CONTAINER on the screen.The table is equivalent to the table SFLIGHT. Note that this example uses table ZSFLIGHT. Simple example of how to implement an ALV grid
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |