cancel
Showing results for 
Search instead for 
Did you mean: 

WD Context Keeping Old data

Former Member
0 Kudos

Hi experts

I already using the Validate method. in my logic but still show old data

I have WD application that will run report and show it in pdf

if i run the report again it give me old data

Even if I close the application and even if I log off it shows me an old report data

What is the best to fix this issue

BR

Ali

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

thanks all.

solved.

uday_gubbala2
Active Contributor
0 Kudos

Hi Ali,

I guess that your application isn't fetching the latest set of data from the database and hence you are ending up with old set of data in your pdf. Try proceed as follows. Create & associate a [supply function|http://help.sap.com/saphelp_erp2005/helpdata/EN/f1/177741adb7167de10000000a155106/content.htm] with your context node. Now write your logic for populating your context node within this supply function method. When you are about to display your data in pdf call the INVALIDATE method using the context nodes reference. This would clear all the data in your context & since you have associated a supply function with your node it would be called resulting in the latest set of data being fetched from the database into your context.

Regards,

Uday

Former Member
0 Kudos

try to invalidate the context node that has the data, re-read the data into this context node before you construct the PDF report out of it.

greetings

Prashant