2007 Jun 25 8:15 AM
Hi'
please explain this code.
DATA l_selline LIKE sy-stepl.
GET CURSOR LINE l_selline.
Hi'
please explain this code.
DATA l_selline LIKE sy-stepl.
GET CURSOR LINE l_selline.
2007 Jun 25 8:17 AM
Hi
This code will return the line where the current cursor/control is.
Regards
Raj
2007 Jun 25 8:19 AM
Hi
Cursor Position on Table Controls
At PBO you can set the cursor on a specific field of a specific row of a table control.
SET CURSOR FIELD .
if you only want to determine the row of the table control. SY´-SUBRC allows you to check if the cursor is placed in a row of a table control.
Reward points for useful Answers
Regards
Anji
2007 Jun 25 8:20 AM
Hi,
GET CURSOR gives the postion where cursor is currently placed.
For exmple you have report layout and you clicked on the first field of second row so this position will be stored using GET CURSOR LINE l_selline.
Thanks
PK