cancel
Showing results for 
Search instead for 
Did you mean: 

Refresh a web dynpro container

Former Member
0 Kudos

Hi,

If I try to upload a text or .CSV file and get an error - then correct the file and retry I still get the original message which I was getting from previous file i.e. the upload is not taking the latest data. If I wait for few minutes and try the upload again without changing anything in the file it works.

So the webdynpro application is not picking up the latest file data after displaying the error message on portal for previous file upload.

So in spite of changing the file contents, error messages connected to previous uploaded file keeps on appearing on the portal screen. This is causing serious implications on our business. Pls suggest how to resolve this problem.

Regard's

Vikash

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

this might be a problem with not clearing context after it has been used

you can use the

1. SET_ATTRIBUTE_NULL metod of the inter face IF_WD_CONTEXT_NODE

and clear the context values

2. also you can use invaidate method as follow

DATA lo_nd_global_display TYPE REF TO if_wd_context_node.

lo_nd_global_display->invalidate(

).

Thanks,

Shaik Shadulla

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Vikash,

check your iview cache settings, you might need to set the validity period for that...

here what i am talking about....

http://help.sap.com/saphelp_nw04/helpdata/en/5f/2720a513ea4ce9a5a4e5d285a1c09c/content.htm

hope this helps....

Thanks,

AS

Edited by: J Are on Jun 19, 2009 6:41 PM

Edited by: J Are on Jun 19, 2009 6:45 PM