‎2011 Oct 31 3:25 PM
Hi All,
My requirement is , When a user selects a particular line in the table control and clicks delete button. That record should get deleted. So. I've used Get cursor line and take the line number and using Read statement get the Itab index = Cursor line and then delete the data.
It was working fine but when user scrolls and then selects the line then the cursor line keeps changing and the Internal table index is not equal to cursor line.
I need to get the exact line in the internal table the user selected to delete the correct record.
Any help is appreciated.
Regards,
Satish
‎2011 Oct 31 3:31 PM
I think you're using the wrong approach; instead of checking the cursor, which will change as the screen changes, you should be looking at the field in the internal table that holds the 'marked for selection' value.
Rob
‎2011 Oct 31 3:31 PM
I think you're using the wrong approach; instead of checking the cursor, which will change as the screen changes, you should be looking at the field in the internal table that holds the 'marked for selection' value.
Rob
‎2011 Oct 31 3:35 PM