Skip to Content
0
Former Member
Jan 07, 2008 at 04:45 PM

SET CURSOR does not work?

20 Views

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