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

Former Member
0 Likes
375

I have one baisc list and 5 detailed list in the report we want to go back frm list 5 to list 2 how we will do.

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
353

hi Nagini,

i assume that you need to go back to the second list when you press the back button in list 5...right?

AT USER-COMMAND.

case sy-ucomm.

when 'BACK'.

if sy-lsind = 5.

sy-lsind = 2.

endif.

endcase.

hope this helps.

Sajan.

3 REPLIES 3
Read only

Former Member
0 Likes
353

use sy-lsind which stores the list number.

create a button and u can navigate to different lists backwards.

santhosh

Read only

Former Member
0 Likes
354

hi Nagini,

i assume that you need to go back to the second list when you press the back button in list 5...right?

AT USER-COMMAND.

case sy-ucomm.

when 'BACK'.

if sy-lsind = 5.

sy-lsind = 2.

endif.

endcase.

hope this helps.

Sajan.

Read only

Former Member
0 Likes
353

THANKS FOR SPONBTANEOUS REPLY.