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

Former Member
0 Likes
735

Hi,

I'm developing an interactive ALV with REUSE_ALV_LIST_DISPLAY

form call_ucommand

using ucomm like sy-ucomm

selfield type slis_selfield.

if ucomm eq 'DALL'

---

-


-


selfield-refresh = 'X'.

call fiunction REUSE_ALV_LIST_DISPLAY.

elseif ucomm eq 'RQMS

--

-


-


selfield-refresh = 'X'.

call function REUSE_ALV_LIST_DISPLAY.

elseif ...............

.....

endif.

endform.

In the output if i use for example say 5 buttons for different operations, while going back (using F3) to selection screen i'm getting the latest screen five times. How to avoid this and go directly to selection screen? (Note: I'm already using selfield-refresh = 'X'.)

regards,

Ravi Valluri

1 ACCEPTED SOLUTION
Read only

uwe_schieferstein
Active Contributor
0 Likes
520

Hello Ravi

If you set SELFIELD-REFRESH = 'X' in your USER_COMMAND routine that is sufficient for the list refreshing. If you call the fm again you have a kind of "secondary" list. Doing this 5 times you end up with 5 "secondary" lists.

Regards

Uwe

4 REPLIES 4
Read only

Former Member
0 Likes
520

Hi Ravi,

Do not call reuse_alv_list_display. If you want to display selection screen after pressing BACK button any point of time then re sb,it the sale program using statement SUBMIT.

--Deepak

Read only

uwe_schieferstein
Active Contributor
0 Likes
521

Hello Ravi

If you set SELFIELD-REFRESH = 'X' in your USER_COMMAND routine that is sufficient for the list refreshing. If you call the fm again you have a kind of "secondary" list. Doing this 5 times you end up with 5 "secondary" lists.

Regards

Uwe

Read only

0 Likes
520

Hi Uwe Schieferstein ,

Thank you very much. Your idea works fine.

Regards,

Ravi Valluri

Read only

0 Likes
520

Hi Uwe,

I'm hiding a column of list display by modifying field catalogue (fcat-tech = 'X').

With selfield-refresh = 'X', the list is not getting refreshed, i'm getting the same old list with that field.

regards,

Ravi