on 03-06-2012 1:39 PM
i want to refresh the webdynpro -abap output screen(not through F5) but through rest button.
could any body tell me how to achieve this.
Thanks
Hi Rakesh,
Please follow the below method.
Or there is another way of invalidating context nodes.
Regards,
Sakthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are using Sap Potal 7.3 / 7.4 with AJAX configuration, try with standard configuration.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What do you mean by "rest button"? If you just want a button, place the button UI element on the screen and attach an action to it. This will trigger a server side event and you can refresh whatever you want in the screen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want to complete re-load the application, then fire an Exit Plug with the URL of the current application.
http://help.sap.com/saphelp_nw70ehp2/helpdata/en/48/ca3351508f04e7e10000000a42189c/frameset.htm
You should ask if you really need to reload the page, however. This is often the easy way out when you should really write your initialization logic in such a way that you can re-call it from within the application and reset the application state to initial without having to navigate back to the application via the browser.
Hello ,
Here i am not going to previous screen.
here i have only one screnn with multi functinality.
thats why i designed one Button. and in the button i want to write some logic.
so that whil e i will click on the button the whole application will get refreshed. so that no need to press F5 also.
i need some relevant logic for this so that , i wil put in my Button in Ui screen
For this could you please provide me some appriate logic.
thanks.. in adv..
Rakshar
Hi,
I will suggest that just write a method in which how your initial screen should look...And you can use a method called invalidate.
This method invalidates all elements of the node. This means that all elements and subnode instances are deleted. Afterwards the status of the node is as it is in its initial state. When an element or an attribute is requested again, the supply method is called, if it is available.
eg code:LO_ND_REGISTER->INVALIDATE( ).
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.