on 03-15-2012 2:02 PM
Dear experts.
I'm developing an web dynpro application, and I would like to redirect the users to the same screen, after the end of process flow.
I decided to do that to clean all the fields and options in a easier way, but I'm using the following code, that is not smart in my opinion:
WDPortalNavivation.navigateAbsolute("role....." (...));
I would like to know, how can I get this "role" automatically, to avoid manual changes related to a fixed role. It can be changed sometimes, and will be better if I can get this information dinamically.
How can I do that?
Thanks for your help!
😃
Hi,
If your objective is to simply clear all fields, why not call
wdContext.getContext.reset();
See http://help.sap.com/javadocs/NW73/SPS05/CE/wdr/com.sap.wdr/com/sap/tc/webdynpro/progmodel/api/IWDCon... for more info
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In my opinion, the best way to enforce an initial state is to reset both the context and the view, but if this isn't possible, I would rather navigate to an iView than to a role.
When navigating to a role, you're basically navigating to a different area in your portal. I would rather navigate to a simple iView (with read access for everyone) stating a 'successfully finished process' message of some kind
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.