Skip to Content
0
Former Member
Feb 28, 2007 at 02:32 PM

ALV - Maybe a NEW problem to get changed data, after input from ALV

16 Views

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.