2007 Nov 23 8:43 AM
Hi all,
Is there any way to get cursor position in table control.Suppose if am in fourth or fifth column in table control when i presses enter from there it should add all the data's in the particular column then i will have textbox outside the table control so that i can display the results in that textbox.if any other easier way than this kindly suggest me.
2007 Nov 23 8:47 AM
Table Controls in ABAP Programs
Cursor Position on Table Controls
At PBO you can set the cursor on a specific field of a specific row of a table control.
SET CURSOR FIELD .
if you only want to determine the row of the table control. SY´-SUBRC allows you to check if the cursor is placed in a row of a table control.
Hi all,
Is there any way to get cursor position in table control.Suppose if am in fourth or fifth column in table control when i presses enter from there it should add all the data's in the particular column then i will have textbox outside the table control so that i can display the results in that textbox.if any other easier way than this kindly suggest me.
2007 Nov 23 8:47 AM
2007 Nov 23 8:47 AM
Table Controls in ABAP Programs
Cursor Position on Table Controls
At PBO you can set the cursor on a specific field of a specific row of a table control.
SET CURSOR FIELD .
if you only want to determine the row of the table control. SY´-SUBRC allows you to check if the cursor is placed in a row of a table control.
2007 Nov 23 9:53 AM
hi
try this
GET CURSOR LINE SY-STEPL.
READ TABLE ITAB INDEX SY-STEPL.
thn do the assignment where everu want to show the data
txtbox = itab-empname
txtbox1 = itab-empno
.........
rgds,
Sunny
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |