Cursor Position in Table Control

Question:
Hello everyone,
I have a screen with a Date I/O field at the top of the screen and a Table Control below it.
Everytime I operate (Insert Row / Delete Row, etc) on the TC afterwards the cursor is sitting in the Date field at the top of the screen and not IN the TC.
How can I force the cursor position to be IN THE TABLE CONTROL?
Must have to "set cursor" in the PBO????
I do the following but it does not have any effect...please help!!!
Thanks,
Vincent
Screen Flow Logic:
PROCESS BEFORE OUTPUT.
.
.
.
MODULE set_cursor. " Last statement in the PBO
MODULE set_cursor OUTPUT.
SET CURSOR FIELD NOTE_1_ITAB-NOTE. " Internal Tbl used by the TC
ENDMODULE.
Answer:
I had a similar problem of keeping the cursor on the last line of the table control. I did the following ... see if it can help you!
Note: The name of my table control is 'TC' and the screen table across which I loop is called 'SCREEN_ITAB'. With VKBUR being one of the fields on the screen (rather it is the first field on the left of the table control!!)
MODULE set_cursor OUTPUT.
*Keep last line empty in Table control for user input
DESCRIBE TABLE screen_itab LINES tc-lines.
tc-lines = tc-lines + 1.
SET CURSOR FIELD 'SCREEN_ITAB-VKBUR' LINE tc-lines.
ENDMODULE.

More Articles:

How to license an ABAP to run only on a particular SAP syst?
Humor?
Conversion of character into number.?
Classic ALV disable checkbox?
TO ALL THE SAP GURU'S.?
Dear Wolfgang, R, Cake Please help?