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

Interactive Reports

Former Member
0 Likes
913

Hi All,

Can anyone send me the code for directly jump from 5(letanyone) list to basic list.

Points will be rewarded.

regards

Harpreet

10 REPLIES 10
Read only

Former Member
0 Likes
888

Hi Harpreet,

Specify your SY-LSIND as 0.The SY-LSIND value for basic list is 0 and for interactive lists SY-LSIND starts from 1 to 18.

The below code may help you in solving problem.

<b>AT LINE-SELECTION.

IF SY-LSIND = 4.

SY-LSIND = 0."Is comes to BasicList

ENDIF.</b>

Thanks,

Vinay

Read only

Former Member
0 Likes
888

Hi harpreet,

1. use the system variable SY-LISTI

2. SY-LISTI = 1.

regards,

amit m.

Read only

Former Member
0 Likes
888

In At line-selection. event

write this code

sy-lsind = 4. " Pass list number

regards,

ravi

Read only

Former Member
0 Likes
888

Hi harpreet,

1. use the system variable SY-LISTI

2. SY-LISTI = 1.

regards,

amit m.

Read only

Former Member
0 Likes
888

In At line-selection. event

write this code

sy-lsind = 4. " Pass list number

regards,

ravi

Read only

Former Member
0 Likes
888

In At line-selection. event

write this code

sy-lsind = 4. " Pass list number

regards,

ravi

Read only

Former Member
0 Likes
888

hi Harpreet

clear sy-lsind.

or sy-listi = 1.

similarly, you can jump to any list by assigning the list value to sy-lsind.

Regards

Navneeth

Read only

Former Member
0 Likes
888

Hi,

Use sy-lsind system variable.

set the lsind to 0

sy-lsind = 0.

Regards

vijay

Read only

Former Member
0 Likes
888

Hi again,

1.

BASIC LIST

1

2

3

4

5

-


NOW DOUBLE-CLICK

BASIC LIST

2. jUST COPY paste to get a taste of it.

3.

REPORT ABC NO STANDARD PAGE HEADING.

data : NUM TYPE I.

WRITE 😕 'BASIC LIST'.

AT LINE-SELECTION.

IF NUM < 5.

NUM = NUM + 1.

WRITE 😕 NUM.

ELSE.

SY-LSIND = 0.

ENDIF.

regards,

amit m.

Read only

0 Likes
888

hi Harpeet,

Use <b>SY-LSIND</b> Vaiable. i.e, add the below code to your program.

<b>AT LINE-SELECTION.

IF SY-LSIND = 4.

SY-LSIND = 0.

ENDIF.</b>

Regards,

Santosh