‎2006 Jun 19 1:23 PM
Hi All,
Can anyone send me the code for directly jump from 5(letanyone) list to basic list.
Points will be rewarded.
regards
Harpreet
‎2006 Jun 19 1:24 PM
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
‎2006 Jun 19 1:25 PM
Hi harpreet,
1. use the system variable SY-LISTI
2. SY-LISTI = 1.
regards,
amit m.
‎2006 Jun 19 1:25 PM
In At line-selection. event
write this code
sy-lsind = 4. " Pass list number
regards,
ravi
‎2006 Jun 19 1:35 PM
Hi harpreet,
1. use the system variable SY-LISTI
2. SY-LISTI = 1.
regards,
amit m.
‎2006 Jun 19 1:36 PM
In At line-selection. event
write this code
sy-lsind = 4. " Pass list number
regards,
ravi
‎2006 Jun 19 1:36 PM
In At line-selection. event
write this code
sy-lsind = 4. " Pass list number
regards,
ravi
‎2006 Jun 19 1:43 PM
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
‎2006 Jun 19 1:58 PM
Hi,
Use sy-lsind system variable.
set the lsind to 0
sy-lsind = 0.
Regards
vijay
‎2006 Jun 19 2:02 PM
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.
‎2006 Jun 19 2:14 PM
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