02-28-2007 2:32 PM
Hi all,
I have tried to search an existing post to solve this ALV problem, with key words 'ALV' and 'refresh', but I don't find the good one... so sorry if the problem have already been solved.
<u>An example of the problem and process should be more clear than words :</u>
1) CALL ALV
CALL METHOD grid1->set_table_for_first_display
EXPORTING
is_layout = gs_layout
is_variant = gs_variant "&see below
i_save = x_save "&see below
I_BYPASSING_BUFFER = 'X'
CHANGING
it_outtab = t_zppegam[]
it_fieldcatalog = GT_field_cat_entete[].
2) User edit values from cells from ALV.
For example, insert a new line with '+' button, and <u>fills each cells</u>.
3) The problem is that at the beginning of the PAI
there is a blank line into internal table t_zppegam,
instead of the line with the data filled into cells ALV by user
3') Internal table t_zppegam have the good data only if user clik on the button refresh of ALV, before go throw PAI.
Have any suggestions? Thank you for your help.
Best Regards,
Tony.
02-28-2007 2:53 PM
Hi all,
I have just solved my problem...
I have found this one into SE38 / BCALV_GRID_EDIT fifth program.
data: l_valid(1) type c.
call method grid1->check_changed_data importing e_valid = l_valid.
Tony