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-> REFRESH_TABLE_DISPLAY

Former Member
0 Kudos

Hello Guys,

I have an ALV Grid with an editable field. By changing this value, we recalculated the value of another column of AVL automatically. This happens right on the inner table, but are reflected in the Grid if the method I Execultar: ALV-> REFRESH_TABLE_DISPLAY.

It turns out that this method makes the focus go to the first record of the ALV.

Does anyone know how to avoid this effect?

5 REPLIES 5

huseyindereli
Active Contributor

Hi Ricardo ,

Try calling method like below ;

DATA  :        gs_stbl type lvc_s_stbl .

** Row,Col Stable
  gs_stbl-row = 'X'.
  gs_stbl-col = 'X'.

    call method go_alv->refresh_table_display
      exporting
        is_stable = gs_stbl.

Regards

0 Kudos

Thanks Hüseyin Dereli

It worked right now!

0 Kudos

You're welcome Ricardo.

0 Kudos

> Thanks Hüseyin Dereli

>

> It worked right now!

So please appreciate his help and also close the thread.

Regards

Marcin

0 Kudos

Ricardo,

Please don't appreciate people who didn't contribute to final anwser - myself. I would be glad then if you undo my rewarding.

Thanks

Marcin