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

Refreshing a screen

Former Member
0 Likes
2,436

I have a screen that contains a tabstrip control with 4 tabs, the first tab being a table control. When i select the particular row in my tabe control and press 'change', it will populate data in my other 3 tabs like it is supposed to. But if i attempt to select another record and press 'change', the first record i selected is still populate in the other 3 tabs. Do i need to do a refresh control, or what? How can i fix this?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,912

Hi Daniel,

From my understanding it seemed that your Table Control seemed to work fine.

Then you can take a following approach. As only when you select any new row in the Table Control, it becomes necessary to refresh the data in the other Tab, you can write a short perform statement at the PAI event of the user command.

So, at every new change of row the previous values will be refreshed. If it is a Table Control then use the key word REFRESH CONTROL <ctrl> FROM SCREEN <scr>. And if there are any other structures in the screen you can clear these.

Thanks,

Samantak.

2 REPLIES 2
Read only

Former Member
0 Likes
1,913

Hi Daniel,

From my understanding it seemed that your Table Control seemed to work fine.

Then you can take a following approach. As only when you select any new row in the Table Control, it becomes necessary to refresh the data in the other Tab, you can write a short perform statement at the PAI event of the user command.

So, at every new change of row the previous values will be refreshed. If it is a Table Control then use the key word REFRESH CONTROL <ctrl> FROM SCREEN <scr>. And if there are any other structures in the screen you can clear these.

Thanks,

Samantak.

Read only

Former Member
0 Likes
1,912

Hi Daneil,

If you r using Table control in other tabs also den wenever u navigate to another tab a PAI wil get trigger alongwith PBO.So, Save all the data into temporary table & refresh the original table & in PBO of that screen, transfer all data from temporary to original table through Loop command.

Use Sy-ucomm case for each Tab in PAI to transfer data to temporary table..

Hope this wud work

Regards

Mudit