‎2008 Aug 28 6:18 PM
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?
‎2008 Aug 29 4:39 AM
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.
‎2008 Aug 29 4:39 AM
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.
‎2008 Aug 29 7:18 AM
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