cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass parameters from external web application to Webdynpro application?

Former Member
0 Kudos

Hi all,

How to pass parameters from external webapplication(jsp,html..etc) URL IView to Webdynpro java application IView.

Please help!!

Thanks,

Gobinath 

Accepted Solutions (0)

Answers (2)

Answers (2)

Qualiture
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Robin,

I have access to the source of the external web application.Can you please explain it briefly or send some useful document related to portal eventing ?

Thank you ,

Qualiture
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi,

This is a good idea..i can able to develope this scenario with the help of your explaniation.

One more question - How can I return back the data from the external application to WDJ appication which has been selected by the user manually?

Thanks,

Gobinath palanichamy

Qualiture
Active Contributor
0 Kudos

Basically in the same way, you now just fire an event instead of subscribing to one

Former Member
0 Kudos

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.

Sreejith1
Contributor
0 Kudos