on 07-08-2010 6:36 AM
Hi,
I have a requirement where i have to pass the value from 1st webdynpro application to 2nd application and i need to display the data in 2nd application based on the value in 1st application.
So can anyone please tell how to pass and read the parameter values from one webdynpro application to another webdynpro application.
Thank You,
Madhavi.T
Hi,
i dont think we can establish the communication btw two application in WDJ;
Thanks,
Sreeni.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I hope this help u.
If your application is not standalone (hosted on the portal), you need to call the iview this app passing the necessary parameters.
[Thread: URL Iview URL parameters to be passed from Webdynpro Application|]
Otherwise, simply call the url of the app concatenating the parameters at the end:
http://yourportal.com:00000/.../MyApp?p1=XYZ;p2=ABC
[Sending URL Parameters to Applications|http://help.sap.com/saphelp_nw2004s/helpdata/en/44/be65751c743959e10000000a1553f6/content.htm]
To read these parameters in another application, use the following code:
String urlParamVal = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("URL_PARAMETER");
For encode Url look this: [Web Dynpro URL-Invocation with umlauts (like %FC) in the url |]
More info:
[Thread: How to pass and fetch multiple parameter in the URL of the Web Dynpro|;
[Thread: Reading URL Parameter|;
Regards,
Angelo
p.s.: The next time you can try using the "search" field of the forum before posting something so basic.
Hi,
If you want to pass parameters when they share the same session you can use this.
WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE,"Parameter","Value);
WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE,"Parameter");
If you are passing parameters through url use this.
WDProtocolAdapter.getRequestObject().getParameter("Parameter");
Best Wishes
Idhaya R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madhavi,
Pls go thr below link it will help you about external context mapping
Thanks,
Sreeni.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.