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 Dynamic Documents - Old data Displayed.

Former Member
0 Likes
1,220

Hi,

I have a problem with the page not getting refreshed with new data.

I am creating a dynamic document with the class cl_dd_document. I select from a few custom tables and then display the document.

I have a link to change the data in an input enabled ALV . I change the database tables and then leave the screen and go to the first page with dynamic document. i refrefsh all the tables and references and select from the data base tables and recreate the document.

I debugged through the progarm and the HTML_TABLE has the new data.

However when the page displays it still has the old data and does not reflect the changes made.

Also is there a way to display data on a new page. Is there a similar statement like new page in dynamic documents. There are no methods for new page in any nof the classes.

Any help is greatly appreciated.

Jose Vellaiparambil

[email removal]

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
689

To refresh data you have to set the parameter reuse_control (of method display_document) to 'X' (not the first time, but each time you fresh the data). Hope that helps.

1 REPLY 1
Read only

Former Member
0 Likes
690

To refresh data you have to set the parameter reuse_control (of method display_document) to 'X' (not the first time, but each time you fresh the data). Hope that helps.