on 06-26-2012 6:19 AM
Hi all,
How to pass parameters from external webapplication(jsp,html..etc) URL IView to Webdynpro java application IView.
Please help!!
Thanks,
Gobinath
Hi,
If you want to pass parameters from one iView to another, you should consider using Portal Eventing
This of course can only work if you have access to the source of the external web app
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
On the WDJ side, you can use the WDPortalEventing API http://help.sap.com/javadocs/nwce/ce711sp02/wdr/com.sap.wdr/com/sap/tc/webdynpro/clientserver/event/...
On your external web app, if it's running on the same domain as your portal you can use the EPCM framework for eventing, see http://help.sap.com/saphelp_nw73/helpdata/en/4a/337cde50161c62e10000000a42189c/content.htm
If the external app is not running on the same domain, you can use the following to use eventing:
- embed a hidden iFrame in your esternal app.
- this iFrame contains a simple portal application
- now, if you want to send an event from your web app, you do so by changing the url of the iframe src by adding a parameter to the url
- your portal app should read this parameter, and since it's running on the same domain as youtr portal is capable of firing an EPCM event to your WDJ app
Hope this explains
Hi Robin,
My scenario-
1. I am calling an external web application(eg: http://www.xxxxx.com/) from WDJ application using -
WDPortalNavigation.navigateAbsolute(
"PCD",WDPortalNavigationMode.SHOW_INPLACE,
null,null,WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
"Back to suspended application",null,parameterString,
null,false,true);PCD contains the external application URL iview(http://www.xxxxx.com/ - online shopping website).
2. In the external application we are selecting some data( eg: shopping cart. The return parameters are material number and quantity)
3. After the selection of data, on the action of a button, the external application sholud fire an event to return back to our WDJ application along with the data selected from the external application.
note: The external application is running in a different server.
"- embed a hidden iFrame in your external app.
- this iFrame contains a simple portal application"
Can we achieve this in external webapplication?
"- now, if you want to send an event from your web app, you do so by changing the url of the iframe src by adding a parameter to the url"
I dont understand this part. Please explain it!!.
How to fire an event from the external application ?
Please help me in this!!
Thanks,
Gobianth Palanichamy.
Hi,
This link explains it
http://help.sap.com/saphelp_nw70/helpdata/en/44/be65751c743959e10000000a1553f6/content.htm
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.