10-22-2007 2:56 PM
Hello,
silly question: I have a table control with a selection column on the left (single select). How can I know which row the user selected?
Thanks,
Manuel
10-22-2007 3:04 PM
Hi Manuel,
I think the below link may be useful
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/content.htm
Regards,
Atish
10-22-2007 3:20 PM
Thanks for the quik answer. I know the link.
If I get it right, the important statement is:
MODIFY itab FROM demo_conn INDEX flights-current_line.
demo_conn is the current workarea with MARK = 'X' (if the row is selected).
Is that right?
in my example demo_conn-MARK remains always ' ' and never turns to 'X'.
When drawing the Table control I took reference to a dictionary structure. In the report I user TABLES <dictStruct> to define my workarea.
Could you give me further advice?
10-22-2007 3:44 PM
In the Selectio Field (table control Properties) I enterd only the field name. Now that I entered the <table>-<fieldname> everything works fine.
Regards,
Manuel