on 08-16-2007 8:02 AM
Dear Experts,
please suggest me how pass data to external window, let explain my senario,
I have two Views, View1 and View2.
1. when i click button on View1 then open View2 on External Window . I done this using url method.
2. I need to pass context values from view1 to view2 (external windows). I don't want to pass values through Querystring, becuase i have to pass nearly 200 fields, all information runtime modification data.
so please help me how to solve this..
Dear Ganesh
If both the views are in the same component then have a context node in the component controller and bind nodes in 'View1' and 'View2' to this node.
If both views are in different components you can similarly have binding between some node in component interface controller (of component having 'View2' with isInput Property of the node set to true) with a node in the component controller( of the component having 'View1', a context node in 'View1' in turn bound to this node in component controller).
kk.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi that thred is unsolved thred.
please i am sure one thing when we open new exteral browser then created new instence. so we can't share existing instence context.
both are are two differet instences..
I chek sam without external window its working, when i use external window its not working
Regards
If you do not want to pass 200 values as URL parameters, you can try this:
Create a String with key and value pairs as follows"
String parameters = "key1="value1"&key2="value2"&key3="value3...
Store this value in the session by using WDScopeUtil.put();
Read the value from the session by using WDScopeUtil.get().
You can check <a href="https://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/services/session/api/WDScopeUtil.html">API</a> for reference.
Regards
Abhilash
what do you mean by ja311 course ?
i am fresher in webdynpro.
i just got it from one user only.
can you please explain me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
all these sap offcial certification courses, if u want see for more detials.
http://www50.sap.com/useducation/find/courseindex.asp
http://www50.sap.com/useducation/curriculum/curriculum.asp?rid=476
Hi
When you want to pass data from one view to another view you need perform context Mapping (i.e your data must exist in theComponent controller which is global controller) between your view controller of view1 and the component controller and also you need to perform context mapping between your view controller of view2 and the component controller.
Go through the simple application
http://help.sap.com/saphelp_nw04/helpdata/en/fd/ed32a8c9994b4ba4a1645a764814db/content.htm
Hope it helps you
regards
ambicasony
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.