Application Development 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: 

drill down report:hide multiple line from basic list and disp in secon list

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

Former Member
0 Kudos

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.