Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Data disappears from table control on scrolling

Former Member
0 Likes
1,060

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

4 REPLIES 4
Read only

Former Member
0 Likes
731

use this:

describe table itab lines tc-lines in the pbo

Read only

Former Member
0 Likes
731

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

Read only

former_member491305
Active Contributor
0 Likes
731

Hi ,

Check this link.

Read only

amrendra_tiwari
Explorer
0 Likes
731

Hi,

Please ceck http://scn.sap.com/thread/1744821

Regards,

Amrendra