2010 Mar 04 1:39 PM
Hi
Experts.
can i copy the row of tablecontrol in z-modulepool program and past into the next row.
if possible give me some sample code and is it possible enable the mouse clicks?.
Thanks in Advance.
Spandana.
Hi
Experts.
can i copy the row of tablecontrol in z-modulepool program and past into the next row.
if possible give me some sample code and is it possible enable the mouse clicks?.
Thanks in Advance.
Spandana.
2010 Mar 04 2:06 PM
Yes, it's possible. You will need a field of the type C to use as MARKED field and activate the mark feature in the tablecontrol. After selecting the row and pressing a button (something like copy), you can loop at internal table that is behind the table control and select the row with marked = 'X' and append to the internal table refreshing table control after that.
To enable mouse click you will need to activate the F2 in the status (select event) and handle it in the user-command module. To get the row selected use the instruction :
get cursor line <linevar>.
Then you will have the exact record in the internal table by selecting the row with the index :
SEL_INDEX = <tab control>-top_line + <linevar> - 1.
2010 Mar 04 2:31 PM
Hello, <li>Check the below thread. It looks same. <b> Thanks Venkat.O
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |