Skip to Content
0
Former Member
Jan 09, 2008 at 01:57 PM

SET CURSOR does not work, why?

229 Views

Hi,

I want to set cursor to the new line which is inserted. Here is the code in MODULE user_command_0100 INPUT.

....

GET CURSOR LINE lin.

CHECK sy-subrc = 0.

lin = tbl-top_line + lin.

SET CURSOR LINE lin.

...

In flow logic the PBO is:

loop at i_test

into wa_test

with control tbl

cursor tbl-current_line.

endloop.

But, the SET CURSOR does not work. The cursor does not move to the insert line.

Any solutions?

Thanks a lot!