2007 Aug 09 7:33 AM
when table control is populated i am selecting the check then it is populated in internal table but as i scroll the check is deselected automaticlay,even in the internal table it is deselected.this i came to know through debugging..
so i want to have the check even after i scroll.
pls help me.
it is very urget.
when table control is populated i am selecting the check then it is populated in internal table but as i scroll the check is deselected automaticlay,even in the internal table it is deselected.this i came to know through debugging..
so i want to have the check even after i scroll.
pls help me.
it is very urget.
2007 Aug 09 7:39 AM
Hi,
We have agood DEMO programs on this one, have a look at the below programs
DEMO_DYNPRO_TABLE_CONTROL_1
DEMO_DYNPRO_TABLE_CONTROL_2
Regards
Sudheer
2007 Aug 09 7:39 AM
Hi..
This happens bcoz When u Scroll vertically in the Table control it will trigger the PAI event.
So you must modify your internal table in the PAI loop to retain the check.
This is a sample code for that.
<b>Flow logic:</b>
PROCESS AFTER INPUT.
LOOP AT ITAB.
Module SAVE_TABLE_DATA.
ENDLOOP.
<b>Module Pool</b>
Module SAVE_TABLE_DATA input.
<Move the Table control fields to Itab work area>
WA-CHECK = <SCREEN FIELD CHECK>.
<b> MODIFY ITAB FROM WA INDEX TABCON-CURRENT_LINE.</b>
Endmodule.
This will solve your problem.
<b>Reward if Helpful</b>
2007 Aug 31 7:10 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |