07-19-2007 10:18 AM
Hi All,
I am working on a interactive OOALV, where I am using the handle_double_click event to get the details of a particular cell. When i go back to the original screen
and double click a different cell, in debugging mode I was able to get the correct values, but on the output it is only showing the previous value.
I am using the method set_table_for_first_display only to display the values.
Your inputs will be a great help to me.
Thanks in Advance.
Sudha
07-19-2007 10:26 AM
Hi Sudha ,
Are you changing the values of the table you are passing to the second screen.
And my sugestion wold be to use the method set_table.... only once after that just use the method refresh_table_display.
Do revert back in case of any further queries.
Regards
Arun
07-19-2007 11:36 AM
Hi,
In PBO module, include this as the last statement:
call method grid->refresh_table_display.
In PAI module, include this as the FIRST statement:
call method grid->check_changed_data.
07-19-2007 5:11 PM
Hi,
Try to do in PBO as follow.
<b> IF custom_container IS INITIAL.
CREATE OBJECT custom_container
EXPORTING
container_name = cont_on_100.
CREATE OBJECT grid
EXPORTING i_parent = custom_container.
CALL METHOD grid1->set_table_for_first_display
EXPORTING is_layout = gs_layout
CHANGING it_fieldcatalog = it_fieldcat
it_outtab = ti_arquivo[]
it_sort = isort1[].
ELSE.
CALL METHOD grid->refresh_table_display.
ENDIF.</b>
Regards.
Marcelo Ramos
07-19-2007 6:00 PM
hi,
call the method refresh_table_display to refresh the values which are displayed on grid.........
<b>syantax:</b>
CALL METHOD grid->refresh_table_display.
in the above statement <grid> is the instance of the class CL_GUI_ALV_GRID.
the above method has no mandatory parameters.
now you call the event handler method for getting the exact cell values.
regards,
Ashok Reddy
07-20-2007 4:20 AM