‎2009 Feb 24 8:32 AM
Hi all,
I am using tablecontrol to display data. If i display 10 records, the user scrolls the table he can view the data... everything works fine. but the problem is when he selects the first row and scrolls down, the 'field' statement in my flowlogic reads the first row and again when the user scrolls up (assume we are in the 4th row ) the 'field' statement reads the 4th row and not the first row and also my fisrt selected row becomes deselected. i dont want that to happen. How to make the 'field' statement to read the first row ?
my code :
loop at itm.
field it_itm-pick.
field it_itm-matnr.
module chage table.
endloop.
my requirement is to take the selected row and do calculation ?
thanks,
SIva
‎2009 Feb 24 8:54 AM
‎2009 Feb 24 2:55 PM
You can store the index of the row in a variable. In the PBO when you're looping on your control you can write back the index using the variable.
Edited by: mrwhite on Feb 24, 2009 3:55 PM