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 in Table Control vanishes after report execution

Former Member
0 Likes
808

Hi,

I have created a report program with a table control on its selection screen (on a subscreen).

The report executes perfectly, but, after the report execution, once the control comes back to the selection screen, the data entered in the table control gets cleared.

Please let me know how can I retain the data entered in the table control even after the report execution.

Regards,

David.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
763

I dont remember exactly but

just 2 options

1) First export the Data

2) Import the data from the clusters when you click the back button

one more is not sure but there is key-word of "Hold " the data

Regards

sas

5 REPLIES 5
Read only

Former Member
0 Likes
763

check any clear or refresh statement in your code.

Read only

former_member188827
Active Contributor
0 Likes
763

You will have to store data in table control in a transparent table and fill table again in event:

AT selection-screen output

Read only

Former Member
0 Likes
764

I dont remember exactly but

just 2 options

1) First export the Data

2) Import the data from the clusters when you click the back button

one more is not sure but there is key-word of "Hold " the data

Regards

sas

Read only

Former Member
0 Likes
763

Hello,

When control comes back to selection screen. PBO event executes and possibly internal table has got cleared somewhere before that.

Debug you code to find the exact problem line. You can also add watchpoint for internal table with value initial. So code will break in debug mode whenever internal table is cleared.

Hope this helps!

Thanks,

Augustin.

Read only

Former Member
0 Likes
763

Thanks for the replies.

I used Import-Export.