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: 

Refresh data in a Dynamic Document

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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

0 Kudos

Hi Angelo.

Thanks a lot for your solution.

wbr

Michael