Skip to Content
author's profile photo Former Member
Former Member

Cell Selection & ALV Table (SALV_WD_TABLE)

Hi Experts,

is it possible to select more than one cell (not row!) in an ALV Table?

I changed the cell editor to cl_salv_wd_uie_input_field and set the whole table editable.

Now I am able to select one cell, but what about multiple selections? In the Java world I found this one: TableSingleMarkableCell

Sounds good - what about ABAP?

And if there is no way with the ALV Table, how I might get the functionality with other components?

Thanks for your help, have a great week!

Hendrik

Edited by: Gedicke, Hendrik on Jul 28, 2008 11:06 AM

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jul 28, 2008 at 01:43 PM

    We have the same TableSingleMarkableCell in Web Dynpro ABAP:

    http://help.sap.com/saphelp_nw70/helpdata/EN/a5/b8fa41c915da6fe10000000a1550b0/frameset.htm

    It doesn't appear that this special cell variant is exposed via the ALV. Only the standard cell variant appears to work in ALV (CL_SALV_WD_CV_STANDARD), but it should work just fine in a normal table just like in WDJ.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Thomas Jung

      Hi comunity,

      it is possible to "select" multiple cells if you write your own selection functions. But the algorithm is quiet complex, the usability is bad (because a click on a cell doesn't fire an event, the user needs to press the enter key in my solution) and the STRG or SHIFT-Keys are not used. Instead of the known keyboard shortcuts the user has du work with the function buttons in the table header.

      But perhaps you want to get an impression of how it could be implemented:

      http://www.gedicke.de/files/public/sap/wd_alv_extension.pdf

      Again thanks for your help,

      Hendrik

  • author's profile photo Former Member
    Former Member
    Posted on Jan 24, 2014 at 02:17 PM

    Hello,

    nowadays there is a better solution for this problem?

    Best Regards,

    Manuel

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.