Application Development 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: 

SET CURSOR does not work?

Former Member
0 Kudos

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

mnicolai_77
Active Participant
0 Kudos

hi,

try to move the set cursor statment in PBO process.

bye

0 Kudos

Hi,

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

Former Member
0 Kudos

solved by myself. thanks