‎2008 Nov 13 10:26 AM
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
‎2008 Nov 13 11:12 AM
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
‎2008 Nov 13 11:03 AM
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
‎2008 Nov 13 11:12 AM
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
‎2008 Nov 13 12:18 PM
Hi Uwe Schieferstein ,
Thank you very much. Your idea works fine.
Regards,
Ravi Valluri
‎2008 Nov 13 12:54 PM
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