Application Development 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: 

How to go to previous pages using AT LINE-SELECTION

Former Member
0 Kudos

Using AT LINE-SELECTION we can move on to next page up to 20 pages.

Is it possible to go navigate to the previous pages?

Letu2019s say, now I am in 15th page. I have to go to 5th page from 15th.

Any comments appreciated.

6 REPLIES 6

Former Member
0 Kudos

By Changing the value of SY-LSIND.

Former Member
0 Kudos

hi,

yes u can move from 15 to 5th page by pressing back button for 9 times.

if yu wanna move directly from 15 to 5 by a single click, then u need to implement seperate logic for that.

Revert back if any issues.

regards

Naveen

Former Member
0 Kudos

hiii

you can use like below

if sy-lsind eq 15.
sy-lsind = 5.
endif.

regards

twinkal

Former Member
0 Kudos

Hi,

set your list index = 5 when u reach list 15.

case:
when Sy-lsind = 15.
   sy-lsind = 5.

thanks,

Former Member
0 Kudos

change the value of sy-lsind from 15 to 5

this will make u go from 15th page to 5th page.

praveen_kumar132
Participant
0 Kudos

Hi,

Use System Variable SY-LSIND in the Event AT LINE-SELECTION .

inside CASE SY-LSIND.

WHEN 15.

SY-LSIND = 5.

ENDCASE.