Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
I was going to suggest the same thing, beat me to the punch. Try the following method: CALL METHOD ob_grid_1->refresh_table_display. ---------------Original Message--------------- From: kathyamion Sent: Sunday, October 03, 2010 10:22 PM Subject: CALL METHOD ob_grid1->set_table_for_first_display does not change values > Dear experts, > > I'm using CALL METHOD ob_grid1->set_table_for_first_display, during the first run the display is ok. > When I back to screen 0 and enter different values and re-run, the values of internal table has been changed. > But the second run still display the values I have during the first run. What could be the reason for this and how to solve this? Thanks. > FREE: ob_split1, > ob_grid1, > ob_custom1. > > IF ob_custom1 IS INITIAL. > CREATE OBJECT ob_custom1 > EXPORTING > container_name = 'ALV_CONTAINER'. > ENDIF. > IF ob_split1 IS INITIAL. > CREATE OBJECT ob_split1 > EXPORTING > parent = ob_custom1 > orientation = cl_gui_easy_splitter_container=>orientation_vertic al. > ENDIF. > IF ob_grid1 IS INITIAL. > CREATE OBJECT ob_grid1 > EXPORTING > i_parent = ob_split1->top_left_container. > > PERFORM build_fieldcatalog. > > gs_layout1-info_fname = 'ROWCOLOR'. > gs_layout1-smalltitle = 'X'. > > CALL METHOD ob_grid1->set_table_for_first_display > EXPORTING > i_structure_name = 'T_REPORT' > is_layout = gs_layout1 > CHANGING > it_outtab = T_REPORT > it_fieldcatalog = alv_fcat_dock1. > ENDIF. > > Kath | __.____._ Copyright © 2010 Toolbox.com and message author. Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251 | | _.____.__ |