‎2008 May 31 7:51 AM
‎2008 May 31 7:53 AM
‎2008 May 31 7:53 AM
‎2008 May 31 8:03 AM
Hi,
I tried what you said, but it is not working.
Thanks and Regards,
V.K.
‎2008 May 31 8:20 AM
put condition at end list when it is sy-linds is 20... bcoz
Index of the list currently being created. The basic list has SY-LSIND = 0, detail lists have SY-LSIND > 0. The field is automatically increased by one in each interactive list event. You may change the value of SY-LSIND yourself in the program to enable you to navigate between lists. Changes to SY-LSIND do not take effect until the end of a list event. It is therefore a good idea to place the relevant statement at the end of the corresponding processing block
‎2008 May 31 8:27 AM
hi,
you can not exceed your limit of sy-slind gretar than 21. other wise you will get dump.
now take one global variable with data type i.
now every time increment this variable according to click on interactive report.
now on check that if variable value is 20. than give warning messge on double click when your variable value is 20 and do not proceed futher to show interactive report.
You can't set the value or reset the value of system variable Sy-slind. So on sy-slind you have to stop.
Regards,
Vipul
‎2008 May 31 8:55 AM
hi do like this..
report message-id zmsg.
start-of-selection .
write:/ 'this is the basic list'.
at line-selection.
case sy-lsind .
when 1.
write:/ '1st list'.
when 2.
write:/ '2nd list'.
when 3.
write:/ '3st list'.
when 4.
write:/ '4st list'.
when 5.
write:/ '5st list'.
when 6.
write:/ '6st list'.
when 7.
write:/ '7st list'.
when 8.
write:/ '8st list'.
when 9.
write:/ '9st list'.
when 10.
write:/ '10st list'.
when 10.
write:/ '10st list'.
when 11.
write:/ '11st list'.
when 12.
write:/ '12st list'.
when 13.
write:/ '13st list'.
when 14.
write:/ '14st list'.
when 15.
write:/ '15st list'.
when 16.
write:/ '16st list'.
when 17.
write:/ '17st list'.
when 18.
write:/ '18st list'.
when 19.
write:/ '19st list'.
when 20.
write:/ '20st list'.
sy-lsind = 1.
message e000 with 'the list process is not possible beyond'.
endcase .
regards,
venkat
‎2008 May 31 9:29 AM