cancel
Showing results for 
Search instead for 
Did you mean: 

Passing Parameters to Webdynpro Application

Former Member
0 Kudos

Hi,

I have built a ALV grid webdynpro application where user selects one of the row . Below the ALV grid i have a drop down list of Different Webdynpro applications which opens in a new browser . What i am looking is to pass one of the selected Personnel Number to the selected Webdynpro Application from the drop down list and also the drop down list of Webdynpro application should also run on its own . Can you suggest and give some sample code to achive this .

Thanks,

Kumar

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

issue closed

Former Member
0 Kudos

Hi Kumar,

Are your applications in same component or different component?

If other applciations are in same component and you are navigating to the other application on action of drop down then first read the selected value from ALV . Add one variable to the outbound plug (like i_pernr).Now send the selected value to that plug. Give same variable to the inbound plug of called view.

If your applications are calling from other components then use outbound plug of window to pass the value .

Former Member
0 Kudos

Hi Suman,

The drop down list is calling different component , so when i pass the value in the outbound plug , is the value can be imported in another webdynpro application ? Any sample code would be helpfull.

Thanks,

Kumar

Former Member
0 Kudos

Hi Kumar,

Please check below link for more information.

http://help.sap.com/saphelp_nw70/helpdata/en/45/1bc575ba064574e10000000a114a6b/content.htm

check this article

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0018077-f0c9-2b10-87af-eb9bb407...

Also check this code snippet written by me

https://wiki.sdn.sap.com/wiki/x/ZgArAg

My suggestion is :In the above snippet I added one variable URL to window exit plug like wise you also create one variable for your selected pernr value.

if you are showing different application view in your exisiting component using view container element?If is it so then you no need to use window plug.Just add one varaible to your outbound plug and pass the selected value to that.

One important thing is dont bind your outbound plug to inbound plug of view(where your view container is present) Instead bind to default plug of window which is embedded in your view.Now declare the same variable in the interface of HANDLEDEFAULT method of embedded window .