cancel
Showing results for 
Search instead for 
Did you mean: 

Refreshing a view

Former Member
0 Kudos

Folks

I have an [Adobe Form - WebDynpro - SAP] application which has a view that I need to re-launch in the browser. The operation needs to be like the first time launch in the browser.

Navigation Links dont help as they launch the same view again

Nor does this thread - because what I want to do is a complete re-launch - not resetting the context / form

So Kindly let me know if there's any other approach which we can follow

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member189631
Active Contributor
0 Kudos

Prashanth,

You can refreshing a View by Triggering the Inbound Plug of that View.

By doing this the view will get refreshed.

Regards,

Ram.

abhijeet_mukkawar
Active Contributor
0 Kudos

hi,

cant you use <b>view.resetView()</b> to set the view to its original state.

regards

Former Member
0 Kudos

hi,

What you can do is:

Put that view inside a seperate window.

Now when you go from this view to another, you should destroy the window.

You can destroy the window as follows:

In the OnAction of the event(which takes you from this window to another), wirte the following:

wdContext.currentContextElement().getCtx_va_window().destroy();

where ctx_va_window is a context(value attribute) of type : com.sap.tc.webdynpro.services.session.api.IWDWindow

we need to destroy the window beacuse doing so destroys all the instances of the views in that window.

So, when the view/window is called again, it is a frest copy, akin to refreshing a webpage.

Regards,

hanoz