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

regarding TABLE CONTROL IN MODULE POOL

Former Member
0 Likes
271

Hi all,

I have implemented a table control in a custom transaction . In the PBO of the code I have moved the internal table data to the screen fields similarly in the PAI of the screen I have moved the screen data to the interanal table and iam modifying the internal table every thing is working fine till here but when I press the down arrow of the vertical scroll bar of the table control then the line item which the user has changed recently on the screen is overwriting the remaining records of the internal table and as a result the tablecontrol lines on the screen are also being overwritten by that record please help me in resolving this issue.....is there any solution to handle the scroll bar and as well the cursor position .

1 REPLY 1
Read only

Former Member
0 Likes
237

Hi,

For the vertical scrool bar F.code is space..

so In pai of ur screen..

If sy-ucomm = ' ' or sy-ucomm = 'ENTER'.

modify it_data index tc-current_line.( so what evr u enter in the Table control ,correponding changes will be captured to ur internal table)

endif.

I hope this works for ur situation..