Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

GET COURSOR

Former Member
0 Likes
609

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.

3 REPLIES 3
Read only

Former Member
0 Likes
584

Hi

This code will return the line where the current cursor/control is.

Regards

Raj

Read only

Former Member
0 Likes
584

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

Read only

Former Member
0 Likes
584

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