‎2013 Oct 04 7:42 AM
Hey all,
I have a requirement where i need to select multiple cells (and not multiple rows) from different row and columns of the table control. Is it possible?? If yes how?? I have attached the screen short of my requirement.
In second case what if all the cells have checkbox in it, is it possile to select multiple cells in this scenario too??
Thanks in advance. Your efforts and answers will be vry much appreciated.
Regards.
‎2013 Oct 04 8:11 AM
Hi,
Before some days same issue discussed in this thread.
http://scn.sap.com/thread/3401345
Check this ,it will help you.
Thanks
Gourav.
‎2013 Oct 04 9:07 AM
Hi Kumar,
Thanks for your reply.The link you suggest shows how to select multiple row which i guess i know. My requirement is to select multiple cells (NOT ROWS), randomly from table control. Please suggest some clues to solve it.
Regards.
‎2013 Oct 04 8:29 AM
Hi,
Have you consider using CL_GUI_ALV_GRID ?
if you can you will be able to use :
GET_SELECTED_CELLS
GET_SELECTED_CELLS_ID
GET_SELECTED_ROWS
See program BCALV_TEST_GRID_INDEX
Regards.
‎2013 Oct 04 9:29 AM
Hi Eitan,
Thanks Eitan for your reply. The program name you sent is very useful in case i am using Alv Grid and i want to thanks you again for it. But actually i want to implement the same concept in Table control(Module pool). I don't even know if it is possible.Looking for some insight from you.
Regards
‎2013 Oct 04 10:21 AM
Hi,
I always use CL_GUI_ALV_GRID for full screen entry.
I never bother with "table control" .
Are you maintaining an existing program ?
If not what stopping you for using CL_GUI_ALV_GRID ?
Regards.
‎2013 Oct 04 12:23 PM
having check boxes in all the columns and rows would fix your problem. That way, you can only ask user to check/uncheck the boxes as per his need and get the data in internal table.
If you are not using check boxes, and you need to do this for data inputs, I don't think it is possible in table control.