2011 Jan 24 8:50 AM
HI,
I need to select more than one checkbox in interactive report & need to pass the corressponding records to the smartform for printing.For a single record selection,I tried with hide & read line sy-lilli ...with field value... statements.How to do for more than one record selection?
2011 Jan 24 9:29 AM
Hi,
Welcome to SCN!!!
when your itab1 contains checkbox, you can move those entries in another table and pass it to the smartform.
loop at itab1 where chk = 'X'.
itab2 = itab1.
append itab2.
endloop.
pass this table to smartform.
Hi,
Welcome to SCN!!!
when your itab1 contains checkbox, you can move those entries in another table and pass it to the smartform.
loop at itab1 where chk = 'X'.
itab2 = itab1.
append itab2.
endloop.
pass this table to smartform.
2011 Jan 24 9:29 AM
Hi,
Welcome to SCN!!!
when your itab1 contains checkbox, you can move those entries in another table and pass it to the smartform.
loop at itab1 where chk = 'X'.
itab2 = itab1.
append itab2.
endloop.
pass this table to smartform.
2011 Jan 24 10:57 AM
Hi,
I'm doing so.But the thing is I'm using read sy-lilli statement inside loop .
But, it is capturing only the first checkbox.the other things which are selected are not captured.please provide me a solution
2011 Jan 24 11:14 AM
Hi Arun,
Assuming that you have a field checkbox as part of your table itab.
"This code will loop through each line that has been selected.
Loop at itab into wa_itab where checkbox is not initial.
endloop.Regards,
Jovito
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |