Application Development and Automation 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: 
Read only

ALV-> REFRESH_TABLE_DISPLAY

Former Member
0 Likes
9,711

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
Read only

huseyindereli
Active Contributor
2,705

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

Read only

0 Likes
2,705

Thanks Hüseyin Dereli

It worked right now!

Read only

0 Likes
2,705

You're welcome Ricardo.

Read only

0 Likes
2,705

> Thanks Hüseyin Dereli

>

> It worked right now!

So please appreciate his help and also close the thread.

Regards

Marcin

Read only

0 Likes
2,705

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