09-24-2008 4:35 PM
hi experts ,
I was using checkbox in basic list and user is suppose to check or tick the checkbox .
So in the secondary list I want to display only those row which which are selected (or checked) in checkbox by the user .
I had tried to use HIDE techineque but it is storing (or hiding) only single (the last which was checked) row and not multiple rows , thats why only single row is display on to secondary list .
So how to hide (or store) multiple row in secondary list to solve this problem .
thanks and warm regards ,
mehar .
Edited by: MEHAR RALEKAR on Sep 24, 2008 5:37 PM
09-24-2008 6:35 PM
Hi,
You can include the Checkbox field in your Internal Table of type i and when the AT LINE-SELECTION is generated, check for those entries in your internal table with the Checkbox = 'X'. Move them into a Separate Internal Table and Display them in your Secondary List.
Hope it was Helpful.
Thanks and Regards,
Venkat Phani Prasad Konduri
09-24-2008 11:13 PM
Hi ,
I think you can use READ LINE for this purpose.
example:
data: ..mark..
write: / ..mark as checkbox,..
at user-command.
do.
read line sy-index field value mark.
if sy-subrc = 0.
check mark <> space.
write...
endif.
enddo.
Hope this was useful.