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

SET CURSOR does not work?

Former Member
0 Likes
517

Hi,

I want to set cursor to the line inserted after I press the button of INSERT. Please look at the code following:

.

....

GET CURSOR LINE lin.

CHECK sy-subrc = 0.

lin = tbl-top_line + lin.

INSERT itab_sert INTO wa INDEX lin.

SET CURSOR LINE lin.

...

...

It is in the "MODULE user_command_0100 INPUT". But the cursor does not go the insertation line.

Why?

Thanks

3 REPLIES 3
Read only

mnicolai_77
Active Participant
0 Likes
485

hi,

try to move the set cursor statment in PBO process.

bye

Read only

0 Likes
485

Hi,

There is no any SET CURSOR or GET CURSOR in PBO.

Read only

Former Member
0 Likes
485

solved by myself. thanks