2007 May 09 3:34 PM
Hi All,
I hv designed custom screen using Table Control . I am able to save data entered in table control correctly till no of records are less than height of table control.
Now if i have entered some records and and i am scrolling down to enter few more, all data disappears from table control.
Why is this happening?
Thanks in advance.
Aniket Dayama
Hi All,
I hv designed custom screen using Table Control . I am able to save data entered in table control correctly till no of records are less than height of table control.
Now if i have entered some records and and i am scrolling down to enter few more, all data disappears from table control.
Why is this happening?
Thanks in advance.
Aniket Dayama
2007 May 09 3:49 PM
2007 May 09 3:52 PM
Hello,
Use below logic,
Write down the code under PAI :
Loop at i_data . i_data is your internal table
MODULE table_modify. " Mention the code here
endloop.
MODULE table_modify INPUT.
MODIFY i_data INDEX t_tc-current_line. " t_tc is the Table control
IF sy-subrc <> 0.
INSERT i_data INDEX t_tc-current_line.
ENDIF.
ENDMODULE.
if you are not getting vertical scroll ,then use below logic.
write down under PBO
PBO.
module name.
mdoule name .
describe table command.
endmodule
Reward Points if it is helpful
Thanks
Seshu
2007 May 09 4:05 PM
2013 Jan 03 7:12 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |