‎2007 Mar 28 9:54 PM
Hi,
i have table control which contains 20 columns with selection mode = none.
my first column displays checkbox and last column displays icons
last column(Icon column) has attribute respond to double click and okcode set to PICK and now i am able to goto PAI event when i double click on this icon column.
how can i get row index or row details (like at-line selection ) when i click on icon?
Thanks,
‎2007 Mar 28 11:21 PM
Your control will create a complex structure of type CXTAB_CONTROL.Field CURRENT_LINE of this will give you the current line contents. Look at the <a href="http://help.sap.com/saphelp_47x200/helpdata/en/9f/dbac1d35c111d1829f0000e829fbfe/frameset.htm">SAP documentation</a>
‎2007 Mar 28 11:54 PM
Hi,
DATA: cursorfield TYPE char20,
gv_line TYPE i.
in PAI module
write the code
GET CURSOR FIELD cursorfield LINE gv_line.
gv_line = tabc-current_line + gv_line - 1.
you will get the exact line number
Regards
Ganesh Maddi