Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

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