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

refresh/init ALV block list display

former_member671224
Participant
0 Likes
680

Hi,

Im using ALV block list to display output. Based on user action im regenarating one table(block).ie., adding one new record to that table. And need to display the report with new blocks(with newly added record). If I try to display the output list once again using same subroutine which i used to display initial list, the next one is displayed as second list and when i go back the initial list is still displayed. I shoud not get that initial list. From secondary list i have to go to selection screen. I tried by syst-lsind = 0 and function modules REUSE_ALV_BLOCK_LIST_REFRESH, REUSE_ALV_BLOCK_LIST_INIT. But nothing working as i need.

Can anyone help me how to do this? And one more thing im not using container since the list should be displayed without any scroll bar.

Thanks,

Amal

Hi,

Im using ALV block list to display output. Based on user action im regenarating one table(block).ie., adding one new record to that table. And need to display the report with new blocks(with newly added record). If I try to display the output list once again using same subroutine which i used to display initial list, the next one is displayed as second list and when i go back the initial list is still displayed. I shoud not get that initial list. From secondary list i have to go to selection screen. I tried by syst-lsind = 0 and function modules REUSE_ALV_BLOCK_LIST_REFRESH, REUSE_ALV_BLOCK_LIST_INIT. But nothing working as i need.

Can anyone help me how to do this? And one more thing im not using container since the list should be displayed without any scroll bar.

Thanks,

Amal

3 REPLIES 3
Read only

Former Member
0 Likes
595

To go back to selection screen you can do by call screen 1000.

Read only

Former Member
0 Likes
595

Hi Amal,

Use command LEAVE LIST-PROCESSING.

hope this will help you.

Regards,

Phani.

Read only

former_member671224
Participant
0 Likes
595

using user-command, captured the UCOMM for back button and used leave to screen 0.