Application Development 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: 

Question Concerning Usage of Table Controls

Former Member
0 Kudos

I currently have three screens. The first screen is the main screen and the other two screens are subscreens called from within the main screen. Inside each of the two subscreens, I have a separate table control. Each table control provides a display of specific data. I would like the first table control to be maintained by certain actions done in the second subscreen. At the moment, I do know that the internal table used for the first table control is being modified accordingly. The issue is the table control on the screen is not being modified based on the change reflected on the internal table. If I modify the internal table, the table control on the screen still reflects the old value.

Is what I am trying to do possible? Do I need to force an event in order for the table control to be modified or refreshed from the internal table? I have no issue in modifying the table control defined in the second subscreen. The table control on the first subscreen is the one where I have the issue with update.

Thanks in advance.

--Vince

5 REPLIES 5

Former Member
0 Kudos

Hi,

Try using the REFRESH CONTROL command to refresh the table control...

Ex.

REFRESH CONTROL 'TC_VIEW' FROM SCREEN '0100'.

Thanks,

Naren

0 Kudos

Hello Naren,

I tried refreshing the table control, but the value in the column does not change.

This is the first time where I am trying to update a table control in a different subscreen. I am wondering if it is possible.

--Vince

Former Member
0 Kudos

Hi,

Is the PBO of the main screen table control is not getting executed??

Thanks,

Naren

Former Member
0 Kudos

Hello Naren,

The main screen does not have a table control. The table controls are in the subscreens. In the PBO of the main screen, I have two lines of code where I say "call subscreen ..."

I do see the PBO of the main screen being called after I initiate an event in the second subscreen.

--Vince

Former Member
0 Kudos

Hi,

If the PBO of the main screen is called..

THen table control in the first screen should be getting called also..

In the debugging check if the internal table is having the updated values before hitting the LOOP AT statement of the PBO of the first screen..

Thanks,

Naren