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

Refresh data in a Dynamic Document

Former Member
0 Likes
621

Hello,

I'm using a Dynamic Document inside a dynpro but the data (add_text - display_document methods) are not refreshed even if I use the CL_GUI_TIMER to auto-refresh the contents of the dynpro.

Any idea?

Angelo

3 REPLIES 3
Read only

Former Member
0 Likes
503

Hi Angelo.

Did you get any idea how to solve the problem? I face the same problem and found out, that if you use the print method (print_document) you get the refreshed document. But if you display the document you´ll get the old one.

Thanks for your or any othe´s reply.

Michael

Read only

0 Likes
503

Hi Michael,

I solved the problem making only one instance of the object to display and setting the REUSE_CONTROL parameter of DISPLAY_DOCUMENT method to 'X'. The CL_GUI_TIMER class is still needed.

Kind regards.

Angelo

Read only

0 Likes
503

Hi Angelo.

Thanks a lot for your solution.

wbr

Michael